Ada Lovelace: The Poet's Daughter Who Imagined the Computer a Century Early
She never saw a working computer, yet her notes on Charles Babbage's unbuilt engine described what such machines could become. Here is the life behind the legend of the 'first programmer'.
AI-assisted, editorially reviewedHow we work

Key points
- Ada Lovelace (1815–1852) was the only legitimate child of the poet Lord Byron and Annabella Milbanke.
- Her mother insisted on a rigorous mathematical education, unusual for a woman at the time.
- In 1843 she translated an article on Babbage's Analytical Engine and added long notes of her own.
- Her notes included a step-by-step method for calculating Bernoulli numbers, often called the first published program.
- She also saw that such a machine could work with symbols such as music, not only numbers.
In 1843, a woman in her late twenties published a translation of a technical article about a calculating machine that did not exist. The article was ordinary enough. Her notes on it were not. Ada Lovelace used them to describe, in remarkable detail, how a machine might follow a sequence of instructions, and to suggest that it might one day handle music as easily as arithmetic. More than a century later, people building electronic computers would find that she had got there first.
A famous father she never knew
Augusta Ada Byron was born in 1815, the only legitimate child of the poet Lord Byron and Annabella Milbanke. Her parents separated soon after her birth, and Byron left England for good within months. He died in 1824 and she never had a relationship with him. Her upbringing was shaped instead by her mother, Lady Byron, who had mathematical training of her own; Byron had nicknamed her his Princess of Parallelograms.
Lady Byron insisted that Ada, who was tutored privately, study mathematics too, an unusual education for a woman of the period. A book based on her papers in the Bodleian Library describes an inventive young mind, full of ideas for a steam-powered flying horse and questions about the science of rainbows. Later she took a correspondence course with the eminent mathematician Augustus De Morgan, developing into what the same study calls a gifted and perceptive mathematician.
Read more
Meeting Babbage
In 1833, aged seventeen, she met the inventor Charles Babbage at a party and was entranced when he demonstrated a small working section of his calculating engine. Their mutual friend was Mary Somerville, the celebrated science writer who had tutored Ada. Babbage had begun designing his Difference Engine in 1821, a machine for calculating and printing mathematical tables. By 1834 he had conceived something far more ambitious: the Analytical Engine, a general-purpose programmable machine.
The Computer History Museum explains that the Analytical Engine was to be programmed with punched cards borrowed from the Jacquard loom, with a Store for holding numbers and a separate Mill for doing the arithmetic. It would have been capable of what we now call looping and conditional branching, though Babbage never used those words. It was never built.
The famous Notes
Ada's studies paused for marriage and motherhood but resumed when she could make time. In 1843 she published her translation of an article on the Analytical Engine by the Italian engineer Luigi Menabrea, to which she added extensive notes. Those notes included the first published description of a stepwise sequence of operations for solving a mathematical problem. The final note, known as Note G, set out a method for calculating Bernoulli numbers on the engine, which might have run correctly had the machine ever existed.
The Analytical Engine weaves algebraic patterns just as the Jacquard loom weaves flowers and leaves.
— Ada Lovelace, 1843, as quoted by the Computer History Museum
Just as important was her sense of what such a machine could mean. She speculated that the engine might act on things other than numbers, and might even compose elaborate pieces of music. The Computer History Museum describes this as the fundamental transition from calculation to computation, and says Ada was the first to articulate it explicitly, seeing further in this respect than Babbage himself. She called her own approach poetical science.
Was she really the first programmer?
The label is popular and partly fair. Her collaboration with Babbage was close, and the Computer History Museum notes that biographers still debate the extent and originality of her contribution. Babbage's own private notes from 1837 to 1840 already contain programs for the engine, but hers was the first to be published. What is not in doubt is that her published table of operations is the one often called the first programme, and that her notes contain clear explanations of computing principles.
Ada Lovelace died in 1852, at only thirty-six. Contemporary accounts called her illness uterine cancer; it is now thought to have been cervical cancer. Her reputation grew slowly, then quickly. A programming language was named Ada in her honour, and Ada Lovelace Day, held on the second Tuesday of October since 2009, celebrates women in science, technology, engineering and mathematics.
Fact, theory or legend? That Ada wrote the Notes and published the first algorithm for the Analytical Engine is documented. How much of the underlying thinking was hers rather than Babbage's is a genuine scholarly debate. The vision of machines handling music and symbols is very much her own words.
The daily briefing
The day's most important stories in your inbox, every morning.
Related

The Great Emu War: How Australia Sent Machine Guns Against Birds, and Lost

The Great Stink: How One Foul Summer Forced London to Build Its Sewers

9 Everyday Details From Pompeii That Bring a Roman Town Back to Life
