
558 A INVERSE FUNCTIONS
22. If taxes are cut, then retail sales increase.
If retail sales increase, then the unemployment rate will
decrease.
If the unemployment rate decreases, then the incumbent
will win the election.
Therefore, if taxes are not cut, the incumbent will not win
the election.
23. Show that the following argument is valid.
If George prepares gourmet food, then he is a good cook.
If Brenda does not prepare gourmet food, then Sarah buys
fast food.
Sarah does not buy fast food.
Therefore, George does not prepare gourmet food, and
Brenda does not prepare gourmet food.
24. What conclusion can be drawn from the following state-
ments?
His date is pretty, or she is tall and skinny.
If his date is tall, then she is a brunette.
His date is not a brunette.
25. Show that modus tollens is a valid form of argument.
A.6 Applications of Logic to Switching Networks
In this section, we see how the principles of logic can be used in the design and analysis
of switching networks. A switching network is an arrangement of wires and switches
connecting two terminals. These networks are used extensively in digital computers.
A switch may be open or closed. If a switch is closed, current will flow through
the wire. If it is open, no current will flow through the wire. Because a switch has
exactly two states, it can be represented by a proposition p that is true if the switch is
closed and false if the switch is open.
Now let’s consider a circuit with two switches p and q. If the circuit is constructed
as shown in Figure 1, the switches p and q are said to be in series.
For such a network, current will flow from A to B if both p and q are closed, but
no current will flow if one or more of the switches is open. Thinking of p and q as
propositions, we have the truth table shown in Table 19. (Recall that T corresponds to
the situation in which the switch is closed.) From the truth table we see that two
switches p and q connected in series are analogous to the conjunction p q of the
two propositions p and q.
If a circuit is constructed as shown in Figure 2, the switches p and q are said to be
connected in parallel.
For such a network, current will flow from A to B if and only if one or more of
the switches p or q is closed. Once again, thinking of p and q as propositions, we have
the truth table shown in Table 20. From the truth table, we conclude that two switches
p and q connected in parallel are analogous to the inclusive disjunction p q of the
two propositions p and q.
EXAMPLE 1
Find a logic statement that represents the network shown in Figure 3.
By constructing the truth table for this logic statement, determine the conditions
under which current will flow from A to B in the network.
p
A
B
q
q
p
A
B
FIGURE 1
Two switches connected in series
FIGURE 2
Two switches connected in parallel
TABLE 19
pq
TTT
TFF
FTF
FFF
TABLE 20
pq
TTT
TFT
FTT
FFF
87533_10_APP_p537-578 1/30/08 10:27 AM Page 558