Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
17
(1.3.1)
Statement (1.3.1) states that on the condition that the Mathematics Department gets an additional
$60,000, then the Mathematics Department will hire one new faculty member. A proposition such
as (1.3.1) is called a conditional proposition.
Definition 1.3.1 If p and q are propositions, the proposition
if p then q
(1.3.2)
q
T
F
T
T
Math 270A
18
q : 4 < 8.
In expressions that involve the logical operators , , , and , the conditional operator is
evaluated last. For example,
p q r
is interpreted as
(p q) (r).
Example 1.3.5 Assuming that p is true, q is false, and r is true, find the truth value of each
proposition.
(a) p q r
(b) p q r
(c) p (q r)
(d) p (q r)
Math 270A
19
A conditional proposition that is true because the hypothesis is false is said to be true by
default or vacuously true.
For example, if the proposition,
If the Mathematics Department gets an additional $60,000,
then it will hire one new faculty member.
is true because the Mathematics Department did not get an additional $60,000, we would say that
the proposition is true by default or that it is vacuously true.
Some statement not of the form (1.3.2) may be rephrased as conditional propositions, as the
next example illustrates.
Example 1.3.6 Restate each proposition in the form (1.3.2) of a conditional proposition.
(a) Mary will be a good student if she studies hard.
(b) John takes calculus only if he has sophomore, junior, or senior standing.
(d) A necessary condition for the Cubs to win the World Series is that they sign a right-handed
relief pitcher.
(e) A sufficient condition for Maria to visit France is that she goes to the Eiffel Tower.
Math 270A
20
The proposition p q can be true while the proposition q p is false. We call the proposition
q q the converse of the proposition p q. Thus, a conditional proposition can be true
while its converse is false.
Example 1.3.7 Write the conditional proposition,
If Jerry receives a scholarship, then he will go to college.
and its converse symbolically and in words.
q
T
F
F
T
Math 270A
21
(1.3.5)
An alternative way to state (1.3.5) is: A necessary and sufficient condition for 1 < 5 is that 2 < 8.
In some cases, two different propositions have the same truth values no matter what truth values
their constituent propositions have. Such propositions are said to be logically equivalent.
Definition 1.3.10 Suppose that the propositions P and Q are made up of the propositions
p1 , . . . , pn . We say that P and Q are logically equivalent and write
P Q,
provided that, given any truth values of p1 , . . . , pn , either P and Q are both true, or P and Q
are both false.
Example 1.3.11 Verify the first of De Morgans law
(p q) p q,
(p q) p q,
Math 270A
and
!(x >= 10 && x <= 20)
are equivalent.
22
Math 270A
23
Example 1.3.14 Use the logical equivalence of (p q) and p q to write the negation of
If Jerry receives a scholarship, then he goes to college,
symbolically and in words.
Consider again the definition of set equality: If sets X and Y have the same elements, then X and
Y are equal. We noted that the meaning of this definition is that sets X and Y have the same
elements if and only if X and Y are equal. Example 1.3.15 shows that an equivalent formulation
is: If sets X and Y have the same elements, then X and Y are equal, and if X and Y are equal,
then X and Y have the same elements.
Math 270A
24
Notice the difference between the contrapositive and the converse. The converse of a
conditional proposition merely reverse the roles of p and q, whereas the contrapositive reverse
the roles of p and q and negates each of them.
Example 1.3.17 Write the conditional proposition,
If the network is down, then Dale cannot access the Internet,
symbolically. Write the contrapositive and the converse symbolically and in words. Also, assuming
that the network is not down and Dale can access the Internet, find the truth value of the original
proposition, its contrapositive, and its converse.
Math 270A
25
An important fact is that a conditional proposition and its contrapositive are logically equivalent.
Theorem 1.3.18 The conditional proposition p q and its contrapositive q p are
logically equivalent.
Proof