Boolean Algebra
Aligned to the AQA 7517 specification
- Level
- Intermediate
- Reading time
- 6 min
- Published
- 13 June 2026
- Updated
- 1 July 2026
On this page
Key takeaways
- Boolean algebra provides a set of rules for manipulating logical expressions, where variables take only two values: 0 (false) and 1 (true).
- De Morgan's laws are NOT(A AND B) = NOT A OR NOT B and NOT(A OR B) = NOT A AND NOT B: every term is negated and the operator flips.
- The complement laws state A AND NOT A = 0 and A OR NOT A = 1; a variable AND its inverse is always 0, and a variable OR its inverse is always 1.
- The absorption laws are A AND (A OR B) = A and A OR (A AND B) = A, where the second term is absorbed because A already determines the result.
- Simplifying a Boolean expression reduces the number of terms and operations, which corresponds to using fewer logic gates in a circuit.
Worth saving these ideas?
Turn what you've read into instant revision cards. Free to get started.
Key terms
- Boolean algebra
- A set of rules for manipulating logical expressions, where variables take only the values 0 (false) and 1 (true).
- Identity laws
- The laws A AND 1 = A and A OR 0 = A, where AND with 1 or OR with 0 leaves the variable unchanged.
- Null / domination laws
- The laws A AND 0 = 0 and A OR 1 = 1, where AND with 0 always gives 0 and OR with 1 always gives 1.
- Idempotent laws
- The laws A AND A = A and A OR A = A, where AND-ing or OR-ing a variable with itself returns the same variable.
- Complement laws
- The laws A AND NOT A = 0 and A OR NOT A = 1, relating a variable to its inverse.
- Double negation
- The law NOT(NOT A) = A, where inverting twice returns the original value.
- Distributive laws
- The laws A AND (B OR C) = (A AND B) OR (A AND C) and A OR (B AND C) = (A OR B) AND (A OR C).
- Absorption laws
- The laws A AND (A OR B) = A and A OR (A AND B) = A, where the second term is absorbed because A already determines the result.
- De Morgan's laws
- The laws NOT(A AND B) = NOT A OR NOT B and NOT(A OR B) = NOT A AND NOT B, relating AND to OR through negation.
Frequently asked questions
De Morgan's laws are NOT(A AND B) = NOT A OR NOT B and NOT(A OR B) = NOT A AND NOT B. In words, the NOT of an AND equals the OR of the NOTs, and the NOT of an OR equals the AND of the NOTs. Every term is negated and the operator flips.
Simplifying reduces the number of terms and operations in an expression, which corresponds to using fewer gates in a circuit. Fewer gates means cheaper hardware, faster operation, and each term saved removes one logic gate.
A very common mistake is negating the terms but failing to flip the operator, for example writing NOT(A AND B) = NOT A AND NOT B, which is wrong. The correct result is NOT(A AND B) = NOT A OR NOT B: the AND must become OR, and every term must be negated.
Generate revision on any topic you study
Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.
Lessons on anything
Structured, level-matched lessons on any topic you study
Practice quizzes
Find out what you actually know before the exam does
Flashcard sets
Lock in key concepts with instant revision cards
Ask Aica
Stuck on something? Get a clear explanation, any time
Logic Gates and Circuits
CPU Architecture and the Stored Program Concept
Related lessons
5 min
6 min
Processor Components and the Fetch-Execute Cycle
A-Level Computer Science · AQA 7517
1 month ago