What caught Babbage’s fancy was not the weaving, but rather the encoding, from one medium to another, of patterns. The patterns would appear in damask, eventually, but first were “sent to a peculiar artist.” This specialist, as he said,
punches holes in a set of pasteboard cards in such a manner that when those cards are placed in a Jacquard loom, it will then weave upon its produce the exact pattern designed by the artist.
The notion of abstracting information away from its physical substrate required careful emphasis. Babbage explained, for example, that the weaver might choose different threads and different colors—“but in all these cases the form of the pattern will be precisely the same.” As Babbage conceived his machine now, it raised this very process of abstraction to higher and higher degrees. He meant the cogs and wheels to handle not just numbers but variables standing in for numbers. Variables were to be filled or determined by the outcomes of prior calculations, and, further, the very operations—such as addition or multiplication—were to be changeable, depending on prior outcomes. He imagined these abstract information quantities being stored in cards: variable cards and operation cards. He thought of the machine as embodying laws and of the cards as communicating these laws. Lacking a ready-made vocabulary, he found it awkward to express his fundamental working concepts; for example,
how the machine could perform the act of judgment sometimes required during an analytical inquiry, when two or more different courses presented themselves, especially as the proper course to be adopted could not be known in many cases until all the previous portion had been gone through.
He made clear, though, that information—representations of number and process—would course through the machinery. It would pass to and from certain special physical locations, which Babbage named a store, for storage, and a mill, for action.
In all this he had an intellectual companion now in Ada, first his acolyte and then his muse. She married a sensible and promising aristocrat, William King, her senior by a decade and a favorite of her mother. In the space of a few years he was elevated to the peerage as earl of Lovelace— making Ada, therefore, a countess—and, still in her early twenties, she bore three children. She managed their homes, in Surrey and London, practiced the harp for hours daily (“I am at present a condemned slave to my harp, no easy Task master”), danced at balls, met the new queen, Victoria, and sat for her portrait, self-consciously (“I conclude [the artist] is bent on displaying the whole expanse of my capacious jaw bone, upon which I think the word Mathematics should be written”). She suffered terrible dark moods and bouts of illness, including cholera. Her interests and behavior still set her apart. One morning she went alone in her carriage, dressed plainly, to see a model of Edward Davy’s “electrical telegraph” at Exeter Hall
& the only other person was a middle-aged gentleman who chose to behave as if I were the show [she wrote to her mother] which of course I thought was the most impudent and unpardonable.—I am sure he took me for a very young (& I suppose he thought rather handsome) governess. . . . He stopped as long as I did, & then followed me out.— I took care to look as aristocratic & as like a Countess as possible. . . . I must try & add a little age to my appearance. . . . I would go & see something everyday & I am sure London would never be exhausted.
Lady Lovelace adored her husband but reserved much of her mental life for Babbage. She had dreams, waking dreams, of something she could not be and something she could not achieve, except by proxy, through his genius. “I have a peculiar way of learning,” she wrote to him, “& I think it must be a peculiar man to teach me successfully.” Her growing desperation went side by side with a powerful confidence in her untried abilities. “I hope you are bearing me in mind,” she wrote some months later, “I mean my mathematical interests. You know this is the greatest favour any one can do me.—Perhaps, none of us can estimate how great. . . .”
You know I am by nature a bit of a philosopher, & a very great speculator, —so that I look on through a very immeasurable vista, and though I see nothing but vague & cloudy uncertainty in the foreground of our being, yet I fancy I discern a very bright light a good way further on, and this makes me care much less about the cloudiness & indistinctness which is near.—Am I too imaginative for you? I think not.
The mathematician and logician Augustus De Morgan, a friend of Babbage and of Lady Byron, became Ada’s teacher by post. He sent her exercises. She sent him questions and musings and doubts (“I could wish I went on quicker”; “I am sorry to say I am sadly obstinate about the Term at which Convergence begins”; “I have enclosed my Demonstration of my view of the case”; “functional Equations are complete Will-o-the-wisps to me”; “However I try to keep my metaphysical head in order”). Despite her naïveté, or because of it, he recognized a “power of thinking . . . so utterly out of the common way for any beginner, man or woman.” She had rapidly mastered trigonometry and integral and differential calculus, and he told her mother privately that if he had encountered “such power” in a Cambridge student he would have anticipated “an original mathematical investigator, perhaps of first rate eminence.” She was fearless about drilling down to first principles. Where she felt difficulties, real difficulties lay.
One winter she grew obsessed with a fashionable puzzle known as Solitaire, the Rubik’s Cube of its day. Thirty-two pegs were arranged on a board with thirty-three holes, and the rules were simple: Any peg may jump over another immediately adjacent, and the peg jumped over is removed, until no more jumps are possible. The object is to finish with only one peg remaining. “People may try thousands of times, and not succeed in this,” she wrote Babbage excitedly.
I have done it by trying & observation & can now do it at any time, but I want to know if the problem admits of being put into a mathematical Formula, & solved in this manner. . . . There must be a definite principle, a compound I imagine of numerical & geometrical properties, on which the solution depends, & which can be put into symbolic language.
A formal solution to a game—the very idea of such a thing was original. The desire to create a language of symbols, in which the solution could be encoded—this way of thinking was Babbage’s, as she well knew.
She pondered her growing powers of mind. They were not strictly mathematical, as she saw it. She saw mathematics as merely a part of a greater imaginative world. Mathematical transformations reminded her “of certain sprites & fairies one reads of, who are at one’s elbows in one shape now, & the next minute in a form most dissimilar; and uncommonly deceptive, troublesome & tantalizing are the mathematical sprites & fairies sometimes; like the types I have found for them in the world of Fiction.” Imagination—the cherished quality. She mused on it; it was her heritage from her never-present father.
We talk much of Imagination. We talk of the Imagination of Poets, the Imagination of Artists &c; I am inclined to think that in general we don’t know very exactly what we are talking about. . . .
It is that which penetrates into the unseen worlds around us, the worlds of Science. It is that which feels & discovers what is, the real which we see not, which exists not for our senses. Those who have learned to walk on the threshold of the unknown worlds . . . may then with the fair white wings of Imagination hope to soar further into the unexplored amidst which we live.
She began to believe she had a divine mission to fulfill. She used that word, mission. “I have on my mind most strongly the impression that Heaven has allotted me some peculiar intellectual-moral mission to perform.” She had powers. She confided in her mother:
I believe myself to possess a most singular combination of qualities exactly fitted to make me pre-eminently a discoverer of the hidden realities of nature. . . . The belief has been forced upon me, & most slow have I been to admit it even.
She listed her qualities:
Firstly: Owing to some peculiarity