Meaning and assumptions
Boolean algebra describes expressions with exactly two truth values. De Morgan’s laws interchange AND and OR when negating a compound expression, and negate both operands. Truth tables verify equivalence; minterms and small Karnaugh maps support transparent simplification.[1]
Two-valued variables A, B∈{0,1}, with defined AND, OR and NOT operations. Preserve parentheses and operator precedence. Karnaugh groups require appropriate adjacent cells in Gray order; this is not a universal automatic circuit optimiser.[1]
Why the approach works
Two expressions are equivalent when they agree on every input assignment. Four rows are exhaustive for two variables.“Not both are true”holds exactly when at least one input is false, which explains the first De Morgan law. Dually,“neither is true”means both are false. A sum-of-products form combines minterms from the1-rows. Distribution, complement and absorption can remove redundancies without changing the truth table.[1]
Two complete worked examples
An exhaustive equivalence check
- Given
- Compare¬(A∧B)and¬A∨¬B for all four assignments.
- Find
- Result
Enumerate inputs00,01,10,11.
Evaluate the right side on the same inputs.
Result: Result: the expressions are equivalent because every truth-table row agrees.
Check: For A=1, B=0, the left side is¬0=1 and the right side0∨1=1; A=B=1 gives0 on both sides.
From three minterms to a simpler function
- Given
- f=(¬A∧B)∨(A∧¬B)∨(A∧B).
- Find
- Result
Combine the two A terms first.
Simplify further by distribution or absorption.
Result: Result: f=A∨B.The truth table is0,1,1,1 in input order00,01,10,11.
Check: The two two-cell groups in the two-variable Karnaugh map overlap at11; overlap is permitted.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions
Calculate · Application
Rewrite¬(A∨B)using De Morgan.
Show hint
State the approach and assumptions before substituting.
Learning goal: Rewrite¬(A∨B)using De Morgan.
Show solution and calculation
¬A∧¬B.Negate both operands and change OR to AND.
Calculate · Application
Simplify A∨(A∧B).
Show hint
State the approach and assumptions before substituting.
Learning goal: Simplify A∨(A∧B).
Show solution and calculation
By absorption, the result is A.
Error analysis · Application
Is¬A∧B equivalent to¬(A∧B)?
Show hint
State the approach and assumptions before substituting.
Learning goal: Is¬A∧B equivalent to¬(A∧B)?
Show solution and calculation
No.
For A=0, B=0, the left side is1∧0=0 while the right is¬0=1.Parentheses change the scope of negation.
Transfer · Challenge
Give a sum-of-products form for two-input XOR.
Show hint
State the approach and assumptions before substituting.
Learning goal: Give a sum-of-products form for two-input XOR.
Show solution and calculation
(¬A∧B)∨(A∧¬B), meaning exactly one input is true.
Interpret · Application
May diagonal Karnaugh cells00 and11 form a two-cell group?
Show hint
State the approach and assumptions before substituting.
Learning goal: May diagonal Karnaugh cells00 and11 form a two-cell group?
Show solution and calculation
No.
They differ in both variables; adjacency here permits only one changing variable.
Check your understanding with the formula’s reference test.
5 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Related next steps
Related foundations: .
From truth tables to bounded Karnaugh groups
Two Boolean variables A and B have four assignments. In the order00,01,10,11, f=A∨B has values0,1,1,1. A sum-of-products form takes a minterm from each1-row and joins the minterms with OR: ¬A·B∨A·¬B∨A·B. Algebraic simplification or a Karnaugh map reduces this expression to A∨B.[2]
Each1-row contributes exactly one corresponding minterm.[2]
Karnaugh-map assignments use Gray order so neighbouring cells differ in exactly one variable. Valid groups have1,2,4,… cells, are rectangular and may wrap around boundaries. Here group the two A=1 cells and the two B=1 cells. Groups may overlap. A Karnaugh map is a learning and verification aid for a few variables, not an unlimited automatic circuit optimiser.[2]
Transfer · Challenge
Four-variable Karnaugh map: rows AB and columns CD both use00,01,11,10.Only the four corner cells are1.Which term describes this wraparound group?
Show hint
State the approach and assumptions before substituting.
Learning goal: Four-variable Karnaugh map: rows AB and columns CD both use00,01,11,10.Only the four corner cells are1.Which term describes this wraparound group?
Show solution and calculation
Corner rows share B=0 and corner columns D=0; A and C vary.
The term is¬B∧¬D, and the wraparound group is valid.
Sources for this explanation
Quanta · Updated November 6, 2026
- MIT6.004 Computation Structures,4 Combinational Logic
- MIT6.004 Computation Structures, Combinational Logic
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 6 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Locally authored DE/EN article with two original examples, five exercises, model limits and a native diagram.
- Clarified model limits and added a targeted worked application.
Cite this reference page
Quanta. Boolean algebra identities and De Morgan laws. Updated November 6, 2026. https://quanta-study.de/en/formula-sheet/boolesche-algebra-gesetze
When citing a specific scientific statement, also cite the specialist source linked to that statement.