JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
Back to the library
Mathematics 1854

An Investigation of the Laws of Thought

George Boole

Logic is a kind of algebra — reasoning reduced to symbols that obey laws.

Choose your version
In depth · the introduction

George Boole had a strange and powerful idea: that the rules of logic could be written down and calculated, like sums in algebra.

The idea, unpacked

We usually treat logic — “all A are B,” “this and that,” “either/or” — as a matter of words and careful thinking. Boole saw that it could be made into mathematics. Let a letter stand for a category (say x = “white things”), and let combining categories follow rules that look just like algebra: “both x and y” becomes a kind of multiplication, x times y; “not x” becomes 1 minus x; the whole universe of things is 1, and nothing at all is 0.

The trick that makes it work is that his letters only ever take two values: 0 or 1 — off or on, false or true. Picking the white things out of the white things just gives you the white things again, so x times x equals x. That one humble fact — impossible in ordinary arithmetic except for 0 and 1 — is the seed of a complete, exact logic you can actually compute with.

Where it came from

Boole was a largely self-taught Englishman, a shoemaker's son who became professor of mathematics at Queen's College in Cork, Ireland, without ever holding a university degree of his own. He had sketched the idea in a short pamphlet in 1847; in 1854 he set it out in full in this book, whose grand title — An Investigation of the Laws of Thought — announced his belief that he had found the mathematics behind reasoning itself. His friend Augustus De Morgan was chasing related ideas at the very same time. Boole died young, in 1864 at 49, never seeing what his algebra would become.

Why it mattered

For two thousand years, logic had been Aristotle's — careful but verbal, and hard to extend. Boole turned it into something you could write in symbols and solve by calculation, opening logic to the full power of mathematics. That move — treating reasoning as computation — is one of the deepest in the history of thought, and it set the stage for everything from mathematical logic to the design of computers.

Light switches

Picture two light switches wired to one lamp. Call each switch 0 when off and 1 when on. Wire them in a row, one after the other, and the lamp lights only when both are on — that is Boole's “and,” x times y. Wire them side by side and the lamp lights when either is on — that is his “or.” A switch that flips the signal is “not.” Boole worked this algebra out in 1854 with no machine in mind; a century later it turned out to describe exactly how the circuits inside a computer think. Flip the switches below and watch the logic happen.

An interactive truth-table machine for Boole's algebra over {0,1}: toggle the values of x and y, choose AND (x·y), OR (x + y − x·y) or NOT (1 − x), and the four-row table fills in with the current row highlighted and the output lamp lit when the result is 1. The Expert panel shows the inputs, the result, and the two laws x·x = x and x(1 − x) = 0 holding for the current value.

Where it sits

Boole stands at a hinge in the Library's story of reasoning. Behind him is Euclid, who showed that truths can be derived by pure logical steps; ahead of him are Gödel, who probed the limits of formal systems, and Claude Shannon, whose work carried Boole's two-valued algebra straight into the digital age. When you run a search with AND and OR, or when any computer adds two numbers, you are using the algebra Boole laid down in this book.

The original document
Original source text
George Boole · An Investigation of the Laws of Thought · London: Walton and Maberly, 1854
Chapter I — Nature and design of this work
The design of the following treatise is to investigate the fundamental laws of those operations of the mind by which reasoning is performed; to give expression to them in the symbolical language of a Calculus, and upon this foundation to establish the science of Logic and construct its method; to make that method itself the basis of a general method for the application of the mathematical doctrine of Probabilities; and, finally, to collect from the various elements of truth brought to view in the course of these inquiries some probable intimations concerning the nature and constitution of the human mind.
The universe of discourse: 0 and 1
Boole lets a literal symbol such as x stand for a class — say, all white things — and writes xy for the things that are at once x and y. He fixes the bounds of the discussion with two limiting symbols: 0 for Nothing, and 1 for the Universe — the class “comprehending every conceivable class of objects whether actually existing or not.” Every other class is some selection within that 1.
The fundamental law of thought
Because a class selected twice over is the same class — the white things among the white things are simply the white things — the symbols obey x·x = x, which Boole writes x² = x. In ordinary algebra only 0 and 1 satisfy that equation; that is the hinge of the whole book.
Let us conceive, then, of an Algebra in which the symbols x, y, z, &c. admit indifferently of the values 0 and 1, and of these values alone.
That axiom of Metaphysicians which is termed the principle of contradiction, and which affirms that it is impossible for anything to possess a quality, and in the same time not to possess it, is a consequence of the fundamental law of thought, whose expression is x² = x.
[ … ]
The second half of the treatise carries the same symbolic method into the theory of probabilities, treating a probability as a value between 0 and 1 and deriving the probability of compound events from the logical relations among them.
Queen's College, Cork · 1854