Sign in

Ada Lovelace's program

1843Big moment

Lovelace publishes the first algorithm for a machine and foresees computers creating music.

The story

In 1843 Ada Lovelace, the daughter of the poet Lord Byron, published a set of notes on Charles Babbage's proposed Analytical Engine, a general-purpose mechanical calculating machine. The notes accompanied her English translation of an article by the Italian engineer Luigi Menabrea, but were about three times as long as the original and signed 'A.A.L.' Note G contains a detailed table of operations by which the Engine would compute Bernoulli numbers, often described as the first published computer program.

Babbage had designed the Analytical Engine in the 1830s, with a store for numbers, a mill for arithmetic and punched cards to control it, inspired by the Jacquard loom. It was never built. Lovelace, taught mathematics by Mary Somerville and Augustus De Morgan, met Babbage in 1833 and corresponded with him for years. She understood what he had designed and saw further. Whether the algorithm was her own work or Babbage's, with whom she discussed it closely, has been debated, but her notes explain the principles of programming clearly, including loops and the idea of reusing sequences of operations.

Her deepest insight was that the Engine could manipulate more than numbers. If symbols could stand for other things, such as musical notes, the machine might compose elaborate pieces of music. She wrote that the Engine 'weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves'. She also noted that it could not originate anything but only do what it was told, an objection that Alan Turing later discussed and called 'Lady Lovelace's Objection'. Lovelace died in 1852 aged 36. Her notes were largely forgotten until the 1950s, when computing historians rediscovered them. Turing's work on the theory of computation came a century after her notes.

Why it mattered

  • The notes set out the idea of a general-purpose programmable machine and a method for describing its operations.
  • Her suggestion that machines could handle symbols beyond numbers anticipated computers working with music, text and images.
  • The question of whether machines can think or originate ideas, known as Lovelace's Objection, was taken up by Alan Turing in 1950.
  • Lovelace has become a symbol of women's role in the history of computing, with the programming language Ada named after her.

Sources

  1. Ada Lovelace Britannica
  2. Ada Lovelace Computer History Museum

Drafted by AI (Claude) from the sources above and checked against them by AI; no historian has reviewed this page. Spot a mistake? Suggest a correction. How pages are made

Community notes

Loading notes…

Learn more ranked by votes

Documentbritannica.com
Ada Lovelace (Britannica)
Editor's pick
BookJames Essinger
Ada's Algorithm
Search Open Library
VideoSearch YouTube
Ada Lovelace first computer program
Search YouTube