Richard Holmes re-examines the legacy of Ada Lovelace, mathematician and computer pioneer.
The bicentenary of Augusta Ada King, Countess of Lovelace, heralds the critical reassessment of a remarkable figure in the history of Victorian science. Ada Lovelace (as she is now known) was 27 years old and married with 3 children when she published the first account of a prototype computer and its possible applications in 1843. Her 20,000-word paper was appended as seven Notes to a translation of a descriptive article, Sketch of the Analytical Engine Invented by Charles Babbage, Esq.
Ada Lovelace, painted in 1835 by Margaret Sarah Carpenter. Image: UK Government Art Collection
Lovelace's account was the fruit of one of the most intriguing collaborations in the annals of science: her friendship with Charles Babbage, Lucasian Professor of Mathematics at the University of Cambridge, UK, and inventor of the landmark analytical engine. The Notes eventually brought Lovelace both acclaim and notoriety. Babbage himself described her unforgettably to the physicist Michael Faraday as that Enchantress who has thrown her magical spell around the most abstract of Sciences and has grasped it with a force that few masculine intellects (in our own country at least) could have exerted over it.
The exact nature of that force and enchantment continues to puzzle historians of science, not least because Lovelace's correspondence, largely archived at the Bodleian Library in Oxford, has not been fully published (see selections by Dorothy Stein in Ada (MIT Press, 1985) and Betty A. Toole in Ada, Enchantress of Numbers; Strawberry, 1992). What has emerged is the hitherto unsuspected range of Lovelace's interests and contacts, which linked the worlds of Victorian science and literature.
Lovelace was the only legitimate child of the poet Lord Byron. She never met her father, self-exiled in Italy and Greece, but inherited much of his rebellious spirit and something of his unstable genius. She directed it towards science, declaring: I do not believe that my father was (or ever could have been) such a Poet as I shall be an Analyst (& Metaphysician); for with me the two go together indissolubly.
She was brought up with pathological severity by her mother, the brilliant Lady Annabella Byron dubbed the Princess of Parallelograms for her own fascination with mathematics and a squadron of female advisers whom Lovelace christened the Furies. Forbidden to read her father's poetry, young Ada was encouraged to study mathematics, astronomy and music, and allowed to design flying machines, play the harp and commune with her cat, Puff. In her early twenties she began to study the new calculus under Augustus De Morgan, a proponent of Boolean algebra, who described her as potentially more promising than any 'senior wrangler', or first-class Cambridge maths student.
In spring 1834, Lovelace met her first great mentor: Mary Somerville, the translator of French astronomer Pierre-Simon Laplace and author of the groundbreaking popular study On The Connexion of the Physical Sciences (1834). Somerville demonstrated that women could make their mark in science (R. Holmes Nature 514, 432433; 2014). It was she who introduced Lovelace to Babbage at one of his champagne-and-science receptions in Marylebone, London, where Charles Darwin, astronomer John Herschel and geologist Charles Lyell were frequent guests. At these soires, Babbage displayed a model of his early difference engine a brass calculating machine capable of tabulating higher-order polynomial functions alongside a silver automaton in the form of a dancing ballerina. Most guests were drawn to the ballerina; Lovelace, Babbage noticed, was entranced by the gleaming cogs of the calculating machine. Thus the unlikely friendship began.
“Lovelace's originality lay in her definitions of the engine's functions, and her brilliant speculations on its design possibilities.”
When Ada married William King, later Earl of Lovelace, in 1835, her London town house brought her even closer to Babbage. Their mathematical correspondence, both serious and teasing, focused on the analytical engine and the possibilities of mathematical and symbolic calculation. Thus in 1840 Lovelace was discussing the elimination game solitaire, in which 26 marbles must 'jump' each other, in an apparently unpredictable sequence, until only one remains. She challenged Babbage to consider whether there could be a mathematical formula ... on which the solution depends, and which can be put into symbolical language. She added, Am I too imaginative for you? I think not.
By 1841 Lovelace was developing a concept of Poetical Science, in which scientific logic would be driven by imagination, the Discovering faculty, pre-eminently. It is that which penetrates into the unseen worlds around us, the worlds of Science. She saw mathematics metaphysically, as the language of the unseen relations between things; but added that to apply it, we must be able to fully appreciate, to feel, to seize, the unseen, the unconscious. She also saw that Babbage's mathematics needed more imaginative presentation. So when a scientific paper on the analytical engine was published by Italian engineer Luigi Menabrea, Lovelace (perhaps inspired by Somerville's translation of Laplace) translated it from the original French. A delighted Babbage encouraged her to add a commentary. When published in the British journal Scientific Memoirs (volume 3, October 1843), Lovelace's 'translator's Notes' had expanded to twice the length of Menabrea's paper, and were much more far-reaching. This is the work that eventually made both the engine and Lovelace famous.
Lovelace is sometimes loosely described as the first computer programmer. She did produce an elegant set of tables showing how the engine could calculate Bernoulli numbers, but based on equations supplied by Babbage. Lovelace's originality lay in her conceptual definitions of the engine's mathematical functions, and her brilliant speculations on its design possibilities, going far beyond anything Babbage himself articulated. She wrote: We may say most aptly that the Analytical Engine weaves algebraic patterns just as the Jacquard-loom weaves flowers and leaves.
She distinguished it sharply from the difference engine and other mere 'calculating machines', writing prophetically that it holds a position wholly its own ... A new, a vast, and a powerful language is developed for the future. Like the Jacquard loom, it used paper punchcards that could program variable settings into a mechanical processor to be constructed from thousands of brass numerical cogs, vertically mounted in a system of calculating 'barrels', with 'loops and conditional branchings' built in. Despite having no defined power source, it was essentially the first genuine design for a working computer.
Next, Lovelace pointed out its revolutionary potential to handle purely symbolic notations, which gave it the potential to win games or compose music: Supposing, for instance, that the fundamental relations of pitched sounds in the science of harmony and of musical composition were susceptible of such expression and adaptations, the Engine might compose elaborate and scientific pieces of music of any degree of complexity or extent.
Finally, she raised the question of whether the engine could think, but concluded that it has no pretensions whatever to originate any thing. This was to have huge resonance. In his 1950 paper 'Computing machinery and intelligence', mathematician Alan Turing listed nine potential objections to the possibility of artificial intelligence (A. Turing Mind 59, 433460; 1950). The sixth was Lady Lovelace's Objection that a machine cannot do anything new; he initially agreed, then wondered about it. A better variant of the objection says that a machine can never 'take us by surprise' ... Machines take me by surprise with great frequency.
A portion of Charles Babbage's never-completed analytical engine, with printing mechanism. Image: Science Museum/Science & Society Picture Library
So does Lovelace. As her correspondence is gradually published, the extent of her scientific interests is emerging: they included railways, experimental telegraphy, magnetism, animal intelligence, probability theory and photography. Along with this is the multitude of luminaries whose work she knew, from Faraday to inventor Charles Wheatstone, engineer Isambard Kingdom Brunel, social theorist Harriet Martineau and novelist Charles Dickens.
Lovelace planned to draft many other scientific papers, for example on consciousness. These ambitions, latterly fuelled by opium, became increasingly visionary: My own great scientific object ... is the study of the Nervous System, and its relations with the more occult influences of nature. She wished to become a Newton for the Molecular Universe of the mind. Another paper was to be on the revolutionary field theories of Faraday, to whom she wrote boldly: I mean (unless you discourage me) to undertake your Researches for review, or at any rate as my hinge and centre for an Electrical Article. By her thirties, aware of her own celebrity, Lovelace became increasingly provocative, speaking out on science, sex and life after death subjects few men and no women venture to touch upon, as her father's old friend, politician John Hobhouse, observed.
Lovelace died in great pain at 36, from uterine cancer. Almost her last independent act was visiting the Great Exhibition of 1851 with Babbage, to revel in scientific and technological advances although both knew that the analytical engine would never be built in their own lifetimes. Both poetry and science attended her deathbed: Dickens came to read from his 1848 Dombey and Son; Lovelace wrote a sonnet on Newton's rainbow for her own tomb.
Lovelace's long-term influence has been as much cultural as scientific. She may have partly inspired Princess Ida in Alfred Tennyson's poem about a university of women, The Princess (1847). The precocious nineteenth-century teenager Thomasina Coverly in Tom Stoppard's 1993 play Arcadia, who understands chaos theory before it is established, was based on her. She is central to at least two science histories James Gleick's The Information (Pantheon, 2011) and Walter Isaacson's The Innovators (Simon & Schuster, 2014) as well as to Sydney Padua's hilarious (but scholarly) graphic novel, The Thrilling Adventures of Lovelace and Babbage (Particular, 2015).
Since 2009, an international Ada Lovelace Day has been celebrated every October, to promote women in science. The annual Lovelace Medal is awarded by the academy of the British Computer Society. A major academic conference will be dedicated to her work at the Mathematics Institute in Oxford this December (see go.nature.com/qn8yph). As Lovelace once wrote to a startled Faraday: I would not miss a possible opportunity of being ... useful to Science (Science whose Bride I am)!
Correspondence to Richard Holmes.
02 September 2015
To obtain permission to re-use content from this article visit RightsLink.