Cover for Sketch of the Analytical Engine Invented by Charles Babbage

Project Gutenberg #75107

Sketch of the Analytical Engine Invented by Charles Babbage

Luigi Federico Menabrea and Ada Lovelace

1843

Menabrea's account of Babbage's Analytical Engine with Ada Lovelace's extensive notes, prepared from Project Gutenberg HTML.

Project Gutenberg #75107 Public domain in the United States Cover source Local typographic cover created for MojiMori from public-domain source metadata

Section 2 of 2 Page 6 of 15

ARTICLE XXIX.

198 words at B2 or above
A1 A2 B1 B2 C1 C2 C2+
highlighted at or above your level
markdown

Missing dictionary data: 1 unique word is not in the dictionary data yet. Amber marks show where it appears.

used in the Jacquard-loom), the impress of whatever special function we may desire to develope or to tabulate. These cards contain within themselves (in a manner explained in the Memoir itself, pages 12 and 13) the law of development of the particular function that may be under consideration, and they compel the mechanism to act accordingly in a certain corresponding order. One of the simplest cases would be, for example, to suppose that is the particular function which the Difference Engine tabulates for values of only up to 7. In this case the cards would order the mechanism to go through that succession of operations which would tabulate where might be any number whatever. [Pg 27] These cards, however, have nothing to do with the regulation of the particular numerical data. They merely determine the operations[16] to be effected, which operations may of course be performed on an infinite variety of particular numerical values, and do not bring out any definite numerical results unless the numerical data of the problem have been impressed on the requisite portions of the train of mechanism. In the above example, the first essential step towards an arithmetical result, would be the substitution of specific numbers for , and for the other primitive quantities which enter into the function. Again, let us suppose that for we put two complete equations of the fourth degree between and . We must then express on the cards the law of elimination for such equations. The engine would follow out those laws, and would ultimately give the equation of one variable which results from such elimination. Various modes of elimination might be selected; and of course the cards must be made out accordingly. The following is one mode that might be adopted. The engine is able to multiply together any two functions of the form This granted, the two equations may be arranged according to the powers of , and the coefficients of the powers of may be arranged according to powers of . The elimination of will result from the successive multiplications and subtractions of several such functions. In this, and in all other instances, as was explained above, the particular numerical data and the numerical results are determined by means and by portions of the mechanism which act quite independently of those that regulate the operations. In studying the action of the Analytical Engine, we find that the peculiar and independent nature of the considerations which in all mathematical analysis belong to operations, as distinguished from the objects operated upon and from the results of the operations performed upon those objects, is very strikingly defined and separated. It is well to draw attention to this point, not only because its full appreciation is essential to the attainment of any very just and adequate general comprehension of the powers and mode of action of the Analytical Engine, but also because it is one which is perhaps too little kept in view in the study of mathematical science in general. It is, however, impossible to confound it with other considerations, either when we trace the manner in which that engine attains its results, or when we prepare the data for its attainment of those results. It were much to be desired, that when mathematical processes pass through the human brain instead of through the medium of inanimate mechanism, it were equally a necessity of things that the reasonings connected with operations should hold the same just place as a clear and well-defined branch of the subject of analysis, a fundamental but yet independent ingredient in the [Pg 28] science, which they must do in studying the engine. The confusion, the difficulties, the contradictions which, in consequence of a want of accurate distinctions in this particular, have up to even a recent period encumbered mathematics in all those branches involving the consideration of negative and impossible quantities, will at once occur to the reader who is at all versed in this science, and would alone suffice to justify dwelling somewhat on the point, in connexion with any subject so peculiarly fitted to give forcible illustration of it, as the Analytical Engine. It may be desirable to explain, that by the word operation, we mean any process which alters the mutual relation of two or more things, be this relation of what kind it may. This is the most general definition, and would include all subjects in the universe. In abstract mathematics, of course operations alter those particular relations which are involved in the considerations of number and space, and the results of operations are those peculiar results which correspond to the nature of the subjects of operation. But the science of operations, as derived from mathematics more especially, is a science of itself, and has its own abstract truth and value; just as logic has its own peculiar truth and value, independently of the subjects to which we may apply its reasonings and processes. Those who are accustomed to some of the more modern views of the above subject, will know that a few fundamental relations being true, certain other combinations of relations must of necessity follow; combinations unlimited in variety and extent if the deductions from the primary relations be carried on far enough. They will also be aware that one main reason why the separate nature of the science of operations has been little felt, and in general little dwelt on, is the shifting meaning of many of the symbols used in mathematical notation. First, the symbols of operation are frequently also the symbols of the results of operations. We may say that these symbols are apt to have both a retrospective and a prospective signification. They may signify either relations that are the consequence of a series of processes already performed, or relations that are yet to be effected through certain processes. Secondly, figures, the symbols of numerical magnitude, are frequently also the symbols of operations, as when they are the indices of powers. Wherever terms have a shifting meaning, independent sets of considerations are liable to become complicated together, and reasonings and results are frequently falsified. Now in the Analytical Engine the operations which come under the first of the above heads, are ordered and combined by means of a notation and of a train of mechanism which belong exclusively to themselves; and with respect to the second head, whenever numbers meaning operations and not quantities (such as the indices of powers), are inscribed on any column or set of columns, those columns immediately act in a wholly separate and independent manner, becoming connected with the operating mechanism exclusively, and re-acting upon this. They never come into combination with numbers upon any other columns meaning quantities; though, of course, if there are numbers meaning operations upon columns, these may combine amongst each other, and will often be required to do so, just as numbers meaning quantities combine with each other in any variety. It might have been arranged that all numbers meaning operations should have appeared on some separate portion of the engine from that which presents numerical quantities; but the present mode is in some cases more simple, and offers in reality quite as much distinctness when understood. The operating mechanism can even be thrown into action independently of any object to operate upon (although of course no result could then be developed). Again, it might act upon other things besides number, were objects found whose mutual fundamental relations could be expressed by those of the abstract science of operations, and which should be also susceptible of adaptations to the action of the operating notation and mechanism of the engine. 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. The Analytical Engine is an embodying of the science of operations, constructed with peculiar reference to abstract number as the subject of those operations. The Difference Engine is the embodying of one particular and very limited set of operations, which (see the notation used in note B) may be expressed thus,(+, +, +, +, +, +), or thus, 6(+). Six repetitions of the one operation, +, is, in fact, the whole sum and object of that engine. It has seven columns, and a number on any column can add itself to a number on the next column to its right-hand. So that, beginning with the column furthest to the left, six additions can be effected, and the result appears on the seventh column, which is the last on the right-hand. The operating mechanism of this engine acts in as separate and independent a manner as that of the Analytical Engine; but being susceptible of only one unvarying and restricted combination, it has little force or interest in illustration of the distinct nature of the science of operations. The importance of regarding the Analytical Engine under this point of view will, we think, become more and more obvious, as the reader proceeds with M. Menabrea’s clear and masterly article. The calculus of operations is likewise in itself a topic of so much interest, and has of late years been so much more written on and thought on than formerly, that any bearing which that engine, from its mode of constitution, may possess upon the illustration of this branch of mathematical science, should not be overlooked. Whether the inventor of this engine had any such views in his mind while working out the invention, or whether he may subsequently ever have regarded it under this phase, we do not know; but it is one that forcibly occurred to ourselves on becoming acquainted with the means through which analytical combinations are actually attained by the mechanism. We cannot forbear suggesting one practical result which it appears to us must be greatly facilitated by the independent manner in which the engine orders and combines its operations: we allude to the attainment of those combinations into which imaginary quantities enter. This is a branch of its processes into which we have not had the opportunity of inquiring, and our conjecture therefore as to the principle on which we conceive the accomplishment of such results may have been made to depend, is very probably not in accordance with the fact, and less subservient for the purpose than some other principles, or at least requiring the cooperation of others. It seems to us obvious, however, that where operations are so independent in their mode of acting, it must be easy by means of a few simple provisions and additions in arranging the [Pg 29] mechanism, to bring out a double set of results, viz.—1st, the numerical magnitudes which are the results of operations performed on numerical data. (These results are the primary object of the engine). 2ndly, the symbolical results to be attached to those numerical results, which symbolical results are not less the necessary and logical consequences of operations performed upon symbolical data, than are numerical results when the data are numerical[17]. If we compare together the powers and the principles of construction of the Difference and of the Analytical Engines, we shall perceive that the capabilities of the latter are immeasurably more extensive than those of the former, and that they in fact hold to each other the same relationship as that of analysis to arithmetic. The Difference Engine can effect but one particular series of operations, viz. that required for tabulating the integral of the special function and as it can only do this for values of up to 7[18], it cannot be considered as being the most general expression even of one particular function, much less as being the expression of any and all possible functions of all degrees of generality. The Difference Engine can in reality (as has been already partly explained) do nothing but add; and any other processes, not excepting those of simple subtraction, multiplication and division, can be performed by it only just to that extent in which it is

Send feedback

Optional — only if you'd like a reply.