Page:Edinburgh Review Volume 59.djvu/300

From Wikisource
Jump to navigation Jump to search
This page has been proofread, but needs to be validated.
288
Babbage's Calculating Engine.
July,

operation of subtraction, by substituting for the subtrahend its arithmetical complement, and adding that, omitting the unit of the highest order in the result. This process, and its principle, will be readily comprehended by an example. Let it be required to subtract 357 from 768.

The common process would be as follows:—

From 768
Subtract 357
Remainder   411

The arithmetical complement of 357, or the number by which it falls short of 1000, is 643. Now, if this number be added to 768, and the first figure on the left be struck out of the sum, the process will be as follows:—

To  768
Add    643
Sum   1411
Remainder sought 411

The principle on which this process is founded is easily explained. In the latter process we have first added 643, and then subtracted 1000. On the whole, therefore, we have subtracted 357, since the number actually subtracted exceeds the number previously added by that amount.

Since, therefore, subtraction may be effected in this manner by addition, it follows that the calculation of all serieses, so far as an order of differences can be found in them which continues constant, may be conducted by the process of addition alone.

It also appears from what has been stated, that each addition consists only of two operations. However numerous the figures may be of which the several pairs of numbers to be thus added may consist, it is obvious that the operation of adding them can only consist of repetitions of the process of adding one digit to another; and of carrying one from the column of inferior units to the column of units next superior when necessary. If we would therefore reduce such a process to machinery, it would only be necessary to discover such a combination of moving parts as are capable of performing these two processes of adding and carrying on two single figures; for, this being once accomplished, the process of adding two numbers, consisting of any number of digits, will be effected by repeating the same mechanism as often as there are pairs of digits to be added. Such was the simple form to which Mr Babbage reduced the problem of discovering