Difference Engine

From Computer History Wiki
Revision as of 18:21, 30 August 2024 by Jnc (talk | contribs) (Reasonable start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Difference Engine was a very early purely mechanical decimal digital computing device invented by Charles Babbage in the early 1800's, following an idea originated by Johann Helfrich von Müller in 1786. It was intended to compute mathematical tables (logarithms, etc), which at that point were computed by hand, and thus often contained errors.

The basic concept is that many mathematical functions can be expressed as polynomials (of the form C0 + C1X + C2X^2 + C3X^3 ... where C0, etc are the coefficients). Successive values of the function are fairly easy to compute by adding differences to running totals (hence the name of the machine), with addition being the only operation needed.

There were in fact two generation of his Engines; a prototype of the first was started in the 1820's, but never finished (although it did spark considerable improvements in the manufacture of advanced mechanical components).

He then became diverted into working on the Analytical Engine - but this turned out to be not without benefit to the Difference Engines. Using what he had learned in his work on the Analytical Engine, he created a new, and better, design for a Difference Engine (the 'Difference Engine No. 2') in 1847-49; his re-design resulted in reduction of the part count from 25,000 to 8,000. Alas, no actual work on it was undertaken in his lifetime.

The plans were preserved, though, and as memorial tribute to Babbage on the 200th anniversary of his birth, the Science Museum in London built an actual Difference Engine, using those plans, during 1985-1991; it was finished just in time for the anniversary, and actually worked reasonably well.

Further reading

  • Bruce Collier, James MacLachlan, Charles Babbage: And the Engines of Perfection, Oxford University, Oxford, 1998 - has good coverage of his machines
  • Doron Swade, Charles Babbage and His Calculating Engines, Science Museum, London, 1991 - exhibition catalogue
  • Doron Swade, The Difference Engine: Charles Babbage and the Quest to Build the First Computer, Viking, New York, 1991 - excellent history of the Science Museum's project to build an actual Difference Engine, includes biographical content and historical context of the original

External links