दुर्गा बेरागी Durga Beragi, homeEnter the study →

Library › Foundations of computing › Passages from the Life of a Philosopher › Full text

Passages from the Life of a Philosopher

Charles Babbage · part 2 of 17 · 138,794 words

Public-domain edition · source: Project Gutenberg eBook #57532 · Public domain in the USA (Project Gutenberg)

Chapter IV. Cambridge.

M Y father, with a view of acquiring some information which might be of use to me at Cambridge, had consulted a tutor of one of the colleges, who was passing his long vacation at the neighbouring watering-place, Teignmouth. He dined with us frequently. The advice of the Rev. Doctor was quite sound, but very limited. It might be summed up in one short sentence: “Advise your son not to purchase his wine in Cambridge.”

Previously to my entrance at Trinity College, Cambridge, I resided for a time at Totnes, under the guidance of an Oxford tutor, who undertook to superintend my classical studies only.

During my residence at this place I accidentally heard, for the first time, of an idea of forming a universal language. I was much fascinated by it, and, soon after, proceeded to write a kind of grammar, and then to devise a dictionary. Some trace of the former, I think, I still possess: but I was stopped in my idea of making a universal dictionary by the apparent impossibility of arranging signs in any consecutive {26} order, so as to find, as in a dictionary, the meaning of each when wanted. It was only after I had been some time at Cambridge that I became acquainted with the work of “Bishop Wilkins on Universal Language.”

Being passionately fond of algebra, I had instructed myself by means of Ward’s “Young Mathematician’s Guide,” which had casually fallen into my hands at school. I now employed all my leisure in studying such math­e­mat­i­cal works as accident brought to my knowledge. Amongst these were Humphrey Ditton’s “Fluxions,” of which I could make nothing; Madame Agnesi’s “Analytical Institutions,” from which I acquired some knowledge; Woodhouse’s “Principles of Analytical Calculation,” from which I learned the notation of Leibnitz; and Lagrange’s “Théorie des Fonctions.” I possessed also the Fluxions of Maclaurin and of Simpson.

Thus it happened that when I went to Cambridge I could work out such questions as the very moderate amount of mathematics which I then possessed admitted, with equal facility, in the dots of Newton, the d’s of Leibnitz, or the dashes of Lagrange. I had, however, met with many difficulties, and looked forward with intense delight to the certainty of having them all removed on my arrival at Cambridge. I had in my imagination formed a plan for the institution amongst my future friends of a chess club, and also of another club for the discussion of math­e­mat­i­cal subjects.

In 1811, during the war, it was very difficult to procure foreign books. I had heard of the great work of Lacroix, on the “Differential and Integral Calculus,” which I longed to possess, and being misinformed that its price was two guineas, I resolved to purchase it in London on my passage to Cambridge. As soon as I arrived I went to the French {27} bookseller, Dulau, and to my great surprise found that the price of the book was seven guineas. After much thought I made the costly purchase, went on immediately to Cambridge, saw my tutor, Hudson, got lodgings, and then spent the greater part of the night in turning over the pages of my newly-acquired purchase. After a few days, I went to my public tutor Hudson, to ask the explanation of one of my math­e­mat­i­cal difficulties. He listened to my question, said it would not be asked in the Senate House, and was of no sort of consequence, and advised me to get up the earlier subjects of the university studies.

After some little while I went to ask the explanation of another difficulty from one of the lecturers. He treated the question just in the same way. I made a third effort to be enlightened about what was really a doubtful question, and felt satisfied that the person I addressed knew nothing of the matter, although he took some pains to disguise his ignorance.

I thus acquired a distaste for the routine of the studies of the place, and devoured the papers of Euler and other mathematicians, scattered through innumerable volumes of the academies of Petersburgh, Berlin, and Paris, which the libraries I had recourse to contained.

Under these circumstances it was not surprising that I should perceive and be penetrated with the superior power of the notation of Leibnitz.

At an early period, probably at the commencement of the second year of my residence at Cambridge, a friend of mine, Michael Slegg, of Trinity, was taking wine with me, discussing math­e­mat­i­cal subjects, to which he also was enthusiastically attached. Hearing the chapel bell ring, he took leave of me, promising to return for a cup of coffee. {28}

At this period Cambridge was agitated by a fierce controversy. Societies had been formed for printing and circulating the Bible. One party proposed to circulate it with notes, in order to make it intelligible; whilst the other scornfully rejected all explanations of the word of God as profane attempts to mend that which was perfect.

The walls of the town were placarded with broadsides, and posters were sent from house to house. One of the latter form of advertisement was lying upon my table when Slegg left me. Taking up the paper, and looking through it, I thought it, from its exaggerated tone, a good subject for a parody.

I then drew up the sketch of a society to be instituted for translating the small work of Lacroix on the Differential and Integral Lacroix. It proposed that we should have periodical meetings for the propagation of d’s; and consigned to perdition all who supported the heresy of dots. It maintained that the work of Lacroix was so perfect that any comment was unnecessary.

On Slegg’s return from chapel I put the parody into his hands. My friend enjoyed the joke heartily, and at parting asked my permission to show the parody to a math­e­mat­i­cal friend of his, Mr. Bromhead. 4

The next day Slegg called on me, and said that he had put the joke into the hand of his friend, who, after laughing heartily, remarked that it was too good a joke to be lost, and proposed seriously that we should form a society for the cultivation of mathematics.

The next day Bromhead called on me. We talked the subject over, and agreed to hold a meeting at his lodgings {29} for the purpose of forming a society for the promotion of analysis.

At that meeting, besides the projectors, there were present Herschel, Peacock, D’Arblay, 5 Ryan, 6 Robinson, 7 Frederick Maule, 8 and several others. We constituted ourselves “The Analytical Society;” hired a meeting-room, open daily; held meetings, read papers, and discussed them. Of course we were much ridiculed by the Dons; and, not being put down, it was darkly hinted that we were young infidels, and that no good would come of us.

In the meantime we quietly pursued our course, and at last resolved to publish a volume of our Transactions. Owing to the illness of one of the number, and to various other circumstances, the volume which was published was entirely contributed by Herschel and myself.

At last our work was printed, and it became necessary to decide upon a title. Recalling the slight imputation which had been made upon our faith, I suggested that the most appropriate title would be—

The Principles of pure D-ism in opposition to the Dot-age of the University. 9

4 Afterwards Sir Edward Ffrench Bromhead, Bart., the author of an interesting paper in the Transactions of the Royal Society.

5 The only son of Madame D’Arblay.

6 Now the Right Honourable Sir Edward Ryan.

7 The Rev. Dr. Robinson, Master of the Temple.

8 A younger brother of the late Mr. Justice Maule.

9 Leibnitz indicated fluxions by a d , Newton by a dot.

In thus reviving this wicked pun, I ought at the same time to record an instance of forgiveness unparalleled in history. Fourteen years after, being then at Rome, I accidentally read in Galignani’s newspaper the following paragraph, dated Cambridge:—“Yesterday the bells of St. Mary rang on the election of Mr. Babbage as Lucasian Professor of Mathematics.” {30}

If this event had happened during the lifetime of my father, it would have been most gratifying to myself, because, whilst it would have given him much pleasure, it would then also have afforded intense delight to my mother.

I concluded that the next post would bring me the official confirmation of this report, and after some consideration I sketched the draft of a letter, in which I proposed to thank the University sincerely for the honour they had done me, but to decline it.

This sketch of a letter was hardly dry when two of my intimate friends, the Rev. Mr. Lunn and Mr. Beilby Thompson, 10 who resided close to me in the Piazza del Populo, came over to congratulate me on the appointment. I showed them my proposed reply, against which they earnestly protested. Their first, and as they believed their strongest, reason was that it would give so much pleasure to my mother. To this I answered that my mother’s opinion of her son had been confirmed by the reception he had met with in every foreign country he had visited, and that this, in her estimation, would add but little to it. To their next argument I had no sat­is­fac­tory answer. It was that this election could not have occurred unless some friends of mine in England had taken active measures to promote it; that some of these might have been personal friends, but that many others might have exerted themselves entirely upon principle, and that it would be harsh to disappoint such friends, and reject such a compliment.

10 Afterwards Lord Wenlock.

My own feelings were of a mixed nature. I saw the vast field that the Difference Engine had opened out; for, before I left England in the previous year, I had extended its mechanism to the tabulation of functions having no constant {31} difference, and more par­tic­u­lar­ly I had arrived at the knowledge of the entire command it would have over the computation of the most important classes of tables, those of astronomy and of navigation. I was also most anxious to give my whole time to the completion of the mechanism of the Difference Engine No. 1 which I had then in hand. Small as the admitted duties of the Lucasian Chair were, I felt that they would absorb time which I thought better devoted to the completion of the Difference Engine. If I had then been aware that the lapse of a few years would have thrown upon me the enormous labour which the Analytical Engine absorbed, no motive short of absolute necessity would have induced me to accept any office which might, in the slightest degree, withdraw my attention from its contrivance.

The result of this consultation with my two friends was, that I determined to accept the Chair of Newton, and to hold it for a few years. In 1839 the demands of the Analytical Engine upon my attention had become so incessant and so exhausting, that even the few duties of the Lucasian Chair had a sensible effect in impairing my bodily strength. I therefore sent in my resignation.

In January, 1829, I visited Cambridge, to fulfil one of the first duties of my new office, the examination for Dr. Smith’s prizes.

These two prizes, of twenty-five pounds each, exercise a very curious and important influence. Usually three or four hundred young men are examined previously to taking their degree. The University officers examine and place them in the order of their math­e­mat­i­cal merit. The class called Wranglers is the highest; of these the first is called the senior wrangler, the others the second and third, &c., wranglers. {32}

All the young men who have just taken their degree, whether with or without honours, are qualified to compete for the Smith’s prizes by sending in notice to the electors, who consist of the three Professors of Geometry, Astronomy, and Physics, assisted oc­ca­sion­al­ly by two official electors, the Vice-Chancellor and the Master of Trinity College. However, in point of fact, generally three, and rarely above six young men compete.

It is manifest that the University officers, who examine several hundred young men, cannot bestow the same minute attention upon each as those who, at the utmost, only examine six. Nor is this of any importance, except to the few first wranglers, who usually are candidates for these prizes. The consequence is that the examiners of the Smith’s prizes constitute, as it were, a court of appeal from the decision of the University officers. The decision of the latter is thus therefore, necessarily appealed against upon every occasion. Perhaps in one out of five or six cases the second or third wrangler obtains the first Smith’s prize. I may add that in the few cases known to me previously to my becoming an examiner, the public opinion of the University always approved those decisions, without implying any censure on the officers of the University.

In forming my set of questions, I consulted the late Dean of Ely and another friend, in order that I might not suddenly deviate too much from the usual style of examinations.

After having examined the young men, I sat up the whole night, carefully weighing the relative merits of their answers. I found, with some mortification, that, according to my marks, the second wrangler ought to have the first prize. I therefore put aside the papers until the day before the decision. I then took an unmarked copy of my questions, and put new {33} numbers for their respective values. After very carefully going over the whole of the examination-papers again, I arrived almost exactly at my former conclusion.

On our meeting at the Vice-Chancellor’s, that functionary asked me, as the senior professor, what was my decision as to the two prizes. I stated that the result of my examination obliged me to award the first prize to the second wrangler. Professor Airy was then asked the same question. He made the same reply. Professor Lax being then asked, said he had arrived at the same conclusion as his two colleagues.

The Vice-Chancellor remarked that when we altered the arrangement of the University Examiners, it was very sat­is­fac­tory that we should be unanimous. Professor Airy observed that this sat­is­fac­tion was enhanced by the fact of the remarkable difference in the tastes of the three examiners.

The Vice-Chancellor, turning to me, asked whether it might be permitted to inquire the numbers we had respectively assigned to each candidate.

I and my colleagues immediately mentioned our numbers, which Professor Airy at once reduced to a common scale. On this it appeared that the number of marks assigned to each by Professor Airy and myself very nearly agreed, whilst that of Professor Lax differed but little.

On this occasion the first Smith’s prize was assigned to the second wrangler, Mr. Cavendish, now Duke of Devonshire, the present Chancellor of the University.

The result of the whole of my after-experience showed that amongst the highest men the peculiar tastes of the examiners had no effect in disturbing the proper decision.

I held the Chair of Newton for some few years, and still feel deeply grateful for the honour the University conferred {34} upon me—the only honour I ever received in my own country. 11

11 This professorship is not in the gift of the Government. The electors are the masters of the various colleges. It was founded in 1663 by Henry Lucas, M.P. for the University, and was endowed by him with a small estate in Bedfordshire. During my tenure of that office my net receipts were between 80 l. and 90 l. a year. I am glad to find that the estate is now improved, and that the University have added an annual salary to the Chair of Newton.

I must now return to my pursuits during my residence at Cambridge, the account of which has been partially interrupted by the history of my appointment to the Chair of Newton.

Whilst I was an undergraduate, I lived probably in a greater variety of sets than any of my young companions. But my chief and choicest consisted of some ten or a dozen friends who usually breakfasted with me every Sunday after chapel; arriving at about nine, and remaining to between twelve and one o’clock. We discussed all knowable and many unknowable things.

At one time we resolved ourselves into a Ghost Club, and proceeded to collect evidence, and entered into a considerable correspondence upon the subject. Some of this was both interesting and instructive.

At another time we resolved ourselves into a Club which we called The Extractors. Its rules were as follows,—

It has often occurred to me to inquire of my legal friends whether, if the sanity of any member of the club had been questioned in after-life, he would have adduced the fact of membership of the Club of Extractors as an indication of sanity or of insanity.

During the first part of my residence at Cambridge, I played at chess very frequently, often with D’Arblay and with several other good players. There was at that period a fellow-commoner at Trinity named Brande, who devoted almost his whole time to the study of chess. I was invited to meet him one evening at the rooms of a common friend for the purpose of trying our strength.

On arriving at my friend’s rooms, I found a note informing me that he had gone to Newmarket, and had left coffee and the chessmen for us. I was myself tormented by great shyness, and my yet unseen adversary was, I understood, equally diffident. I was sitting before the chess-board when Brande entered. I rose, he advanced, sat down, and took a white and a black pawn from the board, which he held, one in either hand. I pointed with my finger to the left hand and won the move.

The game then commenced; it was rather a long one, and I won it: but not a word was exchanged until the end: when Brande uttered the first word. “Another?” To this I nodded assent.

How that game was decided I do not now remember; but the first sentence pronounced by either of us, was a remark by Brande, that he had lost the first game by a certain move of his white bishop. To this I replied, that I thought he was {36} mistaken, and that the real cause of his losing the game arose from the use I had made of my knight two moves previously to his white bishop’s move.

We then immediately began to replace the men on the board in the positions they occupied at that particular point of the game when the white bishop’s move was made. Each took up any piece indiscriminately, and placed it without hesitation on the exact square on which it had stood. It then became apparent that the effective move to which I had referred was that of my knight.

Brande, during his residence at Cambridge, studied chess regularly several hours each day, and read almost every treatise on the subject. After he left college he travelled abroad, took lessons from every celebrated teacher, and played with all the most eminent players on the Continent.

At intervals of three or four years I oc­ca­sion­al­ly met him in London. After the usual greeting he always proposed that we should play a game of chess.

I found on these occasions, that if I played any of the ordinary openings, such as are found in the books, I was sure to be beaten. The only way in which I had a chance of winning, was by making early in the game a move so bad that it had not been mentioned in any treatise. Brande possessed, and had read, almost every book upon the subject.

Another set which I frequently joined were addicted to sixpenny whist. It consisted of Higman, afterwards Tutor of Trinity; Follet, afterwards Attorney-General; of a learned and accomplished Dean still living, and I have no doubt still playing an excellent rubber, and myself. We not unfrequently sat from chapel-time in the evening until the sound {37} of the morning chapel bell again called us to our religious duties.

I mixed oc­ca­sion­al­ly with a different set of whist players at Jesus College. They played high: guinea points, and five guineas on the rubber. I was always a most welcome visitor, not from my skill at the game; but because I never played more than shilling points and five shillings on the rubber. Consequently my partner had what they considered an advantage: namely, that of playing guinea points with one of our adversaries and pound points with the other.

Totally different in character was another set in which I mixed. I was very fond of boating, not of the manual labour of rowing, but the more in­tel­lec­tual art of sailing. I kept a beautiful light, London-built boat, and oc­ca­sion­al­ly took long voyages down the river, beyond Ely into the fens. To accomplish these trips, it was necessary to have two or three strong fellows to row when the wind failed or was contrary. These were useful friends upon my aquatic expeditions, but not being of exactly the same calibre as my friends of the Ghost Club, were very cruelly and disrespectfully called by them “my Tom fools.”

The plan of our voyage was thus:—I sent my servant to the apothecary for a thing called an ægrotat, which I understood, for I never saw one, meant a certificate that I was indisposed, and that it would be injurious to my health to attend chapel, or hall, or lectures. This was forwarded to the college authorities.

I also directed my servant to order the cook to send me a large well-seasoned meat pie, a couple of fowls, &c. These were packed in a hamper with three or four bottles of wine and one of noyeau. We sailed when the wind was fair, and rowed when there was none. Whittlesea Mere was a very {38} favourite resort for sailing, fishing, and shooting. Sometimes we reached Lynn. After various adventures and five or six days of hard exercise in the open air, we returned with our health more renovated than if the best physician had prescribed for us.

During my residence at Cambridge, Smithson Tennant was the Professor of Chemistry, and I attended his lectures. Having a spare room, I turned it into a kind of laboratory, in which Herschel worked with me, until he set up a rival one of his own. We both oc­ca­sion­al­ly assisted the Professor in preparing his experiments. The science of chemistry had not then assumed the vast development it has now attained. I gave up its practical pursuit soon after I resided in London, but I have never regretted the time I bestowed upon it at the commencement of my career. I had hoped to have long continued to enjoy the friendship of my entertaining and valued instructor, and to have profited by his introducing me to the science of the metropolis, but his tragical fate deprived me of that advantage. Whilst riding with General Bulow across a drawbridge at Boulogne, the bolt having been displaced, Smithson Tennant was precipitated to the bottom, and killed on the spot. The General, having an earlier warning, set spurs to his horse, and just escaped a similar fate.

My views respecting the notation of Leibnitz now (1812) received confirmation from an extensive course of reading. I became convinced that the notation of fluxions must ultimately prove a strong impediment to the progress of English science. But I knew, also, that it was hopeless for any young and unknown author to attempt to introduce the notation of Leibnitz into an elementary work. This opinion naturally {39} suggested to me the idea of translating the smaller work of Lacroix. It is possible, although I have no recollection of it, that the same idea may have occurred to several of my colleagues of the Analytical Society, but most of them were so occupied, first with their degree, and then with their examination for fellowships, that no steps were at that time taken by any of them on that subject.

Unencumbered by these distractions, I commenced the task, but at what period of time I do not exactly recollect. I had finished a portion of the translation, and laid it aside, when, some years afterwards, Peacock called on me in Devonshire Street, and stated that both Herschel and himself were convinced that the change from the dots to the d’s would not be accomplished until some foreign work of eminence should be translated into English. Peacock then proposed that I should either finish the translation which I had commenced, or that Herschel and himself should complete the remainder of my translation. I suggested that we should toss up which alternative to take. It was determined by lot that we should make a joint translation. Some months after, the translation of the small work of Lacroix was published.

For several years after, the progress of the notation of Leibnitz at Cambridge was slow. It is true that the tutors of the two largest colleges had adopted it, but it was taught at none of the other colleges.

It is always difficult to think and reason in a new language, and this difficulty discouraged all but men of energetic minds. I saw, however, that, by making it their interest to do so, the change might be accomplished. I therefore proposed to make a large collection of examples of the differential and integral calculus, consisting merely of the statement of each problem and its final solution. I foresaw that if such a {40} publication existed, all those tutors who did not approve of the change of the Newtonian notation would yet, in order to save their own time and trouble, go to this collection of examples to find problems to set to their pupils. After a short time the use of the new signs would become familiar, and I anticipated their general adoption at Cambridge as a matter of course.

I commenced by copying out a large portion of the work of Hirsch. I then communicated to Peacock and Herschel my view, and proposed that they should each contribute a portion.

Peacock considerably modified my plan by giving the process of solution to a large number of the questions. Herschel prepared the questions in finite differences, and I supplied the examples to the calculus of functions. In a very few years the change was completely established; and thus at last the English cultivators of math­e­mat­i­cal science, untrammelled by a limited and imperfect system of signs, entered on equal terms into competition with their continental rivals.

Chapter V. Difference Engine No. 1.

“ Oh no! we never mention it, Its name is never heard.”

C ALCULATING M ACHINES comprise various pieces of mechanism for assisting the human mind in executing the operations of arithmetic. Some few of these perform the whole operation without any mental attention when once the given numbers have been put into the machine.

Others require a moderate portion of mental attention: these latter are generally of much simpler construction than the former, and it may also be added, are less useful.

The simplest way of deciding to which of these two classes any calculating machine belongs is to ask its maker—Whether, when the numbers on which it is to operate are placed in the instrument, it is capable of arriving at its result by the mere motion of a spring, a descending weight, or any other constant force? If the answer be in the affirmative, the machine is really automatic; if otherwise, it is not self-acting.

Of the various machines I have had occasion to examine, many of those for Addition and Subtraction have been found {42} to be automatic. Of machines for Multiplication and Division, which have fully come under my examination, I cannot at present recall one to my memory as absolutely fulfilling this condition.

The earliest idea that I can trace in my own mind of calculating arithmetical Tables by machinery arose in this manner:—

One evening I was sitting in the rooms of the Analytical Society, at Cambridge, my head leaning forward on the Table in a kind of dreamy mood, with a Table of logarithms lying open before me. Another member, coming into the room, and seeing me half asleep, called out, “Well, Babbage, what are you dreaming about?” to which I replied, “I am thinking that all these Tables (pointing to the logarithms) might be calculated by machinery.”

I am indebted to my friend, the Rev. Dr. Robinson, the Master of the Temple, for this anecdote. The event must have happened either in 1812 or 1813.

About 1819 I was occupied with devising means for accurately dividing astronomical instruments, and had arrived at a plan which I thought was likely to succeed perfectly. I had also at that time been speculating about making machinery to compute arithmetical Tables.

One morning I called upon the late Dr. Wollaston, to consult him about my plan for dividing instruments. On talking over the matter, it turned out that my system was exactly that which had been described by the Duke de Chaulnes, in the Memoirs of the French Academy of Sciences, about fifty or sixty years before. I then mentioned my other idea of computing Tables by machinery, which Dr. Wollaston thought a more promising subject.

I considered that a machine to execute the mere isolated {43} operations of arithmetic, would be comparatively of little value, unless it were very easily set to do its work, and unless it executed not only accurately, but with great rapidity, whatever it was required to do.

On the other hand, the method of differences supplied a general principle by which all Tables might be computed through limited intervals, by one uniform process. Again, the method of differences required the use of mechanism for Addition only. In order, however, to insure accuracy in the printed Tables, it was necessary that the machine which computed Tables should also set them up in type, or else supply a mould in which stereotype plates of those Tables could be cast.

I now began to sketch out arrangements for accomplishing the several partial processes which were required. The arithmetical part must consist of two distinct processes—the power of adding one digit to another, and also of carrying the tens to the next digit, if it should be necessary.

The first idea was, naturally, to add each digit successively. This, however, would occupy much time if the numbers added together consisted of many places of figures.

The next step was to add all the digits of the two numbers each to each at the same instant, but reserving a certain mechanical memorandum, wherever a carriage became due. These carriages were then to be executed successively.

Having made various drawings, I now began to make models of some portions of the machine, to see how they would act. Each number was to be expressed upon wheels placed upon an axis; there being one wheel for each figure in the number operated upon.

Having arrived at a certain point in my progress, it became necessary to have teeth of a peculiar form cut upon these {44} wheels. As my own lathe was not fit for this job, I took the wheels to a wheel-cutter at Lambeth, to whom I carefully conveyed my in­struc­tions, leaving with him a drawing as his guide.

These wheels arrived late one night, and the next morning I began putting them in action with my other mechanism, when, to my utter astonishment, I found they were quite unfit for their task. I examined the shape of their teeth, compared them with those in the drawings, and found they agreed perfectly; yet they could not perform their intended work. I had been so certain of the truth of my previous reasoning, that I now began to be somewhat uneasy. I reflected that, if the reasoning about which I had been so certain should prove to have been really fallacious, I could then no longer trust the power of my own reason. I therefore went over with my wheels to the artist who had formed the teeth, in order that I might arrive at some explanation of this extraordinary contradiction.

On conferring with him, it turned out that, when he had understood fully the peculiar form of the teeth of wheels, he discovered that his wheel-cutting engine had not got amongst its divisions that precise number which I had required. He therefore had asked me whether another number, which his machine possessed, would not equally answer my object. I had inadvertently replied in the affirmative. He then made arrangements for the precise number of teeth I required; and the new wheels performed their expected duty perfectly.

The next step was to devise means for printing the tables to be computed by this machine. My first plan was to make it put together moveable type. I proposed to make metal boxes, each containing 3,000 types of one of the ten digits. These types were to be made to pass out one by one from the {45} bottom of their boxes, when required by the computing part of the machine.

But here a new difficulty arose. The attendant who put the types into the boxes might, by mistake, put a wrong type in one or more of them. This cause of error I removed in the following manner:—There are usually certain notches in the side of the type. I caused these notches to be so placed that all the types of any given digit possessed the same char­ac­ter­is­tic notches, which no other type had. Thus, when the boxes were filled, by passing a small wire down these peculiar notches, it would be impeded in its passage, if there were included in the row a single wrong figure. Also, if any digit were accidentally turned upside down, it would be indicated by the stoppage of the testing wire.

One notch was reserved as common to every species of type. The object of this was that, before the types which the Difference Engine had used for its computation were removed from the iron platform on which they were placed, a steel wire should be passed through this common notch, and remain there. The tables, composed of moveable types, thus interlocked, could never have any of their figures drawn out by adhesion to the inking-roller, and then by possibility be restored in an inverted order. A small block of such figures tied together by a bit of string, remained unbroken for several years, although it was rather roughly used as a plaything by my children. One such box was finished, and delivered its type satisfactorily.

The first difficulty arose from the impression of one tabular number on the mould being distorted by the succeeding one.

I was not then aware that a very slight depth of impression from the type would be quite sufficient. I surmounted the difficulty by previously passing a roller, having longitudinal wedge-shaped projections, over the plastic material. This formed a series of small depressions in the matrix between each line. Thus the expansion arising from the impression of one line partially filled up the small depression or ditch which occurred between each successive line.

The various minute difficulties of this kind were successively overcome; but subsequent experience has proved that the depth necessary for stereotype moulds is very small, and that even thick paper, prepared in a peculiar manner, is quite sufficient for the purpose.

Another series of experiments were, however, made for the purpose of punching the computed numbers upon copper plate. A special machine was contrived and constructed, which might be called a co-ordinate machine, because it moved the copper plate and steel punches in the direction of three rectangular co-ordinates. This machine was afterwards found very useful for many other purposes. It was, in fact, a general shaping machine, upon which many parts of the Difference Engine were formed.

I have proposed and drawn various machines for the purpose of calculating a series of numbers forming Tables {47} by means of a certain system called “The Method of Differences,” which it is the object of this sketch to explain.

The first Difference Engine with which I am acquainted comprised a few figures, and was made by myself, between 1820 and June 1822. It consisted of from six to eight figures. A much larger and more perfect engine was sub­se­quent­ly commenced in 1823 for the Government.

It was proposed that this latter Difference Engine should have six orders of differences, each consisting of about twenty places of figures, and also that it should print the Tables it computed.

The small portion of it which was placed in the International Exhibition of 1862 was put together nearly thirty years ago. It was accompanied by various parts intended to enable it to print the results it calculated, either as a single copy on paper—or by putting together moveable types—or by stereotype plates taken from moulds punched by the machine—or from copper plates impressed by it. The parts necessary for the execution of each of these processes were made, but these were not at that time attached to the calculating part of the machine.

A considerable number of the parts by which the printing was to be accomplished, as also several specimens of portions of tables punched on copper, and of stereotype moulds, were exhibited in a glass case adjacent to the Engine.

In 1834 Dr. Lardner published, in the ‘Edinburgh Review,’ 12 a very elaborate description of this portion of the machine, in which he explained clearly the method of Differences.

12 ‘Edinburgh Review,’ No. cxx., July, 1834.

It is very singular that two persons, one resident in London, the other in Sweden, should both have been struck, on reading this review, with the simplicity of the math­e­mat­i­cal principle {48} of differences as applied to the calculation of Tables, and should have been so fascinated with it as to have undertaken to construct a machine of the kind.

Mr. Deacon, of Beaufort House, Strand, whose mechanical skill is well known, made, for his own sat­is­fac­tion, a small model of the calculating part of such a machine, which was shown only to a few friends, and of the existence of which I was not aware until after the Swedish machine was brought to London.

Mr. Scheutz, an eminent printer at Stockholm, had far greater difficulties to encounter. The construction of mechanism, as well as the math­e­mat­i­cal part of the question, was entirely new to him. He, however, undertook to make a machine having four differences, and fourteen places of figures, and capable of printing its own Tables.

After many years’ indefatigable labour, and an almost ruinous expense, aided by grants from his Government, by the constant assistance of his son, and by the support of many enlightened members of the Swedish Academy, he completed his Difference Engine. It was brought to London, and some time afterwards exhibited at the great Exhibition at Paris. It was then purchased for the Dudley Observatory at Albany by an enlightened and public-spirited merchant of that city, John F. Rathbone, Esq.

An exact copy of this machine was made by Messrs. Donkin and Co., for the English Government, and is now in use in the Registrar-General’s Department at Somerset House. It is very much to be regretted that this specimen of English workmanship was not exhibited in the International Exhibition.

Explanation of the Difference Engine.

Those who are only familiar with ordinary arithmetic may, by following out with the pen some of the examples which will be given, easily make themselves acquainted with the simple principles on which the Difference Engine acts.

It is necessary to state distinctly at the outset, that the Difference Engine is not intended to answer special questions. Its object is to calculate and print a series of results formed according to given laws. These are called Tables—many such are in use in various trades. For example—there are collections of Tables of the amount of any number of pounds from 1 to 100 lbs. of butchers’ meat at various prices per lb. Let us examine one of these Tables: viz.—the price of meat 5 d. per lb., we find

Number. Lbs. · Table. Price.

s. · d.

1 · 0 · 5

2 · 0 · 10

3 · 1 · 3

4 · 1 · 8

5 · 2 · 1

There are two ways of computing this Table:—

Let us now examine the relative advantages of each plan. We shall find that if we had multiplied each number of lbs. in {50} the Table by 5, and put down the resulting amount, then every number in the Table would have been computed independently. If, therefore, an error had been committed, it would not have affected any but the single tabular number at which it had been made. On the other hand, if a single error had occurred in the system of computing by adding five at each step, any such error would have rendered the whole of the rest of the Table untrue.

Thus the system of calculating by differences, which is the easiest, is much more liable to error. It has, on the other hand, this great advantage: viz., that when the Table has been so computed, if we calculate its last term directly, and if it agree with the last term found by the continual addition of 5, we shall then be quite certain that every term throughout is correct. In the system of computing each term directly, we possess no such check upon our accuracy.

Now the Table we have been considering is, in fact, merely a Table whose first difference is constant and equal to five. If we express it in pence it becomes—

· Table. · 1st Dif- ference.

1 · 5 · 5

2 · 10 · 5

3 · 15 · 5

4 · 20 · 5

5 · 25 ·

Any machine, therefore, which could add one number to another, and at the same time retain the original number called the first difference for the next operation, would be able to compute all such Tables.

Let us now consider another form of Table which might readily occur to a boy playing with his marbles, or to a young lady with the balls of her solitaire board. {51}

The boy may place a row of his marbles on the sand, at equal distances from each other, thus—

He might then, beginning with the second, place two other marbles under each, thus—

He might then, beginning with the third, place three other marbles under each group, and so on; commencing always one group later, and making the addition one marble more each time. The several groups would stand thus arranged—

He will not fail to observe that he has thus formed a series of triangular groups, every group having an equal number of marbles in each of its three sides. Also that the side of each successive group contains one more marble than that of its preceding group.

Now an inquisitive boy would naturally count the numbers in each group and he would find them thus—

He might also want to know how many marbles the thirtieth or any other distant group might contain. Perhaps he might go to papa to obtain this information; but I much fear papa would snub him, and would tell him that it was nonsense—that it was useless—that nobody knew the number, and so forth. If the boy is told by papa, that he is not able to answer the question, then I recommend him to pay careful attention to whatever that father may at any time say, for he has overcome two of the greatest obstacles to the acquisition {52} of knowledge—inasmuch as he possesses the consciousness that he does not know—and he has the moral courage to avow it. 13

13 The most remarkable instance I ever met with of the distinctness with which any individual perceived the exact boundary of his own knowledge, was that of the late Dr. Wollaston.

If papa fail to inform him, let him go to mamma, who will not fail to find means to satisfy her darling’s curiosity. In the meantime the author of this sketch will endeavour to lead his young friend to make use of his own common sense for the purpose of becoming better acquainted with the triangular figures he has formed with his marbles.

In the case of the Table of the price of butchers’ meat, it was obvious that it could be formed by adding the same constant difference continually to the first term. Now suppose we place the numbers of our groups of marbles in a column, as we did our prices of various weights of meat. Instead of adding a certain difference, as we did in the former case, let us subtract the figures representing each group of marbles from the figures of the succeeding group in the Table. The process will stand thus:—

Number of the Group. · Table. · 1st Difference. · 2nd Difference.

Number of Marbles in each Group. · Dif­fer­ence be­tween the num­ber of Mar­bles in each Group and that in the next.

1 · 1 · 1 · 1

2 · 3 · 2 · 1

3 · 6 · 3 · 1

4 · 10 · 4 · 1

5 · 15 · 5 · 1

6 · 21 · 6 ·

7 · 28 · 7 ·

It is usual to call the third column thus formed the column of {53} first dif­fer­ences . It is evident in the present instance that that column represents the natural numbers. But we already know that the first difference of the natural numbers is constant and equal to unity. It appears, therefore, that a Table of these numbers, representing the group of marbles, might be constructed to any extent by mere addition—using the number 1 as the first number of the Table, the number 1 as the first Difference, and also the number 1 as the second Difference, which last always remains constant.

Now as we could find the value of any given number of pounds of meat directly, without going through all the previous part of the Table, so by a somewhat different rule we can find at once the value of any group whose number is given.

Thus, if we require the number of marbles in the fifth group, proceed thus:—

Take the number of the group · 5

Add 1 to this number, it becomes · 6

Multiply these numbers together · 2)30

Divide the product by 2 · 15

This gives 15, the number of marbles in the 5th group.

If the reader will take the trouble to calculate with his pencil the five groups given above, he will soon perceive the general truth of this rule.

We have now arrived at the fact that this Table—like that of the price of butchers’ meat—can be calculated by two different methods. By the first, each number of the Table is calculated independently: by the second, the truth of each number depends upon the truth of all the previous numbers.

Perhaps my young friend may now ask me, What is the use of such Tables? Until he has advanced further in his {54} arithmetical studies, he must take for granted that they are of some use. The very Table about which he has been reasoning possesses a special name—it is called a Table of Triangular Numbers. Almost every general collection of Tables hitherto published contains portions of it of more or less extent.

Above a century ago, a volume in small quarto, containing the first 20,000 triangular numbers, was published at the Hague by E. De Joncourt, A.M., and Professor of Philosophy. 14 I cannot resist quoting the author’s enthusiastic expression of the happiness he enjoyed in composing his celebrated work:

“The Trigonals here to be found, and nowhere else, are exactly elaborate. Let the candid reader make the best of these numbers, and feel (if possible) in perusing my work the pleasure I had in composing it.

“That sweet joy may arise from such contemplations cannot be denied. Numbers and lines have many charms, unseen by vulgar eyes, and only discovered to the unwearied and respectful sons of Art. In features the serpentine line (who starts not at the name) produces beauty and love; and in numbers, high powers, and humble roots, give soft delight.

“Lo! the raptured arithmetician! Easily satisfied, he asks no Brussels lace, nor a coach and six. To calculate, contents his liveliest desires, and obedient numbers are within his reach.”

14 ‘On the Nature and Notable Use of the most Simple Trigonal Numbers.’ By E. De Joncourt, at the Hague. 1762.

I hope my young friend is acquainted with the fact—that the product of any number multiplied by itself is called the square of that number. Thus 36 is the product of 6 multiplied by 6, and 36 is called the square of 6. I would now recommend him to examine the series of square numbers

{55} and to make, for his own in­struc­tion, the series of their first and second differences, and then to apply to it the same reasoning which has been already applied to the Table of Triangular Numbers.

When he feels that he has mastered that Table, I shall be happy to accompany mamma’s darling to Woolwich or to Portsmouth, where he will find some practical illustrations of the use of his newly-acquired numbers. He will find scattered about in the Arsenal various heaps of cannon balls, some of them triangular, others square or oblong pyramids.

Looking on the simplest form—the triangular pyramid—he will observe that it exactly represents his own heaps of marbles placed each successively above one another until the top of the pyramid contains only a single ball.

The new series thus formed by the addition of his own triangular numbers is—

Number. · Table. · 1st Dif- ference. · 2nd Dif- ference. · 3rd Dif- ference.

1 · 1 · 3 · 3 · 1

2 · 4 · 6 · 4 · 1

3 · 10 · 10 · 5 · 1

4 · 20 · 15 · 6 ·

5 · 35 · 21 · ·

6 · 56 · · ·

He will at once perceive that this Table of the number of cannon balls contained in a triangular pyramid can be carried to any extent by simply adding successive differences, the third of which is constant.

The next step will naturally be to inquire how any number in this Table can be calculated by itself. A little consideration will lead him to a fair guess; a little industry will enable him to confirm his conjecture.

It will be observed at p. 49 that in order to find {56} independently any number of the Table of the price of butchers’ meat, the following rule was observed:—

Take the number whose tabular number is required.

Multiply it by the first difference.

This product is equal to the required tabular number.

Again, at p. 53, the rule for finding any triangular number was:—

Take the number of the group · 5

Add 1 to this number, it becomes · 6

Multiply these numbers together · 2)30

Divide the product by 2 · 15

This is the number of marbles in the 5th group.

Now let us make a bold conjecture respecting the Table of cannon balls, and try this rule:—

Take the number whose tabular number is required, say · 5

Add 1 to that number · 6

Add 1 more to that number · 7

Multiply all three numbers together · 2)210

Divide by 2 · 105

The real number in the 5th pyramid is 35. But the number 105 at which we have arrived is exactly three times as great. If, therefore, instead of dividing by 2 we had divided by 2 and also by 3, we should have arrived at a true result in this instance.

The amended rule is therefore— {57}

Take the number whose tabular number is required, say · n

Add 1 to it · n + 1

Add 1 to this · n + 2

Multiply these three numbers together · n × ( n + 1) × ( n + 2)

Divide by 1 × 2 × 3. The result is · ( n ( n + 1)( n + 2))/6

This rule will, upon trial, be found to give correctly every tabular number.

By similar reasoning we might arrive at the knowledge of the number of cannon balls in square and rectangular pyramids. But it is presumed that enough has been stated to enable the reader to form some general notion of the method of calculating arithmetical Tables by differences which are constant.

It may now be stated that mathematicians have discovered that all the Tables most important for practical purposes, such as those relating to Astronomy and Navigation, can, although they may not possess any constant differences, still be calculated in detached portions by that method.

Hence the importance of having machinery to calculate by differences, which, if well made, cannot err; and which, if carelessly set, presents in the last term it calculates the power of verification of every antecedent term.