A Think Again Media Group publication
Tech Stumper

The little keyboard with a different kind of output

The logical piano and the machinery of Victorian reasoning

By Phil Springer, Editor · Published · Tech Stumper

The logical piano and the machinery of Victorian reasoning

William Stanley Jevons's logical piano had 21 keys and the appearance of a small upright keyboard instrument. Its business was logical inference: supplied propositions caused a mechanism to select or exclude combinations of symbols. Jevons exhibited the machine before the Royal Society in 1870. His own account, preserved in The Principles of Science, described an effort to give qualitative reasoning a visible mechanical form. The display showed the possibilities remaining after the conditions of an argument had been imposed.

The machine followed an earlier device that Jevons called a logical abacus. In his description, this consisted of a sloping blackboard with horizontal ledges and movable wooden slips. Each slip carried a combination of letters. Pins associated with those letters allowed groups of slips to be separated. Jevons had used the abacus in lectures, but moving and comparing the pieces still involved work and opportunities for mistakes. He reported two unsuccessful attempts before arriving at the more satisfactory arrangement embodied in his machine.

Behind both devices stood his logical alphabet. Capital letters represented the presence of qualities, while corresponding small letters represented their absence. Four qualities generated sixteen possible combinations. Each combination expressed a particular grouping of positive and negative terms. The alphabet therefore represented the range of possibilities before any premises restricted it. Jevons's method worked by excluding combinations that conflicted with the supplied conditions. The remaining symbols preserved the relationships compatible with those conditions, including relationships involving the absence of a quality.

The logical piano put this alphabet on its front. Sixteen of its keys represented the eight positive and negative terms in two separate positions. The keyboard's left and right halves corresponded to the two sides of a proposition. Five additional keys represented operations, including the connecting verb, punctuation, alternatives, and the completion of an argument. Jevons explained the musical resemblance as a matter of the apparatus's appearance. His description assigned the keys precise symbolic roles in the treatment of propositions.

One of his examples involved the premises that every A belonged to B and every B belonged to C. When the incompatible combinations had been excluded, the surviving A combinations contained C. The apparatus therefore represented the familiar deduction that every A belonged to C. Jevons also discussed arguments containing alternatives, where a class could belong to one of several other classes. These required a more complicated selection among the combinations. The same alphabet carried the conditions through the successive stages of the argument.

An additional feature of the logical piano concerned contradictory premises. In Jevons's example, a class was required both to belong and not to belong to another class. The resulting display contained no surviving combination for that class. He treated this disappearance as evidence of a contradiction within the supplied conditions. A separate operation restored the complete alphabet after an argument ended. That restored state contained all sixteen initial combinations, with the restrictions of the previous argument removed.

Jevons placed a clear limit on the achievement. Human thought remained necessary to interpret ordinary grammatical expressions and represent their meaning correctly in the mechanism. It was also necessary to gather a conclusion from the combinations left on display. His claim for mechanical inference applied to the selection and exclusion performed within that formal system. He did not claim that the machine had taken over the complete task of understanding a statement. This qualification appeared alongside his enthusiastic account of the mechanism's powers.

Jevons also argued that the order of the premises did not change their logical result. Their conditions existed together, although the mechanism received them successively. In his account, the same combinations remained regardless of the order in which those conditions were imposed.

The historical setting also mattered to Jevons. He had published Pure Logic in 1864 and held professorships in logic and political economy at Manchester. The MacTutor biography identifies a Salford watchmaker as the constructor of his design. In his own discussion, Jevons doubted that people would frequently need elaborate logical calculations in ordinary life. He valued the machine as a teaching apparatus and as a physical demonstration of his account of inference, and described using it in classes at Owens College.

The logical piano acquired a separate material afterlife at Oxford's Museum of the History of Science. The museum documented devices made by an Oxford student in the 1950s after seeing Jevons's original there. One used a cigar box, switches, and a lamp to represent logical functions. Another used overlapping cards with cut-out windows to represent premises and conclusions. Those later objects were independent responses to the original machine. They extended its classroom association between abstract logical relationships and arrangements that could be physically displayed.

The Question

What did William Stanley Jevons design his logical piano to produce?

Show the answer

The Answer

It produced logical deductions from supplied premises. Its mechanism removed combinations inconsistent with those premises, leaving the possibilities from which a conclusion followed.

Send this question to a friend

Read next

By clicking “Send me a stumper” you agree to Tech Stumper’s Terms of Use and Privacy Policy.