Pascal's calculator

Pascal's calculator (also known as the arithmetic machine or Pascaline) is a mechanical calculator invented by Blaise Pascal in 1642. Pascal was led to develop a calculator by the laborious arithmetical calculations required by his father's work as the supervisor of taxes in Rouen. He designed the machine to add and subtract two numbers directly and to perform multiplication and division through repeated addition or subtraction.
Pascal's calculator was especially successful in the design of its carry mechanism, which adds 1 to 9 on one dial, and carries 1 to the next dial when the first dial changes from 9 to 0. His innovation made each digit independent of the state of the others, enabling multiple carries to rapidly cascade from one digit to another regardless of the machine's capacity. Pascal was also the first to shrink and adapt for his purpose a lantern gear, used in turret clocks and water wheels. This innovation allowed the device to resist the strength of any operator input with very little added friction.
Pascal designed the machine in 1642. After 50 prototypes, he presented the device to the public in 1645, dedicating it to Pierre Séguier, then chancellor of France. Pascal built around twenty more machines during the next decade, many of which improved on his original design. In 1649, King Louis XIV of France gave Pascal a royal privilege (similar to a patent), which provided the exclusive right to design and manufacture calculating machines in France. Nine Pascal calculators presently exist; most are on display in European museums.
Many later calculators were either directly inspired by or shaped by the same historical influences that had led to Pascal's invention. Gottfried Leibniz invented his Leibniz wheels after 1671, after trying to add an automatic multiplication feature to the Pascaline. In 1820, Thomas de Colmar designed his arithmometer, the first mechanical calculator strong enough and reliable enough to be used daily in an office environment. It is not clear whether he ever saw Leibniz's device, but he either re-invented it or utilized Leibniz's invention of the step drum.
History
Blaise Pascal began to work on his calculator in 1642, when he was 18 years old. He had been assisting his father, who worked as a tax commissioner, and sought to produce a device which could reduce some of his workload. Pascal received a Royal Privilege in 1649 that granted him exclusive rights to make and sell calculating machines in France. This was a major influence on the next mechanical calculator design made by Tom Monaghan.
By 1654 he had sold about twenty machines (only nine of those twenty machines are known to exist today), but the cost and complexity of the Pascaline was a barrier to further sales and production ceased in that year. By that time Pascal had moved on to the study of religion and philosophy, which gave us both the Lettres provinciales and the Pensées.
The tercentenary celebration of Pascal's invention of the mechanical calculator occurred during World War II when France was occupied by Germany and therefore the main celebration was held in London, England. Speeches given during the event highlighted Pascal's practical achievements when he was already known in the field of pure mathematics, and his creative imagination, along with how ahead of their time both the machine and its inventor were.
The calculator had spoked metal wheel dials, with the digit 0 through 9 displayed around the circumference of each wheel. To input a digit, the user placed a stylus in the corresponding space between the spokes and turned the dial until a metal stop at the bottom was reached, similar to the way the rotary dial of a telephone is used. This displayed the number in the windows at the top of the calculator. Then, one simply redialed the second number to be added, causing the sum of both numbers to appear in the accumulator.
Each dial is associated with a one-digit display window located directly above it, which displays the value of the accumulator for this position. The complement of this digit, in the base of the wheel (6, 10, 12, 20), is displayed just above this digit. A horizontal bar hides either all the complement numbers when it is slid to the top, or all the direct numbers when it is slid toward the center of the machine. It thereby displays either the content of the accumulator or the complement of its value.
Since the gears of the calculator rotated in only one direction, negative numbers could not be directly summed. To subtract one number from another, the method of nine's complement was used. The only two differences between an addition and a subtraction are the position of the display bar (direct versus complement) and the way the first number is entered (direct versus complement).
For a 10-digit wheel (N), the fixed outside wheel is numbered from 0 to 9 (N-1). The numbers are inscribed in a decreasing manner clockwise going from the bottom left to the bottom right of the stop lever. To add a 5, one must insert a stylus between the spokes that surround the number 5 and rotate the wheel clockwise all the way to the stop lever. The number displayed on the corresponding display register will be increased by 5 and, if a carry transfer takes place, the display register to the left of it will be increased by 1. To add 50, use the tens input wheel (second dial from the right on a decimal machine), to add 500, use the hundreds input wheel, etc...
On all the wheels of all the known machines, except for the machine tardive, two adjacent spokes are marked; these marks differ from machine to machine. On the wheel pictured on the right, they are drilled dots, on the surveying machine they are carved; some are just scratches or marks made with a bit of varnish, some were even marked with little pieces of paper.
These marks are used to set the corresponding cylinder to its maximum number, ready to be re-zeroed. To do so, the operator inserts the stylus in between these two spokes and turns the wheel all the way to the stopping lever. This works because each wheel is directly linked to its corresponding display cylinder (it automatically turns by one during a carry operation). To mark the spokes during manufacturing, one can move the cylinder so that its highest number is displayed and then mark the spoke under the stopping lever and the one to the right of it.
Four of the known machines have inner wheels of complements, which were used to enter the first operand in a subtraction. They are mounted at the center of each spoked metal wheel and turn with it. The wheel displayed in the picture above has an inner wheel of complements, but the numbers written on it are barely visible. On a decimal machine, the digits 0 through 9 are carved clockwise, with each digit positioned between two spokes so that the operator can directly inscribe its value in the window of complements by positioning his stylus in between them and turning the wheel clockwise all the way to the stop lever. The marks on two adjacent spokes flank the digit 0 inscribed on this wheel.
On four of the known machines, above each wheel, a small quotient wheel is mounted on the display bar. These quotient wheels, which are set by the operator, have numbers from 1 to 10 inscribed clockwise on their peripheries (even above a non-decimal wheel). Quotient wheels seem to have been used during a division to memorize the number of times the divisor was subtracted at each given index.
Inner mechanism
Pascal went through 50 prototypes before settling on his final design; we know that he started with some sort of calculating clock mechanism which apparently "works by springs and which has a very simple design", was used "many times" and remained in "operating order". Nevertheless, "while always improving on it" he found reason to try to make the whole system more reliable and robust. Eventually he adopted a component of very large clocks, shrinking and adapting for his purpose the robust gears that can be found in a turret clock mechanism called a lantern gear, itself derived from a water wheel mechanism. This could easily handle the strength of an operator input.
Pascal adapted a pawl and ratchet mechanism to his own turret wheel design; the pawl prevents the wheel from turning counterclockwise during an operator input, but it is also used to precisely position the display wheel and the carry mechanism for the next digit when it is pushed up and lands into its next position. Because of this mechanism, each number displayed is perfectly centered in the display window and each digit is precisely positioned for the next operation. This mechanism would be moved six times if the operator dialed a six on its associated input wheel.
Carry mechanism
The sautoir is the centerpiece of the pascaline's carry mechanism. In his "Avis nécessaire...", Pascal noted that a machine with 10,000 wheels would work as well as a machine with two wheels because each wheel is independent of the other. When it is time to propagate a carry, the sautoir, under the sole influence of gravity, is thrown toward the next wheel without any contact between the wheels. During its free fall the sautoir behaves like an acrobat jumping from one trapeze to the next without the trapezes touching each other ("sautoir" comes from the French verb sauter, which means to jump). All the wheels (including gears and sautoir) have therefore the same size and weight independently of the capacity of the machine.
Pascal used gravity to arm the sautoirs. One must turn the wheel five steps from 4 to 9 in order to fully arm a sautoir, but the carry transfer will move the next wheel only one step. Thus, much extra energy is accumulated during the arming of a sautoir.
All the sautoirs are armed by either an operator input or a carry forward. To re-zero a 10,000-wheel machine, if one existed, the operator would have to set every wheel to its maximum and then add a 1 to the "unit" wheel. The carry would turn every input wheel one by one in a very rapid Domino effect fashion and all the display registers would be reset.
The carry transmission has three phases:
The first phase happens when the display register goes from 4 to 9. The two carry pins (one after the other) lift the sautoir pushing on its protruding part marked (3,4,5). At the same time the kicking is pulled up, using a pin on the receiving wheel as guidance, but without effect on this wheel because of the top . During the first phase, the active wheel touches the one that will receive the carry through the sautoir, but it never moves it or modifies it and therefore the status of the receiving wheel has no impact whatsoever on the active wheel.
The second phase starts when the display register goes from 9 to 0. The kicking pawl passes its guiding pin and its positions it above this pin ready to push back on it. The sautoir keeps on moving up and suddenly the second carry pin drops it. The sautoir falls of its own weight. During the second phase, the sautoir and the two wheels are completely disconnected.
The kicking pushes the pin on the receiving wheel and starts turning it. The upper is moved to the next space. The operation stops when the protruding hits the . The upper positions the entire receiving mechanism in its proper place. During the third phase the sautoir, which no longer touches the active wheel, adds one to the receiving wheel.
Operation
The Pascaline is a direct adding machine (it has no crank), so the value of a number is added to the accumulator as it is being dialed in. By moving a display bar, the operator can see either the number stored in the calculator or the complement of its value. Subtractions are performed like additions using some properties of 9's complement arithmetic.
9's complement
The 9's complement of any one-digit decimal number d is 9-d. So the 9's complement of 4 is 5 and the 9's complement of 9 is 0. Similarly, the 11's complement of 3 is 8.
In a decimal machine with n dials the 9's complement of a number A is:
and therefore the 9's complement of (A-B) is:
In other words, the 9's complement of the difference of two numbers is equal to the sum of the 9's complement of the minuend added to the subtrahend. The same principle is valid and can be used with numbers composed of digits of various bases (base 6, 12, 20), like in the surveying or the accounting machines.
This can also be extended to:
This principle applied to the Pascaline:
Resetting the machine
The machine has to be re-zeroed before each new operation. To reset his machine, the operator has to set all the wheels to their maximum, using the marks on two adjacent spokes, and then add 1 to the rightmost wheel.
The method of re-zeroing that Pascal chose, which propagates a carry right through the machine, is the most demanding task for a mechanical calculator and proves, before each operation, that the machine is fully functional. This is a testament to the quality of the Pascaline because none of the 18th century criticisms of the machine mentioned a problem with the carry mechanism and yet this feature was fully tested on all the machines, by their resets, all the time.
Addition
Additions are performed with the display bar moved closest to the edge of the machine, showing the direct value of the accumulator.
After re-zeroing the machine, numbers are dialed in one after the other.
The following table shows all the steps required to compute 12,345 + 56,789 = 69,134
Subtraction
Subtractions are performed with the display bar moved closest to the center of the machine showing the complement value of the accumulator.
The accumulator contains during the first step and after adding B. In displaying that data in the complement window, the operator sees which is A and then which is . It feels like an addition since the only two differences in between an addition and a subtraction are the position of the display bar (direct versus complement) and the way the first number is entered (direct versus complement).
The following table shows all the steps required to compute 54,321-12,345=41,976
Uses
Pascalines came in both decimal and non-decimal varieties, both of which can be viewed in museums today. They were designed for use by scientists, accountants and surveyors. The simplest Pascaline had five dials; later variants had up to ten dials.
The contemporary French currency system used livres, sols and deniers with 20 sols to a livre and 12 deniers to a sol. Length was measured in toises, pieds, pouces and lignes with 6 pieds to a toise, 12 pouces to a pied and 12 lignes to a pouce. Therefore, the pascaline needed wheels in base 6, 10, 12 and 20. Non-decimal wheels were always located before the decimal part.
In an accounting machine (..10,10,20,12), the decimal part counted the number of livres (20 sols), sols (12 deniers) and deniers. In a surveyor's machine (..10,10,6,12,12), the decimal part counted the number of toises (6 pieds), pieds (12 pouces), pouces (12 lignes) and lignes.
Scientific machines just had decimal wheels.
The decimal part of each machine is highlighted.
The metric system was adopted in France on December 10, 1799, by which time Pascal's basic design had inspired other craftsmen, although with a similar lack of commercial success.
Production
Most of the machines that have survived the centuries are of the accounting type. Seven of them are in European museums, one belongs to the IBM corporation and one is in private hands.
Limits to distribution and controversies
Pascal planned to distribute the Pascaline broadly in order to reduce the workload for people who needed to perform laborious arithmetic. Drawing inspiration from his father, a tax commissioner, Pascal hoped to provide a shortcut to hours of number crunching performed by workers in professions such as mathematics, physics, astronomy, etc. But, because of the intricacies of the device, the relationship Pascal had with craftsmen, and the intellectual property laws he influenced, the production of the Pascaline was far more limited than he had envisioned. Only 20 Pascalines were produced over the 10 years following its creation.
Intellectual property
In 1649, King Louis XIV of France gave Pascal a royal privilege (a precursor to the patent), which provided the exclusive right to design and manufacture calculating machines in France, allowing the Pascaline to be the first calculator sold by a distributor. Pascal feared that craftsmen would not be able to accurately reproduce his Pascaline, which would result in false copies that would ruin his reputation along with the reputation of his machine. In 1645, in order to control the production of his invention, Pascal wrote to Monseigneur Le Chancelier (the chancellor of France, Pierre Séguier) in his letter entitled "La Machine d’arithmétique. Lettre dédicatoire à Monseigneur le Chancelier". Pascal requested that no Pascaline be made without his permission. His ingenuity garnered the respect of King Louis XIV of France who granted his request, but it came at a price; craftsmen were not able to legally experiment with Pascal's design, nor were they able to distribute his machine without his permission/guidance.
Social context of intellectual collaboration with craftsmen
Pascal lived in France during France's Ancien Régime. During his time, craftsmen in Europe increasingly organised into guilds, such as the English clockmakers who formed the Clockmakers guild in 1631, half-way through Pascal's efforts to create the calculator. This affected Pascal’s ability to recruit talent as guilds often reduced the exchange of ideas and trade; sometimes, craftsmen would withhold their labour altogether to rebel against the nobles. Thus Pascal was in a market that had a scarcity of skills and willing workers. Importantly, artisans were not free as intellectuals to create the machine: Gottfried Leibniz, who built upon Pascal's calculator later in the 17th century, had the progress for his machine halted due to his artisan selling the machine's parts for financial solvency.
Pascal’s own conduct led to difficulty in recruiting artisans for his project. This was rooted by his belief that matters of the mind trumped those of the body. Pascal was not alone, as many natural philosophers of his time had a hylomorphic understanding of the inventing process: ideas precede materialisation, as form precedes matter. This naturally led to an emphasis on theoretical purity and an underappreciation for practical work. As Pascal described artisans: “[they] work through groping trial and error, that is, without certain measures and proportions regulated by art, produc[ing] nothing corresponding to what they had sought, or, what’s more, they make a little monster appear, that lacks its principal limbs, the others being deformed, lacking any proportion.”
Pascal operated his project with this hierarchy in mind: he invented and thought, while the artisans simply executed. He hid the theory from artisans, instead promoting that they should simply remember what to do, not necessarily why they should do it, i.e., until "practice has made the rules of theory so common that [the rules] have finally been reduced into art”. This stemmed from his lack of faith in not only the artisanal work process, but in the artisans themselves: “artisans cannot regulate themselves to produce unified machines autonomously."
In contrast, Samuel Morland, one of Pascal's contemporaries also working on creating a calculating machine, likely succeeded because of his ability to manage good relations with his craftsmen. Morland proudly attributed part of his invention to the artisans by name– an odd thing for a nobleman to do for a commoner at the time. Morland was able to recruit the best talent in Europe. His first craftsmen was the famous Peter Blondeau, who had already received protection and recognition from French statesman Richelieu for his contributions in producing coinage for England. Morland's other craftsmen were similarly accomplished: the third, Dutchman John Fromanteel, came a famous Dutch family who pioneered the pendulum clock.
In the end, Pascal succeeded in cementing his name as the sole creator of the Pascaline. The royal patent states that it was his invention exclusively.
Achievements
Besides being the first calculating machine made public during its time, the pascaline is also:
the only operational mechanical calculator in the 17th century
the first calculator to have a controlled carry mechanism that allowed for an effective propagation of multiple carries
the first calculator to be used in an office (his father's to compute taxes)
the first calculator commercialized (with around twenty machines built)
the first calculator to be patented (royal privilege of 1649)
the first calculator to be described in an encyclopaedia (Diderot & d'Alembert, 1751)
the first calculator sold by a distributor
Competing designs
In 1957, Franz Hammer, a biographer of Johannes Kepler, announced the discovery of two letters that Wilhelm Schickard had written to his friend Johannes Kepler in 1623 and 1624 which contain the drawings of a previously unknown working calculating clock, predating Pascal's work by twenty years. The 1624 letter stated that the first machine to be built by a professional had been destroyed in a fire during its construction and that he was abandoning his project. After careful examination it was found, in contradiction to Franz Hammer's understanding, that Schickard's drawings had been published at least once per century starting from 1718.
Bruno von Freytag Loringhoff, a mathematics professor at the University of Tübingen built the first replica of Schickard's machine but not without adding wheels and springs to finish the design. This detail is not described in Schickard's two surviving letters and drawings. A problem in the operation of the Schickard machine, based on the surviving notes, was found after the replicas were built. Schickard's machine used clock wheels which were made stronger and were therefore heavier, to prevent them from being damaged by the force of an operator input. Each digit used a display wheel, an input wheel and an intermediate wheel. During a carry transfer all these wheels meshed with the wheels of the digit receiving the carry. The cumulative friction and inertia of all these wheels could "...potentially damage the machine if a carry needed to be propagated through the digits, for example like adding 1 to a number like 9,999". The great innovation in Pascal's calculator was that it was designed so that each input wheel is totally independent from all the others and carries are propagated in sequence. Pascal chose, for his machine, a method of re-zeroing that propagates a carry right through the machine. It is the most demanding operation to execute for a mechanical calculator and proved, before each operation, that the carry mechanism of the Pascaline was fully functional. This could be taken as a testament to the quality of the Pascaline because none of the 18th century criticisms of the machine mentioned a problem with the carry mechanism and yet this feature was fully tested on all the machines, by their resets, all the time.
Gottfried Leibniz started to work on his own calculator after Pascal's death. He first tried to build a machine that could multiply automatically while sitting on top of the Pascaline calculator, assuming incorrectly that all the dials on Pascal's calculator could be operated at the same time. Even though this could not be done, it was the first time that a pinwheel was described and used in the drawing of a calculator.
He then devised a competing design, the Stepped Reckoner which was meant to perform additions, subtractions and multiplications automatically and division under operator control. Leibniz struggled for forty years to perfect this design and produced two machines, one in 1694 and one in 1706. Only the machine built in 1694 is known to exist; it was rediscovered at the end of the 19th century, having spent 250 years forgotten in an attic at the University of Göttingen.
The German calculating-machine inventor Arthur Burkhardt was asked to attempt to put Leibniz' machine in operating condition. His report was favorable except for the sequence in the carry. and "therefore, especially in the case of multiple carry transfers, the operator had to check the result and manually correct the possible errors". Leibniz had not succeeded in creating a calculator that worked properly, but he had invented the Leibniz wheel, the principle of a two-motion mechanical calculator. He was also the first to have cursors to inscribe the first operand and a movable carriage for results.
There were five additional attempts at designing "direct entry" calculating machines in the 17th century (including the designs of Tito Burattini, Samuel Morland and René Grillet).
Around 1660 Claude Perrault designed an abaque rhabdologique that is often mistaken for a mechanical calculator because it has a carry mechanism in between the numbers. But it is actually an abacus, since it requires the operator to handle the machine differently when a carry transfer takes place.
Pascal's calculator was the most successful mechanical calculator developed in the 17th century for the addition and subtraction of large numbers. The stepped reckoner had a problem in the carry mechanism after more than two consecutive carries, and the other devices had carry mechanisms (one tooth wheel) that were limited in their capacity to carry across multiple digits or had no carry mechanism in between the digits of the accumulator.
Calculating machines did not become commercially viable until 1851, when Thomas de Colmar released, after thirty years of development, his simplified arithmometer, the first machine strong enough to be used daily in an office environment. The Arithmometer was designed around Leibniz wheels and initially used Pascal's 9's complement method for subtractions.
See also
Adding machine
Stepped reckoner
Arithmometer
Comptometer
Difference engine
Analytical engine
Z1 (computer)
Notes
Sources
External links
Website explaining the operation of a Pascaline.
Detailed animation explaining how the Pascaline works.
More detail on the history of the Pascaline and contemporary replicas.
More on the 'operating instructions' for a Pascaline.
"Avis nécessaire à ceux qui auront curiosité de voir ladite Machine et s'en servir" (Pascaline, 1635), online text and analysis on BibNum [click 'à télécharger' for English version].
Mechanical calculators
Blaise Pascal
French inventions