Unit 3 Boolean Algebra and Switching Circuits
Unit 3 Boolean Algebra and Switching Circuits
17
As an example, the dual of De Morgan9s law: ( a û b)' ý a 'ú b' is ( a ú b)' ý a'ûb'
Note: The dual of each axiom of a Boolean algebra is also an axiom, and this leads us
to the following theorem.
3.2.5 Theorem
The dual of any theorem in a Boolean algebra is also a theorem.
In other words, if any statement is a result of the axioms of a Boolean algebra, then
the dual is also a result of these axioms since the dual statement can be proved using
the dual of each step of the proof of the original statement.
3.2.5 Basic theorems
The five axioms in 3.2.1 do not include all the properties of sets and propositions
discussed in earlier units. However, the other properties are a direct result of the
axioms and these are listed as theorems as follows.
1 (Idempotent law) (i ) a û a ý a (ii) a ú a ý a
2 (i ) a û 1 ý 1 (ii) a ú 0 ý 0
3 (Involution law) ( a' )' ý a
4 (i) 1' ý 0 (ii) 0' ý 1
5 ( DeMorgan’s Law) (i) ( a û b)' ý a 'ú b' and (ii) ( a ú b)' ý a 'û b'
Proofs:
1(i) a ý a û 0 Identity law
ý a û (a ú a ' ) Complement law
ý (a û a) ú (a û a' ) Distributive law
ý (a û a) ú 1 Complement law
=aûa Identity law
18
Figure 3.1(a) Open switch Figure 3.1(b) Closed switch
A
A B
B
Notice that the circuit in Figure 3.2(a) is closed if both switch A and B are closed, and
open if at least one of them is open. Notice the similarity between this and the logical
operation of conjunction of two statements: The conjunction p ù q of two statements
p and q is true if both p and q are true, and false if at least one of them is false.
Accordingly, the switching circuit in (a) is denoted by A ù B
It is clear from Figure 3.2(b) that the network will permit the flow of current if either
A or B is closed or if both are closed. Because of the analogy between this and the
logical operation of disjunction, the switching circuit in (b) above is denoted by
Aú B.
An electrical network may also have two switches A and A' with the property that if
A is closed then A' is open.
A Boolean switching circuit design, in general, consists of series and parallel
connections and can be described symbolically using the connectives ù ,ú , '
3.3.1 Example
Describe the circuits below symbolically.
B
(a)
A
A'
b) A B'
A'
19
In circuit (a) switches B and A' are in parallel and so we can write B ú A' for the
small circuit they form. Now switch A is in series with B ú A' and so we can finally
describe circuit (a) by A ù ( B ú A' ) . Using the same argument circuit (b) can be
described by ( A ù B' ) ú [( A'úC ) ù B] .
Now let 1 and 0 denote, respectively, that a switch or circuit is on and that a switch or
circuit is off. The next two tables describe the behaviour of a series circuit A ù B and
parallel circuit A ú B .
A B AùB
1 1 1
1 0 0
0 1 0
0 0 0
A B AúB
1 1 1
1 0 1
0 1 1
0 0 0
The next table shows the relationship between a switch A and a switch A' .
A A'
1 0
0 1
Notice that the above three tables are identical with the tables for conjunction,
disjunction and negation for statements (and propositions). The only difference is that
1 and 0 are used here instead of T and F.
3.3.2 Theorem
The algebra of Boolean switching circuits is a Boolean algebra.
In order to find the behaviour of a Boolean switching circuit, a table is constructed
which is analogous to the truth tables for propositions
3.3.3 Example
Consider circuit (1) in Example 3.3.1. What is the behaviour of the circuit, that is,
when will the circuit be on (i.e. when will current flow) and when will the circuit be
off? A truth table is constructed for A ù ( B ú A' ) as follows:
20
Exercises
21