Book of Proof Hammack 2024 Scribd Download
Book of Proof Hammack 2024 Scribd Download
com
https://textbookfull.com/product/book-of-proof-hammack/
OR CLICK BUTTON
DOWNLOAD NOW
https://textbookfull.com/product/book-of-proof-richard-hammack/
textboxfull.com
https://textbookfull.com/product/book-of-proof-hammack-r/
textboxfull.com
https://textbookfull.com/product/book-of-proof-3rd-edition-richard-
hammack/
textboxfull.com
https://textbookfull.com/product/book-of-proof-edition-3-2-richard-
hammack/
textboxfull.com
Proof Complexity Encyclopedia of Mathematics and its
Applications 1st Edition Jan Krají■ek
https://textbookfull.com/product/proof-complexity-encyclopedia-of-
mathematics-and-its-applications-1st-edition-jan-krajicek/
textboxfull.com
https://textbookfull.com/product/transition-to-analysis-with-
proof-1st-edition-krantz/
textboxfull.com
https://textbookfull.com/product/discrete-mathematics-via-logic-and-
proof-calvin-jongsma/
textboxfull.com
https://textbookfull.com/product/robot-proof-higher-education-in-the-
age-of-artificial-intelligence-joseph-e-aoun/
textboxfull.com
https://textbookfull.com/product/innovation-finance-and-technology-
transfer-funding-proof-of-concept-1st-edition-andrea-alunni/
textboxfull.com
Book of Proof
Third Edition
Richard Hammack
Richard Hammack (publisher)
Department of Mathematics & Applied Mathematics
P.O. Box 842014
Virginia Commonwealth University
Richmond, Virginia, 23284
Book of Proof
Edition 3
Cover by R. Hammack. The cover diagrams are based on a geometric construction that
renders a correct perspective view of an object (here an octagonal column) from its floor
plan. The method was invented by Piero della Francesca 1415–1492, a Renaissance painter
and mathematician. Piero was a great expositor. His writings explained why his methods
worked, not just how to apply them.
To my students
Contents
Preface vii
Introduction viii
I Fundamentals
1. Sets 3
1.1. Introduction to Sets 3
1.2. The Cartesian Product 8
1.3. Subsets 12
1.4. Power Sets 15
1.5. Union, Intersection, Difference 18
1.6. Complement 20
1.7. Venn Diagrams 22
1.8. Indexed Sets 25
1.9. Sets That Are Number Systems 30
1.10. Russell’s Paradox 32
2. Logic 34
2.1. Statements 35
2.2. And, Or, Not 39
2.3. Conditional Statements 42
2.4. Biconditional Statements 46
2.5. Truth Tables for Statements 48
2.6. Logical Equivalence 50
2.7. Quantifiers 53
2.8. More on Conditional Statements 56
2.9. Translating English to Symbolic Logic 57
2.10. Negating Statements 59
2.11. Logical Inference 63
2.12. An Important Note 64
3. Counting 65
3.1. Lists 65
3.2. The Multiplication Principle 67
3.3. The Addition and Subtraction Principles 74
3.4. Factorials and Permutations 78
3.5. Counting Subsets 85
3.6. Pascal’s Triangle and the Binomial Theorem 90
3.7. The Inclusion-Exclusion Principle 93
3.8. Counting Multisets 96
3.9. The Division and Pigeonhole Principles 104
3.10. Combinatorial Proof 108
v
9. Disproof 172
9.1. Counterexamples 174
9.2. Disproving Existence Statements 176
9.3. Disproof by Contradiction 178
Conclusion 291
Solutions 292
Preface to the Third Edition
PART I Fundamentals
• Chapter 1: Sets
• Chapter 2: Logic
• Chapter 3: Counting
Chapters 1 and 2 lay out the language and conventions used in all advanced
mathematics. Sets are fundamental because every mathematical structure,
object, or entity can be described as a set. Logic is fundamental because it
allows us to understand the meanings of statements, to deduce facts about
mathematical structures and to uncover further structures. All subsequent
chapters build on these first two chapters. Chapter 3 is included partly
because its topics are central to many branches of mathematics, but also
because it is a source of many examples and exercises that occur throughout
the book. (However, the course instructor may choose to omit Chapter 3.)
Chapter 2
Logic Chapter 3
Counting
Chapter 4
Direct Proof
§3.5 and §3.6 used in some exercises.
Ignore them if Chapter 3 is omitted.
Chapter 5
Contrapositive Proof
Chapter 6
Proof by Contradiction
Chapter 7
Non-Conditional Proof
Chapter 8
Proofs Involving Sets
Chapter 9
Disproof Chapter 10
Mathematical Induction
two exercises
§10.1 used in
Chapter 11
Relations
Chapter 12
Functions Chapter 13
Proofs in Calculus
Chapter 14
Cardinality of Sets
To the instructor. The book is designed for a three or four credit course.
A course emphasizing discrete mathematics could cover chapters 1–12. A
course that is more of a preparation for analysis could cover all but Chapter 3.
The following timetable (for a fourteen-week semester) is a hybrid of these
two options. Sections marked with ∗ may require only the briefest mention
in class, or may be best left for the students to digest on their own.
Fundamentals
CHAPTER 1
Sets
Here the dots indicate a pattern of numbers that continues forever in both
the positive and negative directions. A set is called an infinite set if it has
infinitely many elements; otherwise it is called a finite set.
Two sets are equal if they contain exactly the same elements. Thus
© ª © ª
2, 4, 6, 8 = 4, 2, 8, 6 because even though they are listed in a different order,
© ª © ª
the elements are identical; but 2, 4, 6, 8 6= 2, 4, 6, 7 . Also
© ª © ª
. . . − 4, −3, −2, −1, 0, 1, 2, 3, 4 . . . = 0, −1, 1, −2, 2, −3, 3, −4, 4, . . . .
We often let uppercase letters stand for sets. In discussing the set
© ª © ª © ª
2, 4, 6, 8 we might declare A = 2, 4, 6, 8 and then use A to stand for 2, 4, 6, 8 .
To express that 2 is an element of the set A , we write 2 ∈ A, and read this as
“2 is an element of A ,” or “2 is in A ,” or just “2 in A .” We also have 4 ∈ A , 6 ∈ A
and 8 ∈ A , but 5 ∉ A . We read this last expression as “5 is not an element of
A ,” or “5 not in A .” Expressions like 6, 2 ∈ A or 2, 4, 8 ∈ A are used to indicate
that several things are in a set.
4 Sets
Some sets are so significant that we reserve special symbols for them.
The set of natural numbers (i.e., the positive whole numbers) is denoted
by N, that is,
N = 1, 2, 3, 4, 5, 6, 7, . . . .
© ª
is another fundamental set. The symbol R stands for the set of all real
numbers, a set that is undoubtedly familiar to you from calculus. Other
special sets will be listed later in this section.
© ª
Sets need not have just numbers as elements. The set B = T, F consists
of two letters, perhaps representing the values “true” and “false.” The set
© ª
C = a, e, i, o, u consists of the lowercase vowels in the English alphabet.
© ª
The set D = (0, 0), (1, 0), (0, 1), (1, 1) has as elements the four corner points
of a square on the x- y coordinate plane. Thus (0, 0) ∈ D , (1, 0) ∈ D , etc.,
but (1, 2) ∉ D (for instance). It is even possible for a set to have other sets
© © ª© ªª
as elements. Consider E = 1, 2, 3 , 2, 4 , which has three elements: the
© ª © ª © ª
number 1, the set 2, 3 and the set 2, 4 . Thus 1 ∈ E and 2, 3 ∈ E and
© ª
2, 4 ∈ E . But note that 2 ∉ E , 3 ∉ E and 4 ∉ E .
Consider the set M = 00 00 , 10 01 , 11 01 of three two-by-two matrices. We
©£ ¤ £ ¤ £ ¤ª
© © ª ©© ªªª
This box analogy can help us think about sets. The set F = ;, ; , ;
may look strange but it is really very simple. Think of it as a box containing
three things: an empty box, a box containing an empty box, and a box
containing a box containing an empty box. Thus |F | = 3. The set G = N, Z
© ª
is a box containing two boxes, the box of natural numbers and the box of
integers. Thus |G | = 2.
A special notation called set-builder notation is used to describe sets
that are too big or complex to list between braces. Consider the infinite set
© ª
of even integers E = . . . , −6, −4, −2, 0, 2, 4, 6, . . . . In set-builder notation this
set is written as
E = 2n : n ∈ Z .
© ª
We read the first brace as “the set of all things of form,” and the colon as
“such that.” So the expression E = 2n : n ∈ Z reads as “E equals the set of
© ª
all things of form 2n, such that n is an element of Z.” The idea is that E
consists of all possible values of 2n, where n takes on all values in Z.
In general, a set X written with set-builder notation has the syntax
© ª
X = expression : rule ,
E = n ∈ Z : n is even ,
© ª
read “E is the set of all n in Z such that n is even.” Some writers use a bar
instead of a colon; for example, E = n ∈ Z | n is even . We use the colon.
© ª
is a number (not a set), and thus the bars in | x| must mean absolute value,
©© ª© ª © ªª
not cardinality. On the other hand, suppose A = 1, 2 , 3, 4, 5, 6 , 7 and
© ª
B = X ∈ A : | X | < 3 . The elements of A are sets (not numbers), so the | X | in
©© ª © ªª
the expression for B must mean cardinality. Therefore B = 1, 2 , 7 .
We close this section with a summary of special sets. These are sets
that are so common that they are given special names and symbols.
©ª
• The empty set: ; =
The natural numbers: N = 1, 2, 3, 4, 5, . . .
© ª
•
The integers: Z = . . . , −3, −2, −1, 0, 1, 2, 3, 4, 5, . . .
© ª
•
n m o
• The rational numbers: Q = x : x = , where m, n ∈ Z and n 6= 0
n
• The real numbers: R
We visualize the set R of real numbers is as an infinitely long number line.
−4 −3 −2 −1 0 1 2 3 4
a b
Closed interval: [a, b] = x ∈ R : a ≤ x ≤ b
© ª
•
a b
(a, b) = x ∈ R : a < x < b
© ª
• Open interval:
a b
Half-open interval: (a, b] = x ∈ R : a < x ≤ b
© ª
•
a b
Half-open interval: [a, b) = x ∈ R : a ≤ x < b
© ª
•
a
Infinite interval: (a, ∞) = x ∈ R : a < x
© ª
•
a
Infinite interval: [a, ∞) = x ∈ R : a ≤ x
© ª
•
b
Infinite interval: (−∞, b) = x ∈ R : x < b
© ª
•
b
Infinite interval: (−∞, b] = x ∈ R : x ≤ b
© ª
•
45. ( x, y) : x, y ∈ R, x2 + y2 = 1 52. ( x, y) ∈ R2 : ( y − x2 )( y + x2 ) = 0
© ª © ª
For example, (2, 4) is an ordered pair, as is (4, 2). These ordered pairs are
different because even though they have the same things in them, the order
is different. We write (2, 4) 6= (4, 2). Right away you can see that ordered pairs
can be used to describe points on the plane, as was done in calculus, but
they are not limited to just that. The things in an ordered pair don’t have
to be numbers. You can have ordered pairs of letters, such as (`, m), ordered
¡© ª© ª¢
pairs of sets such as 2, 5 , 3, 2 , even ordered pairs of ordered pairs like
(2, 4), (4, 2) . The following are also ordered pairs: 2, 1, 2, 3 , R, (0, 0) . Any
¡ ¢ ¡ © ª¢ ¡ ¢
A × B = (k, q), (k, r), (`, q), (`, r), (m, q), (m, r) .
© ª
B A×B
r (k, r) (`, r) (m, r)
q (k, q) (`, q) (m, q)
k ` m A
© ª
Example 1.3 Let A = , , , , , be the set consisting of the six faces
of a dice. The Cartesian product A × A is diagramed below. By Fact 1.1 (or
by simple counting), | A × A | = 6 · 6 = 36. We might think of A × A as the set
of possible outcomes in rolling a dice two times in a row. Each element of
¡ ¢
the product is an ordered pair of form result of 1st roll, result of 2nd roll .
Such constructions are useful in the study of probability.
A A×A
( , ) ( , ) ( , ) ( , ) ( , ) ( , )
( , ) ( , ) ( , ) ( , ) ( , ) ( , )
( , ) ( , ) ( , ) ( , ) ( , ) ( , )
( , ) ( , ) ( , ) ( , ) ( , ) ( , )
( , ) ( , ) ( , ) ( , ) ( , ) ( , )
( , ) ( , ) ( , ) ( , ) ( , ) ( , )
as the set of points on the Cartesian plane, as drawn in Figure 1.2(a). The
set R × N = (x, y) : x ∈ R, y ∈ N can be regarded as all of the points on the
© ª
y y y
x x x
R×R R×N N×N
In other courses you may encounter sets that are very similar to Rn , but
yet have slightly different shades of meaning. Consider, for example, the
set of all two-by-three matrices with entries from R:
©£ uv w¤
: u, v, w, x, y, z ∈ R .
ª
M= x y z
The elements of these sets are merely certain arrangements of six real
numbers. Despite their similarity, we maintain that M 6= R6 , for two-by-
three matrices are not the same things as sequences of six numbers.
© ª
Example 1.4 Represent the two sides of a coin by the set S = h,t . The
possible outcomes of tossing the coin seven times in a row can be described
with the Cartesian power S 7 . A typical element of S 7 looks like
(h,h,t,h,t,t,t),
meaning a head was tossed first, then another head, then a tail, then a head
followed by three tails. Note that S = 27 = 128, so there are 128 possible
¯ 7¯
¯ ¯
outcomes. If this is not clear, then it will be explained fully in Chapter 3.
1.3 Subsets
It can happen that every element of a set A is an element of another set B.
© ª © ª
For example, each element of A = 0, 2, 4 is also an element of B = 0, 1, 2, 3, 4 .
When A and B are related this way we say that A is a subset of B.
Example 1.5 Be sure you understand why each of the following is true.
© ª © ª
1. 2, 3, 7 ⊆ 2, 3, 4, 5, 6, 7
© ª © ª
2. 2, 3, 7 6⊆ 2, 4, 5, 6, 7
© ª © ª
3. 2, 3, 7 ⊆ 2, 3, 7
(x, sin(x)) : x ∈ R ⊆ R2
© ª
4.
1, 3, 5, 7, 11, 13, 17, . . . ⊆ N
© ª
5.
6. N⊆Z⊆Q⊆R
7. R×N ⊆ R×R
8. A ⊆ A for any set A
9. ; ⊆ ;.
Fact 1.2 The empty set is a subset of all sets, that is, ; ⊆ B for any set B.
This idea of “making” a subset can help us list out all the subsets of a
© ª
given set B. As an example, let B = a, b, c . Let’s list all of its subsets. One
way of approaching this is to make a tree-like structure. Begin with the
©ª
subset , which is shown on the left of Figure 1.3. Considering the element
©ª ©ª
a of B, we have a choice: insert it into , or not. The lines from point to
©ª © ª
what we get depending whether or not we insert a, either or a . Now
move on to the element b of B. For each of the sets just formed we can either
insert or not insert b, and the lines on the diagram point to the resulting
©ª © ª © ª © ª
sets , b , a , or a, b . Finally, to each of these sets, we can either insert
c or not insert it, and this gives us, on the far right-hand column, the sets
©ª © ª © ª © ª © ª © ª © ª © ª
, c , b , b, c , a , a, c , a, b and a, b, c . These are the eight subsets
© ª
of B = a, b, c .
We can see from the way this tree branches that if it happened that
© ª
B = a , then B would have just two subsets, those in the second column of
© ª
the diagram. If it happened that B = a, b , then B would have four subsets,
those in the third column, and so on. At each branching of the tree, the
number of subsets doubles. So in general, if |B| = n, then B has 2n subsets.
These are the eight subsets of B. Exercises like this help you identify what
is and isn’t a subset. You know immediately that a set such as 1, 3 is not a
© ª
©ª
subset of B because it can’t be made by inserting elements from B into ,
as the 3 is not an element of B and thus is not a valid selection. Notice that
although 1, 3 6⊆ B, it is true that 1, 3 ∈ B. Also, 1, 3 ⊆ B.
© ª © ª ©© ªª
Example 1.6 Be sure you understand why the following statements are
true. Each illustrates an aspect of set theory that you’ve learned so far.
© © ªª © © ªª
1. 1 ∈ 1, 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 is the first element listed in 1, 1
© © ªª
2. 1 6⊆ 1, 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . because 1 is not a set
© ª © © ªª © ª © © ªª
3. 1 ∈ 1, 1 . . . . . . . . . . . . . . . . . . . . . . . 1 is the second element listed in 1, 1
© ª © © ªª © ª © © ªª
4. 1 ⊆ 1, 1 . . . . . . . . . . . . . . . . . . . . . make subset 1 by selecting 1 from 1, 1
©© ªª © © ªª © © ªª © ª ©© ªª
5. 1 ∉ 1, 1 . . . . . . . . . because 1, 1 contains only 1 and 1 , and not 1
©© ªª © © ªª ©© ªª © ª © © ªª
6. 1 ⊆ 1, 1 . . . . . . . . . . . . . . . make subset 1 by selecting 1 from 1, 1
7. N ∉ N . . . . . . . . . . . . . . . N is a set (not a number) and N contains only numbers
8. N ⊆ N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . because X ⊆ X for every set X
9. ; ∉ N . . . . . . . . . . . . . . . . . because the set N contains only numbers and no sets
10. ; ⊆ N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . because ; is a subset of every set
11. N ∈ N . . . . . . . . . . . . . . . . . . . . . . . . . because N has just one element, the set N
© ª © ª
Though they should help you understand the concept of subset, the
above examples are somewhat artificial. But in general, subsets arise very
naturally. For instance, consider the unit circle C = (x, y) ∈ R2 : x2 + y2 = 1 .
© ª
B. Write out the following sets by listing their elements between braces.
© © ª ª © © ª ª
9. X : X ⊆ 3, 2, a and | X | = 2 11. X : X ⊆ 3, 2, a and | X | = 4
10. X ⊆ N : | X | ≤ 1
© ª © © ª ª
12. X : X ⊆ 3, 2, a and | X | = 1
14. R2 ⊆ R3 16. ( x, y) : x2 − x = 0 ⊆ ( x, y) : x − 1 = 0
© ª © ª
Example 1.7 You should examine the following statements and make
sure you understand how the answers were obtained. In particular, notice
that in each instance the equation |P (A)| = 2| A | is true.
P 0, 1, 3 = ;, 0 , 1 , 3 , 0, 1 , 0, 3 , 1, 3 , 0, 1, 3
¡© ª¢ © © ª © ª © ª © ª © ª © ª © ªª
1.
P 1, 2 = ;, 1 , 2 , 1, 2
¡© ª¢ © © ª © ª © ªª
2.
P 1 = ;, 1
¡© ª¢ © © ªª
3.
P (;) = ;
© ª
4.
P a = ;, a
¡© ª¢ © © ªª
5.
6. P ; = ;, ;
¡© ª¢ © © ªª
7. P a × P ; = (;, ;), ;, ; , a , ; , a , ;
¡© ª¢ ¡© ª¢ © ¡ © ª¢ ¡© ª ¢ ¡© ª © ª¢ ª
8. P P ; = ;, ; , ; , ;, ;
¡ ¡© ª¢¢ © © ª ©© ªª © © ªª ª
9. P 1, 1, 2 = ;, 1 , 1, 2 , 1, 1, 2
¡© © ªª¢ © © ª ©© ªª © © ªª ª
10. P Z, N = ;, Z , N , Z, N
¡© ª¢ © © ª © ª © ªª
Next are some that are wrong. See if you can determine why they are
wrong and make sure you understand the explanation on the right.
11. P (1) = ;, 1
© © ªª
. . . . . . . . . . . . . . . . . . . . . . . . . . meaningless because 1 is not a set
12. P 1, 1, 2 = ;, 1 , 1, 2 , 1, 1, 2
¡© © ªª¢ © © ª © ª© © ªªª © ª © © ªª
. . . . . . wrong because 1, 2 6⊆ 1, 1, 2
13. P 1, 1, 2 = ;, 1 , 1, 2 , ;, 1, 2 . . . wrong because 1 6⊆ 1, 1, 2
¡© © ªª¢ © ©© ªª ©© ªª © © ªªª ©© ªª © © ªª
P (N) = ;, 1 , 2 , . . . , 1, 2 , 1, 3 , . . . , 39, 47 ,
© © ª© ª © ª© ª © ª
© ª © ª ª
. . . , 3, 87, 131 , . . . , 2, 4, 6, 8, . . . , . . . ? . . . .
picture of this subset, as in Figure 1.4(a). For another example, the graph
of the equation y = x2 is the set of points G = (x, x2 ) : x ∈ R and this is a
© ª
y y y
x x x
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the terms
of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth in
paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com