Log in Sign up
Back to Discover
💻

Difference engine

technology Maturity 7-9

This is a big math machine.

Babbage Difference Engine.jpg
Babbage Difference Engine.jpg
It uses wheels to count. It can do hard math fast. This helps people find the right numbers. It is very cool!
LondonScienceMuseumsReplicaDifferenceEngine.jpg
LondonScienceMuseumsReplicaDifferenceEngine.jpg
Can you imagine a machine that thinks?

39 words

A difference engine is a math machine.

Babbage Difference Engine.jpg
Babbage Difference Engine.jpg
It was made by Charles Babbage. He made the plans a long time ago.

The machine uses many wheels to count. You turn a handle to make it work. It can add numbers together.

LondonScienceMuseumsReplicaDifferenceEngine.jpg
LondonScienceMuseumsReplicaDifferenceEngine.jpg

This helps people make math tables. These tables help with science and travel. It is much faster than people.

One big machine would have many parts. It would weigh as much as four cars.

People still build these machines today. They show how the old plans work. It is a very smart idea!

98 words

A difference engine is a mechanical calculator.

Babbage Difference Engine.jpg
Babbage Difference Engine.jpg
It was designed by Charles Babbage in the 1820s. This machine uses a special math method. We call this the method of finite differences. It helps the machine make math tables. These tables are used in science and for travel.
LondonScienceMuseumsReplicaDifferenceEngine.jpg
LondonScienceMuseumsReplicaDifferenceEngine.jpg

The engine works using many columns. Each column holds one decimal number. To start, you set initial values in the columns. Then, you turn a handle to power the machine. The machine adds values from one column to the next. This set of steps makes the math happen automatically.

Babbage's big design was very complex. One version would have 25,000 parts. It would weigh 4 tons. In the 1880s, people built working models from his plans. One model at the Science Museum has 8,000 parts. It weighs about 5 tons.

Difference engine.JPG
Difference engine.JPG
These machines show that Babbage's ideas really worked. They can even print the math results. This helps prevent mistakes made by people when they write numbers down.

170 words

A difference engine is an automatic mechanical calculator.

Babbage Difference Engine.jpg
Babbage Difference Engine.jpg
It was designed to create math tables using a method called finite differences. This method uses a small set of numbers to find new values in a pattern. Many important math functions used in science and navigation can be turned into these patterns. This means the machine can compute many useful tables for engineers. These tables help people understand complex math without doing every step by hand.
LondonScienceMuseumsReplicaDifferenceEngine.jpg
LondonScienceMuseumsReplicaDifferenceEngine.jpg

The machine works by using many different columns. Each column can store one decimal number. To start the work, you must set initial values in the columns. Column 1 shows the value of the calculation as it happens. Column 2 is set using a special value from the math pattern. The machine then adds the value of one column to the next column. This way of working allows the machine to find new numbers automatically. You power the machine by turning a hand crank.

Charles Babbage began designing these machines in the 1820s. He announced his invention in June 1822 to a scientific group in London. The British government wanted to help him because making math tables was very expensive. In 1823, they gave Babbage £1700 to start his work. However, making the metal parts was a very hard job back then. The metalworking tools could not make the tiny parts with enough precision. Because of this, the big project was eventually stopped by the government.

Babbage had many different ideas for his machines. His plan for Difference Engine No. 1 was huge. It would have had 25,000 parts and weighed 4 tons. He also designed an improved version called Difference Engine No. 2. This newer design could work with 31-digit numbers.

Difference engine Scheutz.jpg
Difference engine Scheutz.jpg
Other inventors like Per Georg Scheutz also built machines. In 1857, his machine became the first printing calculator ever sold. It was sent to the Dudley Observatory in New York.

We can see how these machines worked by looking at modern replicas.

Difference engine.JPG
Difference engine.JPG
In the 1980s, experts used Babbage's old drawings to build a working engine. The machine at the Science Museum in London has 8,000 parts. It weighs about 5 tons. This machine even has a printer to show the results. Babbage wanted the printer to make plates for printing presses. This was to stop mistakes that happened when people wrote numbers down by hand. Now, these machines help us see his great ideas in action.

412 words

A difference engine is an automatic mechanical calculator designed to tabulate polynomial functions.

Babbage Difference Engine.jpg
Babbage Difference Engine.jpg
These machines were created to solve a major problem in science and engineering. During the 19th century, researchers needed large mathematical tables for navigation and science. These tables often relied on logarithmic and trigonometric functions. Because these complex functions can be approximated by polynomials, a difference engine could compute them efficiently. The name of the machine comes from the method of finite differences. This is a mathematical way to find new values in a pattern using a small set of polynomial coefficients.

The mechanism of the engine relies on a series of vertical columns.

LondonScienceMuseumsReplicaDifferenceEngine.jpg
LondonScienceMuseumsReplicaDifferenceEngine.jpg
Each column in the machine is capable of storing one decimal number. To begin a calculation, the user must program the engine by setting initial values in these columns. Column 1 is set to the starting value of the polynomial. Column 2 is set using a value derived from the polynomial's derivatives. The machine then performs addition in a specific sequence. It adds the value of column $n + 1$ to column $n$ to produce a new value for column $n$. This process repeats across the columns. The user powers the entire mechanical process by turning a hand crank.

Different versions of these engines varied significantly in their complexity and capacity. Charles Babbage's original plan for Difference Engine No. 1 was massive. It was designed to use 20-digit numbers and operate by sixth-order differences. This specific design would have required about 25,000 parts and weighed 4 tons. Later, Babbage designed an improved version called Difference Engine No. 2. This improved design could handle 31-digit numbers and seventh-order differences. Other inventors created different types of machines as well. For example, the Scheutzian engine was capable of printing its results.

Difference engine Scheutz.jpg
Difference engine Scheutz.jpg
Martin Wiberg also improved upon these designs to produce logarithmic and interest tables.

The history of the difference engine began with early mechanical ideas. The concept of mechanical calculation traces back to the Antikythera mechanism from the 2nd century BC. In the 17th century, thinkers like Pascal and Leibniz created early modern examples. In 1784, an engineer named J. H. Müller devised an adding machine. He described the principles of a difference machine in a book published in 1786. However, Müller could not find the funding to finish his work. Charles Babbage took up the mantle in the 1820s. He announced his invention to the Royal Astronomical Society on June 14, 1822. This announcement focused on applying machinery to astronomical and mathematical tables.

Babbage's work was marked by both great ambition and significant financial struggle. The British government initially supported him because manual table production was expensive. In 1823, they provided Babbage with £1,700 to start the project. However, the metalworking technology of the 1800s could not produce parts with enough precision. This made the project much more expensive than the government expected. By the time the government abandoned the project in 1842, Babbage had spent over £17,000. Despite this, he had not achieved a fully working large-scale engine. The government focused on the cost of development rather than the potential value of the machine's output.

Notable examples of these machines show how the technology evolved over time. Per Georg Scheutz, a Swedish inventor, was inspired by Babbage in 1834. He built a model that could calculate series using 5-digit numbers. By 1853, he finished a larger machine that used 15-digit numbers. This machine was the first printing calculator ever sold when it went to New York in 1857.

Difference engine.JPG
Difference engine.JPG
Other machines were built much later, such as the Burroughs Class 11 in 1929. In the 20th century, machines like the one built by Christel Hamann in 1909 were used to publish complex mathematical tables. These machines proved that the concept of automated calculation was vital for large-scale data.

Today, we can study these machines through modern, working replicas. In the 1980s, researchers at the University of Sydney used Babbage's original drawings to build a working section of Difference Engine No. 2. The Science Museum in London also completed a version that weighs about 5 tons and contains 8,000 parts. These replicas even include Babbage's designed printer. The printer was meant to create stereotype plates for mass printing. Babbage wanted to prevent the errors that occurred during manual typesetting. These modern machines connect us to the history of computing and show how mechanical logic paved the way for digital technology.

748 words
🖼️ Images & Media (5)
File:Babbage Difference Engine.jpg
Babbage Difference Engine.jpg
File:LondonScienceMuseumsReplicaDifferenceEngine.jpg
LondonScienceMuseumsReplicaDifferenceEngine.jpg
File:Difference engine Scheutz.jpg
Difference engine Scheutz.jpg
File:Difference engine.JPG
Difference engine.JPG
Babbage Engine Demonstration pt. 3.webm
Up Next
💻
Analytical engine
Technology
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.