Boolean Algebra Laws

Context: FIT1058_MOC · FIT1047_MOC · the equivalences that govern connectives · proved by truth tables · the logical mirror of set algebra · used to simplify and to build normal forms — and, in FIT1047, to shrink circuits before Karnaugh Maps make it systematic

Quick Revision

  • 🎯 Objective: equivalences transforming one Boolean expression into another ➔ simplify, or decide equivalence without a full truth table.
  • 📦 Core Components: commutative / associative / idempotent / complement / identity / null / absorption / distributive / De Morgan.
  • ⚡ Key Constraint: two distributive laws (unlike numbers); same laws as set algebra; simpler expression ⟹ simpler circuit.

📝 Core

1. Tautology & Equivalence

  • Tautology ➔ always true (truth-table column all T).
  • Logically equivalent () ➔ identical truth tables ⟺ a tautology.
  • Laws ➔ standard equivalences to rewrite Boolean expressions; each is universally true (“law of nature” for logic).

2. The Dual Laws

  • Paired forms ➔ each -law has a -dual (commutative, associative, idempotent, complement/inverse, identity, null/annihilator, absorption, double complement).
  • Distributive (both ways) and .
  • De Morgan, .

3. Reducing Other Connectives

  • Implication.
  • Biconditional.
  • Xor ➔ shows suffices (Universal Sets of Operations).

4. Circuit Notation & Why Simplify (FIT1047)

  • Engineering notation ➔ AND: (or ) · OR: (or ) · NOT: (or ) · constants for T/F.
  • Precedence ➔ NOT binds tightest, then AND, then OR: reads .
  • Law names in circuit dress ➔ Identity , · Null , · Idempotent · Inverse , · Absorption , · De Morgan .
  • Why simplify ➔ simpler expression ⟹ simpler circuitcheaper, smaller, more power-efficient, faster — the whole point of the algebra in hardware.
  • Limit of hand algebra ➔ law-chasing is unsystematic; Karnaugh Maps give a guaranteed-minimal method for ≤6 variables.

⚖️ Core Decision Matrix

UseGoalTool
simplifysmaller equivalentapply laws left-to-right
decide equivalenceavoid full truth tablereduce both to a normal form
set analoguetransfer results, , complement
minimise a circuitguaranteed simplest SOPKarnaugh Maps (systematic) over ad-hoc laws

When It Flips: every law mirrors a set law under , , complement, , — so set and logical De Morgan are the same statements.

📊 Exam Execution Trace

Manual Execution Trace

Simplify :

Step / StateExpressionLaw used
0 (Init)
1distributive
2complement
3identity

⚠️ Common Mistakes

  • 💡 Logic has TWO distributive laws ➔ both directions hold; number algebra only has over ().
  • 💡 Precedence slips in circuit notation — the bar’s extent matters; De Morgan converts between them at the cost of swapping the operator.

🧠 Active Recall