Boolean Algebra
CIE A-Level Computer ScienceΒ· Unit 3: Hardware, Topic 2Β· 5 min read
1. Core Definitions and Laws of Boolean Algebraβ β ββββ± 15 min
π« No Calculator
Boolean Algebra
Variables: ; Operations: (AND), (OR), (NOT)
A mathematical system for binary logical operations, used to design and simplify digital logic circuits
Example:
(identity law for OR)
Identity laws: ,
Annulment laws: ,
Idempotent laws: ,
Complement laws: , ,
Commutative laws: ,
Associative laws: ,
Distributive laws: ,
Simplify the expression
- 1
Start with the original expression:
- 2
- 3
Match to the second distributive rule , reverse to simplify:
- 4
Final simplified expression:
- 5
Exam tip:
No formula booklet is provided for these laws, so you must memorize all core rules for the exam.
2. De Morgan's Theoremsβ β β βββ± 20 min
π« No Calculator
De Morgan's Theorems
- ; 2.
Two fundamental rules that allow you to invert any Boolean expression by swapping AND/OR operations and inverting every literal
Example:
Simplify using De Morgan's theorem
- 1
Apply De Morgan's to the inverted sum:
- 2
Swap OR to AND, invert each literal:
- 3
- 4
Cancel double negation: , :
- 5
Final result:
- 6
3. Simplifying Complex Boolean Expressionsβ β β βββ± 25 min
π« No Calculator
Most exam questions require you to simplify a multi-term expression using a combination of core laws and De Morgan's theorems. You must show all working to earn full marks, even if your final answer is correct.
Simplify the expression
- 1
Rewrite the term by multiplying by (complement law):
- 2
- 3
Substitute back into the original expression:
- 4
- 5
Group common terms and apply annulment law :
- 6
- 7
Apply identity law to get the final simplified expression:
- 8
Test your understanding:
What is the simplified form of ?
Reveal answer
$A' + B$ βCorrect. Apply De Morgan's:
4. Sum of Products and Product of Sumsβ β β β ββ± 15 min
π« No Calculator
Sum of Products (SOP) / Product of Sums (POS)
Two standard forms for Boolean expressions. SOP is OR of AND terms; POS is AND of OR terms. SOP is most commonly used for implementing logic circuits with standard gates.
Example:
SOP: ; POS:
CIE often asks to convert between POS and SOP forms, which you can do using the distributive law and simplification rules.
Convert the POS expression to SOP form
- 1
Expand the product using the distributive law:
- 2
- 3
Simplify (complement law):
- 4
- 5
Apply identity law to get the final SOP:
- 6
5. Common Pitfalls
Wrong move:
Forgetting to invert all variables when applying De Morgan's, writing
Why:
De Morgan's requires swapping the operation AND inverting every literal in the expression
Correct move:
The correct form is : swap OR to AND, invert both literals
Wrong move:
Misapplying the distributive law, writing
Why:
Boolean algebra follows different rules to ordinary algebra, and factoring does not work the same way
Correct move:
The correct rule is
Wrong move:
Not showing each step of simplification in the exam
Why:
CIE awards method marks for each correct application of a law, even if the final answer is wrong
Correct move:
Write every simplification step explicitly, and name the law you use if the question asks for it
Wrong move:
Mixing up annulment laws, writing
Why:
Confusing identity laws (where 0 or 1 leave the variable unchanged) with annulment laws
Correct move:
Remember: OR with 1 (true) is always 1, AND with 0 (false) is always 0: ,
Wrong move:
Forgetting double negation cancels out, writing
Why:
Overlooking the complement law for double inversion when simplifying
Correct move:
Inverting a variable twice returns the original value:
6. Quick Reference Cheatsheet
Law Name | Rule 1 | Rule 2 |
|---|---|---|
Identity | ||
Annulment | ||
Idempotent | ||
Complement | ||
Double Negation | ||
Commutative | ||
Associative | ||
Distributive | ||
De Morgan's |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2022 Β· 12
Simplify Boolean expression
- 2023 Β· 11
Apply De Morgan's theorem
- 2024 Β· 13
Convert to SOP form
Going deeper
What's Next
Boolean algebra is the foundational mathematical system for all digital logic design, and the simplification skills you learned here will be applied to all subsequent hardware topics in CIE 9618. You will use these skills to design combinational logic circuits from problem statements, and later to analyze sequential logic circuits that include memory elements. An alternative method for simplifying larger Boolean expressions, Karnaugh maps (K-maps), is also examined by CIE, and builds directly on the concepts covered here. Mastering this sub-topic will make all advanced logic design topics much easier to understand.
