Flyology
In February 1828, a twelve-year-old girl in the English countryside began a systematic investigation into flight. She examined birds. She tested feathers, paper, silk — assessing each material's suitability for wings with the rigor of an engineer and the romance of someone who genuinely believed she might leave the ground. She wrote and illustrated a guide she titled "Flyology," cataloguing her findings in the manner of a treatise, as though the problem of human aviation were simply one of insufficient data. The project consumed her until her mother, alarmed that the child was drifting toward fancy, shut it down and reassigned her to arithmetic.
The girl was Augusta Ada Byron, the only legitimate daughter of Lord Byron, and she would never fly. She would do something stranger. Within fifteen years, she would describe — in extraordinary detail, for a machine that did not yet exist — how a sequence of punched cards might instruct a mechanical engine to compute Bernoulli numbers. She would articulate, more clearly than the machine's own inventor could manage, what computation actually was and what it might become. She would write the first computer program. And then she would die at thirty-six, the same age as her father, of uterine cancer, having spent her final years in opium haze and gambling debts, buried beside a man she never knew.
The story of Ada Lovelace is not, in the end, about firsts. It is about the collision between imagination and mechanism, between a Romantic inheritance and a rationalist education, between a woman's vision and a century's refusal to see her clearly. The dispute over what she actually contributed — a "minor academic specialty," as Walter Isaacson drily put it — has persisted for over a hundred and fifty years, fueled by the fact that she was brilliant, she was female, and the machine she wrote for was never built. There is no executable proof. There is only the text. And the text, as it turns out, is astonishing.
By the Numbers
Ada Lovelace
1843Year her Notes were published in Taylor's Scientific Memoirs
~20,000Words in her translation and notes — 3x Menabrea's original
36Age at death — identical to her father Lord Byron
7Appendices (Notes A through G) she added to Menabrea's paper
1979Year the U.S. Department of Defense named a programming language 'Ada'
0Times the Analytical Engine was fully built in Babbage's lifetime
The Princess of Parallelograms and the Poet
To understand Ada, you have to understand the marriage that produced her — a marriage so brief and catastrophic that it generated scandal for a century afterward and shaped every decision her mother would make about her education, her character, and the boundaries of her mind.
Lord George Gordon Byron was twenty-seven years old in 1815, the most famous poet in England, possibly in Europe, a man who kept a tame bear in his Cambridge rooms, maintained five peacocks on the grand staircase of his Italian villa, wrote a grammar book of Armenian for amusement, and who would, had fever not killed him first, have led troops in the Greek war of independence despite no military training whatsoever. He was, by the account of one of his mistresses, Lady Caroline Lamb, "mad, bad and dangerous to know." He was also, by all evidence, a rotten husband.
Anne Isabella Milbanke — Annabella — was his opposite in nearly every particular: educated, religious, progressive, interested in reform, serious about mathematics. Byron called her the "Princess of Parallelograms," which was both a term of endearment and a tell. On October 18, 1812, before they married, he wrote to her: "I agree with you quite upon Mathematics too — and must be content to admire them at an incomprehensible distance — always adding them to the catalogue of my regrets." He confessed he could not convert two and two into five, though it would give him "much greater pleasure" than arriving at four. That letter, read with hindsight, contains the entire genetic code of their daughter's life: the father who saw in mathematics only the impossible, the mother who saw in it salvation.
They married on January 2, 1815. Ada was born on December 10. On January 16, 1816 — five weeks later — Annabella took the infant and left. Lord Byron sailed from Dover in April 1816, just ahead of his creditors, and never returned to England. He died in Missolonghi, Greece, on April 19, 1824, at the height of his fame. Ada was eight. She never saw him. He kept a picture of her on his desk. He mentioned her in his poetry. That was all.
The separation — its causes whispered about in drawing rooms for decades, involving allegations of abuse, infidelity, and darker rumors still — became the defining fact of Ada's childhood. Not the absence of her father per se, but what that absence authorized her mother to do: build a human being as a controlled experiment. Annabella's hypothesis was simple and terrifying. Imagination was the Byron pathology. Mathematics was the cure.
The Rational Prescription
Ada led an isolated childhood on her mother's rented country estates, raised by governesses and tutors and her pet cat, Mrs. Puff. Annabella was frequently absent — pursuing, as
Stephen Wolfram notes, "quite wacky health cures" — but she enforced from a distance an educational regime of startling intensity: long hours of study, exercises in self-control, the child sometimes forced to lie still on a reclining board to perfect her posture. If she fidgeted, even with her fingers, her hands were placed in black bags. She was five years old.
The curriculum was mathematics, music, French, geography, chemistry, sewing, shorthand. Annabella believed that music provided proper social skills and that mathematics trained the mind toward discipline. What she feared above all was the poetical — the fanciful, the ungovernable, the Byronic. When she wrote to Lord Byron about Ada's development, her report carried the tone of a clinical trial: "Not devoid of imagination, but is chiefly exercised in connection with her mechanical ingenuity." This was the best possible outcome. Imagination in the service of mechanism. Fancy tethered to gears.
The tutors cycled in and out. A Miss Lamont discovered that Ada preferred geography to arithmetic and was promptly replaced. William Frend, a social reformer, gave instruction. William King, the family doctor, contributed. Mary Somerville — the Scottish astronomer and mathematician, one of the first women admitted to the Royal Astronomical Society, a woman so accomplished that the word "scientist" was reportedly coined in reference to her — became both tutor and social connector. It was Somerville who would introduce Ada to the man who changed everything.
But here is the thing Annabella could not quite suppress: the poetical survived. It went underground, surfaced as metaphor, attached itself to gears and numbers. Ada's understanding of mathematics was, as her biographer Betty Toole wrote, "laced with imagination, and described in metaphors." She described her own approach as "poetical science." In her thirties, she would write to her mother: if you can't give me poetry, can't you give me "poetical science?" The rational prescription had produced not a rationalist but a hybrid — someone who could see in a calculating machine what its own inventor could not, precisely because she brought to it the thing her mother had spent a lifetime trying to extinguish.
The Drawing Room on Dorset Street
On June 5, 1833, Ada Byron — seventeen, freshly presented at court to King William IV and Queen Adelaide, entering the social world of London's intellectual elite — attended a party. The guest list brimmed with socialites, but the draw was a widower in his forties who spoke with manic enthusiasm about a contraption he called the Difference Engine: a tower of numbered bronze wheels, steel cogs, and hammer-like metal arms that could, with the turn of a handle, produce reliable mathematical calculations.
Charles Babbage was a man of staggering intellectual ambition and almost comically poor political instincts. Born in 1791, the son of a London banker, he had held the Lucasian Chair of Mathematics at Cambridge — the same professorship held by
Isaac Newton — from 1828 to 1839. He had secured a £17,000 government grant (roughly £2.3 million today) to build the Difference Engine, then fallen out with the craftsman building the precision parts, lost the funding, and begun sketching something far more ambitious: a machine he called the Analytical Engine, a hulking apparatus of thousands of cogwheels that could perform not merely fixed calculations but variable operations — conditioned by instructions fed to it on punched cards. He had, in other words, conceived of a general-purpose programmable computer, in the 1830s, powered by steam. And almost nobody cared.
A few days after the party, Annabella brought Ada to Babbage's home at 1 Dorset Street to see the Difference Engine's incomplete prototype in his drawing room. The machine stood about two and a half feet tall. It clanged, it whirred, it spat out answers. It wowed London's scientific luminaries — Darwin, Dickens, all of them — as a kind of sorcerous parlor trick. But to seventeen-year-old Ada Byron, it was not sorcery. She understood, immediately, how it worked. She saw the mechanism beneath the spectacle. And in Ada, forty-one-year-old Babbage found something he had almost never encountered: a mind that grasped not merely what his machine did but what it could do.
I think your taste for mathematics is so decided that it ought not to be checked.
— Charles Babbage, letter to Ada Lovelace, 1839
Their correspondence would span from June 10, 1835, to August 12, 1852 — nearly the rest of her life. He told her about his plans. She wrote to him of her ambitions. Their friendship was not romantic but intellectual, and in it resided a peculiar asymmetry: Babbage was the engineer, the builder, the man who understood the hardware; Lovelace was the interpreter, the one who could see the forest of implication beyond the trees of mechanism. She would become, in a sense, the first person to describe software — not for a machine that existed, but for one that lived only in drawings and dreams.
Marriage, Motherhood, and the Persistence of Mathematics
On July 8, 1835, Ada married William King, 8th Baron King. When he was created an earl in 1838, she became the Countess of Lovelace. They had three children in rapid succession: Byron, born May 12, 1836; Anne Isabella (called Annabella), born September 22, 1837; and Ralph Gordon, born July 2, 1839. She was, on paper, what her mother and her era demanded: an aristocratic wife and mother, presiding over domestic duties in the countryside.
But she did not stop. She intermitted her mathematical studies for marriage and motherhood, as the Computer History Museum puts it with understated precision, but "resumed when domestic duties allowed." Through Babbage, she began studying advanced mathematics with Augustus De Morgan, the first professor of mathematics at the University of London — a man steeped in the Cartesian tradition of analytical skepticism, who introduced her to the conceptual architecture of symbolic logic and differential calculus.
De Morgan was deeply influenced by Lovelace. In a remarkable letter to her mother — a document that functions as both warning and testament — he wrote: "I feel bound to tell you that the power of thinking on these matters which Lady L. has always shewn from the beginning of my correspondence with her, has been something so utterly out of the common way for any beginner, man or woman." He went further. Had any young man shown the same aptitude at Cambridge, De Morgan said, "I should have prophesied first that his aptitude at grasping the strong points and the real difficulties of first principles would have very much lowered his chance of being senior wrangler, secondly, that they would have certainly made him an original mathematical investigator, perhaps of first rate eminence."
This was not polite encouragement. De Morgan was saying that Ada Lovelace had the mind of a first-rate original mathematician — and then, in the same letter, expressing the fear that her "physical power of application" as a woman might not sustain the "very great tension of mind" that such work demanded. He compared her favorably, and somewhat devastatingly, to Mary Somerville, whose mind "never led her into other than the details of mathematical work." Lady Lovelace, he predicted, "will take quite a different route." He was right.
The Paper That Became a World
The Analytical Engine was, by the standards of the 1830s and 1840s, an almost incomprehensible proposition. Its central processing unit — the "Mill," as Babbage called it — would have stood fifteen feet tall. Its memory, the "Store," holding a hundred fifty-digit numbers, would have stretched twenty feet long. It would have included a printer, a card punch, and a graph plotter. It would have taken an estimated three minutes to multiply two twenty-digit numbers. It would have been powered by steam. It was never built. Only a small fragment was ever constructed.
Disillusioned with what he perceived as Britain's indifference to his work, Babbage traveled to Turin in 1840 to lecture on the Engine's principles. In the audience was Luigi Federico Menabrea — an Italian mathematician and military engineer who would, decades later, become Prime Minister of Italy — who agreed to write an account of the machine. His paper, "Notions sur la machine analytique de Charles Babbage," was published in October 1842 in a Swiss academic journal, in French, at approximately eight thousand words.
Ada Lovelace's friend Charles Wheatstone — the physicist and inventor who co-invented the telegraph — suggested she translate Menabrea's paper into English. She did. And then, at Babbage's suggestion, she added notes.
The notes consumed her. Letters between Babbage and Lovelace flew back and forth in the spring and summer of 1843, filled, as Betty Toole wrote, "with fact and fantasy." The result, published in August 1843 in Taylor's Scientific Memoirs, signed only with her initials, A.A.L., ran to approximately twenty thousand words — two and a half times the length of Menabrea's original. Babbage himself acknowledged the disproportion: "The notes of the Countess of Lovelace extend to about three times the length of the original memoir. Their author has entered fully into almost all the very difficult and abstract questions connected with the subject."
What Lovelace did in those notes was not merely explain Babbage's machine. She reinvented the terms on which it could be understood. She began by describing how the Engine would be programmed using punched cards, drawing an analogy to the Jacquard loom — the silk-weaving machine patented by Joseph-Marie Jacquard in 1804, which used chains of punched cards to automatically produce complex woven patterns. Just as the Jacquard loom wove flowers and leaves, Lovelace wrote, the Analytical Engine "weaves algebraic patterns." The metaphor was not decorative. It was structural. It proposed that the relationship between a set of instructions and a computational outcome was analogous to the relationship between a pattern card and a woven fabric. She was describing, in 1843, what we now call programming.
The science of operations, as derived from mathematics more especially, is a science of itself, and has its own abstract truth and value.
— Ada Lovelace, Notes on the Analytical Engine, 1843
James Essinger, in his biography
Ada's Algorithm, interprets this line directly: "Ada is here seeking to do nothing less than invent the science of computing, and separate it from the science of mathematics." What she called "the science of operations" was, in effect, computer science — a discipline she was naming a century before it existed.
Note G
The seventh and final appendix — Note G — is the passage on which Lovelace's reputation as "the first computer programmer" rests. It laid out, in meticulous tabular detail, a step-by-step plan for the Analytical Engine's punched cards to compute a long sequence of Bernoulli numbers.
The Bernoulli numbers are a sequence of rational numbers that appear throughout mathematics — in number theory, in analysis, in the study of sums of powers. They are, as one modern programmer noted, "particularly amenable to machine calculation" because their computation involves repetitive operations of the sort a programmable machine could execute. Lovelace's algorithm specified the order of operations, tracked the state of variables as they changed, organized instructions into groups that could be repeated — thereby inventing, in essence, the loop — and laid out the entire sequence with a degree of rigor that, as the programming historian writing at Two Bit History put it, "far surpassed anything that came before."
No one had ever written anything like it. Babbage himself had sketched fragments of programs, but Lovelace's work was the most complete, the most elaborate, and — crucially — the first published. The distinction matters. It is not merely that she wrote a program; it is that she wrote it for a public audience, in a form intended to be understood and replicated. She was not just coding. She was teaching people to code.
But Note G was not even the most extraordinary part of her contribution. That distinction belongs to a passage that reads, from our vantage point, like a dispatch from the future. Lovelace speculated that the Analytical Engine "might act upon other things besides number... the Engine might compose elaborate and scientific pieces of music of any degree of complexity or extent." She was proposing, in 1843, that a machine built to calculate could also create — that symbols need not represent only quantities but could stand for musical notes, letters, images, ideas. The Computer History Museum notes: "The idea of a machine that could manipulate symbols in accordance with rules and that number could represent entities other than quantity mark the fundamental transition from calculation to computation. Ada was the first to explicitly articulate this notion."
She was also the first to articulate, with equal clarity, the machine's limits. "The Analytical Engine has no pretensions whatever to originate anything," she wrote. "It can do whatever we know how to order it to perform. It can follow analysis, but it has no power of anticipating any analytical revelations or truths. Its province is to assist us in making available what we are already acquainted with." Alan Turing, writing nearly a century later in his landmark 1950 paper "Computing Machinery and
Intelligence," highlighted this passage specifically, calling it "Lady Lovelace's Objection." The Lovelace Test — proposed in 2001 by Selmer Bringsjord, Paul Bello, and David Ferrucci — was designed to validate her theory: that computers will only have "minds" when they can create something original and independent of human input. As of this writing, the test remains unmet.
She saw the potential. She named the limits. She did both in the same paper.
The Enchantress and Her Shadows
Babbage called her "Lady Fairy." Michael Faraday, the father of electromagnetism, referred to her in a letter to Babbage as "an enchantress who has thrown her magic spell around the most abstract of sciences and has grasped it with a force which few masculine intellects (in our own country at least) could have exerted over it." The nickname that stuck — "the Enchantress of Numbers" — comes from a letter Babbage wrote to Lovelace on September 9, 1843, though, as Stephen Wolfram discovered in the original documents, Babbage actually wrote "Enchantress of Number," singular. Even her honorifics got slightly garbled by posterity.
The recognition during her lifetime was, at best, muted. Her paper attracted little attention when it was published. She signed it only with initials. The Analytical Engine was never built, and without a working machine, the significance of her program remained abstract — a description of what a nonexistent device might do with instructions no one could test. After 1843, her life was plagued by declining health, and her later years were marked by increasingly desperate attempts to develop mathematical systems for winning at gambling, schemes that failed and left her in financial peril.
She died on November 27, 1852, in Marylebone, London. Uterine cancer. She was thirty-six — the same age, to an eerie symmetry, at which her father had died. She had battled the disease with the crude techniques of the era, including bloodletting. At her own request, she was buried beside Lord Byron at the Church of St. Mary Magdalene in Hucknall, Nottinghamshire. Father and daughter, united in death and in the span of their lives, separated in everything else.
Her work was largely forgotten for over a century.
The Backlash and the Rediscovery
The rediscovery of Ada Lovelace is itself a story about who gets remembered and why. In the mid-twentieth century, as electronic computers emerged and the history of computing became a subject of scholarly interest, her notes resurfaced. The U.S. Department of Defense, developing a software language in the late 1970s that unified multiple programming languages, named it Ada — a fitting tribute, as Valerie Aurora of the Ada Initiative observed, for a woman who "tied seemingly disparate elements together."
But alongside the recognition came the backlash. The Babbage historian Bruce Collier argued, with considerable venom, that Lovelace's contribution had been vastly overstated: "It is no exaggeration to say that she was a manic depressive with the most amazing delusions about her own talents, and a rather shallow understanding of Charles Babbage and the Analytical Engine." The debate over authorship — how much of Note G was Babbage's work, how much Lovelace's — became one of computing history's most contentious disputes.
The evidence, however, supports her. Essinger, Toole, and more recently the Oxford scholars Christopher Hollings, Ursula Martin, and Adrian Rice — who examined Lovelace's original mathematical papers in the Bodleian Library — have documented her as "a gifted, perceptive and knowledgeable mathematician" whose contributions were genuine. The correspondence course she took with De Morgan, the letters she exchanged with Babbage during the composition of the Notes, the surviving manuscripts: all point to an author working at the limits of her era's mathematical knowledge, grappling with concepts that would not be fully formalized for another century.
"As people realized how important computer programming was, there was a greater backlash and an attempt to reclaim it as a male activity," Aurora told The New Yorker. "In order to keep that wealth and power in a man's hands, there's a backlash to try to redefine it as something a woman didn't do, and shouldn't do, and couldn't do."
Ursula Martin, the mathematician and Lovelace biographer, offers a more measured assessment that is no less devastating in its implications. "Ada Lovelace has become an iconic figure for women in science and is often credited with the invention of modern computing," she told Five Books. "But all of that is a bit overblown. The Lovelace myth obscures the truth about a woman who was certainly a very brilliant mathematician, but who was also often frustrated in her scientific ambitions, in poor health and unhappy." The truth, as Martin suggests, is more interesting than either the myth or the debunking: a woman of extraordinary ability operating under extraordinary constraints, who produced work of extraordinary consequence, and who never had the chance to do more.
What Is Imagination?
On January 5, 1841 — two years before the Notes would be published, in a period when she was studying with De Morgan and deepening her engagement with Babbage's ideas — Ada Lovelace wrote a passage that may be the most revealing thing she ever set down. She asked: "What is Imagination?"
Her answer came in two parts. First, "the combining faculty," which "seizes points in common, between subjects having no apparent connection." And then: "Imagination is the Discovering Faculty, pre-eminently. It is that which penetrates into the unseen worlds around us, the worlds of Science."
This was her synthesis. This was the reconciliation of Byron and Milbanke, of poetry and parallelograms, of the father she never met and the mother who tried to engineer her out of existence. Imagination was not opposed to science. It was science's highest instrument — the capacity to perceive connections invisible to conventional inquiry, to see in a mechanical loom the architecture of computation, to recognize that a machine built to crunch numbers might also compose music.
She described herself, in her own words, as "an Analyst (& Metaphysician)." She described her approach as "poetical science." She rode horses and played the harp and studied poetry and wrote the first computer program. The categories that her century — and ours — insisted upon separating, she refused to disentangle. That refusal was her genius.
A new, a vast, and a powerful language is developed for the future use of analysis, in which to wield its truths so that these may become of more speedy and accurate practical application for the purposes of mankind than the means hitherto in our possession have rendered possible.
— Ada Lovelace, Notes on the Analytical Engine, 1843
The Unbuilt Machine
In a glass case at the Science Museum in London, there is a small section of the Analytical Engine — a fragment of gears, a sketch of what might have been. Babbage spent much of his remaining life refining the design, producing thousands of pages of meticulous drawings and mechanical notation. The Mill, the Store, the card readers, the printer: all specified in immaculate detail. The machine was to be programmable, capable of conditional branching, looping, and parallel processing. It would have been, in the terminology Alan Turing would formalize in the 1930s, a general-purpose computer — the first ever designed.
It was never built. Babbage died in 1871, his Engine unrealized, his reputation diminished. The British government had long since lost patience with him. His other calculating machine, the Difference Engine, was eventually built to his specifications in 1991 by Doron Swade at the Science Museum — and it worked, perfectly, vindicating the design. But the Analytical Engine — the one that mattered, the one Lovelace had described so precisely that any modern programmer can follow her reasoning — remains, to this day, unbuilt.
This is the central irony of Ada Lovelace's legacy. She wrote the first program for a computer that never existed. Her algorithm was never run. Her code was never tested. She saw, with hallucinatory clarity, the future of computation — and she saw it from within a world of horse-drawn carriages and gaslight, of corsets and cholera and steam. The future she described is the one we now inhabit. The machine she described it for is still a drawing.
In 2025, a 2.5-meter bronze statue of her was being cast in Basingstoke, earmarked for a plinth in Hinckley, Leicestershire — five miles from the now-demolished Kirkby Mallory Hall where she spent her childhood, longer than she lived anywhere else. The project leader, Stan Rooney, offered a remark that carries more than he perhaps intended: "Ada foresaw so much of the technology that came after her life."
She foresaw it, yes. But what she actually built — on paper, in footnotes, in a set of seven appendices signed with initials — was the language for talking about it. The language in which the future would be written.