Professional Documents
Culture Documents
PDF An Introduction To Mathematical Proofs 1St Edition Nicholas A Loehr Ebook Full Chapter
PDF An Introduction To Mathematical Proofs 1St Edition Nicholas A Loehr Ebook Full Chapter
PDF An Introduction To Mathematical Proofs 1St Edition Nicholas A Loehr Ebook Full Chapter
https://textbookfull.com/product/an-introduction-to-proofs-and-
the-mathematical-vernacular-martin-v-day/
https://textbookfull.com/product/combinatorics-second-edition-
nicholas-loehr/
https://textbookfull.com/product/an-introduction-to-mathematical-
relativity-1st-edition-jose-natario/
https://textbookfull.com/product/mathematical-reasoning-proofs-
mat-1362-fall-2017-alistair-savage/
Proofs and Refutations The Logic of Mathematical
Discovery Imre Lakatos
https://textbookfull.com/product/proofs-and-refutations-the-
logic-of-mathematical-discovery-imre-lakatos/
https://textbookfull.com/product/map-of-the-world-an-
introduction-to-mathematical-geodesy-1st-edition-martin-vermeer-
author/
https://textbookfull.com/product/an-introduction-to-the-
mathematical-theory-of-inverse-problems-3rd-edition-andreas-
kirsch/
https://textbookfull.com/product/introduction-to-mathematical-
modeling-1st-edition-mayer-humi/
https://textbookfull.com/product/introduction-to-mathematical-
thinking-alexandru-buium/
An Introduction to
Mathematical Proofs
An Introduction to
Mathematical Proofs
Nicholas A. Loehr
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
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, trans-
mitted, 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 registra-
tion 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.
Please visit the Library of Congress website for information about this book.
Preface ix
1 Logic 1
1.1 Propositions, Logical Connectives, and Truth Tables . . . . . . . . . . . . . 1
1.2 Logical Equivalences and IF-Statements . . . . . . . . . . . . . . . . . . . . 9
1.3 IF, IFF, Tautologies, and Contradictions . . . . . . . . . . . . . . . . . . . 18
1.4 Tautologies, Quantifiers, and Universes . . . . . . . . . . . . . . . . . . . . 26
1.5 Quantifier Properties and Useful Denials . . . . . . . . . . . . . . . . . . . 32
1.6 Denial Practice and Uniqueness Statements . . . . . . . . . . . . . . . . . . 40
2 Proofs 47
2.1 Definitions, Axioms, Theorems, and Proofs . . . . . . . . . . . . . . . . . . 47
2.2 Proving Existence Statements and IF Statements . . . . . . . . . . . . . . 56
2.3 Contrapositive Proofs and IFF Proofs . . . . . . . . . . . . . . . . . . . . . 63
2.4 Proofs by Contradiction and Proofs of OR-Statements . . . . . . . . . . . . 70
2.5 Proofs by Cases and Disproofs . . . . . . . . . . . . . . . . . . . . . . . . . 76
2.6 Proving Quantified Statements . . . . . . . . . . . . . . . . . . . . . . . . . 82
2.7 More Quantifier Properties and Proofs (Optional) . . . . . . . . . . . . . . 90
3 Sets 103
3.1 Set Operations and Subset Proofs . . . . . . . . . . . . . . . . . . . . . . . 103
3.2 Subset Proofs and Set Equality Proofs . . . . . . . . . . . . . . . . . . . . 110
3.3 Set Equality Proofs, Circle Proofs, and Chain Proofs . . . . . . . . . . . . 117
3.4 Small Sets and Power Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
3.5 Ordered Pairs and Product Sets . . . . . . . . . . . . . . . . . . . . . . . . 131
3.6 General Unions and Intersections . . . . . . . . . . . . . . . . . . . . . . . 140
3.7 Axiomatic Set Theory (Optional) . . . . . . . . . . . . . . . . . . . . . . . 148
4 Integers 159
4.1 Recursive Definitions and Proofs by Induction . . . . . . . . . . . . . . . . 159
4.2 Induction Starting Anywhere and Backwards Induction . . . . . . . . . . . 166
4.3 Strong Induction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
4.4 Prime Numbers and Integer Division . . . . . . . . . . . . . . . . . . . . . 179
4.5 Greatest Common Divisors . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
4.6 GCDs and Uniqueness of Prime Factorizations . . . . . . . . . . . . . . . . 192
4.7 Consequences of Prime Factorization (Optional) . . . . . . . . . . . . . . . 197
vii
viii Contents
7 Cardinality 315
7.1 Finite Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
7.2 Countably Infinite Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
7.3 Countable Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
7.4 Uncountable Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Index 385
Preface
ix
x Preface
A course introducing ideas from advanced calculus could include these topics:
• how to prove statements containing multiple quantifiers (Sections 2.6 and 2.7);
• general unions and intersections (Section 3.6);
• properties of preimages of sets under functions (Section 5.7);
assembling the skills to build increasingly complex proofs. Remarkably, this reduces the
task of writing many basic proofs into an almost completely automatic process. It is very
rewarding to see students gain confidence and ability as they master the basic skills one at
a time and thereby develop proficiency in proof-writing.
Here is an example to make the preceding ideas concrete. Consider a typical practice
problem for beginning proof-writers: prove that for all integers x, if x is odd, then x + 5 is
even. In the proof below, I have annotated each line with the basic skill needed to produce
that line.
Line in Proof Skill Needed
1. Let x0 be a fixed, arbitrary integer. Prove ∀ statement using generic element.
2. Assume x0 is odd; prove x0 + 5 is even. Prove an IF statement by direct proof.
3. We assumed there is k ∈ Z with x0 = 2k + 1. Expand a memorized definition.
4. We will prove there is m ∈ Z with x0 + 5 = 2m. Expand a memorized definition.
5. Doing algebra on the assumption gives: Use logical status words.
6. x0 + 5 = (2k + 1) + 5 = 2k + 6 = 2(k + 3). Do basic algebraic manipulations.
7. Choose m = k + 3, so x0 + 5 = 2m holds. Prove ∃ statement by giving an example.
8. Note m is in Z, being the sum of two integers. Verify a variable is in the required set.
Virtually every line in this proof is generated automatically using memorized skills; only
the manipulation in line 6 requires a bit of creativity to produce the multiple of 2. Now,
while many texts present a proof like this one, we seldom see a careful explanation of how the
proof uses an assumed existential statement (line 3) to prove another existential statement
(line 4) by constructing an example (lines 6 and 7) depending on the variable k in the
assumption. This explanation may seem unnecessary in such a simple setting. But it is a
crucial ingredient in understanding harder proofs in advanced calculus involving limits and
continuity. There we frequently need to use an assumed multiply-quantified IF-statement
to prove another multiply-quantified IF-statement. These proofs become much easier for
students if they have already practiced the skill of using one quantified statement to prove
another quantified statement in more elementary cases.
Similarly, there is not always enough prior coverage of the skill of memorizing and
expanding definitions (needed to generate lines 3 and 4). This may seem to be a minor
point, but it is in fact essential. Before writing this proof, students must have memorized
the definition stating that “x is even” means “there exists k ∈ Z with x = 2k.” But to
generate line 4 from this definition, k must be replaced by a new variable m (since k was
already given a different meaning in line 3), and x must be replaced by the expression x0 +5.
I devote many pages to in-depth coverage of these separate issues, before integrating these
skills into full proofs starting in Section 2.2.
Functions
A key topic in a proofs course is the rigorous definition of a function. A function is often
defined to be a set of ordered pairs no two of which have the same first component. This
definition is logically acceptable, but it causes difficulties later when studying concepts
involving the codomain (set of possible outputs) for a function. Since the codomain cannot
be deduced from the set of ordered pairs, great care is needed when talking about concepts
that depend on the codomain (like surjectivity or the existence of a two-sided inverse).
Furthermore, students accustomed to using the function notation y = f (x) find the ordered
pair notation (x, y) ∈ f jarring and unpalatable. My approach includes the domain and
codomain as part of the technical definition of a function; the set of ordered pairs by itself
is called the graph of the function. This terminology better reflects the way most of us
conceptualize functions and their graphs. The formal definition in Section 5.4 is preceded
by carefully chosen examples (involving arrow diagrams, graphs in the Cartesian plane, and
Preface xiii
formulas) to motivate and explain the key elements of the technical definition. We introduce
the standard function notations y = f (x) and f : X → Y without delay, so students do not
get bogged down with ordered triples and ordered pairs. Then we describe exactly what
must be checked when a new function is introduced: single-valuedness and the fact that
every x in the domain X has an associated output in the claimed codomain Y . We conclude
with examples of formulas that do or do not give well-defined functions.
Multiple Quantifiers
A hallmark of this book is its extremely careful and explicit treatment of logical quantifiers:
∀ (“for all”) and ∃ (“there exists”). The placement and relative ordering of these quantifiers
has a big impact on the meaning of a logical statement. For example, the true statement
∀x ∈ Z, ∃y ∈ Z, y > x (“for every integer x there is a larger integer y”) asserts something
very different from the false statement ∃y ∈ Z, ∀x ∈ Z, y > x (“there exists an integer y
larger than every integer x”). However, these doubly quantified examples do not reveal the
full complexity of statements with three or more nested quantifiers. Such statements are
quite common in advanced calculus, as mentioned earlier.
I give a very detailed explanation of multiple quantifiers in Sections 2.6 and 2.7. After
examining many statements containing two quantifiers, I introduce more complicated state-
ments with as many as six quantifiers, focusing on the structural outline of proofs of such
statements. Using these big examples is the best way to explain the main point: an existen-
tially quantified variable may only depend on quantified variables preceding it in the given
statement. Other examples examine disproofs of multiply quantified statements, where the
proof-writer must first form a useful denial of the given statement (which interchanges ex-
istential and universal quantifiers). Many exercises develop these themes using important
definitions from advanced calculus such as continuity, uniform continuity, convergence of
sequences, and least upper bounds.
Induction
Another vital topic in a proofs course is mathematical induction. Induction proofs are needed
when working with recursively defined entities such as summations, factorials, powers, and
sequences specified by a recursive formula. I discuss recursive definitions immediately before
induction, and I carefully draw attention to the steps in an induction proof that rely on these
definitions. Many expositions of induction do not make this connection explicit, causing
some students to stumble at the point inPthe proof requiring the expansion of a recursive
n+1 Pn
definition (for example, replacing a sum k=1 xk by [ k=1 xk ] + xn+1 ).
Induction proofs are often formulated in terms of inductive sets: sets containing 1 that
are closed under adding 1. Students are told to prove a statement ∀n ∈ Z≥0 , P (n) by
forming the set S = {n ∈ Z≥0 : P (n) is true} and checking that S is inductive. This
extra layer of translation confuses many students and is not necessary. Inductive sets do
serve an important technical purpose: they provide a rigorous construction of the set of
natural numbers as the intersection of all inductive subsets of R. I discuss this advanced
topic in the optional final chapter on real numbers (see Section 8.3), but I avoid mentioning
inductive sets in the initial treatment of induction. Instead, induction proofs are based on
the Induction Axiom, which says that the statements P (1) and ∀n ∈ Z≥0 , P (n) ⇒ P (n + 1)
suffice to prove ∀n ∈ Z≥0 , P (n). This axiom is carefully motivated both with the visual
metaphor of a chain of falling dominos and a more formal comparison to previously discussed
logical inference rules.
xiv Preface
Words of Thanks
Some pedagogical elements of this book were suggested by the exposition in A Transition
to Advanced Mathematics by Smith, Eggen, and St. Andre. My debt to this excellent text
will be evident to anyone familiar with it. My development as a mathematician and a writer
has also been deeply influenced by the superb works of James Munkres, Joseph Rotman,
J. Donald Monk, and the other authors listed in the Suggestions for Further Reading (see
page 383). I thank all the editorial staff at CRC Press, especially Bob Ross and Jose Soto,
and the anonymous reviewers whose comments greatly improved the quality of my original
manuscript.
I am grateful to many students, colleagues, friends, and family members who supported
me during the preparation of this book. I especially thank my father Frank Loehr, my
mother Linda Lopez, my stepfather Peter Lopez, Ken Zeger, Elizabeth Niese, Bill Floyd,
Leslie Kay, and the students who took proofs classes from me over the years. Words cannot
express how much I learned about teaching proofs from my students. Thank you all!
Very respectfully,
Nicholas A. Loehr
1
Logic
Propositions
We begin with propositional logic, which studies how the truth of a complex statement is
determined by the truth or falsehood of its parts.
1.1. Definition: Propositions. A proposition is a statement that is either true or false,
but not both.
Many things we say are not propositions, as seen in the next example.
1.2. Example. Which of these statements are propositions?
(a) 7 is positive.
(b) 1 + 1 = 7.
(c) Memorize all definitions.
(d) Okra tastes great.
(e) Is it raining?
(f) This sentence is false.
(g) Paris is a city and 2 + 2 is not 4, or Paris is not a city and 2 + 2 is 4.
Solution. Statement (a) is a true proposition. Statement (b) is a false proposition. Com-
mands, opinions, and questions do not have a truth value, so statements (c) through (e) are
not propositions. Statement (f) is an example of a paradox : if you assume this statement is
true, then the statement itself asserts that it is false. If you instead assume the statement
is false, then the statement is also true. Since propositions are not allowed to be both true
1
2 An Introduction to Mathematical Proofs
and false, statement (f) is not a proposition. Finally, statement (g) is a false proposition,
for reasons described below.
Propositional Forms
Statement (g) in the last example is a complex proposition built up from two shorter propo-
sitions using logical connective words such as AND, NOT, OR. The two shorter propositions
are “Paris is a city” and “2 + 2 is 4.” Let us abbreviate the proposition “Paris is a city”
by the letter P , and let us abbreviate the proposition “2 + 2 is 4” by the letter Q. Then
statement (g) has the form
We can create an even shorter expression to represent the logical form of statement (g)
by introducing special symbols for the logical connectives. Propositional logic uses the six
symbols shown in the following table, whose meaning is discussed in detail below.
Logical Symbol English Translation
∼P P is not true.
P ∧Q P and Q.
P ∨Q P or Q (or both).
P ⊕Q P or Q, but not both.
P ⇒Q if P , then Q.
P ⇔Q P if and only if Q.
Using these symbols, we can describe the logical form of statement (g) by the expression
The remaining logical connectives combine two propositions to produce a new proposi-
tion. As seen in the next definition, we need a four-row truth table to list all possible truth
values of the two propositions that we start with.
1.4. Definition of AND. For any propositions P , Q, the truth value of P ∧ Q
(“P and Q”) is determined by the following table.
P Q P ∧Q
T T T
T F F
F T F
F F F
Remember this table by noting that P ∧ Q is true only when both inputs P , Q are true;
in all other cases, P ∧ Q is false.
In our running example, where P is the true proposition “Paris is a city” and Q is the
true proposition “2 + 2 is 4,” note that P ∧ (∼Q) is false, because P is true and ∼Q is false.
Similarly, (∼P ) ∧ Q is false, because ∼P is false and Q is true. In this example, for any
proposition R, we can deduce that (∼P ) ∧ R must be false no matter what the truth value
of R is, since ∼P is already false. On the other hand, P ∧ R is true for true propositions R,
and false for false propositions R.
P Q P ⊕Q
T T F
T F T
F T T
F F F
Remember this table by noting that P ⊕ Q is true when the input propositions P , Q
have different truth values; P ⊕ Q is false when the input propositions P , Q have the same
truth values.
1.7. Example. Let P be the false proposition “1+1 = 3,” and let Q be the true proposition
“2 is positive.” Which propositions below are true?
(a) P ⊕ Q; (b) P ⊕ (∼Q); (c) (∼P ) ⊕ Q; (d) P ∨ Q; (e) P ∨ (∼Q); (f) (∼P ) ∨ Q.
Solution. Using the truth tables for ⊕, ∨, and ∼, we find that (a) is true, (b) is false,
(c) is false, (d) is true, (e) is false, and (f) is true. The different answers for (c) and (f)
illustrate the distinction between exclusive-OR and inclusive-OR.
column 5 by looking for two Ts in columns 1 and 4 (which happens in row 1 only), placing
a T in that row, and filling the rest of column 5 with Fs.
In these examples, observe that the truth tables for (P ∧ Q) ∨ (∼P ) and P ∧ (Q ∨ (∼P ))
are not identical, since the outputs in rows 3 and 4 differ in the two tables. This shows
that these two propositional forms are not logically interchangeable with one another in
all situations. More briefly, we say that the two forms are not logically equivalent. On the
other hand, if two propositional forms A and B have truth tables whose outputs agree in
every row, we say that A and B are logically equivalent and write A ≡ B. (We study logical
equivalence in detail in the next few sections.) Notice, for instance, that P ∧ (Q ∨ (∼P )) is
logically equivalent to P ∧ Q, since column 5 in the previous example agrees with the truth
table for P ∧ Q in all four rows. So we could write P ∧ (Q ∨ (∼P )) ≡ P ∧ Q, enabling us
to replace the complicated propositional form on the left by the shorter form P ∧ Q on the
right.
1.10. Example: Translation of XOR. We have noted that P ⊕ Q can be translated
as “P or Q, but not both.” This English phrase is built up using the logical connectives
OR, NOT, BUT, and BOTH (the last two words have the same meaning as AND). So
a more literal encoding of the phrase “P or Q, but not both” as a propositional form is
(P ∨ Q) ∧ (∼(P ∧ Q)). The following truth table verifies that (P ∨ Q) ∧ (∼(P ∧ Q)) ≡ P ⊕ Q.
This logical equivalence justifies the use of this phrase as a translation of XOR.
P Q P ⊕Q P ∨Q P ∧ Q ∼(P ∧ Q) (P ∨ Q) ∧ (∼(P ∧ Q))
T T F T T F F
T F T T F T T
F T T T F T T
F F F F F T F
Note that we combine columns 4 and 6 to complete column 7 using the definition of AND.
The claimed logical equivalence follows from the complete agreement of columns 3 and 7 in
every row. In contrast, since columns 3 and 4 disagree in row 1, we see that (P ⊕Q) 6≡ (P ∨Q).
In other words, inclusive-OR and exclusive-OR are not logically equivalent.
Section Summary
1. Memorize the definitions of the logical connectives, as summarized in the following
truth table.
Note that NOT flips the truth value of the input; AND outputs true exactly when
both inputs are true; OR outputs false exactly when both inputs are false; and
XOR outputs true exactly when the two inputs differ.
2. Remember that in mathematics, “P or Q” always means P ∨ Q (inclusive-OR).
To translate P ⊕ Q (exclusive-OR) into English, you must use an explicit phrase
such as “P or Q, but not both.”
3. Two propositional forms A and B are logically equivalent, denoted A ≡ B, when
these forms have truth tables whose outputs agree in all rows of the truth table. If
there is even a single row of disagreement, the forms are not logically equivalent.
For instance, P ∨ Q 6≡ P ⊕ Q.
Exercises
1. Is each statement true, false, or not a proposition? Explain.
(a) 1 + 1 = 2 or London is a city. (b) Math is fun. (c) France is a country, and
Berlin is an ocean. (d) 0 < 1 or 1 < 0. (e) 0 < 1 or 1 < 0, but not both. (f) Chopin
Logic 7
was the greatest classical composer. (g) 2 is not even1 , or 2 is positive. (h) 15 is
odd or positive, but not both.
2. Is each statement true, false, or not a proposition? Explain.
(a) It is not the case that 2 is even or 2 is positive. (b) The following statement
R1
is a true proposition. (c) 0 x2 dx = 1/3 and 25 = 32. (d) When do fish sleep?
(e) The following statement is a true proposition. (f) The previous statement is
a false proposition. (g) I am tired.
3. Construct truth tables for the following propositional forms.
(a) (∼P ) ∧ Q (b) (P ∧ Q) ∨ ((∼P ) ∧ (∼Q)) (c) (P ∨ (∼Q)) ⊕ ((∼Q) ∨ P )
(d) (P ∧ Q) ∨ R (e) P ∧ (Q ∨ R) (f) P ∨ (Q ⊕ R)
4. (a) Is ∼(P ∨ Q) logically equivalent to (∼P ) ∨ (∼Q)? Explain with a truth table.
(b) Give English translations of the two propositional forms in (a).
5. Assume P is a true proposition, Q is a false proposition, and R is an arbitrary
proposition. Say as much as you can about the truth or falsehood of each propo-
sition below.
(a) P ∧ (∼Q) (b) (∼P ) ∨ Q (c) P ⊕ Q (d) P ⊕ (∼Q) (e) R ∨ P (f) Q ∨ R
(g) Q ⊕ R (h) R ∧ (∼R) (i) R ∨ (∼R) (j) R ⊕ R (k) R ⊕ (∼R).
6. (a) Make a truth table for the propositional form (P ∧(∼Q))∨((∼P )∧Q). Be sure
to show the columns for all intermediate forms. (b) Find a short propositional
form that is logically equivalent to the form in (a). (c) Use (b) to write an English
sentence with the same logical meaning as statement (g) in Example 1.2.
7. (a) Make a truth table for P ∧((∼Q)∨P ). (b) Make a truth table for (P ∧(∼Q))∨P .
(c) Are the propositional forms in (a) and (b) logically equivalent? Why?
(d) Find a short propositional form that is logically equivalent to the form in (a).
8. Which propositional forms (if any) are logically equivalent? Justify your answer
with truth tables. (a) P (b) ∼P (c) P ∨ P (d) P ∧ P (e) P ⊕ P (f) (P ∧ Q) ∨ P .
9. Which propositional forms (if any) are logically equivalent? Explain.
(a) P ∧ Q (b) Q ∧ P (c) (P ∧ Q) ∧ P (d) ∼(P ⊕ Q).
10. Which propositional forms (if any) are logically equivalent? Explain.
(a) ∼(P ∧ Q) (b) (∼P ) ∧ (∼Q) (c) ((∼P ) ∧ Q) ∨ (P ∧ (∼Q))
(d) P ⊕ (∼Q) (e) P ∨ (∼Q) (f) (P ∨ (∼Q)) ∧ ((∼P ) ∨ Q).
11. Which propositional forms (if any) are logically equivalent? Explain.
(a) P ∨ (Q ∨ R) (b) P ⊕ (Q ∨ R) (c) P ∨ (Q ⊕ R) (d) P ⊕ (Q ⊕ R)
(e) (P ∨ Q) ∨ R (f) (P ⊕ Q) ∨ R (g) (P ∨ Q) ⊕ R (h) (P ⊕ Q) ⊕ R.
12. Let x0 be a fixed integer. Let P be the proposition “x0 < 8,” let Q be “0 < x0 ,”
and let R be “x0 = 0.” Encode each statement as a propositional form involving
P , Q, and R.
(a) x0 is strictly positive. (b) x0 ≥ 8. (c) x0 is less than zero.
(d) x0 is nonnegative. (e) 0 < x0 < 8. (f) 0 ≤ x0 < 8. (g) |x0 − 4| ≥ 4.
13. Let P be the statement “1 + 1 = 2,” let Q be “0 = 1,” and let R be “71 is prime.”
Convert each propositional form into an English sentence without parentheses. Be
sure that the sentence has the precise logical structure encoded by the form.
(a) (P ∧ Q) ∨ R (b) P ∧ (Q ∨ R) (c) ∼(P ∧ Q) (d) (∼P ) ∧ Q
(e) (P ∧ Q) ∧ R (f) P ∧ (Q ∧ R) (g) ((∼P ) ∧ (∼Q)) ⊕ (∼R)
1 Some exercises and examples in Chapter 1 assume familiarity with even integers . . . , −4, −2, 0, 2, 4, . . .
and odd integers . . . , −5, −3, −1, 1, 3, 5, . . .. Formal definitions of even and odd appear in §2.1.
8 An Introduction to Mathematical Proofs
16. (a) Find a simple verbal description characterizing when ((A ⊕ B) ⊕ (C ⊕ D)) ⊕ E
is true. (b) Does your answer to (a) change if we rearrange parentheses in the
expression? What if we reorder A, B, C, D, and E?
17. Find a propositional form involving variables P , Q, R that is true precisely when
exactly one of P , Q, R is true. Try to use as few logical connectives as possible.
18. Find a propositional form involving variables P , Q, R that is true when at least
two of the inputs are true, and false otherwise. Try to use as few logical connectives
as possible.
19. (a) How many truth tables are possible for propositional forms containing two
variables P and Q? (b) For each possible truth table in (a), find a short proposi-
tional form having that truth table.
Logic 9
Logical Equivalence
We first recall the definition of logically equivalent propositional forms from the last section.
1.12. Definition: Logically Equivalent Propositional Forms. Two propositional
forms A and B are logically equivalent when the truth tables for A and B have outputs
that agree in every row. We write A ≡ B when A and B are logically equivalent; we write
A 6≡ B when A and B are not logically equivalent.
Our first theorem lists some logical equivalences that can often be used to replace com-
plicated propositional forms by shorter ones.
1.13. Theorem on Logical Equivalence. For all propositional forms P , Q, and R, the
following logical equivalences hold:
(a) Commutative Laws: P ∧ Q ≡ Q ∧ P , P ∨ Q ≡ Q ∨ P , and P ⊕ Q ≡ Q ⊕ P .
(b) Associative Laws: P ∧ (Q ∧ R) ≡ (P ∧ Q) ∧ R, P ∨ (Q ∨ R) ≡ (P ∨ Q) ∨ R,
and P ⊕ (Q ⊕ R) ≡ (P ⊕ Q) ⊕ R.
(c) Distributive Laws: P ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R), P ∨ (Q ∧ R) ≡ (P ∨ Q) ∧ (P ∨ R),
and P ∧ (Q ⊕ R) ≡ (P ∧ Q) ⊕ (P ∧ R).
(d) Idempotent Laws: P ∧ P ≡ P and P ∨ P ≡ P .
(e) Absorption Laws: P ∧ (P ∨ Q) ≡ P and P ∨ (P ∧ Q) ≡ P .
(f) Negation Laws: ∼(∼P ) ≡ P , ∼(P ∧ Q) ≡ (∼P ) ∨ (∼Q), and ∼(P ∨ Q) ≡ (∼P ) ∧ (∼Q).
The names of the first three laws indicate the analogy between these logical equivalences
and certain algebraic properties of real numbers. For example, the commutative laws for
propositional forms resemble the commutative laws x + y = y + x and x · y = y · x for real
numbers x, y; similarly, observe the resemblance between the distributive laws listed above
and the algebraic distributive law x · (y + z) = (x · y) + (x · z).
All parts of this theorem are proved by constructing truth tables for the propositional
forms on each side of each equivalence, and verifying that the truth tables agree in every
row. We illustrate the technique for a few parts of the theorem, asking you to prove the
other parts in the exercises.
1.14. Proof of the Idempotent Laws. The truth table is shown here:
P P P ∧P P ∨P
T T T T
F F F F
We list the column for P twice to make it easier to compute P ∧ P and P ∨ P . We
compute the last two columns from the first two columns using the definition of AND and
10 An Introduction to Mathematical Proofs
OR, respectively. Since column 3 and column 2 agree in all rows, P ∧ P ≡ P . Since column
4 and column 2 agree in all rows, P ∨ P ≡ P .
1.15. Proof of ∼(P ∨ Q) ≡ (∼P ) ∧ (∼Q). For this equivalence, we need a four-row truth
table:
P Q P ∨ Q ∼(P ∨ Q) ∼P ∼Q (∼P ) ∧ (∼Q)
T T T F F F F
T F T F F T F
F T T F T F F
F F F T T T T
Columns 4 and 7 agree in every row, so the logical equivalence is proved. This equivalence
and its companion ∼(P ∧ Q) ≡ (∼P ) ∨ (∼Q) are called de Morgan’s laws. In words, the
law we just proved says that the negation of an OR-statement “P or Q” is equivalent to
the statement “(not P ) and (not Q),” whereas the dual law tells us that “not (P and Q)”
is logically equivalent to “(not P ) or (not Q).” For a specific example, the statement “it is
false that 10 is prime or 10 is odd” may be simplified to the statement “10 is not prime and
10 is not odd” without changing the truth value (both statements are true). Similarly, the
statement that “John has brown hair AND blue eyes” is false precisely when John’s hair is
not brown OR John’s eyes are not blue. In §1.5, we will say a lot more about simplifying
statements that begin with NOT.
1.16. Proof of Associativity of XOR. This law has three input variables, so we need
a truth table with eight rows, as shown below. One quick way to create the eight possible
input combinations is to write 4 Ts followed by 4 Fs in the column for P ; then write 2 Ts,
2 Fs, 2 Ts, 2 Fs in the column for Q; then write alternating Ts and Fs in the column for
R. This pattern extends to truth tables with even more variables. In general, if there are n
distinct input variables that stand for propositions, the truth table has 2n rows.
P Q R Q⊕R P ⊕ (Q ⊕ R) P ⊕ Q (P ⊕ Q) ⊕ R
T T T F T F T
T T F T F F F
T F T T F T F
T F F F T T T
F T T F F T F
F T F T T T T
F F T T T F T
F F F F F F F
The quickest way to fill in this truth table is to look for disagreements between the
inputs of each XOR (being sure to refer to the correct columns), writing Ts in those rows,
and writing Fs in all other rows. Columns 5 and 7 agree in all eight rows, so the associative
law for ⊕ is proved. The other associative laws and distributive laws are proved by similar
eight-row truth tables.
What IF Means
We are now ready to define the precise logical meaning of the word IF. Be warned that the
usage of IF in everyday conversational English often does not match the definition we are
about to give. Nevertheless, this definition is universally used in logic, mathematics, and all
technical communication. When discussing the statement P ⇒ Q, which is read “if P then
Q,” we call P the hypothesis and Q the conclusion of the IF-statement.
Logic 11
1.17. Definition of IF. For any propositions P and Q, the truth value of P ⇒ Q
(“if P then Q”) is determined by the following table.
P Q P ⇒Q
T T T
T F F
F T T
F F T
Remember this table by noting that P ⇒ Q is false only when the hypothesis P is true
and the conclusion Q is false; in all other situations, the IF-statement is true. In particular,
when P is false, the IF-statement P ⇒ Q is automatically true, whether Q is true or false;
this fact often confuses beginners.
1.18. Example. True or false?
(a) If 1 + 1 = 3, then 1 + 1 = 5.
(b) If 0 6= 0, then 0 = 0.
(c) If 3 > 2, then London is the capital of England.
(d) If 9 is odd, then 9 is even.
Solution. Statement (a) has the form P ⇒ Q, where P is the false statement “1 + 1 = 3,”
and Q is the false statement “1+1 = 5.” By definition of IF, statement (a) is true, no matter
how unintuitive this statement may sound. Statement (b) has the form (∼Q) ⇒ Q, where
Q is the true proposition “0 = 0.” Since the hypothesis ∼Q is false, we can see that (b) is
true without even reading the statement following THEN. Statement (c) is true (according
to row 1 of the truth table), even though the two parts of the statement have no causal
relation to each other. Finally, statement (d) is false because “9 is odd” is true, but “9 is
even” is false.
These examples show that we must not rely upon an intuitive impression of the content
of an IF-statement to determine its truth value; we must instead combine the truth values
of the inputs according to the defining truth table. As shown in (c), there need not be any
cause-and-effect relationship between the hypothesis and conclusion of an IF-statement.
It is fair to ask why IF is defined in such an apparently unnatural way. Most people agree
that “if true then true” should be considered true, whereas “if true then false” should be
considered false. Why, though, is “if false then anything” defined to be true? One possible
answer draws an analogy between IF-statements, as they are used in logic, and IF-statements
appearing in legal contracts or judicial proceedings. Suppose a painting company issues a
contract to a homeowner containing the statement: “if you pay us $1000 by May 1, then we
will paint your house by June 1.” Under what conditions would we say that the company
has violated this contract? For example, suppose the company does not paint the house
because it was not paid on time. Both clauses of the IF-statement are false, yet no one
would say that the company violated the contract in this situation. Similarly, supposing
that the money is paid on May 3 and the house is painted on time, the company has not
violated the contract even though the first part of the IF-statement is false.
We can give another, more mathematical motivation for the definition of IF by consider-
ing the following statement: “for all real numbers x, if x > 2 then x2 > 4.” (This statement
uses variables and quantifiers, which are discussed later.) Most people would judge this
statement to be true, on intuitive grounds, and this judgment is correct. But once you
agree this statement should be true, you are forced to agree that it should be true after
replacing each x in the statement by any specific real number. In particular, we see that
each of these statements must be true:
• “if 3 > 2 then 32 > 4” (illustrating row 1 of the truth table);
12 An Introduction to Mathematical Proofs
• “if −4 > 2 then (−4)2 > 4” (illustrating row 3 of the truth table);
• “if 0 > 2 then 02 > 4” (illustrating row 4 of the truth table).
Thus the whole truth table for IF is forced upon us, granting that row 2 of the truth table
ought to be false.
In mathematics, a statement “if P then Q” is not making any claims about the truth
of the conclusion Q in the event that the hypothesis P does not hold; so in this event, we
should not declare the IF-statement to be false. But since propositions must have some
truth value, we are forced to call the IF-statement true in such situations.
1.20. Example. The converse of “if 9 is negative, then 9 is odd” is “if 9 is odd, then 9
is negative.” Observe that the first statement is true, whereas the converse is false. The
contrapositive of “if 9 is negative, then 9 is odd” is “if 9 is not odd, then 9 is not negative,”
which is true.
The converse of “if 2 = 3, then 4 = 9” is “if 4 = 9, then 2 = 3.” Both the original
statement and its converse are true. The contrapositive of “if 2 = 3, then 4 = 9” is “if
4 6= 9, then 2 6= 3,” which is also true.
In both examples, the contrapositive had the same truth value as the original statement,
but this was not always the case for the converse. The next theorem explains what happens
in general.
1.21. Theorem on IF. Let P and Q be distinct propositional variables.
(a) Non-equivalence of Converse: P ⇒ Q 6≡ Q ⇒ P .
(b) Equivalence of Contrapositive: P ⇒ Q ≡ (∼Q) ⇒ (∼P ).
(c) Elimination of IF: P ⇒ Q ≡ (∼P ) ∨ Q.
(d) Denial of IF: ∼(P ⇒ Q) ≡ P ∧ (∼Q).
Part (a) says that a general IF-statement is not logically equivalent to its converse. Part
(b) says that a general IF-statement is logically equivalent to its contrapositive. Part (c) says
that IF-statements are essentially special kinds of OR-statements in which the first input
to the OR has been negated. We can use (c) to convert IF-statements to OR-statements
and vice versa. Part (d) shows that the negation of an IF-statement is logically equivalent
to an AND-statement. Parts (b), (c), and (d) hold for any propositional forms P and Q,
not just individual letters. For instance, (A ∨ B) ⇒ (C ⊕ D) ≡ (∼(A ∨ B)) ∨ (C ⊕ D)
follows by replacing P by A ∨ B and replacing Q by C ⊕ D in part (c). Memorize all parts
of this theorem, as they will be used constantly throughout our study of logic and proofs.
To prove the theorem, consider the following truth table:
P Q P ⇒Q Q⇒P ∼Q ∼P (∼Q) ⇒ (∼P ) (∼P ) ∨ Q
T T T T F F T T
T F F T T F F F
F T T F F T T T
F F T T T T T T
Another random document with
no related content on Scribd:
The Project Gutenberg eBook of Bits from
Blinkbonny; or, Bell o' the Manse
This ebook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this ebook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.
Language: English
The cover image was restored by Thiers Halliwell and is placed in the
public domain.
See end of this transcript for details of corrections and other changes.
BITS FROM BLINKBONNY.
The Artists Bit.
BITS FROM BLINKBONNY
OR
BY
JOHN STRATHESK
TORONTO
WILLIAM BRIGGS, 78 & 80 KING ST. EAST
July 1882.
CONTENTS.
——◆——
CHAPTER I.
THE MANSE.
PAGE
CHAPTER II.
A QUIET EVENING AT THE MANSE.
Bell’s Sliding Scale—Her Pattens—The Hospitality of the
Manse—Be judeecious—James and his Skates—
Mrs. Barrie’s Experiences—Mr. Barrie’s Illness—The
Good Samaritan—A Startling Proposal, 22
CHAPTER III.
THE MARRIAGE AND THE HOME-COMING.
“The Books”—P.P.C.—Marriage Presents—“The
Confession of Faith”—Toasts—“The Frostit
Corn”—“The Country Rockin’”—Auntie Mattie—“The
Farmer’s Ingle”—Peggy Ritchie on the Churchyard—
A Lamb Leg and a Berry Tart—Mathieson’s Heid, 41
CHAPTER IV.
THE TWO SIDES OF THE CHURCH QUESTION.
Coming Events—Bell and the Seed Potatoes—Her Idea 58
of the Government—Knowe Park—Spunks—The
Town-Clerk of Ephesus—Bell’s summing up—Daisy
—The Eve of Battle—Sir John McLelland’s Opinions
on the “Evangelicals”—Patronage—Preaching
Competitions—Little Gab—Non-Intrusion and Voting,
CHAPTER V.
BLINKBONNY AND THE DISRUPTION.
Bell’s Opinion of Knowe Park—Mr. Barrie’s Return—The
Deputation’s Visit to the Manse—Mr. Barrie’s
Statement—Mr. Taylor’s Views—George Brown on
the Crisis—His Covenanting Relics, 85
CHAPTER VI.
THE DISRUPTION AND BLINKBONNY.
The Meeting in Beltane Hall—The End of the Ten Years’
Conflict—George Brown’s Exercises—The Bellman’s
Difficulty—Sabbath Services at the Annie Green
—“Thae Cath’lics”—The Secession Church—Mr.
Barrie’s Successor—Bell and Smoking—“Hillend” on
Doctors and Ministers—A Man amang Sheep, 99
CHAPTER VII.
OUT OF THE OLD HOME AND INTO THE NEW.
Leaving the Manse—Dr. Guthrie and the Children—
Nellie’s Tibby—Well settled—Bell’s Experiment with
the Hens—Dan Corbett—Braid Nebs—Babbie’s Mill, 126
CHAPTER VIII.
BLINKBONNY FREE CHURCH.
The Disruption of 1843—Hardships—Scotch Villages and
Church Matters—The New Church—The Session
and Deacons—The Beadle, Walter Dalgleish—The
Precentorship—Psalms and Hymns—Mr. Barrie’s
New Life—Foreign Missions—The Assembly’s
Decision—The Living Child—Saxpence—“Gude Siller
gaun oot o’ the Country”—Reminiscences of Dr. Duff, 154
CHAPTER IX.
BELL AT HOME IN KNOWE PARK.
The Three Ministers of Blinkbonny—Mr. Walker—The Ten
Virgins—The finest o’ the Wheat—Bell’s Fee—Alloa
Yarn—Bell’s Cooking—Sheep’s-head—Mr. Kirkwood
and the Potato-Soup—Dan in the Kitchen—Mr.
Gordon o’ the Granaries and the Smugglers—Dan at
Nellie’s Grave—Mr. Barrie’s Visit to Dan, 177
CHAPTER X.
INCIDENTS IN BLINKBONNY.
Miss Park on Dan—The Sweep’s dead—Mrs. Gray’s
Elegy on her Husband—The Coffin for naething—The
New School-master—The Roast Beef in the Lobby—
The Examination Committee—“Hoo’ to get there”—
George Brown’s Death—Scripture References—Mrs.
Barrie and Mr. Corbett—Dan and the Pictures—Dan’s
Bath—His Dream—Dan at Church—His Visit to
Babbie’s Mill—Colonel Gordon’s First Visit—Sir John
McLelland at the Soiree—“The Angel’s Whisper”
(Samuel Lover), 205
CHAPTER XI.
CHANGES AT KNOWE PARK.
The Dorcas Society—The Morisonian Controversy—
Colonel Gordon’s Second Visit—A Real Scotch
Dinner—Champagne—Dan an’ the Duke o’ Gordon—
The Smuggler’s Log-book—Colonel Gordon’s Will—
Dan’s Bank—The Call to Edinburgh—No-Popery
Agitation—David Tait o’ Blackbrae—The Sow and the
Corinthians—Bell woo’d—Mrs. Barrie breaks the Ice
—Bell won—Found out and congratulated, 230
CHAPTER XII.
ANOTHER MARRIAGE AND HOME-COMING.
The Forms of Procedure—Reception of the News of Bell’s 259
Marriage by Mr. Taylor, and by Sir John McLelland
—“Her Weight in Gold”—Bell’s Presents—“Hook ma
Back”—Mr. Walker’s Violin—Bell’s Marriage and
Home-coming—The Infar Cake—Creeling—Dan,
“Burke,” and the Noisy Convoy—The Vexing Pig—
The “Kirkin’,”
CHAPTER XIII.
CONCLUSION.
The Packing at Knowe Park—The Bachelor Umbrella—
Nellie’s Box—Dan and Rosie—Dan on Evangelical
Effort—On “The Angel’s Whisper”—Bell in Edinburgh
—Home to Blackbrae—Andrew Taylor’s Criticisms, 284
LIST OF ILLUSTRATIONS.
——◆——