X·Y + X̄·Z + Y·Z̄ — Boolean simplification

exam standardabsorption after consensus; Y absorbs two terms

Answer

X′ · Z + Y

Why this example is worth doing

Deliberately not written in A, B, C — problem sets use X, Y, Z, and P, Q, R for propositional logic, and a tool that silently renames variables produces an answer the student cannot hand in. Substantively this one needs two laws in sequence: X·Y and Y·Z̄ have consensus, and once the dust settles Y absorbs both of the terms containing it, leaving a sum of one single literal and one product. Stopping after the first law leaves a three-term answer that looks finished.

Try your own input in the Boolean algebra simplifier. Simplify any expression to its minimal SOP and POS, one named law at a time.

How the answer is reached

Step by step

X · Y + X′ · Z + Y · Z′X · Y + X′ · Z + X′ · Z + Y · Z′Idempotent — A + A = A

X · Y + X′ · Z + X′ · Z + Y · Z′X · Y + X′ · Z + X′ · Z · 1 + Y · Z′Identity — A · 1 = A

X · Y + X′ · Z + X′ · Z · 1 + Y · Z′X · Y + X′ · Z + X′ · Z · (Y + Y′) + Y · Z′Complement — A + A' = 1

X · Y + X′ · Z + X′ · Z · (Y + Y′) + Y · Z′X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + Y · Z′Factoring (distributive, right to left) — A · B + A · C = A · (B + C)

X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + Y · Z′X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + Y · Z′ · 1Identity — A · 1 = A

X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + Y · Z′ · 1X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + Y · Z′ · (X + X′)Complement — A + A' = 1

X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + Y · Z′ · (X + X′)X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + X · Y · Z′ + X′ · Y · Z′Factoring (distributive, right to left) — A · B + A · C = A · (B + C)

X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + X · Y · Z′ + X′ · Y · Z′X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + X′ · Y · Z′Absorption — A + A · B = A

X · Y + X′ · Z + X′ · Y · Z + X′ · Y′ · Z + X′ · Y · Z′X · Y + X′ · Z + X′ · Y · (Z + Z′) + X′ · Y′ · ZFactoring (distributive, right to left) — A · B + A · C = A · (B + C)

X · Y + X′ · Z + X′ · Y · (Z + Z′) + X′ · Y′ · ZX · Y + X′ · Z + X′ · Y · 1 + X′ · Y′ · ZComplement — A + A' = 1

X · Y + X′ · Z + X′ · Y · 1 + X′ · Y′ · ZX · Y + X′ · Z + X′ · Y + X′ · Y′ · ZIdentity — A · 1 = A

X · Y + X′ · Z + X′ · Y + X′ · Y′ · ZY · (X + X′) + X′ · Z + X′ · Y′ · ZFactoring (distributive, right to left) — A · B + A · C = A · (B + C)

Y · (X + X′) + X′ · Z + X′ · Y′ · ZY · 1 + X′ · Z + X′ · Y′ · ZComplement — A + A' = 1

Y · 1 + X′ · Z + X′ · Y′ · ZY + X′ · Z + X′ · Y′ · ZIdentity — A · 1 = A

Y + X′ · Z + X′ · Y′ · ZY + X′ · ZAbsorption — A + A · B = A

Y + X′ · ZX′ · Z + YCommutative — A + B = B + A

Warning:

X · Y + X′ · Z + Y · Z′ simplifies to X′ · Z + Y in 16 steps. That is a proven minimum (2 terms, 3 literals), not a best effort. It is the only minimum-cost form.

Quine–McCluskey

Prime implicants — Quine–McCluskey
#Term
1X′ · Z
2Y
Minimum cover — Quine–McCluskey
#Cover
1X′ · Z + Y
Warning:

2 term(s), 3 literal(s); 2 essential prime implicant(s).

Truth table

Truth table — columns #, X, Y, Z, F
#XYZF
00000
10011
20101
30111
41000
51010
61101
71111

Compare with

Open this example in the Boolean algebra simplifier

The field arrives filled in with this example’s input.

Note:

Notation this page assumes

  • Symbols: · is AND, + is OR, ⊕ is XOR, a prime or an overline is NOT. The field also takes ∧ ∨ ¬ ~ ! & | and the words.
  • Operator precedence, tightest first: NOT, then AND (including juxtaposition), then XOR/XNOR, then NAND/NOR, then OR, then IMPLIES, then IFF.
  • In a minterm index the first variable is the most significant bit, so over [A, B, C] minterm 5 is A·B̄·C.

Sources

  • Boole, An Investigation of the Laws of Thought (1854)
  • Shannon, “A Symbolic Analysis of Relay and Switching Circuits” (1938)