the Earth as seen from space The Robinson Library knowledge unlocks a world of possibilities
The Robinson Library Search This Site Usage Guidelines About the Library Contact Information Help

Science. Mathematics. Instruments and Machines.      
The Difference Engine

Before the widespread availability of dependable mechanical, and, later, electronic calculators, scientists, astronomers, navigators, actuaries, bankers, etc. relied for the most part on printed mathematical tables to perform calculations requiring more than a few figures of accuracy. The repetitive calculations for these tables were performed by hand by people called "computers" and results were then copied and set in loose type for printing. Mistakes were common.

Charles Babbage, an English mathematician and inventor, sought to build an automatic calculating machine that would eliminate all these sources of inaccuracy. It was his belief that the "unerring certainty of mechanism" would free calculation of human error, and having the machine print the results automatically would eliminate the risk of mistakes in manual transcription and typesetting, and it was this belief that led him to design the Difference Engine.

woodcut diagram of a portion of Babbage's Differential EngineThe Difference Engine was conceived to calculate and automatically print error-free mathematical tables. It is so named because of the mathematical principle upon which it is based, the method of finite differences. The advantage of the method is that it allows complex mathematical expressions to be calculated using simple addition only, without the need for multiplication and division which would ordinarily be required.

Left: portion of Difference Engine No. 1, assembled in 1832, from an 1853 woodcut

Babbage began working on Difference Engine No. 1 in the early 1820's, but the machine was never completed. The project was abandoned in 1833 after a dispute with the engineer -- Joseph Clement -- who had been engaged to build the machine. About one-seventh of the engine had been assembled as a demonstration piece by Clement in 1832. This portion of the engine is the first known automatic calculator, and one of the finest examples of precision engineering of its day. It is automatic in the sense that for the first time mathematical rule was incorporated directly into the mechanism -- the operator did not need to understand the mechanical or logical principles of achieve useful (and accurate) results. All that was required was to turn the handle and the machine did the rest.

a close-up of the mechanism -- on display at the Science Museum, LondonRight: close-up of the actual demonstration piece completed in 1832; on display at the Science Museum in London

The Difference Engine is capable of a fixed set of operations determined by its wheel work. Babbage's Analytical Engine, however, conceived in 1834, has features that are amazingly similar to those of a modern electronic computer. Tne Analytical Engine was programmable using punched cards, had a repertoire of basic operations (multiplication, division, addition and subtraction), and could automatically execute sequences of these operations in any order. The "mill," where information was processed, was physically separate from the "store" or memory where information was kept. The separation of "store" and "mill" (today called the central processor) is a feature that has dominated the design of the electronic computer since the mid-1940's. Designs for the Analytical Engine were highly developed, but no Analytical Machine was ever actually built.

Questions or comments about this page?


Cossons, Neil. Making of the Modern World, Milestones of Science and Technology. London:John Murray (Publishers) Ltd., 1992.


Charles Babbage


This page was last updated on 09/14/2008.

The Robinson Library
Science.--Mathematics.--Instruments and Machines.

Search This Site | Usage Guidelines | About the Library | Contact Information | Navigation Help