Ada Lovelace's notes
Era 1 · The foundations (1763–1942) › Calculating machines and programmable computing
- Lineage
- Machines and computation
- Kind
- Publication
Who
What happened
In August 1843, in Taylor's Scientific Memoirs, Ada Lovelace publishes a translation of Luigi Menabrea's article on the Analytical Engine, with seven notes of Lovelace's own that make it three times as long as the original.
Why it mattered
An algorithm for the Bernoulli numbers, regarded as the first published program, and the idea that the machine can manipulate symbols, not just numbers.
The full story
Ada Lovelace, daughter of the poet Lord Byron, met Babbage in 1833, at seventeen, and saw a fragment of the Difference Engine at work. In 1842 the Italian engineer Luigi Menabrea published in Geneva, in French, a summary of the lecture Babbage had given in Turin. Lovelace translated it into English and added seven notes, lettered A to G, three times longer than the article. It was published in August 1843, signed only with Lovelace's initials.
Note G contains a step-by-step procedure for the machine to compute the Bernoulli numbers, an important sequence in mathematics. Lovelace wrote it from Babbage's calculations and suggestions, and it is often called the first published program. It has a bug: in the fourth operation, two variables are swapped.
Most original are the ideas about what the machine could do. Note A suggests that it could act on things other than numbers, if their relations can be expressed in symbols, and that it could compose elaborate pieces of music of any complexity. Note B says the machine "weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." Lovelace also cautions that the machine cannot originate anything by itself: it can only do what it is ordered to do.
A century later, in 1950, Alan Turing took up that caution as "Lady Lovelace's Objection" in asking whether a machine can think.
Common misconceptions
What people often say: Ada Lovelace wrote the first program ever run on a computer.
In fact: The procedure in Note G was meant for the Analytical Engine, which was never built. It is the first published program, not the first one to run.
Videos
- CHM Live | Ada Lovelace: The Making of a Computer Scientist (opens in a new tab) (Computer History Museum)
Builds on
The Analytical Engine (1837)
Documented direct influence
The notes comment on and expand the description of the Analytical Engine
Leads to
Computing Machinery and Intelligence (October 1950)
Documented direct influence
Turing quotes Lovelace's caution that the machine cannot originate anything and discusses it as "Lady Lovelace's Objection" (section 6)
Sources
Original source
- Sketch of the Analytical Engine invented by Charles Babbage, by L. F. Menabrea, with notes by the translator, Ada Lovelace (Fourmilab transcription) (opens in a new tab). Luigi Federico Menabrea and Ada Lovelace, 1843. public domain
How to cite
“Ada Lovelace's notes.” The History of AI, revised November 13, 2026. https://thehistoryofai.com/en/milestone/lovelace-notes
This entry was last reviewed on November 13, 2026.