Mathematics and Statistics · Ch 1 — Mathematical Logic
Application: Switching Circuits
Application: Switching Circuits
The algebra of statements turns out to describe electrical switching circuits exactly, which is why logic underlies the design of every digital device. This application closes the chapter and is a regular source of examination problems.
The dictionary. A switch in a circuit is represented by a statement (a letter ). A switch is in one of two states, matched to the two truth values:
- closed — current passes — corresponds to ;
- open — current is blocked — corresponds to .
Two switches and can be wired in two basic ways:
- Series (one after the other): current flows only if both are closed. A series connection is the conjunction .
- Parallel (side by side, on separate branches): current flows if at least one is closed. A parallel connection is the disjunction .
Two switches that always act oppositely — one closed exactly when the other is open — are represented by and and are called complementary switches. Switches wired to open and close together are written with the same letter.
Symbolic form of a circuit. Read the circuit from one terminal to the other, writing for each series link and for each parallel split, respecting the grouping of the branches with brackets. For instance, a switch in series with a parallel pair has the symbolic form .
Simplifying a circuit. A circuit "works" (lets current through) exactly when its symbolic form is true. Two circuits with logically equivalent symbolic forms therefore behave identically, so a complicated circuit can be replaced by any simpler equivalent one — using fewer switches, which is cheaper to build. The method is:
- write the circuit's symbolic form;
- simplify it with the algebra of statements (Section 5), aiming for complement pairs (, ) and absorption;
- read the simplified form back as a circuit.
For example, the form simplifies, by the distributive law and then the complement and identity laws, to — a two-branch, four-switch circuit that does exactly the same job as a single switch . This is precisely the kind of saving the algebra of statements delivers in practice.
The two circuits in that example, described in words between the same pair of terminals L and R, are: …
A component represented by a statement letter; it is closed (current passes, truth value T) or open (current blocked, truth value F). Two switches that are always in opposite states are …
Switches in series (one after another) pass current only when both are closed, modelled by conjunction (p and q); switches in parallel (separate branches) pass current when at least one is closed …