Skip to content
BetterDL

Distributive law

Also called: distributive, distribution, distributive laws, distributive property, multiplying out

The Boolean laws A(B + C) = AB + AC and A + BC = (A + B)(A + C). AND distributes over OR, and OR also distributes over AND.

The distributive law is the one that mixes AND with OR. It has two forms.

1. AND over OR: =

This is ordinary "multiplying out brackets". Read right to left, it is factoring: pulling a shared literal out of several terms.

2. OR over AND: =

This one has no match in ordinary arithmetic (2 + 3 × 4 is not 5 × 6), so it surprises people. It is true in Boolean algebra: if A = 1 both sides are 1, and if A = 0 both sides reduce to . See or over and.

Why it matters:

  • Multiplying out turns any expression into a sum of products, the standard starting point for simplification.
  • Factoring is the first move of combining terms and of many proofs, such as = .
  • The OR-over-AND form turns an SOP into a product of sums, and collapses brackets like in one step.
00000
00100
01000
01111
10011
10111
11011
11111

Worked examples

Example

Multiplying out

Expand .

  1. 1.

    Multiply each term of the first bracket by each term of the second: .

  2. 2.

    = 0 and = 0 (complement law).

  3. 3.

    What is left: , which is 1 exactly when A and B differ (XOR).

Example

Collapsing brackets with OR over AND

Simplify .

  1. 1.

    Match the pattern = with X = B, Y = , Z = .

  2. 2.

    So the expression is .

  3. 3.

    contains both A and , so it is 0 (complement law).

  4. 4.

    Result: = B.

Common mistakes

  • Forgetting the second form exists, and multiplying out the long way.

  • Applying OR over AND wrongly, for example = . Each bracket needs its own copy of A.

  • Missing a cross term when multiplying out. Every term in one bracket must meet every term in the other.

Practice Distributive law

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Distributive law is taught in Boolean Algebra.