Study Guide

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

πŸ“˜ Definition

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: ,

πŸ“ Worked Example

Simplify the expression

  1. 1

    Start with the original expression:

  2. 2
    (A+B)β‹…(A+C)(A + B) \cdot (A + C)
  3. 3

    Match to the second distributive rule , reverse to simplify:

  4. 4

    Final simplified expression:

  5. 5
    X=A+(Bβ‹…C)=A+BCX = A + (B \cdot C) = A + BC

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

πŸ“˜ Definition

De Morgan's Theorems

  1. ; 2.

Two fundamental rules that allow you to invert any Boolean expression by swapping AND/OR operations and inverting every literal

Example:

πŸ“ Worked Example

Simplify using De Morgan's theorem

  1. 1

    Apply De Morgan's to the inverted sum:

  2. 2

    Swap OR to AND, invert each literal:

  3. 3
    (Aβ€²)β€²β‹…(Bβ€²)β€²(A')' \cdot (B')'
  4. 4

    Cancel double negation: , :

  5. 5

    Final result:

  6. 6
    X=Aβ‹…BX = A \cdot B

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.

πŸ“ Worked Example

Simplify the expression

  1. 1

    Rewrite the term by multiplying by (complement law):

  2. 2
    BC=BC(A+Aβ€²)=ABC+Aβ€²BCBC = BC(A + A') = ABC + A'BC
  3. 3

    Substitute back into the original expression:

  4. 4
    X=AB+Aβ€²C+ABC+Aβ€²BCX = AB + A'C + ABC + A'BC
  5. 5

    Group common terms and apply annulment law :

  6. 6
    X=AB(1+C)+Aβ€²C(1+B)=AB(1)+Aβ€²C(1)X = AB(1 + C) + A'C(1 + B) = AB(1) + A'C(1)
  7. 7

    Apply identity law to get the final simplified expression:

  8. 8
    X=AB+Aβ€²CX = AB + A'C
βœ“ Quick check

Test your understanding:

  1. 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

πŸ“˜ Definition

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.

πŸ“ Worked Example

Convert the POS expression to SOP form

  1. 1

    Expand the product using the distributive law:

  2. 2
    Aβ‹…Aβ€²+Aβ‹…C+Bβ€²β‹…Aβ€²+Bβ€²β‹…CA \cdot A' + A \cdot C + B' \cdot A' + B' \cdot C
  3. 3

    Simplify (complement law):

  4. 4
    0+AC+Aβ€²Bβ€²+Bβ€²C0 + AC + A'B' + B'C
  5. 5

    Apply identity law to get the final SOP:

  6. 6
    AC+Aβ€²Bβ€²+Bβ€²CAC + A'B' + B'C

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.