A machine that weaves algebra the way a loom weaves flowers
AI-generated summary. Check the original book.
A paper about a machine that was still only a plan.
Charles Babbage had designed something he called the Analytical Engine. Luigi Menabrea, a military engineer from Turin, heard Babbage explain it there and wrote it up. Ada Lovelace put the paper into English and added seven long notes, signed only A. A. L.
Can a machine do more than sums?
Babbage's earlier Difference Engine could do nothing but add, which was enough to churn out tables of numbers. The new idea was far bigger: one machine able to carry out any calculation at all, once it is told the steps.
The trick is borrowed from a weaving loom.
The Jacquard loom wove patterns by reading holes punched in cards. Babbage planned to steer his engine the same way. Some cards name the operation: add, subtract, multiply or divide. Others say which columns of numbered discs to take the numbers from, and where to put the result. A part called the mill does the work. A part called the store holds the numbers.
The cards hold the recipe, not the numbers.
Lovelace stresses that the cards only fix the order of operations. The same cards then work for whatever numbers are fed in. So the engine is not built for one job. And since it works on symbols by rules, she saw it might handle more than numbers. If the rules of harmony could be put in its notation, she writes, it might compose music of any length or complexity.
A full worked example, with every step in a table.
The last note shows how the engine could compute a series called the Numbers of Bernoulli. A large table follows each number as it moves between columns. Lovelace points out that the cards repeat in cycles, so the job never needs more than a small, fixed set of them.
She also said what the machine cannot do.
Lovelace warns against exaggerated ideas of the engine's powers. It has, she writes, no pretensions to originate anything. It can do whatever we know how to order it to perform. Menabrea says the same in his own words: the machine is not a thinking being. Readers today will recognise the question from arguments about artificial intelligence.
Handle with care.
- The engine was a plan. In 1843 neither it nor the Difference Engine had been completed, and Lovelace says its final form was not yet settled.
- Nothing here was tried on a working machine. Lovelace herself says the only fully convincing proof would be the engine existing and being used.
- The sizes kept changing. A letter by Babbage from 1835, printed in the book, speaks of 100 numbers of 25 figures each. Menabrea supposes 40 discs to a column. Lovelace says probably at least 200 columns.
- The book prints the date of Menabrea's original as October 1812. That must be a misprint: by Babbage's own letter in the same book, he only began the engine's drawings in the mid-1830s.
- The mathematics is hard going. A two-minute card can only point at it.
Take these with you.
- The Analytical Engine was designed to follow instructions on punched cards, an idea taken from the Jacquard loom.
- Lovelace saw that the instructions are separate from the numbers, so one machine could do many jobs.
- She imagined it working on things other than numbers, even music.
- She was just as clear about its limit: it only does what it is told.
Did it stick?
Where did the idea of controlling the engine with punched cards come from?
What could the earlier Difference Engine do?
What limit did Lovelace put on the Analytical Engine?
- Title
- Sketch of the Analytical Engine Invented by Charles Babbage, Esq.
- Author
- Luigi Federico Menabrea
- Translator
- Ada Lovelace
- First published
- 1843
- Edition read
- The 1843 English translation with the translator's notes, from Scientific Memoirs, volume 3 (Project Gutenberg ebook 75107)
- Rights
- Public domain: out of copyright in the United States and in Europe. We summarised the book in our own words.
- Original
- Read the whole book at Project Gutenberg
AI-generated summary. Check the original book. This card is our own plain-English summary. The ideas are the author’s. The wording and the graphics are ours, and so are any mistakes.
Where each point comes from
- Everything on this card is from the 1843 text as given in Project Gutenberg ebook 75107: Menabrea's paper (pages 1 to 25 of the original), then the translator's Notes A to G.
- The 1843 pages never name the translator. The notes are signed A. A. L. The name Ada Lovelace comes from Project Gutenberg's record and its transcriber's note.
- 'Twice the length' is our own count on the Project Gutenberg text: about 9,750 words for the paper and about 20,300 for the notes, tables included.
- From Menabrea's paper: his visit from Babbage at Turin, the Jacquard cards, the two kinds of card, the mill and the store, 40 discs to a column, three minutes at most to multiply two numbers of twenty figures, and that the machine is not a thinking being.
- From Note A: the Difference Engine can do nothing but add, the cards fix the operations and not the numbers, the music, and the loom that weaves flowers and leaves. From Note B: at least 200 columns, and the form not yet settled.
- From Note G: the warning against exaggerated ideas, 'no pretensions whatever to originate any thing', the Numbers of Bernoulli with their table, the 25 operation cards, and the remark that only the engine's actual existence would settle what it can do.
- That neither engine was complete in 1843 is from Note A, which speaks of what interfered with the completion of either invention. The card says nothing about what happened after 1843, because the book cannot.
- The editor's introduction prints Babbage's letter, read to the Brussels academy in May 1835, which says he had been making the drawings for six months and speaks of 100 variables of 25 figures. The same introduction gives the date of Menabrea's original as 'October 1812'. 'Mid-1830s' is our reading of the letter.
- The link to today's arguments about artificial intelligence is our own remark. It is not in the book.