Boolean algebra solver
Simplify a Boolean expression the way ISC Computer Science asks for it: the working law by law, the truth table, the K-map with its groups, the minimal SOP and POS forms, and the logic circuit - also with NAND or NOR gates only. Free, with nothing to sign up for.
Answer
- Minimal SOP
- F = XZ + Y
- Minimal POS
- F = (X + Y)(Y + Z)
- Minterms
- F(X, Y, Z) = Σ(2, 3, 5, 6, 7)
- Maxterms
- F(X, Y, Z) = π(0, 1, 4)
Read as (X + Z)(XY + YZ) + XZ + Y. It is a contingency (sometimes 1, sometimes 0).
Steps, law by law
F = (X + Z)(XY + YZ) + XZ + Y
- = X(XY + YZ) + Z(XY + YZ) + XZ + YDistributive law A(B + C) = AB + AC
- = XXY + XYZ + Z(XY + YZ) + XZ + YDistributive law A(B + C) = AB + AC
- = XY + XYZ + Z(XY + YZ) + XZ + YIdempotent law A.A = A
- = XY + Z(XY + YZ) + XZ + YAbsorption law A + AB = A
- = Z(XY + YZ) + XZ + YAbsorption law A + AB = A
- = ZXY + ZYZ + XZ + YDistributive law A(B + C) = AB + AC
- = ZXY + ZY + XZ + YIdempotent law A.A = A
- = ZY + XZ + YAbsorption law A + AB = A
- = XZ + YAbsorption law A + AB = A
Convert to POS, step by step
Work out F' as a sum of products, then F = (F')' by De Morgan's law.
- F' = (XZ + Y)'Complement F' = (F)'
- F' = (XZ)'Y'De Morgan's law (A + B)' = A'B'
- F' = (X' + Z')Y'De Morgan's law (AB)' = A' + B'
- F' = X'Y' + Z'Y'Distributive law A(B + C) = AB + AC
- F = (X'Y' + Z'Y')'Complement again F = (F')'
- F = (X'Y')'(Z'Y')'De Morgan's law (A + B)' = A'B'
- F = ((X')' + (Y')')(Z'Y')'De Morgan's law (AB)' = A' + B'
- F = (X + (Y')')(Z'Y')'Involution law (A')' = A
- F = (X + Y)(Z'Y')'Involution law (A')' = A
- F = (X + Y)((Z')' + (Y')')De Morgan's law (AB)' = A' + B'
- F = (X + Y)(Z + (Y')')Involution law (A')' = A
- F = (X + Y)(Z + Y)Involution law (A')' = A
Truth table
| X | Y | Z | X + Z | XY | YZ | XY + YZ | (X + Z)(XY + YZ) | XZ | (X + Z)(XY + YZ) + XZ | (X + Z)(XY + YZ) + XZ + Y |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
K-map
- XZ pair: cells 5, 7
- Y quad: cells 2, 3, 6, 7
- (X + Y) pair: cells 0, 1
- (Y + Z) pair: cells 0, 4
Canonical forms
SOP (sum of minterms)
F = X'YZ' + X'YZ + XY'Z + XYZ' + XYZ
POS (product of maxterms)
F = (X + Y + Z)(X + Y + Z')(X' + Y + Z)
Logic circuit





Practise on real ISC questions
- Given the Boolean function $F(A,B,C,D) = \Sigma(2, 3, 6, 7, 8, 10, 12, 14, 15)$. Reduce the above expression… 2023
- Find the dual for the Boolean equation: $AB' + BC' + 1 = 1$. 2020 Specimen
- If Sujata is in the merit list, then she is a topper ($Y \Rightarrow X$). Study the given propositions and… 2025 Improvement
- Reduce the Boolean function $F(A,B,C,D) = \pi (0,1,2,3,7,8,9,10,11,12,13,15)$ by using 4-variable Karnaugh… 2026
- The complement of the Boolean expression $(P + Q') \cdot (R' + P)$ is: 2025 Improvement
- Using the truth table, state whether the following proposition is a tautology, contingency or a… 2018
- The owner of a company pays bonus to his salesmen as per the criteria given below: If the salesman works… 2019
- If $(\sim p \Rightarrow \sim q)$ then its contra positive will be: 2023
- Post pandemic, to encourage the tourism industry in India, the Ministry of Tourism started a policy in which… 2025 Practice
- A Football Association coach analyses the criteria for a win/draw of his team depending on the following… 2024 Specimen