Convert the logic diagram into a Boolean expression, simplify that expression by applying Boolean algebra laws, and then redraw the circuit from the simplified result. The new diagram must produce the same output for every possible combination of inputs.
Start at the input variables and work towards the output. Represent AND using , OR using , and NOT using a bar, such as . Use brackets to preserve the order in which gates operate.
Work systematically rather than simplifying the picture by inspection. First, write an expression for each intermediate gate. Next, substitute those expressions into the final output expression. Then simplify one step at a time. Because Boolean operators do not follow ordinary arithmetic in every case, keep the original grouping until a named law justifies changing it.
The most useful rules include:
| Rule | Boolean form |
|---|---|
| Identity | , |
| Null | , |
Look for repeated variables, complements, and common factors. Factoring often exposes a complement pair, while absorption can remove a whole branch. If a NOT gate applies to a grouped expression, use De Morgan's law and invert both the operator and every input.
For example, suppose a diagram gives:
Factor out using the distributive law:
Apply the complement rule, :
Finally, apply the identity rule:
Therefore, the entire original circuit can be replaced by a direct connection from input to output . A truth table could confirm that both circuits are logically equivalent.
Verify equivalence with truth tables: the original and simplified output columns must match for every input combination. This checks algebraic errors.
In an IB Computer Science response, show each algebraic step and name or clearly apply the relevant law. A common misconception is that gates may be removed because they appear redundant; instead, you must prove redundancy algebraically or by comparing truth tables.