IFT 211 · Digital Logic Design
Our notes
2 min readBoolean variables
George Boole (1854) built an algebra for true and false; Claude Shannon (1938) showed it describes switching circuits. A Boolean variable is 0 or 1. Three basic operations:
- AND (AB): 1 only if both are 1.
- OR (A + B): 1 if at least one is 1.
- NOT (A'): the opposite value.
Laws
- Identity: A + 0 = A; A · 1 = A.
- Null: A + 1 = 1; A · 0 = 0.
- Idempotent: A + A = A; AA = A.
- Complement: A + A' = 1; AA' = 0.
- Involution: (A')' = A.
- Commutative, associative and distributive laws, including A + BC = (A + B)(A + C), which has no ordinary-algebra twin.
- Absorption: A + AB = A; A(A + B) = A.
- Also: A + A'B = A + B.
De Morgan's theorems
- (A + B)' = A'B'
- (AB)' = A' + B'
"Break the bar, change the sign." They let any circuit be built from NAND or NOR gates alone.
Worked example: simplify
F = AB + AB' + A'B
- AB + AB' = A(B + B') = A.
- F = A + A'B = A + B.
Check with a truth table: F is 0 only when A = B = 0, like OR.
Truth tables
List every combination of inputs (2ⁿ rows for n inputs) and the output. Two expressions are equal if their tables agree on every row.
Canonical forms
- Minterm: an AND term with every variable once (row where F = 1). Sum of minterms (SOP): F = Σm(...).
- Maxterm: an OR term with every variable (row where F = 0). Product of maxterms (POS): F = ΠM(...).
For F = A + B: F = Σm(1, 2, 3) = ΠM(0).
Worked example: from a truth table
A three-input majority function is 1 when two or more inputs are 1: rows 3, 5, 6 and 7. F = A'BC + AB'C + ABC' + ABC, which simplifies to AB + BC + AC.
Duality
Swap AND with OR and 0 with 1 in any true identity and you get another true identity: A + 0 = A becomes A · 1 = A.
Exams usually ask
- Prove identities with the laws; simplify expressions; apply De Morgan.
- Write SOP and POS forms from a truth table.
Common mistake
Writing (AB)' = A'B'. The correct result is A' + B'.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Boolean Rules for Simplification | Boolean Algebra | Electronics Textbook
(opens allaboutcircuits.com in a new tab)
-
DeMorgan’s Theorems | Boolean Algebra | Electronics Textbook
(opens allaboutcircuits.com in a new tab)
-
Boolean algebra
(opens en.wikipedia.org in a new tab)
Wikipedia, Boolean algebra, CC BY-SA 4.0 · licence
-
De Morgan's laws
(opens en.wikipedia.org in a new tab)
Wikipedia, De Morgan's laws, CC BY-SA 4.0 · licence
-
MIT OpenCourseWare: 6.004 Computation Structures (Spring 2017)
Whole course: short lecture videos and worksheets on digital logic and computer design.
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, MIT OpenCourseWare: 6.004 Computation Structures (Spring 2017), CC BY-NC-SA 4.0 · licence
-
NPTEL: Switching Circuits and Logic Design (IIT Kharagpur, Prof. Indranil Sengupta)
Video lectures, many hours in all: watch on Wi-Fi where you can.
(opens nptel.ac.in in a new tab)
NPTEL, NPTEL: Switching Circuits and Logic Design (IIT Kharagpur, Prof. Indranil Sengupta), CC BY-NC-SA 4.0 · licence
-
NPTEL: Digital Electronic Circuits (IIT Kharagpur, Prof. Goutam Saha)
Video lectures, many hours in all: watch on Wi-Fi where you can.
(opens nptel.ac.in in a new tab)
NPTEL, NPTEL: Digital Electronic Circuits (IIT Kharagpur, Prof. Goutam Saha), CC BY-NC-SA 4.0 · licence
-
NPTEL: Digital Circuits and Systems (IIT Madras, Prof. Shankar Balachandran)
Video lectures, many hours in all: watch on Wi-Fi where you can.
(opens nptel.ac.in in a new tab)
NPTEL, NPTEL: Digital Circuits and Systems (IIT Madras, Prof. Shankar Balachandran), CC BY-NC-SA 4.0 · licence
Watch
-
Best pick Boolean Algebra Examples (Part 1)
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
The Laws of Boolean Algebra Explained
19 min · ≈ 86 MB · about ₦48
(opens youtube.com in a new tab)
-
Boolean Algebra in 13 Minutes
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Fundamentals of Boolean Algebra
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Logic Gates, Truth Tables, Boolean Algebra AND, OR, NOT, NAND & NOR
54 min · ≈ 243 MB · about ₦136
(opens youtube.com in a new tab)
Practise
-
Boolean Algebra Worksheet (All About Circuits)
Questions with the answer under each one (tap "Reveal answer").
(opens allaboutcircuits.com in a new tab)
-
Sum-of-Products and Product-of-Sums Expressions Worksheet (All About Circuits)
Questions with the answer under each one (tap "Reveal answer").
(opens allaboutcircuits.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.