The History of AI

An Investigation of the Laws of Thought

Era 1 · The foundations (1763–1942) › Logic and the foundations of mathematics

Lineage
Symbols and logic
Kind
Publication

Who

Queen's College, Cork

What happened

Boole, by now a professor in Cork, publishes An Investigation of the Laws of Thought, on which are founded the Mathematical Theories of Logic and Probabilities.

Why it mattered

It organizes and extends the algebra of logic of 1847 and applies it to probability. With Jevons's change, it is the Boolean algebra that describes digital circuits eighty years later.

The full story

Seven years after the first pamphlet came Boole's major work. The title states the ambition: to find the laws by which the mind reasons, write them down as algebra, and build logic and the theory of probability on them.

The book organizes and extends the system of 1847. It adds a general method for drawing conclusions from a set of premises, and the "rule of 0 and 1": the equations of logic can be handled like those of ordinary algebra if the letters can only take the values 0 or 1. From this comes the law x² = x, which sets this calculus apart from everyday algebra: taking the same class twice gives the same class.

The second part applies the calculus to probability, and Boole goes so far as to propose using this logic and probability to study social data.

Boole died in 1864, at 49. That same year William Stanley Jevons changed addition to mean union, so that x + x = x, and gave the first version of the algebra that now carries Boole's name. That two-valued algebra is the one Claude Shannon applied to relay circuits in 1937, which is why this book stands at the origin of computer logic.

Under the hood

Boole writes classes as letters and intersection as a product: xy is the set of things that are in both x and y. From this comes the fundamental law, x² = x, which only the numbers 0 and 1 satisfy. That is why Boole can treat the equations of logic like those of algebra, provided the letters take only the values 0 or 1.

In Jevons's version, the one used today, addition is union and satisfies x + x = x. With 1 as true and 0 as false, the product is AND, the sum is OR, and 1 − x is NOT. A digital circuit computes exactly these three operations.

Side by side

The three operations of Boolean algebra
Casexyx · y (AND)x + y (OR)1 − x (NOT)
Case 100001
Case 201011
Case 310010
Case 411110

Videos

Builds on

  • The Mathematical Analysis of Logic (1847)

    Documented direct influence

    Boole wrote The Laws of Thought to clarify and correct The Mathematical Analysis of Logic, which already held an outline of the book and some parts worked out in full

Leads to

Threads that pass through here

Sources

Scholarship and context

How to cite

“An Investigation of the Laws of Thought.” The History of AI, revised November 13, 2026. https://thehistoryofai.com/en/milestone/boole-laws-of-thought

This entry was last reviewed on November 13, 2026.

Open in the interactive timeline