ArticleslgStudy

mathematics

Boole's expansion theorem

Boole's expansion theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Boole's expansion theorem rather than just read about it. In short: Boole's expansion theorem, often referred to as the Shannon expansion or Shannon decomposition, is the identity F=x⋅Fx+x′⋅Fx′, where F is any Boolean function, x is a variable, x′ is the complement of x, and Fxand Fx′ are F with the argument x set equal to 1 and to 0 respectively. The terms Fx and Fx′ are sometimes called the positive and negative Shannon cofactors, respectively, of F with respect to x.

Key takeaways

  • Boole's expansion theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Boole's expansion theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Boole's expansion theorem from memory before moving on to harder problems.

Reference excerpt

Boole's expansion theorem, often referred to as the Shannon expansion or Shannon decomposition, is the identity F=x⋅Fx+x′⋅Fx′, where F is any Boolean function, x is a variable, x′ is the complement of x, and Fxand Fx′ are F with the argument x set equal to 1 and to 0 respectively. The terms Fx and Fx′ are sometimes called the positive and negative Shannon cofactors, respectively, of F with respect to x. These are functions, computed by the restrict operator, restrict⁡(F,x,0) and restrict⁡(F,x,1). (See also valuation and partial application.) The theorem has been called the "fundamental theorem of Boolean algebra". Besides its theoretical importance, it paved the way for binary decision diagrams (BDDs), satisfiability solvers, and many other techniques relevant to computer engineering and formal verification of digital circuits. In such contexts, particularly in BDDs, the expansion is interpreted as an if-then-else, with the variable x being the condition and the cofactors being the branches (Fx when x is true and respectively Fx′ when x is false).

Statement of the theorem A more explicit way of stating the theorem is:

f(X1,X2,…,Xn)=X1⋅f(1,X2,…,Xn)+X1′⋅f(0,X2,…,Xn)

Variations and implications XOR-Form The statement also holds when the disjunction "+" is replaced by the XOR operator: f(X1,X2,…,Xn)=X1⋅f(1,X2,…,Xn)⊕X1′⋅f(0,X2,…,Xn) Dual form There is a dual form of the Shannon expansion (which does not have a related XOR form): f(X1,X2,…,Xn)=(X1+f(0,X2,…,Xn))⋅(X1′+f(1,X2,…,Xn)) Repeated application for each argument leads to the Sum of Products (SoP) canonical form of the Boolean function f. For example, for n=2 that would be

f(X1,X2)=X1⋅f(1,X2)+X1′⋅f(0,X2)=X1X2⋅f(1,1)+X1X2′⋅f(1,0)+X1′X2⋅f(0,1)+X1′X2′⋅f(0,0) Likewise, application of the dual form leads to the Product of Sums (PoS) canonical form (using the distributivity law of + over ⋅):

f(X1,X2)=(X1+f(0,X2))⋅(X1′+f(1,X2))=(X1+X2+f(0,0))⋅(X1+X2′+f(0,1))⋅(X1′+X2+f(1,0))⋅(X1′+X2′+f(1,1))

Properties of cofactors Linear properties of cofactors: For a Boolean function F which is made up of two Boolean functions G and H the following are true: If F=H′ then Fx=H'x If F=G⋅H then Fx=Gx⋅Hx If F=G+H then Fx=Gx+Hx If F=G⊕H then Fx=Gx⊕Hx Characteristics of unate functions: If F is a unate function and... If F is positive unate then F=x⋅Fx+Fx′ If F is negative unate then F=Fx+x′⋅Fx′

Operations with cofactors Boolean difference: The Boolean difference or Boolean derivative of the function F with respect to the literal x is defined as: ∂F∂x=Fx⊕Fx′ Universal quantification: The universal quantification of F is defined as: ∀xF=Fx⋅Fx′ Existential quantification: The existential quantification of F is defined as: ∃xF=Fx+Fx′

History George Boole presented this expansion as his Proposition II, "To expand or develop a function involving any number of logical symbols", in his Laws of Thought (1854), and it was "widely applied by Boole and other nineteenth-century logicians". Claude Shannon mentioned this expansion, among other Boolean identities, in a 1949 paper, and showed the switching network interpretations of the identity. In the literature of computer design and switching theory, the identity is often incorrectly attributed to Shannon.

Application to switching circuits Binary decision diagrams follow from systematic use of this theorem Any Boolean function can be implemented directly in a switching circuit using a hierarchy of basic multiplexer by repeated application of this theorem.

See also Reed–Muller expansion

References

External links Shannon’s Decomposition Example with multiplexers. Optimizing Sequential Cycles Through Shannon Decomposition and Retiming (PDF) Paper on application.

Worked examples

Example 1 — a first encounter with Boole's expansion theorem

Start with the simplest possible case. Write down what Boole's expansion theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Boole's expansion theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Boole's expansion theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Boole's expansion theorem

In research
Boole's expansion theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Boole's expansion theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Boole's expansion theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Boolean algebra, Theorems in lattice theory, so understanding it makes those chapters shorter.
In everyday life
Look for Boole's expansion theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Boole's expansion theorem” →

How to study Boole's expansion theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Boole's expansion theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Boole's expansion theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Boole's expansion theorem in simple terms?

Boole's expansion theorem, often referred to as the Shannon expansion or Shannon decomposition, is the identity F=x⋅Fx+x′⋅Fx′, where F is any Boolean function, x is a variable, x′ is the complement of x, and Fxand Fx′ are F with the argument x set equal to 1 and to 0 respectively. The terms Fx and…

Why does Boole's expansion theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Boole's expansion theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Boole's expansion theorem.

Tags

  • Boolean algebra
  • Theorems in lattice theory

Keep exploring