Previewpdf
Previewpdf
Previewpdf
M AT H E M AT I CA L
PRO O F S
A TRANSITION
TEXTBOOKS in MATHEMATICS
Series Editor: Denny Gulick
PUBLISHED TITLES
FORTHCOMING TITLES
INTRODUCTION TO
M AT HE M AT I C A L
P RO O F S
A TRANSITION
This book contains information obtained from authentic and highly regarded sources. Reasonable efforts
have been made to publish reliable data and information, but the author and publisher cannot assume
responsibility for the validity of all materials or the consequences of their use. The authors and publishers
have attempted to trace the copyright holders of all material reproduced in this publication and apologize to
copyright holders if permission to publish in this form has not been obtained. If any copyright material has
not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmit-
ted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented,
including photocopying, microfilming, and recording, or in any information storage or retrieval system,
without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.
com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood
Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and
registration for a variety of users. For organizations that have been granted a photocopy license by the CCC,
a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used
only for identification and explanation without intent to infringe.
QA9.54.R63 2009
511.3’6--dc22 2009019726
Preface vii
1 Logic 1
1.1 Statements, Negation, and Compound Statements . . . . . . 2
1.2 Truth Tables and Logical Equivalences . . . . . . . . . . . 9
1.3 Conditional and Biconditional Statements . . . . . . . . . 21
1.4 Logical Arguments . . . . . . . . . . . . . . . . . . . 29
1.5 Open Statements and Quantifiers . . . . . . . . . . . . . 45
1.6 Chapter Review . . . . . . . . . . . . . . . . . . . . 60
4 Relations 175
4.1 Relations . . . . . . . . . . . . . . . . . . . . . . . 175
4.2 The Order Relations <, ≤, >, ≥ . . . . . . . . . . . . . 187
4.3 Reflexive, Symmetric, Transitive, and Equivalence Relations . . 197
4.4 Equivalence Relations, Equivalence Classes, and Partitions . . 205
4.5 Chapter Review . . . . . . . . . . . . . . . . . . . . 213
v
vi
5 Functions 219
5.1 Functions . . . . . . . . . . . . . . . . . . . . . . . 219
5.2 Onto Functions, One-to-One Functions, and One-to-One
Correspondences . . . . . . . . . . . . . . . . . . . . 231
5.3 Inverse of a Function . . . . . . . . . . . . . . . . . . 240
5.4 Images and Inverse Images of Sets . . . . . . . . . . . . . 249
5.5 Chapter Review . . . . . . . . . . . . . . . . . . . . 256
References 415
Index 417
Preface
vii
viii
1
2 Introduction to Mathematical Proofs
insure there were names for the contraries of compound names, he stated the
famous De Morgan Laws. By creating some of the most basic concepts of
modern logic, De Morgan contributed substantially to the change that was
taking place in logic in the mid-1800’s. However, his notational system was
viewed as too complex, so he received little credit for the development of
modern logic.
The English mathematician George Boole (1815-1864) is generally credited
with founding the modern algebra of logic and, hence, symbolic logic. At the
age of sixteen, Boole was an assistant teacher. In 1835, he opened his own
school and began to study mathematics on his own. He never attended an
institution of higher learning. He taught himself all of the higher mathematics
he knew. In 1840, he began to publish papers on analysis in the Cambridge
Mathematical Journal. In 1847, Boole published the text The Mathematical
Analysis of Logic. Initially, Boole wanted to express all the statements of
classical logic as equations, and then apply algebraic transformations to derive
the known valid arguments of logic. Near the end of writing the text, Boole
realized that his algebra of logic applied to any finite collection of premises
with any number of symbols. Boole’s logic was limited to what is presently
called the propositional calculus. It is the propositional calculus we will
study in this chapter.
Symbolic logic only applies to special declarative sentences which are state-
ments or propositions as defined below:
The terms true and false are left undefined, but it is assumed that their
meaning is intuitively understood. Some declarative sentences might be true
or false depending on the context or circumstance. Such sentences are not
considered to be statements. For example, the sentences “She is hungry.”,
“He is handsome.”, and “Chicago is far away.” depend upon one’s definition
of “hungry,” “handsome,” and “far away.” Consequently, such sentences are
not statements, because they do not have a “truth value”—that is, because
it is not possible to determine whether they are true or false. There are
statements for which we do not know the truth value. For example, we do
not know the truth value of Goldbach’s conjecture which states:
“Every even integer greater than two can be written as the sum
of two prime numbers.”
(Recall that a prime number is a natural number greater than one which is
divisible only by itself and one. On the other hand, a composite number
is a natural number which can be written as the product of two or more
prime numbers.) To date, mathematicians have not been able to prove or
disprove Goldbach’s conjecture; however, it is a declarative sentence that is
either true or false and not both true and false. Thus, Goldbach’s conjecture
is a statement or proposition in symbolic logic. Christian Goldbach made his
famous conjecture in a letter written to Leonhard Euler on June 7, 1742.
SOLUTION
(a) The sentence is a question (an interrogative sentence); and, therefore, it
is not a statement.
(b) The declarative sentence “x + 3 = 5” is true for x = 2 and false for all
other values of x, so it is not a statement.
(c) The declarative sentence “2300 is a large number.” is not a statement,
because the definition of “a large number” is not well-defined.
(d) The sentence “Help!” is exclamatory; and, hence, it is not a statement.
(e) The declarative sentence “The author of this text was born in Wash-
ington, D. C.” is true or false, but not both true and false; so it is a
statement even though few people would know whether the statement
is true or false.
(f) The declarative sentence “This sentence is false.” is an interesting sen-
tence. If we assign the truth value “true” or the truth value “false”
to this sentence, we have a contradiction. Hence, the sentence is not
a statement. Because the sentence “This sentence is false.” is neither
“true” nor “false,” it is called a paradox.
All statements can be divided into two types, simple and compound.
For example, the negation of the statement “Five is a prime.” is the state-
ment “Five is not a prime.” And the negation of the statement “Six is an odd
number.” is the statement “Six is not an odd number.” In English, it is also
possible to indicate the negation of a statement by prefixing the statement
with the phrase “it is not the case that,” “it is false that,” or “it is not true
that.” For instance, the statement “It is not true that gold is heavier than
lead.” is true.
Let M be the statement “It is Monday.” and let R be the statement “It
is raining.” The statement M ∧ R is “It is Monday, and it is raining.” In
English, several other words such as “but,” “yet,” “also,” “still,” “although,”
“however,” “moreover,” “nonetheless,” and others, as well as the comma and
semicolon, can mean “and” in their conjunctive sense. For instance, the state-
ment “It is Monday; moreover, it is raining.” should be translated to symbolic
logic as M ∧ R.
In English, the word “or” has two related but distinguishable meanings.
The “or” appearing in the definition of disjunction is the inclusive or. The
inclusive or means “one or the other or both.” In legal documents, the
meaning of the inclusive “or” is often made more explicit by using the phrase
“and/or.” For example, the statement “This contract may be signed by John
and/or Mary.” means the contract is legally binding when signed by John, by
Mary, or by both. On the other hand, the exclusive or means “one or the
other but not both.” For example, the statement “Ann will marry Ben or Ann
will marry Ted.” means either Ann will marry Ben or Ann will marry Ted
but not both. In Latin there are two different words for the word “or.” The
word vel denotes the inclusive or, while the word aut denotes the exclusive or.
6 Introduction to Mathematical Proofs
The statement (c) can be written as “Yesterday it was cloudy and it did
snow.”
The statement (d) can be written as “Today the sky is clear and it did not
rain and it did not snow.”
The statement (e) can be written as “Yesterday it was cloudy, and today
the sky is clear or it did rain.”
EXERCISES 1.1
17. Let T denote the statement “ABC is a triangle.” and let I denote the
statement “ABC is isosceles.”
18. Let T be the statement “I drink tea for breakfast.”, let S be the statement
“I eat soup for lunch.”, and let D be the statement “I eat dessert after dinner.”
(1) I drink tea for breakfast and I eat soup for lunch and I eat dessert
after dinner.
(2) I drink tea for breakfast and I eat soup for lunch, or I eat dessert
after dinner.
(3) I drink tea for breakfast, and I eat soup for lunch or I eat dessert
after dinner.
(4) I drink tea for breakfast and I eat soup for lunch, or I drink tea for
breakfast and I eat dessert after dinner.
(5) I do not drink tea for breakfast or I do not eat soup for lunch or I
do not eat dessert after dinner.
Negation
P ¬P
T F
F T
Since this truth table explains completely the result of negating the state-
ment P, it may be taken as the definition of ¬ P, the negation of P. The nega-
tion symbol “¬” is a unary logical operator. The term “unary” means the
operator acts on a single statement.
10 Introduction to Mathematical Proofs
Let S be a compound statement which contains only the one simple state-
ment P. In order to list all of the possible combinations of truth values for P,
the truth table for S must have exactly two rows. In this case, the standard
truth table form for the statement S is
P ··· S
T ··· ·
F ··· ·
The first entry in the column labeled P must be T and the second entry in the
column must be F. The dots, · · · , indicate the possible presence of columns
of truth values with appropriate headings needed to “build-up” the statement
S.
Next let P and Q represent two simple statements. In order to list all of
the possible combinations of truth values of P, Q, the truth table for any
compound statement S containing exactly the two simple statements P and
Q will have exactly four rows. In this case, the standard truth table form
for the statement S is
P Q ··· S
T T ··· ·
T F ··· ·
F T ··· ·
F F ··· ·
Conjunction
P Q P∧Q
T T T
T F F
F T F
F F F
Since this truth table explains completely the result of conjuncting the state-
ment P with the statement Q, it may be taken as the definition of P ∧ Q. The
conjunction symbol “∧” is a binary logical operator. The term “binary”
means the operator acts on two statement.
Logic 11
The disjunction symbol “∨” is also a binary logical operator and its defining
truth table is
Disjunction
P Q P∨Q
T T T
T F T
F T T
F F F
Given that A and B are true statements and C and D are false statements,
use the definitions of ¬ , ∧ , and ∨ to determine the truth value of each of
the statements:
(a) (¬ A) ∧ B (b) ¬ (A ∧ B) (c) (¬ A) ∨ B
(d) ¬ (A ∨ C) (e) (A ∨ C) ∧ (B ∧( ¬ D))
SOLUTION
Now let us consider the following question: “How many different truth
tables are possible for statements which contain exactly one simple sentence
P?” Notice that the truth table for negation contains the two different columns
12 Introduction to Mathematical Proofs
(1)
T F
F T
The only other possible columns which can occur in a truth table for a state-
ment which contains exactly one simple statement are
(2)
T F
T F
We know that the second column in (1) is the negation of the first column,
since these columns came from the truth table for negation. Taking the nega-
tion of the first column in (2), we get the second column is (2). So if we
could write a statement containing P which is true when P is true and also
true when P is false, then we would have a statement that was always true
regardless of the truth value of P. By negating that statement we would ob-
tain a statement which is always false regardless of the truth value of P. Let
us construct a truth table for the statement P ∨ (¬ P). As shown in (3), we
start with the truth table for ¬ P and add a new column on the right of the
table labeled P ∨ (¬ P) .
(3) P ¬P P ∨ (¬ P)
T F
F T
In the first row of the truth table (3), the statement P has truth value T and
the statement ¬ P has the truth value F, so the disjunction P ∨ ( ¬ P) has the
truth value T. In the second row of the truth table (3), the statement P has
truth value F and the statement ¬ P has the truth value T, so the disjunction
P ∨ ( ¬ P ) has the truth value T. Thus, the truth table for the statement
P ∨ ( ¬ P) is as shown in (4).
(4) P ¬P P ∨ ( ¬ P)
T F T
F T T
Notice that regardless of the truth value of the statement P, the truth value
of the statement P ∨ (¬ P) is true and the truth value of the negation of the
statement P ∨ (¬ P) is false.
Logic 13
It follows from the definition above that two statements which appear in
the same truth table are logically equivalent if and only if their truth value
columns are identical. Two statements which appear in different truth tables
are logically equivalent if and only if both tables are in standard form, both
tables are for statements with the same components, and their truth value
columns are identical.
We need to develop an algebra for symbolic logic, so we can make calcu-
lations similar to the way in which we make algebraic calculations for real
numbers. One algebraic property of real numbers is that −(−x) = x. So
let us produce a truth value table for the statement ¬ (¬ P). We start our
truth table with a row of column headings labeled P, ¬ P, and ¬ (¬ P). In
the column labeled P, we enter as the first entry T and as the second entry
F. (See 5a.) Then using the negation truth table, we compute the entries for
the second column labeled ¬ P. Since negation changes the truth value T to
F and the truth value F to T, the first entry in the second column is F and
the second entry is T. (See 5b.) Applying negation to the second column, the
column labeled ¬ P, we obtain T for the first entry in the third column and
F for the second entry. (See 5c.)
14 Introduction to Mathematical Proofs
(5a) (5b)
P ¬P ¬ ( ¬ P) P ¬P ¬ ( ¬ P)
T T F
F F T
P ¬P ¬ ( ¬ P)
(5c) T F T
F T F
Observe that the truth value entries in the first column are identical to the
truth value entries in the third column. Hence, we have shown that the
statements P and ¬ (¬ P) are truth value equivalent. In order to denote
that P and ¬(¬P ) are truth value equivalent or logically equivalent, we write
P ≡ ¬(¬P ), which is read “P is truth value equivalent to ¬(¬P )” or “P is
logically equivalent to ¬(¬P )” Thus, we have used a truth table to prove the
Double Negation Law.
The following six laws can easily be proven using truth tables.
P Q P ∧Q ¬(P ∧ Q)
(6a) T T T F
T F F T
F T F T
F F F T
P Q ¬P ¬Q (¬P ) ∧ (¬Q)
(6b) T T F F F
T F F T F
F T T F F
F F T T T
Because the right most column of the two tables in (6a) and (6b) are not
identical, ¬(P ∧ Q) is not logically equivalent to (¬P ) ∧ (¬Q) as we had
anticipated it might be. Assuming a statement which is logically equivalent
to ¬(P ∧ Q) ought to include the statement (¬P ) and the statement (¬Q), we
decided to compute the truth table for (¬P ) ∨ (¬Q). To produce this truth
table, we simply change the column heading appearing in the fifth column of
(6b) from (¬P ) ∧ (¬Q) to (¬P ) ∨ (¬Q) and compute the truth values for the
16 Introduction to Mathematical Proofs
new fifth column from the disjunction of the truth values appearing in the
third and fourth columns. The required truth table appears in (7).
P Q ¬P ¬Q (¬P ) ∨ (¬Q)
(7) T T F F F
T F F T T
F T T F T
F F T T T
Observe that the column of truth values labeled ¬(P ∧Q) in (6a) is identical to
the column of truth values labeled (¬P ) ∨ (¬Q) in table (7). Hence, ¬(P ∧ Q)
is logically equivalent to (¬P ) ∨ (¬Q)—that is, ¬(P ∧ Q) ≡ (¬P ) ∨ (¬Q). We
have just proved the first of the two De Morgan laws stated below.
Rule of Substitution
Using stated laws and the rule of substitution, prove algebraically that
P ∧ Q ≡ ¬((¬P ) ∨ (¬Q))
SOLUTION
Earlier in this section, we showed that the statement ¬(P ∨ (¬P )) was a
contradiction. Simplify this contradiction using stated laws and the rule of
substitution.
SOLUTION
P Q R P ∨Q P ∨R (P ∨ Q) ∧ (P ∨ R)
T T T T T T
T T F T T T
T F T T T T
T F F T T T
F T T T T T
F T F T F F
F F T F T F
F F F F F F
distributive law for conjunction and the associative laws for disjunction and
conjunction stated below can easily be proved using truth tables.
EXERCISES 1.2
1. ¬A 2. ¬C
3. A∨C 4. C ∨D
5. A∧B 6. B∧C
7. (¬A) ∧ B 8. (¬A) ∨ (¬B)
9. A ∨ (C ∧ D) 10. (A ∨ C) ∧ D)
11. A ∨ (B ∧ (¬C)) 12. (A ∨ B) ∧ (¬D)
13. (¬(A ∧ (¬B))) ∧ ((¬C) ∨ D) 14. ((¬A) ∨ B) ∧ (C ∨ (¬D))
15. Given that P is a true statement, what can you say about the truth
value of the following statements?
a. P ∨ (Q ∧ R) b. P ∧R c. (¬P ) ∧ (Q ∧ R)
16. Given that P is a false statement, what can you say about the truth
value of the following statements?
a. P ∧ R b. P ∨ (¬R) c. (¬P ) ∨ (Q ∧ R)
In exercises 17-21, use a truth table to prove the given logical equiv-
alences.
30. I sweeten my tea with sugar, but I do not sweeten my tea with honey.
31. I do not drink my coffee with sugar, and I do not drink my coffee with
cream.
32. I drink my coffee with sugar; however, I do not drink my coffee with
cream.
In exercises 35-40, use the stated laws and the rule of substitution
to simplify the given expressions.
As noted earlier, in English, the word “or” has two related but
distinguishable meanings. The “inclusive or,” ∨, is the “or” used
most generally in mathematics and it means “one or the other or
both”. The “exclusive or” means “one or the other but not both”.
We will let denote the “exclusive or” which is defined by the
truth table
Exclusive Disjunction
P Q P Q
T T F
T F T
F T T
F F F
41. Ted will walk to Mary’s house or Ted will drive to Mary’s house.
42. I will eat dinner or I will go to a movie.
Conditional
P Q P⇒Q
T T T
T F F
F T
F F
Conditional
P Q ¬P (¬P ) ∨ Q P ⇒Q
T T F T T
T F F F F
F T T T T
F F T T T
Let P stand for√ the statement “3 = 4” which is false, and let Q stand for
the statement “ 2 is rational.” which is false.√ It is easier to see that the
conditional statement P ⇒ Q, “If 3 = 4, then 2 is rational.”, is true √ when
form (¬P ) ∨ Q, “Not 3 = 4 or 2 is
it is written in the logically equivalent √
rational.” In the form “Not 3 = 4 or 2 is rational.” it is √ clear that “Not
3 = 4” is true and, therefore, the conjunction “Not 3 = 4 or 2 is rational.”
is true.
We have defined P ⇒ Q to be logically equivalent to (¬P ) ∨ Q, and we can
see from the truth table for the conditional statement that it may be defined
as follows also.
Thus, we have proven the following logical equivalence for the negation of
the conditional statement.
¬(P ⇒ Q) ≡ P ∧ (¬Q)
If P, then Q Q, if P
P implies Q Q is implied by P
P only if Q Q provided P
P is sufficient for Q Q is necessary for P
(a) If 1 + 1 = 2, then 1 + 2 = 3.
(b) If 1 + 1 = 2, then 1 + 2 = 4.
√
(c) The number 2 is rational, if 2 + 2 = 5.
√
(d) The number 2 is irrational, if 2 + 2 = 5.
(e) The moon is made of green cheese is necessary for the golden gate
bridge to be in California.
Logic 25
(f) The moon is made of green cheese is sufficient for the golden gate
bridge to be in California.
SOLUTION
(f) The hypothesis is “The moon is made of green cheese.” which is false
and the conclusion is “The golden gate bridge is in California.” which
is true. Since the hypothesis is false, the conditional statement “The
moon is made of green cheese is sufficient for the golden gate bridge to
be in California.” is true. The negation of this conditional statement is
“The moon is made of green cheese and the golden gate bridge is not in
California.”
26 Introduction to Mathematical Proofs
The converse of P ⇒ Q is Q ⇒ P .
The inverse of P ⇒ Q is (¬P ) ⇒ (¬Q).
The contrapositive of P ⇒ Q is (¬Q) ⇒ (¬P ).
In mathematics, the phrase “if and only if” is often abbreviated by “iff”
and sometimes “if and only if” is expressed in the alternate form “is necessary
and sufficient for.” The truth table for the biconditional statement appears
below.
Biconditional
P Q P⇔Q
T T T
T F F
F T F
F F T
P Q P ⇒Q Q⇒P (P ⇒ Q) ∧ (Q ⇒ P ) (P ⇔ Q)
T T T T T T
T F F T F F
F T T F F F
F F T T T T
Since the truth value columns for (P ⇒ Q) ∧ (Q ⇒ P ) and (P ⇔ Q) are
identical,(P ⇒ Q) ∧ (Q ⇒ P ) is logically equivalent to (P ⇔ Q)—that is,
(P ⇒ Q) ∧ (Q ⇒ P ) ≡ (P ⇔ Q) .
28 Introduction to Mathematical Proofs
EXERCISES 1.3
17. The Leaning Tower of Pisa is in Germany if and only if the Eiffel Tower
is in Spain.
18. The Leaning Tower of Pisa is in Italy if and only if the Eiffel Tower is in
France.
Logic 29
21. Given that the truth value of the implication (P ∨ Q) ⇒ (¬R) is false
and that the truth value of P is false, what are the truth values of Q
and R?
22. P ⇒ (P ∨ Q) 23. P ⇒ (P ∧ Q)
24. (P ∨ Q) ⇒ P 25. (P ∧ Q) ⇒ P
26. (P ∧ Q) ⇒ (P ∨ Q) 27. (P ∨ Q) ⇒ (P ∧ Q)
28. (P ∧ (P ⇒ Q)) ⇒ Q 29. (Q ∧ (P ⇒ Q)) ⇒ P
30. ((¬Q) ∧ (P ⇒ Q)) ⇒ (¬P ) 31. (P ∨ Q) ⇔ P
32. P ⇔ (P ∧ (P ∨ Q)) 33. (P ⇒ Q) ⇔ (Q ⇒ P )
Thus, an argument is valid if and only if when the premises are all true, the
conclusion must be true. Stated another way, an argument is valid if and only
if it is not possible for the conclusion to be false unless at least one of the
premises is false. Validity concerns the relationship between the premises and
the conclusion, and not the truth values of the premises and conclusions.
Let us consider the argument
The sun is shining.
———————————————————–
Therefore, the sun is shining or it is raining.
Let P denote the premise “The sun is shining.” And let Q denote the state-
ment “It is raining.” Then this argument can be written symbolically as
P
———–
.· . P ∨ Q
We construct the following standard truth table for P ⇒ (P ∨ Q).
P Q P ∨Q P ⇒ (P ∨ Q)
T T T T
T F T T
F T T T
F F F T
Rule of Disjunction
P
———–
.· . P ∧ Q
P Q P ∧Q P ⇒ (P ∧ Q)
T T T T
T F F F
F T F T
F F F T
P
———–
.· . P ∧ Q
P Q P ∧Q
T F F
Rule of Conjunction
Truth tables which verify that these arguments are valid appear below.
Rule of Conjunction
P Q P ∧Q (P ∧ Q) ⇒ (P ∧ Q)
T T T T
T F F T
F T F T
F F F T
P Q P ∧Q (P ∧ Q) ⇒ P
T T T T
T F F T
F T F T
F F F T
Logic 33
SOLUTION
1. P ⇒ Q premise
2. P premise
5. Q 3, 4, disjunctive syllogism
34 Introduction to Mathematical Proofs
1. P ⇒ Q premise
2. ¬Q premise
4. ¬P 2, 3, rule of detachment
The rule of detachment and the rule of contrapositive inference are both
valid arguments which contain exactly two simple statements, one of which
is the conditional statement P ⇒ Q. Two commonly used invalid arguments
which contain exactly two simple statements, one of which is the conditional
statement P ⇒ Q, are the Fallacy of the Converse and the Fallacy of
the Inverse.
Logic 35
Recall that an argument is valid if and only if when the premises are all
true, the conclusion must be true. Thus, in order to prove that the fallacy of
the converse is an invalid argument, all we need to do is determine truth values
for P and Q such that both premises P ⇒ Q and Q have the truth value T
and the conclusion P has the truth value F. Assigning P the truth value F
and Q the truth value T achieves the required result. Likewise, to prove that
the fallacy of the inverse is an invalid argument, we need to determine truth
values for P and Q such that both premises P ⇒ Q and ¬P have the truth
value T and the conclusion ¬Q has the truth value F. Again, assigning P the
truth value F and Q the truth value T achieves the required result.
In the following two examples, we determine the validity of two arguments.
SOLUTION
Let D denote the statement “I went out to eat dinner.” And let P denote
the statement “I ate dessert.” Then the symbolic form of the given argument
is
D⇒P
P
———
.· . D
This argument has the form of the fallacy of the converse and it is an invalid
argument.
The following truth table establishes the validity of the rule of transitive
inference.
Let A denote the statement (P ⇒ Q) ∧ (Q ⇒ P) and let B denote the
statement [(P ⇒ Q) ∧ (Q ⇒ P)] ⇒ (P ⇒ R).
Logic 37
Write the following argument in symbolic form and construct a formal proof
of its validity.
If I study, I make good grades.
If I do not study, I have fun.
———————————————————–
Therefore, I make good grades or I have fun.
SOLUTION
Let S denote the statement “I study.” Let G denote the statement “I
make good grades.” And let F denote the statement “I have fun.” Then the
symbolic form of the given argument is
S⇒G
(1) (¬S) ⇒ F
————–
.· . G ∨ F
Both premises are conditional statements. One contains S as a hypothesis
and the other contains ¬S as a hypothesis. Because a conditional statement
and its contrapositive are logically equivalent, we could replace the first or sec-
ond premise by its contrapositive. Since the conclusion contains the statement
F and since the second premise contains the statement F as a conclusion, we
decided to replace the first premise S ⇒ G by its contrapositive (¬G) ⇒ (¬S).
From the true statements (¬G) ⇒ (¬S) and (¬S) ⇒ F we deduce by the rule
of transitive inference (¬G) ⇒ F . From the definition of the conditional
statement, (¬G) ⇒ F is logically equivalent to the statement (¬(¬G)) ∨ F .
38 Introduction to Mathematical Proofs
2. (¬S) ⇒ F premise
7. G ∨ F 5, 6, rule of substitution
T ∨A
(T ∨ C) ⇒ (L ∧ M )
¬L
————————–
.· .
EXERCISES 1.4
1. P ∧ Q, P ⇒ ¬Q .· . P ∧ (¬Q) 2. P, (¬P ) ⇒ Q .· . ¬Q
3. P ∧ Q, R ⇒ P .· . Q ∨ R 4. ¬P, Q ⇒ (P ∧ R) .· . ¬Q
5. P ⇒ Q, Q ⇒ R, ¬Q .· .¬R
6. P ∨ (¬Q), ¬Q .· . P 7. (¬P ) ⇒ Q, P .· . ¬Q
8. P ⇒ Q, (¬P ) ⇒ Q, Q .· . P 9. P ⇒ Q, Q ⇒ R, R .· . Q
10. P ⇒ Q, R ⇒ S, Q ∨ R .· . P ∨ S
11. I go to a movie.
———————————————————–
Therefore, I go to a movie, or I eat popcorn.
13. I go to a movie.
I eat popcorn.
————————————————————–
Therefore, I go to a movie, and I eat popcorn.
19. A ∧ B .· . A ∨ B
1. A∧B premise
2. A 1,
3. B 1,
4. A∨B 2, 3,
42 Introduction to Mathematical Proofs
20. C ∨ (D ∧ E), ¬E .· . C
1. C ∨ (D ∧ E) premise
2. ¬E premise
3. (C ∨ D) ∧ (C ∨ E) 1,
4. C∨E 3,
5. C 2, 4,
21. F ⇒ G, G ⇒ H, F ∧ I .· . H ∧ I
1. F ⇒G premise
2. G⇒H premise
3. F ∧I premise
4. F ⇒H 1, 2,
5. F 3,
6. H 4, 5,
7. I 3,
8. H ∧I 6, 7,
22. J ⇒ K, J ⇒ L .· . J ⇒ (K ∧ L)
1. J⇒K premise
2. J⇒L premise
3. (¬J) ∨ K 1,
4. (¬J) ∨ L 2,
5. [(¬J) ∨ K] ∧ [(¬J) ∨ L] 3, 4,
6. (¬J) ∨ (K ∧ L) 5,
7. J ⇒ (K ∧ L) 6,
23. M ⇒ (N ⇒ O) .· . N ⇒ (M ⇒ O)
1. M ⇒ (N ⇒ O) premise
2. (¬M ) ∨ (N ⇒ O) 1,
3. (N ⇒ O) ≡ (¬N ) ∨ O
4. (¬M ) ∨ ((¬N ) ∨ O) 2, 3,
5. ((¬M ) ∨ (¬N )) ∨ O 4,
6. ((¬M ) ∨ (¬N )) ≡ ((¬N ) ∨ (¬M ))
7. ((¬N ) ∨ (¬M )) ∨ O 5, 6,
8. (¬N ) ∨ ((¬M ) ∨ O) 7,
9. ((¬M ) ∨ O) ≡ (M ⇒ O)
10. (¬N ) ∨ (M ⇒ O) 8, 9,
11. N ⇒ (M ⇒ O) 10,
Logic 43
P ⇒ Q, R ⇒ S, P ∨R .· . Q ∨ S
1. P ⇒Q premise
2. R⇒S premise
3. P ∨R premise
4. ¬P ∨ Q 1,
5. (¬P ∨ Q) ∨ S 4,
6. ¬P ∨ (Q ∨ S) 5,
7. ¬R ∨ S 2,
8. (¬R ∨ S) ∨ Q 7,
9. ¬R ∨ (S ∨ Q) 8,
10. (S ∨ Q) ≡ (Q ∨ S)
11. ¬R ∨ (Q ∨ S) 9,10
12. [¬P ∨ (Q ∨ S)] ∧ [¬R ∨ (Q ∨ S)] 6,11,
13. [(¬P ) ∧ (¬R)] ∨ (Q ∨ S) 12,
14. [(¬P ) ∧ (¬R)] ≡ ¬(P ∨ R)
15. ¬(P ∨ R) ∨ (Q ∨ S) 13,14
16. (P ∨ R) ⇒ (Q ∨ S) 15,
17. Q∨S 3,16,
P ⇒ Q, R ⇒ S, ¬Q ∨ ¬S .· . ¬P ∨ ¬R
(HINT: The constructive dilemma (see part a.) occurs as one justification.)
1. P ⇒Q premise
2. R⇒S premise
3. ¬Q ∨ ¬S premise
4. ¬Q ⇒ ¬P 1,
5. ¬S ⇒ ¬R 2,
6. ¬P ∨ ¬R 3, 4, 5
25. A .· . B ⇒ A 26. ¬C .· . C ⇒ D
27. E ∧ F .· . E ∨ F 28. G ⇒ H .· . G ⇒ (H ∨ I)
29. J ⇒ (K ∧ L) .· . J ⇒ K 30. M ⇒ N .· . M ∧ O ⇒ N
31. (P ∨ Q) ⇒ R .· . P ⇒ R 32. S ⇒ (T ∨ U ), ¬T .· . S ⇒ U
33. V ⇒ W, V ∨ W .· . W
44 Introduction to Mathematical Proofs
34. If Jerry uses an artificial lure (L), then if the fish are biting (B), then
Jerry catches the legal limit of fish (F). Jerry uses an artificial lure, but
Jerry does not catch the legal limit of fish. Therefore, the fish are not
biting.
35. If Alex attends class (A) or Bob attends class (B), then Charles does
not attend class (¬C). Bob attends class or Charles attends class. If
Bob attends class or Alex does not attend class, then Don attends class
(D). Alex attends class. Therefore, Bob does not attend class or Don
attends class.
36. If Emery studies (S), Emery will graduate (G). If Emery graduates,
Emery will travel (T) or Emery will work for his uncle (U). Emery
studies, but Emery does not work for his uncle. Therefore, Emery will
travel.
37. I will take a vacation (V), provided I have time (T) and I have money
(M). I have time or I have aspirations (A). Therefore, if I do not have
aspirations, I have no money or I will take a vacation.
38. If Robin goes to the state park (P), Robin hikes (H) and Robin fishes
(F). Robin did not hike or Robin did not fish or Robin did camp (C).
Robin did not camp. Therefore, Robin did not go to the state park.
39. Elsa will attend (A), if she receives the e-mail (E), provided she is
interested (I). Although Elsa did not attend, she is interested. There-
fore, .
40. If the supply of gold remains fixed (F) and the use of gold increases
(I), then the price of gold will rise (R). The price of gold does not rise.
Therefore, .
41. If Alice attends the meeting (A), Betty attends the meeting (B). If
Betty attends the meeting, Carol will not attend the meeting (¬C). If
Carol attends the meeting, Donna does not attend the meeting (¬D).
If Betty attends the meeting, Eve does not attend the meeting (¬E).
If Donna does not attend the meeting, Fay attends the meeting (F).
Eve does not attend the meeting or Fay does not attend the meeting.
Therefore, .
Logic 45
42. If Imogene goes to the picnic (P), then Imogene wears blue jeans (J).
If Imogene wears blue jeans, then Imogene does not attend both the
banquet (B) and the dance (D). Imogene attended the dance. If Imogene
did not attend the banquet, then she has her banquet ticket (T), but she
does not have her ticket. Therefore, .
Z = {. . . , −2, −1, 0, 1, 2, . . .}
The symbol Z comes from the German word for number, Zählen. We will use
Q to denote the set of rational numbers. Recall that a rational number is
any number of the form p/q where p and q are integers and q = 0. The set of
real numbers will be denoted by R.
Using set-builder notation the set, F , of all even integers less than or equal
to 100 would be written as
The vertical bar, | , in the definition above is read “such that.” Hence, the
set-builder definition of the set F given above is read “F equals the set of all
x such that x is an even integer less than or equal to 100.” Another example
of a set specified using set-builder notation is
O = {x | x is an odd integer}
0 ∈ {0}. And the empty set is not the set {∅}. The set {∅} is a set with
one element, namely ∅. That is, ∅ ∈ {∅}.
Many sentences in mathematics involve one or more variables, and, there-
fore, are not statements.
The truth set of an open statement is the set of all values from the
universal set that make the open statement a true statement.
Let P (x) be an open statement with the specified nonempty universal
set U . Then in set-builder notation, the truth set of P (x) is the set
TP = {x ∈ U | P (x)}
The following example illustrates that the truth set of an open statement
depends on the choice of the universal set. Let P (x) be the open statement
“x2 < 9.” Then {x ∈ N | x2 < 9} = {1, 2, 3}, {x ∈ Z | x2 < 9} =
{−3, −2, −1, 0, 1, 2, 3}, and {x ∈ R | x2 < 9} = {x ∈ R | − 3 < x < 3}.
48 Introduction to Mathematical Proofs
Often we want to indicate how many values of the variable x make the open
statement P (x) true. Specifically, we would like to know if P (x) is true for
every x in the universe U or if P (x) is true for at least one x ∈ U . Thus, we
introduce two quantifiers.
Several comments are in order. First of all, to prove that the statement
(∃x ∈ U )(P (x)) is true, it is necessary to find only a single value of x ∈ U
for which P (x) is true. On the other hand, to prove that the statement
Logic 49
(∀x ∈ U )(P (x)) is true, it is necessary to prove that P (x) is true for all
x ∈ U . Second, the conditional statement
is true, since an open statement which is true for all values of x in a universe
U is true for some (any) value of x ∈ U . On the contrary, the conditional
statement
(∃x ∈ U )(P (x)) ⇒ (∀x ∈ U )(P (x))
is false, since an open statement can be true for some x in a universe and
false for other x in the universe. And finally, the truth value of a quantified
statement depends on the universe as the following examples show. Let P (x)
denote the statement “x2 > 0.”. The quantified statement (∀x ∈ N)(P (x))
is true; while the quantified statement (∀x ∈ Z)(P (x)) is false, because
P (0) is false. Now let Q(x) represent the statement “x ≤ 0.” The quan-
tified statement (∃x ∈ N)(Q(x)) is false; while the quantified statement
(∃x ∈ Z)(Q(x)) is true, because Q(0) is true.
a. (∀x ∈ N)(2x + 1 > 0). This statement is true, since for x ∈ N, x > 0;
therefore, 2x > 0 and 2x + 1 > 1 > 0.
c. (∃x ∈ Z)(2x + 1 < 0). This statement is true, since it is true for x = −1.
See the computation in part b. In fact, this statement is true for all
integers x ≤ −1.
The symbolic statement (∀x ∈ A)(P (x)) which is read “For all x ∈ A, P (x).”
can also be stated as “For all x, if x ∈ A, then P (x).” and symbolized by
(∀x)((x ∈ A) ⇒ P (x)). Likewise, the symbolic statement (∃x ∈ A)(P (x)) can
be written as (∃x)((x ∈ A) ⇒ P (x)) which is read “There exists an x such
that if x ∈ A, then P (x).” The following example illustrates these usages.
Statement Type
Symbolic Statement English Sentence
1. Universal Affirmative
(∀x)(P (x) ⇒ Q(x)) All P (x) are Q(x).
2. Universal Denial
(∀x)(P (x) ⇒ (¬Q(x))) No P (x) are Q(x).
3. Particular Affirmative
(∃x)(P (x) ∧ Q(x)) Some P (x) are Q(x).
4. Particular Denial
(∃x)(P (x) ∧ (¬Q(x))) Some P (x) are not Q(x).
If the statement (∃x ∈ U )(P (x)) is true, then we know that there is at
least one x in the universe U such that P (x) is true. However, in mathemat-
ics, it is often the case that there exists exactly one x in the universe for
which P (x) is true. For example, for the set of integers there exists exactly
one additive identity—namely, the number 0. (That is, the number 0 is the
unique number in Z such that x + 0 = 0 + x = x for all x ∈ Z.) For the set of
natural numbers there exists exactly one multiplicative identity—namely, the
number 1. (The number 1 is the unique number in N such that x·1 = 1·x = x
52 Introduction to Mathematical Proofs
It follows directly from the definitions of the quantifiers ∃ and ∃! that the
conditional statement (∃!x ∈ U )(P (x)) ⇒ (∃x ∈ U )(P (x)) is true, while the
conditional statement (∃x ∈ U )(P (x)) ⇒ (∃!x ∈ U )(P (x)) is false.
Find the truth value of the following statements which contain the unique
existential quantifier.
a. (∃!x ∈ N)(|x + 4| = 1) b. (∃!x ∈ N)(|x − 4| = 5)
c. (∃!x ∈ N)(|x − 4| = 3)
SOLUTION
Notice that an equation of the form |y| = a where a is positive appears in
a., b., and c. Recall from algebra that in the set of real numbers, if |y| = a
where a is positive, then either y = a or y = −a.
a. It follows from the discussion above, that if |x + 4| = 1, then either
x + 4 = 1 or x + 4 = −1. Adding −4 to both of the last two equations,
we find if |x + 4| = 1, then either x = −3 or x = −5. Since −3 ∈ / N
and −5 ∈ / N, the statement (∃!x ∈ N)(|x + 4| = 1) is false, because the
truth set of {x ∈ N | |x + 4| = 1} is the empty set, which contains no
element.
b. If |x − 4| = 5, then either x − 4 = 5 or x − 4 = −5. Adding 4 to both
of the last two equations, we find if |x − 4| = 5, then either x = 9 or
x = −1. Since 9 ∈ N and −1 ∈ / N, the statement (∃!x ∈ N)(|x + 4| = 1)
is true, because the truth set of {x ∈ N | |x − 4| = 5} = {9}, which
contains exactly one element.
Logic 53
Example 4 illustrates that the statement (∃!x ∈ U )(P (x)) can be proven
to be false by showing that the truth set of {x ∈ U | P (x)} is either the
empty set or a set with two or more elements. In order to prove that the
statement (∃!x ∈ U )(P (x)) is true, it is necessary to show that the truth set
of {x ∈ U | P (x)} contains exactly one element.
In mathematics, it is very important to be able to negate quantified state-
ments such as definitions and theorems. However, before we can negate quan-
tified statements it is necessary to define equivalence for two quantified state-
ments.
Let P (x) and Q(x) be two quantified statements with nonempty universe
U.
Two statements P (x) and Q(x) are equivalent in the universe U
if and only if P (x) and Q(x) have the same truth value for all x ∈ U .
That is, P (x) and Q(x) are equivalent in the universe U if and only if
(∀x ∈ U )(P (x) ⇔ Q(x)).
The two quantified statements P (x) and Q(x) are equivalent if and only
if they are equivalent in every universe U .
Let A(x) denote the statement “x2 = x” and let B(x) denote the statement
“x = 1.” The quantified statement (∀x)(A(x)) is equivalent to the quantified
statement (∀x)(B(x)) in the universe of natural numbers, N, since in N
{x | x2 = x} = {1} = {x | x = 1}.
However, the quantified statement (∀x)(A(x)) is not equivalent to the quan-
tified statement (∀x)(B(x)) in the universe of integers, Z, since in Z
{x | x2 = x} = {0, 1} = {1} = {x | x = 1}.
54 Introduction to Mathematical Proofs
Let P (x) and Q(x) be open sentences in x with nonempty universe U . Since
the conditional statement P ⇒ Q is logically equivalent to ¬P ∨ Q,
(∀x ∈ U )((P (x) ⇒ Q(x)) ⇔ (¬P (x) ∨ Q(x))) for any nonempty universe U .
Hence, the quantified statements (∀x)((P (x) ⇒ Q(x)) and (∀x)(¬P (x)∨Q(x))
are equivalent. Other important equivalent statements are
Now we consider the negation of the quantified statement (∀x)(P (x)). Let
a nonempty universe U be given. The negation of (∀x)(P (x)) is
Henceforth, we will use the symbol ≡ to denote the phrase “is equivalent to.”
Thus, the conclusion of the last theorem may be written as ¬(∀x)(P (x)) ≡
(∃x)(¬P (x)) and ¬(∃x)(P (x)) ≡ (∀x)(¬P (x)).
Logic 55
Negate the universal affirmative statement, (∀x)(P (x) ⇒ Q(x)), and trans-
late the negation into English.
SOLUTION
The negation of the universal affirmative statement is
The statement (∃x)(P (x) ∧ (¬Q(x))) is the particular denial statement and
its English translation is “Some P (x) are not Q(x). Thus, the negation of
the universal affirmative statement is the particular denial statement and
by double negation, the negation of the particular denial statement is the
universal affirmative statement. As one might anticipate, the negation of
the universal denial statement is the particular affirmative statement and
the negation of the particular affirmative statement is the universal denial
statement.
sentence. Let us use r for the variable denoting a real number and n for
the variable denoting a natural number. Then the translation of the given
sentence into a symbolic statement in mathematics is
¬((∀r ∈ R)(∃n ∈ N)(n > r)) ≡ (∃r ∈ R)(¬((∃n ∈ N)(n > r)))
≡ (∃r ∈ R)(∀n ∈ N)(¬(n > r))
≡ (∃r ∈ R)(∀n ∈ N)(n ≤ r)
Translating the last quantified statement into English, we find that the nega-
tion of sentence “For every real number there is a natural number greater
than the real number.” is the sentence “There exists a real number such
that all natural numbers are less than or equal to the real number.” Clearly,
the negation of the original sentence is false, since it says that the natural
numbers are bounded above by some real number. Consequently, the original
statement is true.
The following examples illustrate that the order of the quantifiers in a state-
ment is very important. Let us consider the following five symbolic statements
with the universe of discourse being the integers, Z.
1. (∀x)(∀y)(x + y = 0)
2. (∀y)(∀x)(x + y = 0)
3. (∀x)(∃y)(x + y = 0)
4. (∃y)(∀x)(x + y = 0)
5. (∃x)(∃y)(x + y = 0)
The first statement (∀x)(∀y)(x + y = 0) says “For all integers x and for all
integers y, x + y = 0. This statement is false, since x = 2 ∈ Z and y = 3 ∈ Z,
but x + y = 2 + 3 = 5 = 0. The second statement has the same meaning as
the first. It says “For all integers y and for all integers x, x + y = 0.” and it
is false. Thus, we note that (∀x)(∀y)(x + y = 0) ≡ (∀y)(∀x)(x + y = 0). The
third statement (∀x)(∃y)(x + y = 0) says “For every integer x there exists an
integer y such that x + y = 0.” or “Every integer has an additive inverse.”
Given an integer x, the integer y = −x satisfies the equation x + y = 0. Thus,
the third statement is true. Notice that in the fourth statement the order
of the quantifiers are reversed from the order in which they appear in the
third statement. The fourth statement says “There exists an integer y such
that for all integers x, x + y = 0.” This statement is false, since for x = 2,
y must be −2 in order to satisfy x + y = 0, while for x = 3, y must be −3 in
order to satisfy x + y = 0 and, of course, −2 = −3. Since the third statement
is true and the fourth statement is false, we see that (∀x)(∃y)(x + y = 0)
Logic 57
Translate the sentence “Any nonzero real number has a multiplicative in-
verse.” into a quantified symbolic statement.
SOLUTION
An initial translation is (∀x ∈ R)((x = 0) ⇒ (x has a multiplicative in-
verse)). At first glance, it appears that the quantified statement contains
only one variable, namely x. However, by definition, a real number y is a
multiplicative inverse of a nonzero real number x if and only if xy = 1. Using
this definition, our translation into a quantified symbolic statement in two
variables, becomes
(∀x ∈ R)((x = 0) ⇒ ((∃y ∈ R)(xy = 1))).
EXERCISES 1.5
In exercises 1-10, write the truth set of the given set. When possi-
ble, use roster notation.
1. {x ∈ N | x is an even prime number} 2. {x ∈ N | x is a multiple of 4}
3. {x ∈ Z | x is a multiple of 4} 4. {x ∈ N | x < 5}
5. {x ∈ Z | x < 5} 6. {x ∈ N | 3x > x}
7. {x ∈ Z | 3x > x} 8. {x ∈ N | 3x
√ < x}
9. {x ∈ Z | 3x < x} 10. {x ∈ N | x ∈ N}
58 Introduction to Mathematical Proofs
In exercises 11-20, let the universal set, U, be the set of all triangles.
Let E(x) denote the open statement “x is an equilateral triangle.”,
let I(x) denote “x is an isosceles triangle.”, and let R(x) denote “x
is a right triangle.” Translate each English sentence into a symbolic
statement with one quantifier and indicate the truth value of each
statement.
32. An equivalent form of the unique existential quantifier (∃!x ∈ U )(P (x))
is (*) (∃x ∈ U )(P (x) ∧ ((∀y ∈ U )(P (y) ⇒ (y = x))))
Write the negation of (*) and observe that the unique existential quantifier
(∃!x ∈ U )(P (x)) is false when, for every x, either P (x) is false or for some y,
P (y) is true for y = x.
38. There exist natural numbers m and n such that m is greater than n.
39. There exists a natural number m such that for all natural numbers n,
m is greater than n.
40. For all natural numbers m there exists a natural number n such that
m is greater than n.
42. For every integer x there exists an integer y such that y = 2x.
43. For every integer x there exists an integer y such that x = 2y.
45. There exists a unique rational number x such that x + y = 0 for all
rational numbers y.
46. There exists a unique rational number x such that xy = 1 for all rational
numbers y.
47. For all rational numbers x there exists a unique rational number y such
that x + y = 0.
48. For all nonzero rational numbers x there exists a unique rational number
y such that xy = 1.
49. For every positive real number x there exists a natural number n such
that n1 < x.
52. For all real numbers x there exists a unique real number y such that
xy = yz for all real numbers z.
60 Introduction to Mathematical Proofs
A truth table is a table which shows the truth values of a statement for
all possible combinations of truth values of its simple statement components.
If P, then Q Q, if P
P implies Q Q is implied by P
P only if Q Q provided P
P is sufficient for Q Q is necessary for P
The converse of P ⇒ Q is Q ⇒ P .
The inverse of P ⇒ Q is (¬P ) ⇒ (¬Q).
The contrapositive of P ⇒ Q is (¬Q) ⇒ (¬P ).
Given two statements P and Q, the biconditional statement P ⇔ Q is
the statement “P if and only if Q.” The biconditional statement P ⇔ Q is
true when P and Q have the same truth values and false when P and Q have
different truth values.
An argument P1 , . . . , Pn .· . C with premises P1 , . . . , Pn and conclusion
C is valid if and only if P1 ∧ P2 ∧ . . . ∧ Pn ⇒ C is a tautology.
If an argument is not valid, it is called invalid.
Sets are usually described by one of two notations—roster notation (also
called enumeration notation) or set-builder notation. In roster notation,
the elements of the set are enclosed in braces, { }, and separated by commas.
The set with no elements is called the empty set or null set.
A variable is a symbol, say x, which represents an unspecified object from
a given set U .
The set of values, U , that can be assigned to the variable x is called the
universe, universal set, or universe of discourse.
An open statement in one variable is a sentence that involves one
variable and that becomes a statement (a declarative sentence that is true or
false) when values from the universal set are substituted for the variable. An
open statement in the variable x is denoted by P (x).
The truth set of an open statement is the set of all values from the
universal set that make the open statement a true statement.
The symbol ∀ is called the universal quantifier and represents the phrase
“for all,” “for each,” or “for every.” The statement (∀x ∈ U )(P (x)) is read “for
all x ∈ U, P (x)” and is true when the truth set TP = {x ∈ U | P (x)} = U .
62 Introduction to Mathematical Proofs
The symbol ∃ is called the existential quantifier and represents the phrase
“there exists,” “there is,” or “for some.” The statement (∃x ∈ U )(P (x)) is
read “there exists an x ∈ U such that P (x)” and is true when the truth set
TP = {x ∈ U | P (x)} = ∅.
The symbol ∃! is called the unique existential quantifier and repre-
sents the phrase “there exists a unique,” or “there exists exactly one.” The
statement (∃!x ∈ U )(P (x)) is read “there exists a unique x ∈ U such that
P (x)” or “there exists exactly one x ∈ U such that P (x).” The statement
(∃!x ∈ U )(P (x)) is true precisely when the truth set TP = {x ∈ U | P (x)}
has exactly one element.
Two statements P (x) and Q(x) are equivalent in the universe U if and
only if P (x) and Q(x) have the same truth value for all x ∈ U . That is, P (x)
and Q(x) are equivalent in the universe U if and only if (∀x ∈ U )(P (x) ⇔
Q(x)).
The two quantified statements P (x) and Q(x) are equivalent if and only
if they are equivalent in every universe U .
Useful Laws
Let t represent a statement which is a tautology, let f represent a statement
which is a contradiction, and let P represent any statement.
Double Negation Law: ¬(¬P ) ≡ P
Tautology Laws: ¬t≡f P∧t≡P P∨t≡t
Contradiction Laws: ¬f≡t P∧f≡f P∨f≡P
Idempotent Law for Conjunction: P ∧P ≡P
Idempotent Law for Disjunction: P ∨P ≡P
Commutative Law for Conjunction: P ∧Q≡Q∧P
Commutative Law for Disjunction: P ∨Q ≡ Q∨P
Absorption Laws: P ∧ (P ∨ Q) ≡ P
P ∨ (P ∧ Q) ≡ P
De Morgan Laws: ¬(P ∧ Q) ≡ (¬P ) ∨ (¬Q)
¬(P ∨ Q) ≡ (¬P ) ∧ (¬Q)
Law of the Excluded Middle: (¬P ) ∧ P
Distributive Law for Disjunction: P ∨ (Q ∧ R) ≡ (P ∨ Q) ∧ (P ∨ R)
Distributive Law for Conjunction: P ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R)
Logic 63
Rules of Logic
Rule of Substitution
1. Universal Affirmative
(∀x)(P (x) ⇒ Q(x)) All P (x) are Q(x).
2. Universal Denial
(∀x)(P (x) ⇒ (¬Q(x))) No P (x) are Q(x).
3. Particular Affirmative
(∃x)(P (x) ∧ Q(x)) Some P (x) are Q(x).
4. Particular Denial
(∃x)(P (x) ∧ (¬Q(x))) Some P (x) are not Q(x).
Review Exercises
In exercises 1-5, determine if the given sentence is a statement or
not.
1. Multiply 8 by 7.
2. What time is it?
3. The number √ 47 is a composite number.
4. The number 11 is an irrational number.
5. Alice is very intelligent.
6. Let T denote the statement “I pass the test.” Let C be the statement
“I pass the course.” And, let D stand for the statement “I make the
dean’s list.”
14. Construct a truth table for the following statements. Identify tautolo-
gies and contradictions.
a. P ⇔ (¬P ) b. P ⇒ (P ∨ Q) c. P ⇒ (P ∧ Q)
d. (P ⇒ Q)∨(Q ⇒ P ) e. P ⇒ [(¬P ) ⇒ (Q∧(¬Q))]
f. {[(P ∧ Q) ⇒ R] ⇒ (P ⇒ R)} ⇔ (P ⇒ Q)
20. Write the following argument in symbolic form using the letters indi-
cated and deduce a valid conclusion for the argument.
If Allen attends the meeting (A), then Barbar attends the meeting (B).
If Allen and Barbar attend the meeting, then Carly will be elected (C)
or Dave will be elected (D). If Carly or Dave is elected, Earl will resign
(E). If Allen’s attendance implies Earl will not resign, then Fae will be
the new chairperson (F). Therefore, .
28. Write the negation of exercises 23-27 both symbolically and in English.
In exercises 29-30, translate each sentence into a quantified state-
ment.
29. For any integer x there exists a unique integer y such that x + y = 0.
30. There exists a natural number x such that xy = 0 for all natural
numbers y.
31. There exists a unique real number x such that x + y = x for all real
numbers y.
32. Write the negation of exercises 29-31.
References
415
416 Introduction to Mathematical Proofs