On October 18, 1871, Charles Babbage, mathematician, inventor and early computer scientist passed away. We think, everybody should know about Charles Babbage and his seminal work on the first mechanical universal computer, the Analytical Engine. Although the Analytical Engine never was build during his lifetime, due to the lack of according fine mechanics in the 19th century, Babbage sketched out everything necessary to construct and to program a universal computer.
“The whole of arithmetic now appeared within the grasp of mechanism.”
— Charles Babbage, Passages from the Life of a Philosopher (1864), ch. 8 “Of the Analytical Engine”
Education and Academic Career
Born in Teignmouth, Devonshire on December 26, 1791 as son of Benjamin Babbage, a fairly wealthy London banker, Charles Babbage suffered from many childhood illnesses, which forced his family to send him to a clergy operated school for special care. During his younger years, he received private tutoring from elite school teachers due to the wealth of his father. When he went to Trinity College, Cambridge, in October 1810, he was turned off by the sort of math that was taught, so together with his friend John Herschel,[8] the later famous astronomer, he decided to form his own math group known as the Analytical Society who would apply scientific logic and thought to test mathematical ideas of the time. When, in 1812, Babbage transferred to Peterhouse, Cambridge, he was the best mathematician.#
In 1815 Babbage gave a series of lectures on astronomy at the Royal Institution, on 14 March 1816 he was appointed a member of the Royal Society for his services to mathematics, and in 1817 he obtained a Master’s degree in philosophy. In 1820 he also became a fellow of the Royal Society of Edinburgh. In the same year Babbage, together with John Herschel and George Peacock, founded the Royal Astronomical Society, whose secretary he became until 1824.
Mechanizing Calculations with the Difference Engine
In the times of Babbage there was a really high error rate in the calculation of math tables, when Babbage planned to find a new method that could be use to make it mechanically, removing the human error factor. This idea started to tickle his brain very early, in 1812. Three different elements influenced him in this decision: he disliked untidiness and unprecision; he was very able with logarithmical tables; he was inspired from an existing work on calculating machines produced by Schickard,[9] Pascal,[10] and Leibniz.[11] He discussed the main principles of a calculating engine in a letter he wrote to Sir Humphrey Davy in the early 1822.
By that time Babbage began developing his Difference Engine, a mechanical device that could calculate and tabulate polynomial functions, but he was unable to complete it because of a lack of funding. The name ‘Difference Engine‘ derives from the method of divided differences, a way to interpolate or tabulate functions by using a small set of polynomial coefficients. Both logarithmic and trigonometric functions, can be approximated by polynomials, so a difference engine can compute many useful sets of numbers for navigators and scientists.
Universal Computations with the Analytical Engine
“As soon as an Analytical Engine exists, it will necessarily guide the future course of the science. Whenever any result is sought by its aid, the question will then arise — by what course of calculation can these results be arrived at by the machine in the shortest time?”
— Charles Babbage, Passages from the Life of a Philosopher (1864), ch. 8 “Of the Analytical Engine”
In the 1830s Babbage began developing his Analytical Engine, which was designed to carry calculations guided by a programming logic, but this device was never built. Babbage’s book Economy of Machines and Manufactures (1832) initiated the field of study known today as operational research. Unfortunately, little remains of Babbage’s prototype computing machines. Critical tolerances required by his machines exceeded the level of technology available at the time. And, though Babbage’s work was formally recognized by respected scientific institutions, the British government suspended funding for his Difference Engine in 1832.
One year later Ada Augusta King, Countess of Lovelace, the only legitimate child of the famous poet Lord Byron, met Babbage and was fascinated with both him and his computers. She became a competent student of mathematics, which was most unusual for a woman at the time. It is often suggested that Ada was the world’s first programmer.[12,13]. His calculator was described by Federico Luigi Menabrea and annotated in English translation by Ada Lovelace, who was sponsored by Babbage. Both writings are regarded as early pioneering works on programming.
The Analytical Engine was to be driven by a steam engine, consist of 55,000 parts and be nineteen meters long and three meters high. The input (commands and data) was to be made via punched cards, a method that was used at the time to control mechanical looms. A printer, a curve plotter and a bell (as a signal to the operator) were planned for the output. The machine should also be able to punch numbers into punched cards or metal plates. It used decimal fixed-point numbers, and Babbage had produced various designs with a “working” memory of 100 or 1000 words with – depending on the source – 40 to 50 decimal places, corresponding to about 1.6 – 20 kB. Each decimal place is represented by a gearwheel. Babbage considered more decimal places unnecessary until further notice, quote: “The result of my reflections has been that numbers containing more than thirty places of figures will not be required for a long time to come.”
Unfortunately, Babbage was never able to complete his Analytical Engine, and the concept was shelved and forgotten until 1937 when many of his unpublished notebooks were discovered. Finally, in 1991, British scientists got around to constructing a machine called Difference Engine No. 2 (accurate to 31 digits) built according to Babbage’s detailed specifications. Later, hobbyists also copied this machine with modern, precise toy kits such as Lego and Meccano.
Further Scientific Achievements
In 1826 Babbage published a paper in which he put the life insurance business on a statistical basis using mortality tables. In 1828 Babbage became professor of mathematics at the Lucasian Chair of Mathematics at Cambridge University (until 1839) but gave no lectures. His report Reflections on the decline of science in England, and on some of its causes of 1830, which reflected his dissatisfaction with the state of the Royal Society, led to the foundation of the British Association for the Advancement of Science in 1831. His book On the Economy of Machinery and Manufactures, published in 1832, is an analysis of the technology and organisation of industrial capitalism of his time, in which he wrote, among other things, about the reduction of wage costs by splitting a work process into sub-processes of varying degrees of complexity, which is today also known as the “Babbage Principle”.
Charles Babbage’s Dislike of Street Music
According to the account of Lady Lovelace Babbage hated music. He tolerated its more exquisite forms, but abhorred it as practiced on the street. “Those whose minds are entirely unoccupied“, he wrote with some seriousness in 1864, “receive [street music] with satisfaction, as filling up the vacuum of time“. He calculated that 25% of his working power had been destroyed by street nuisances, many of them intentional. Letters to the Times and the eventual enforcement of “Babbage’s Act“, which would squelch street nuisances, made him the target of ridicule. Babbage also worked in the fields of philosophy and code-breaking, as well as campaigning for reform in British science. In 1854, he was the first to decipher a Vigenère cipher by describing how to filter the matching key from the ciphertext. However, he never published his method, so that scientists only became aware of his findings after his death.
Charles Babbage died at his home in London on 18 October 1871.
Doron Swade, Mission Impossible: Constructing Charles Babbage’s Analytical Engine, [14]
References and Further Reading:
- [1] Charles Babbage and the Difference Engine in The Computer Museum
- [2] The Difference Engine built in LEGO
- [3] Charles Babbage in the Science Museum, London, UK
- [4] The Difference Engine – an overview on how the Difference Engine works
- [5] The Thrilling Adventures of Lovelace and Babbage – a web comic
- [6] Mathematical papers about Charles Babbage and his works at zbMATH
- [7] Charles Babbage in Wikidata
- [8] John Herschel – a Pioneer in Celestial Photography, SciHi Blog
- [9] Wilhelm Schickard and his Calculator Machine, SciHi Blog
- [10] It is not Certain that Everything is Uncertain – Blaise Pascal’s Thoughts, SciHi Blog
- [11] Let Us Calculate – the Last Universal Academic Gottfried Wilhelm Leibniz, SciHi Blog
- [12] Ada Lovelace – The World’s Very First Programmer, SciHi Blog
- [13] (in German) H. Sack: Programmieren, in: Historisches Wörterbuch des Mediengebrauchs. Band 2, hrsg. von Heiko Christians, Matthias Bickenbach und Nikolaus Wegmann, Böhlau Verlag, Köln, Weimar, Wien, 2018.
- [14] Doron Swade, Mission Impossible: Constructing Charles Babbage’s Analytical Engine, 2012, Dartmouth @ youtube
- [15] Timeline for Charles Babbage, via Wikidata