Skip to content
  • Facebook
  • X
  • Linkedin
  • WhatsApp
  • YouTube
  • Associate Journalism
  • About Us
  • Privacy Policy
  • 033-46046046
  • editor@artifex.news
Artifex.News

Artifex.News

Stay Connected. Stay Informed.

  • Breaking News
  • World
  • Nation
  • Sports
  • Business
  • Science
  • Entertainment
  • Lifestyle
  • Toggle search form
  • Euro 2024 LIVE: Gakpo Scores | Netherlands 1-0 Romania In Round Of 16 Clash
    Euro 2024 LIVE: Gakpo Scores | Netherlands 1-0 Romania In Round Of 16 Clash Sports
  • Women’s Body Summons Ranveer Allahbadia Over Crass Remark, Hearing Next Week
    Women’s Body Summons Ranveer Allahbadia Over Crass Remark, Hearing Next Week Nation
  • Access Denied Sports
  • Domestic women cricketers, match officials set for a windfall Sports
  • Who is Iran’s first Vice President, Mohammad Mokhber, appointed acting President after crash?
    Who is Iran’s first Vice President, Mohammad Mokhber, appointed acting President after crash? World
  • “If Virat Kohli, Rohit Sharma Retire, Not A Worry”: Ex-Australia Coach’s Big Verdict, Gives Reason
    “If Virat Kohli, Rohit Sharma Retire, Not A Worry”: Ex-Australia Coach’s Big Verdict, Gives Reason Sports
  • Use Technology To Drive Progress, Guard Against Misuse: Jeet Adani
    Use Technology To Drive Progress, Guard Against Misuse: Jeet Adani Nation
  • Access Denied World
How Babbage automated calculations with simple machines

How Babbage automated calculations with simple machines

Posted on June 9, 2026 By admin


Modern computing is often effortless. You pick up a calculator or open the calculator app on your phone, and you’re on your way in seconds. But getting here took humans several centuries from when they first tried to speed up computing. One particularly important passage in this history involved the English mathematician Charles Babbage, who found a way to speed up calculations using the movement of simple machines, creating the first ancestors of the modern computer.

What motivated Babbage?

If you had to calculate something in the early 19th century, you had to do it entirely by hand. Entire governments, navigators, astronomers, engineers — all depended on complicated mathematical tables produced by teams of clerks, known at the time as ‘computers’, who worked slowly and often made mistakes.

In 1821, Babbage was frustrated and reportedly said he wished calculations could happen “by steam”. Babbage went on to develop the difference engine, a large mechanical calculator designed to compute mathematical tables using a method called finite differences.

The machine consisted of columns of brass wheels, each engraved with the digits from 0 to 9. The wheels physically added values as they were rotated using a hand crank and gears. The machine considerably reduced the number of mistakes. The difference engine was thus a specialised calculator that was fast and efficient at one class of problems.

What were mathematical tables?

The mathematical table was a pre-computed table of numbers that experts could refer to repeatedly in their practice. For instance, before digital calculators, an engineer would often convert multiplication into an addition problem using logarithms. So 247 x 83 could be solved by looking up the logarithms of both numbers, adding them, then converting back to the inverse value.

Similarly, the tables also provided the values of trigonometric functions (used in architecture and civil engineering), astronomical tables (to predict the positions of celestial bodies), actuarial tables (for insurance and taxation), and polynomial tables (values of complicated functions used in science).

The tables often repeatedly evaluated the values of common functions at regular intervals. For example, if f(x) = x3, then the tables would provide the values of f(x) at x = 1, 2, 3, 4, …, i.e. 1, 8, 27, 64, …. Similarly, a table would show the values of a trigonometric sine function for every tenth of a degree: 10°, 10.1°, 10.2°, … corresponding to 0.1736, 0.1754, 0.1771, ….

Aside from computers making mistakes during the calculation itself, inaccuracies also crept up during copying and typesetting. And a single mistake could be ruinous.

What is the method of finite differences?

The method of finite differences simplifies many of these operations to simpler problems, which the difference engine could then automate.

Say a table needs to evaluate the function f(x) = x2. So for x = 1, 2, 3, …, f(x) = 1, 4, 9, …. Now look at the differences between successive values: 3 (4 – 1), 5 (9 – 4), 7 (16 – 9), 9 (25 – 16), …. Then look at the second differences, i.e. the difference between the differences: 2 (5 – 3), 2 (7 – 5), 2 (9 – 7), ….

That the second difference is a constant implies the whole table can be generated using just addition.

The difference engine started with three numbers loaded into separate columns of wheels: the starting value, 1; the first first-difference, 3; and the second difference, 2. When you crank the wheels, they add the second difference to the first difference: 3 + 2 = 5 — and then the updated first difference to the current value: 1 + 5 = 6.

At the end of turn 1:

  • Updated first difference: 5

  • Updated value: 4

And at the end of turn 2:

  • Updated first difference: 5 + 2 = 7

  • Updated value: 4 + 5 = 9

And at the end of turn 3:

  • Updated first difference: 7 + 2 = 9

  • Updated value: 9 + 7 = 16

And so on. Thus the difference engine produced: 1, 4, 9, 16, 25, ….

How did the wheels ‘do’ all this?

Imagine one vertical column of wheels representing a decimal number: the top wheel displays the thousands, the second wheel the hundreds, the third wheel the tens, and the fourth wheel the ones. Each wheel has the digits 0-9 engraved on its edge.

Suppose the machine stored the number 247. The wheels would be positioned so that the thousands wheel points to 0, the hundreds wheel points to 2, the tens wheel points to 4, and the ones wheel points to 7.

To add numbers, the machine would physically rotate the wheels. Suppose you want to perform the operation 247 + 5. When cranked the gears, they would turn the ones wheel forward by five positions: 7, 8, 9, 0, 1, 2. Since going from 9 to 0 means crossing a decimal boundary, the analytical engine has to carry the 1 — which it does using a special mechanism that nudges the tens wheel forward one step: from 4 to 5.

So the machine displays 252.

What happened to the difference engine?

Babbage never finished building a full-scale version of his Difference Engine No. 1. In 1991, the Science Museum in London built a machine it dubbed ‘Difference Engine No. 2’ based on Babbage’s drawings in 1846-1849. It weighed five tonnes, contained 8,000 parts, and worked correctly, vindicating Babbage’s intuition.

That said, the reasons work on Difference Engine No. 1 stalled are pertinent. Foremost, Babbage fell out with his chief engineer Joseph Clement over Clement’s compensation and who owned the tools and drawings. The government also cut off funding in 1842, by when Babbage had spent more than GBP 17,000, because it believed there was no end in sight to his expenses and because, from 1834 onwards, Babbage had been paying more attention to a new device called the analytical engine.

What is the analytical engine?

It was conceived as a general purpose programmable machine — the direct ancestor of the modern computer. It had four components: the mill (like the modern CPU), which performed basic mathematical operations like addition and subtraction; the store (memory), capable of holding up to 1,000 numbers each 50 digits long on wheels; the reader (input), consisting of punched cards then used in Jacquard looms of the textile industry; and the printer (output), a mechanism to automatically stamp the results out on metal plates.

The analytical engine was not just advanced for its time: it was practically revolutionary because it was (i) programmable — it could receive instructions and solve different problems — and (ii) it had conditional branching, meaning it could make logical decisions like “do A if B”. It could also repeat particular steps.

What did the punched cards do?

In a Jacquard loom, users would punch holes into cards to control the weaving pattern. One specific pattern of holes which threads to raise or lower, for example. So if Babbage wanted to calculate (7 + 5) x 3, he would load the numbers into the store — as in the difference engine — and then place cards in the machine with these instructions:

  • Put 7 in storage location A

  • Put 5 in storage location B

  • Put 3 in storage location C

Then, another sequence of punched cards would instruct the mill:

  • Add A and B

  • Store result in D

Then the machine would compute:

7 + 5 = 12

Now D = 12.

Yet another set of punched cards might say:

  • Multiply D by C

  • Store result in E

So the analytical engine would compute:

12 x 3 = 36

A final card would say ‘Print E’, so the engine would stamp out:

36

The same analytical engine could solve a different problem; Babbage just had to change the order of the punched cards.

More advanced sequences of cards could also instruct the analytical engine to repeat some operation multiple times (looping) and execute conditional branching. For example, to perform division by repeated subtraction, the analytical engine would have to subtract the divisor from the number, and repeat that operation if the result is positive or stop if the result is negative.

(Aside: The German-American inventor Herman Hollerith also used punched cards to automate the U.S. Census in the 1890s and founded the company that was a piece of what would become IBM. However, there is no evidence he was inspired by Babbage’s choice.)

What happened to the analytical engine?

All this said, Babbage could not complete a full-scale analytical engine either. Due to his experiences with the Difference Engine No. 1, the analytical engine never attracted any serious funding. In fact, Babbage spent the rest of his life without any state support for his designs.

His efforts were not for nothing, however. His collaborator Ada Lovelace recognised an idea that most of her contemporaries missed: if a machine could manipulate numbers, and if those numbers could represent other data-types like letters, musical notes or images, the analytical engine could effectively be a universal symbol processor. This is like how today Spotify represents music as numbers, Photoshop represents colours as numbers, large language models represent words as numbers, and so on.

Babbage’s designs were the ancestors of modern computers in the same way the first cells are ancestors of modern humans: they were important foundations that proved something was possible but there are also significant differences between them. Babbage helped the world realise that machines could perform different mathematical functions using the same hardware.



Source link

Science

Post navigation

Previous Post: Jagadeesan moves from Vijay CC to Sea Hawks ahead of new season
Next Post: A new phase in India-Nepal relations

Related Posts

  • IPR Gandhinagar team proposes roadmap for India’s fusion power plans
    IPR Gandhinagar team proposes roadmap for India’s fusion power plans Science
  • ISRO to launch 6,500 kg communication satellite built by U.S. in couple of months: Chairman
    ISRO to launch 6,500 kg communication satellite built by U.S. in couple of months: Chairman Science
  • How Boeing can bring NASA’s Sunita Williams, Barry Wilmore back to Earth
    How Boeing can bring NASA’s Sunita Williams, Barry Wilmore back to Earth Science
  • Female right whales may never breed after run-ins with fishing gear
    Female right whales may never breed after run-ins with fishing gear Science
  • Antibiotics can leave a long-term footprint on our gut microbiome: study
    Antibiotics can leave a long-term footprint on our gut microbiome: study Science
  • Before refrigeration, how did seafarers preserve food on long voyages?
    Before refrigeration, how did seafarers preserve food on long voyages? Science

More Related Articles

Chandrayaan-3 | ‘Smile, please!’ Pragyan’s cameras capture Vikram Chandrayaan-3 | ‘Smile, please!’ Pragyan’s cameras capture Vikram Science
For Udaipur’s Holi, Rajasthan’s semal trees are going up in flames For Udaipur’s Holi, Rajasthan’s semal trees are going up in flames Science
Keep a dustbin or face action: Cyberabad civic body’s ‘No Bin, No Trade’ approach to hold businesses accountable Keep a dustbin or face action: Cyberabad civic body’s ‘No Bin, No Trade’ approach to hold businesses accountable Science
The discrepancy between satellite data of farm fires and air pollution | Explained The discrepancy between satellite data of farm fires and air pollution | Explained Science
What are carbon capture and utilisation technologies? | Explained What are carbon capture and utilisation technologies? | Explained Science
Artemis II astronauts rocket toward moon after spending day around Earth Artemis II astronauts rocket toward moon after spending day around Earth Science
SiteLock

Archives

  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022

Categories

  • Business
  • Nation
  • Science
  • Sports
  • World

Recent Posts

  • Five BESS projects will be ready by October, KSEB tells Electricity Regulatory Commission
  • Teachers, parents worry over lack of clarity on three-language policy
  • Heatwaves and ozone together increase India’s cardiac deaths: study
  • Bangladesh PM’s adviser returns from Delhi airport; says he was ‘humiliated’ by immigration
  • Displaced Kashmiri Pandits seek structured engagement, genocide recognition, and property recovery

Recent Comments

  1. Davidnox on UP Teacher Who Asked Students To Slap Muslim Classmate
  2. Conradgycle on UP Teacher Who Asked Students To Slap Muslim Classmate
  3. ThomasAxiob on UP Teacher Who Asked Students To Slap Muslim Classmate
  4. RonaldBalse on UP Teacher Who Asked Students To Slap Muslim Classmate
  5. NathanDoowl on UP Teacher Who Asked Students To Slap Muslim Classmate
  • Amid Standoff, US Says India Must Cooperate With Canada, Ensure Accountability
    Amid Standoff, US Says India Must Cooperate With Canada, Ensure Accountability World
  • Iran vows to attack any ship trying to pass through Strait of Hormuz
    Iran vows to attack any ship trying to pass through Strait of Hormuz World
  • Sensex, Nifty scale fresh record high levels
    Sensex, Nifty scale fresh record high levels Business
  • Washington Sundar’s innings addressed key questions around GT’s middle-order: Ashwin
    Washington Sundar’s innings addressed key questions around GT’s middle-order: Ashwin Sports
  • Salman Khan Gets Threat Again Over Song Naming Gangster Lawrence Bishnoi
    Salman Khan Gets Threat Again Over Song Naming Gangster Lawrence Bishnoi Nation
  • Bangladesh will seek extradition of ex-premier Sheikh Hasina from India: Interim chief Yunus
    Bangladesh will seek extradition of ex-premier Sheikh Hasina from India: Interim chief Yunus World
  • Watch: T.S. Tirumurti: India should be more proactive when it comes to Russia-Ukraine war
    Watch: T.S. Tirumurti: India should be more proactive when it comes to Russia-Ukraine war World
  • MEA denies Epstein claim that U.S. played a role in PM’s 2017 visit to Israel
    MEA denies Epstein claim that U.S. played a role in PM’s 2017 visit to Israel World

Editor-in-Chief:
Mohammad Ariff,
MSW, MAJMC, BSW, DTL, CTS, CNM, CCR, CAL, RSL, ASOC.
editor@artifex.news

Associate Editors:
1. Zenellis R. Tuba,
zenelis@artifex.news
2. Haris Daniyel
daniyel@artifex.news

Photograher:
Rohan Das
rohan@artifex.news

Artifex.News offers Online Paid Internships to college students from India and Abroad. Interns will get a PRESS CARD and other online offers.
Send your CV (Subjectline: Paid Internship) to internship@artifex.news

Links:
Associate Journalism
About Us
Privacy Policy

News Links:
Breaking News
World
Nation
Sports
Business
Entertainment
Lifestyle

Registered Office:
72/A, Elliot Road, Kolkata - 700016
Tel: 033-22277777, 033-22172217
Email: office@artifex.news

Editorial Office / News Desk:
No. 13, Mezzanine Floor, Esplanade Metro Rail Station,
12 J. L. Nehru Road, Kolkata - 700069.
(Entry from Gate No. 5)
Tel: 033-46011099, 033-46046046
Email: editor@artifex.news

Copyright © 2023 Artifex.News Newsportal designed by Artifex Infotech.