Go back to UGC NET COMUPTER SCIENCE
UGC NET Computer Science Application – Unit 1 – Boolean Algebra
(Boolean Functions, Representations, Simplification)
1. BOOLEAN ALGEBRA
Definition
A Boolean Algebra is an algebraic structure
with elements 0 and 1, and three operations:
-
OR →
-
AND →
-
NOT →
It satisfies the following axioms for all :
-
Commutative laws
-
-
Associative laws
-
-
Distributive laws
-
-
Identity elements
-
-
Complement
-
2. BOOLEAN FUNCTIONS
Definition
A Boolean function of n variables is a mapping:
Example:
(This is XOR.)
Truth Tables
A Boolean function can be represented by a truth table listing all input combinations and outputs.
Example
Function :
| x | y | y′ | f |
|---|---|---|---|
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
3. REPRESENTATION OF BOOLEAN FUNCTIONS
Boolean functions can be represented in canonical forms:
A. Sum of Products (SOP)
A function written as OR of AND terms.
Definition
SOP form consists of minterms (product terms in which every variable appears in complemented or uncomplemented form).
Example
Canonical SOP (Minterm Form)
where are minterms where output = 1.
Example
Given truth table output = 1 for minterms 1, 3, 4 →
B. Product of Sums (POS)
Function written as AND of OR terms.
Definition
POS form consists of maxterms (sum terms where each variable appears).
Canonical POS
Where are maxterms for output = 0.
Example
Output is 0 for rows 2 and 5 →
⭐ C. Other Representations
-
Boolean Expression (normal algebraic form)
-
K-map Representation
-
Logic Circuit representation (using AND/OR/NOT gates)
4. MINTERMS & MAXTERMS
Minterm
A minterm is a product term containing all variables exactly once (either complemented or not).
Example (3 variables):
Maxterm
A maxterm is a sum term containing all variables.
Example:
5. SIMPLIFICATION OF BOOLEAN FUNCTIONS
Simplification reduces Boolean expressions to minimum number of literals and gates.
Methods:
-
Boolean Algebra Laws
-
Karnaugh Maps (K-Maps)
-
Quine–McCluskey method (tabular, for large expressions)
6. SIMPLIFICATION USING BOOLEAN LAWS
Example
Simplify
Solution:
Example
Solution (Absorption law):
Example
Solution (Using algebra):
7. KARNAUGH MAP (K-MAP) SIMPLIFICATION
K-maps group adjacent 1s to simplify expressions.
Rules
-
Groups must be of size 1, 2, 4, 8, …
-
Groups must be powers of 2
-
Wrap-around grouping is allowed
-
Larger groups → simpler answer
Example (2-variable K-map)
| AB | 0 | 1 |
|---|---|---|
| 00 | 1 | 0 |
| 01 | 1 | 1 |
Minterms:
Group m0 & m1 → gives A′
Group m1 & m3 → gives B
So simplified form:
8. QUINE–McCLUSKEY METHOD
Used for systematic algebraic simplification when variables > 4.
Steps:
-
List minterms in binary.
-
Group by number of 1s.
-
Combine terms that differ in only one bit.
-
Find prime implicants.
-
Identify essential prime implicants.
-
Construct minimal expression.
9. PRIME IMPLICANTS
Definition
A prime implicant is a product term obtained by grouping 1s that cannot be combined further.
10. ESSENTIAL PRIME IMPLICANTS
Definition
A prime implicant that contains at least one minterm not covered by any other implicant.
These must appear in the simplified expression.
11. LOGIC GATE REPRESENTATION
Boolean expressions can be drawn using:
-
AND gates
-
OR gates
-
NOT gates
-
NAND / NOR universal gates
Example
Expression:
Circuit:
-
AND gate for
-
OR gate to add
Quick Summary for Exam
| Topic | Key Idea |
|---|---|
| Boolean Algebra | Deals with 0/1 logic |
| Representations |
SOP, POS, minterms, maxterms |
| Simplification | Laws, K-maps, QM method |
| Canonical Forms |
Unique representations |
| Prime Implicants | Largest groups of 1s |
| Essential |
Must be included in final expression |
