In the previous chapter, we built up the tools of propositional and
quantified logic: propositions, connectives, truth tables, the laws of
logic, and quantifiers. Along the way, we occasionally ran into the
implication — one proposition claiming that another must follow from it —
without stopping to give it the attention it deserves.
That attention is where we begin this chapter. From there, we turn those
tools toward their real purpose: building arguments whose conclusions are
guaranteed to be true, and proving that mathematical statements — not
just isolated propositions, but general claims about numbers, shapes, and
structures — are true beyond any doubt.
Subsections of Proof
A Closer Look at the Implication
Out of the two conditional-style connectives we’ve seen — the
implication $p \to q$ and the biconditional
$p \leftrightarrow q$ — we’ve given the biconditional a fairly
thorough treatment already. Now we turn back to the implication, to see
what else it has to offer.
Recall from its definition that the implication $p \to q$ is
false exactly when $p$ is true and $q$ is false. In other words,
$\text{true} \to \text{false}$ is a false proposition. This
deserves special emphasis:
Truth Value of an Implication
\[
\begin{align*}
&\text{false} \to \text{false} \text{ is a true proposition.} \\
&\text{false} \to \text{true} \text{ is a true proposition.} \\
&\text{true} \to \text{false} \text{ is a false proposition.} \\
&\text{true} \to \text{true} \text{ is a true proposition.}
\end{align*}
\]
The reason $\text{true} \to \text{false}$ is a false
proposition is that we don’t want true statements leading to false ones
in a logical system.
Components of an Implication
Before going any further, it’s worth giving names to the two propositions
that make up an implication.
HYPOTHESIS, CONCLUSION
Consider an implication $p \to q$. The proposition $p$ is
called the hypothesis of the implication, and the proposition $q$ is
called the conclusion of the implication.
The hypothesis is the proposition we’re assuming to be true; the
conclusion is what we’re claiming follows once that assumption holds.
This is exactly the vocabulary we need to describe the table above in
plain English: an implication is false only when its hypothesis is true
but its conclusion is false. Whenever the hypothesis is false, we get to
declare the implication true no matter what the conclusion happens to
be — there’s nothing false about the implication if the assumption
driving it never held in the first place.
We’ll lean on this vocabulary constantly going forward, so it’s worth
getting comfortable with it now, before we start examining implications
more closely.
Trvially True Implications
Curiously, we consider both $\text{false} \to \text{false}$
and $\text{false} \to \text{true}$ to be true propositions.
This is because if we start with a false hypothesis, the truth of the
conclusion is irrelevant.
Example 2.1.1: Examining an implication case by case
Suppose Ricardo wants to buy two front-row tickets to a rock concert
so he can take a friend. He decides the easiest way to buy the tickets
is to save enough money by working a summer job. Two front-row tickets
cost $500.
Consider the following propositions:
\[
\begin{array}{rl}
s\text{: } &\text{Ricardo earns \$500 by working a summer job.} \\
t\text{: } &\text{Ricardo buys two front-row tickets to the rock concert.}
\end{array}
\]
Let’s take a closer look at the implication $s \to t$.
Case 1: $\text{false} \to \text{false}$
Here, Ricardo doesn’t save the $500 working a summer job, and doesn’t
buy two front-row tickets to the rock concert. Because Ricardo was
unable to save the needed money, he didn’t go back on his word. As far
as we can tell, Ricardo would have bought the tickets if he’d had the
money — he just wasn’t able to save it, and so wasn’t able to follow
through.
This is a trivially true implication.
Case 2: $\text{false} \to \text{true}$
Here, Ricardo wasn’t able to save the $500, but still bought two
front-row tickets to the rock concert — perhaps he won two front row tickets in a
radio contest, or was gifted money by friends or family. In this case, Ricardo
didn’t go back on his word to save money to buy tickets. Again, he may
have bought the tickets if he had saved the money working a summer job.
This is a trivially true implication.
Case 3: $\text{true} \to \text{false}$
In this case, Ricardo did save the $500 working a summer job, but
failed to buy the tickets. Here, Ricardo did go back on his word. This
means the proposition $s \to t$ isn’t an accurate
description of reality — Ricardo fulfilled the premise, but didn’t
follow through with the conclusion.
The implication is a false one.
Case 4: $\text{true} \to \text{true}$
In this case, Ricardo saved the $500 working a summer job, and bought
two front-row tickets to the rock concert. Ricardo kept his word, and
followed through.
This is a true implication, but not a trivially true implication.
Variations on the Implication
There are some simple ways we can change around an implication. Exactly
how we make these changes affects how the new implication we form is
related to our original starting implication. In this section, we look
at three such variations — the converse, the inverse, and the
contrapositive — and see how each one relates back to the implication we
started with.
The Converse, Inverse, and Contrapositive
The first two modifications are relatively straightforward.
CONVERSE, INVERSE
Consider the implication $p \to q$, which will act as our
starting point. Here, $p$ and $q$ could be primitive or compound
statements themselves.
The converse of $p \to q$ is the implication
$q \to p$.
The inverse of $p \to q$ is the implication
$\neg p \to \neg q$.
Basically, the converse is obtained by swapping the two statements on
either side of the arrow $\to$. The inverse is obtained by
negating both statements on either side of the arrow $\to$.
Of course, we can apply both transformations at the same time. There’s a
special name for that transformation as well.
CONTRAPOSITIVE
Consider the implication $p \to q$, where $p$ and $q$ could
be primitive or compound statements themselves.
The contrapositive of $p \to q$ is the implication
$\neg q \to \neg p$.
As always, an example in plain English will illuminate some key aspects
of these kinds of propositions.
Example 2.2.1: The converse, inverse, and contrapositive of a musical claim
Consider the implication $t \to s$ where
\[
\begin{array}{rl}
t\text{: } &\text{Taylor Swift releases a new album.} \\
s\text{: } &\text{The album will be successful.}
\end{array}
\]
The converse could be translated as
$$\text{If an album is successful, then it was released by Taylor Swift.}$$
The inverse can be translated as
$$\text{If Taylor Swift does not release an album, then that album will not be successful.}$$
Finally, the contrapositive would basically read
$$\text{If an album is not successful, then it was not released by Taylor Swift.}$$
Based on Taylor Swift’s past success, the implication $t \to
s$ certainly seems like a reasonable statement that’s always true.
However, notice that the converse doesn’t always appear to be true —
plenty of successful albums have been released by artists other than
Taylor Swift. AC/DC’s album Back in Black was a wildly successful
album, and Michael Jackson’s Thriller is perhaps the best-selling
album of all time.
The inverse doesn’t appear to be true all the time either (assuming
$t \to s$ is always true, of course) — again, other artists
release successful albums all the time.
The contrapositive is more interesting. Any non-successful album
couldn’t have been released by Taylor Swift, because if it had been,
then it would have been successful — Taylor Swift doesn’t make
unsuccessful albums. So the contrapositive does seem to always be true.
Furthermore, if we suppose $t \to s$ were false (unfathomable,
but let’s imagine it for the sake of argument), then the contrapositive
would also be false.
We have the following truth table relating an implication to its
converse, inverse, and contrapositive.
Notice that the values in the $p \to q$ column exactly match
the values in the contrapositive column. This tells us that an
implication is always logically equivalent to its contrapositive; in
other words,
Additionally, the values in the converse column exactly match those of
the inverse column. This tells us that an implication’s converse is
logically equivalent to its inverse, meaning
$$q \to p \Longleftrightarrow \neg p \to \neg q.$$
Yet again, this is worth highlighting.
Equivalence of the Converse, Inverse, and Contrapositive
\[
\begin{array}{lcl}
p \to q & \Longleftrightarrow & \neg q \to \neg p \\
q \to p & \Longleftrightarrow & \neg p \to \neg q
\end{array}
\]
Since we’ve figured out that an implication is logically equivalent to
its contrapositive, we could have deduced that the converse and inverse
are logically equivalent just by noticing that the inverse is the
contrapositive of the converse (and vice versa).
Logical Implications
So far, we’ve studied what an implication means on its own, and how it
relates to variations like its converse, inverse, and contrapositive.
Now we turn to a special kind of implication — one that’s true no matter
what truth values its hypothesis and conclusion happen to take on. These
implications are especially useful, since knowing one holds lets us
deduce its conclusion with total certainty the moment its hypothesis is
satisfied.
We already know, from the Law of Material Implication, that
$p \to q$ is logically equivalent to $\neg p \lor q$. Before
moving on, it’s worth building some intuition for why that’s true, and
seeing what it buys us.
Building Intuition for the Material Implication
Example 2.3.1: Deducing what an implication tells us
Suppose we have $p \to q$ where
\[
\begin{array}{rl}
p\text{: } &\text{Alyssa studies for her Chemistry exam.} \\
q\text{: } &\text{Alyssa gets an A on her Chemistry exam.}
\end{array}
\]
What can we deduce if we know $\neg p$ is true (meaning $p$ is false)?
In this scenario, Alyssa doesn’t study for her Chemistry exam. Does this
mean she doesn’t get an A on her Chemistry exam?
Not necessarily. Remember, all we know is that if she studies, she’ll
get an A — we weren’t told $\neg p \to \neg q$. Perhaps the
exam is easy enough that Alyssa doesn’t feel the need to study. Perhaps
the exam is difficult, but Alyssa is comfortable enough with the
material to work out correct answers with a little thought. On the
other hand, the exam could be extremely difficult for Alyssa, so maybe
she doesn’t get an A. All we can conclude is that she didn’t study — we
can’t determine whether we have $q$ or $\neg q$.
What if we know we have $p$ instead of $\neg p$? Since we know that if
Alyssa studies, she’ll get an A, knowing that $p$ happened tells us that
$q$ happened as well. (Note that since we’re asserting $p \to
q$ is true, we can’t have $p \to \neg q$.)
Our conclusion hinges entirely on the truth value of $p$: if $\neg p$
happened, we don’t get any additional conclusions, but if $p$ happened,
we immediately know $q$ happens too. This is exactly the behavior of the
disjunction $\neg p \lor q$ — which is precisely why
$p \to q \Longleftrightarrow \neg p \lor q$ in the first place.
Keeping this equivalence in mind makes negating an implication far less
error-prone. As a reminder, from the Simplifying Logical Expressions
section, we already worked out that
$$\neg (p \to q) \Longleftrightarrow p \land \neg q,$$
which lines up with what we’d expect: an implication is false exactly
when $p$ is true and $q$ is false.
It’s worth emphasizing why parentheses matter here. An expression such
as $\neg p \to q$ is shorthand for $(\neg p) \to
q$ — the negation $\neg$ is the most tightly-binding operation in an
expression, so it only applies to $p$, not to the whole implication.
This is a very different statement from $\neg (p \to q)$,
as the truth table below makes clear.
Any doubts about how an expression should be parsed can always be put
to rest by adding parentheses of your own.
Tautologically True Implications
Example 2.3.2: An implication that’s always true
Consider two propositions $a$ and $b$, where
\[
\begin{array}{rl}
a\text{: } &\text{Alvarez hauls up a red king crab pot.} \\
b\text{: } &\text{Alvarez has to report the catch to the harbormaster.}
\end{array}
\]
Let’s compare two conjunctions built from these propositions and the
implication $a \to b$: $a \land (a \to b)$, and $b \land (a \to b)$.
Suppose $a \land (a \to b)$ is true. Then $a$ is true — Alvarez hauls up
a red king crab pot — and $a \to b$ is true as well. Since $a$ is true
and $a \to b$ is true, we can deduce $b$ must be true too — Alvarez has
to report the catch. So $a \land (a \to b)$ being true pins down both
$a$ and $b$.
Now suppose $b \land (a \to b)$ is true instead. Then $b$ is true —
Alvarez has to report the catch. But once $b$ is true, the implication
$a \to b$ is automatically true too, no matter what $a$ happens to
be — an implication with a true conclusion can never be false. So
$b \land (a \to b)$ being true doesn’t actually tell us anything about
$a$; it only ever tells us that $b$ is true.
The truth table below confirms that $[a \land (a \to b)] \to b$ is a
tautology:
Every row in the $[a \land (a \to b)] \to b$ column is a $1$, so
$a \land (a \to b)$ always forces $b$ to be true.
Now compare that against the truth table for $[b \land (a \to b)] \to
a$:
Here, the $[b \land (a \to b)] \to a$ column has a single $0$, so this
implication is not a tautology — $b \land (a \to b)$ being true
doesn’t let us conclude $a$.
There’s a special name for these kinds of implications.
LOGICALLY IMPLIES
Suppose $a$ and $b$ are any arbitrary statements (primitive or compound)
such that the implication $a \to b$ is always true — in
other words, a tautology. We say that $a$ logically implies $b$, and
we write
$$a \Longrightarrow b.$$
If $a \to b$ is not a tautology, we write $a \not\Longrightarrow
b$.
Based on the previous example, where we saw that $(a \land (a \to
b)) \to b$ was a tautology, we can use this new notation and write
$$(a \land (a \to b)) \Longrightarrow b.$$
Quantified Logical Implications
Now that we’ve taken a closer look at the implication itself, let’s
revisit quantified statements to see how the same ideas — logical
implication, and the converse, inverse, and contrapositive — carry over
to them.
A Simple Logical Implication
Suppose we have some open statement $p(x)$ with some non-empty universe
$\mathcal{U}$ (non-empty just means $\mathcal{U}$ contains at least one
element, which we can refer to as $\alpha$).
What can we conclude if we know that the statement $\forall x\ [p(x)]$ is
true — that is, we know $\forall x\ [p(x)] = 1$?
One thing we can conclude is that if $\alpha \in \mathcal{U}$ (meaning
$\alpha$ is some element found within the universe $\mathcal{U}$), then
$p(\alpha) = 1$. Since some value of $x$ exists that makes $p(x) = 1$, we
can conclude that $\exists x\ [p(x)] = 1$.
Example 2.4.1: A true universal statement gives a true existential statement
Let our universe, denoted $N$, consist of the integers $1$ through $9$.
Consider the open statement
As such, we know that $\exists n\ [\ell(n)]$ is also true, since we know
$1^2 = 1 < 100$, meaning there exists some value ($n = 1$) such that
$\ell(n) = 1$.
Does this work the other way? That is, does knowing that
$\exists x\ [p(x)]$ is true mean that $\forall x\ [p(x)]$ is true?
Certainly not — knowing that some value exists that makes $p(x) = 1$ is
not the same thing as knowing that every value of $x$ within
$\mathcal{U}$ makes $p(x) = 1$.
Example 2.4.2: A true existential statement need not give a true universal statement
Consider the universe, which we’ll denote $R$, consisting of all the
real numbers. On that universe, consider the open statement
As a reminder, $\forall x\ [p(x)]$ is a single statement with a definite
truth value — it’s not an open statement or a propositional function.
The statement being expressed is that “every value of $x$ within
$\mathcal{U}$ makes $p(x)$ true.” Likewise, $\exists x\ [p(x)]$ is also a
single statement, which can be translated as “there exists at least one
value of $x$ that makes $p(x)$ true.”
Another way to state this is to say that
$\forall x\ [p(x)] \to \exists x\ [p(x)]$ is a tautology,
where $\forall x\ [p(x)]$ is the hypothesis of the implication, and
$\exists x\ [p(x)]$ is the conclusion.
A Simple Definition
Just like with ordinary statements, we can ask whether one open
statement logically implies another.
LOGICALLY IMPLIES
Consider open statements $p(x)$ and $q(x)$ defined on some universe
$\mathcal{U}$.
When $p(a) \to q(a) = 1$ for every value $a$ within
$\mathcal{U}$ — in other words, when $p(a) \to q(a)$ is a
tautology — we say $p(x)$ logically implies $q(x)$, and we write
$$\forall x\ [p(x) \Longrightarrow q(x)].$$
Example 2.4.3: One open statement logically implying another
Consider the universe of all planar quadrilaterals, along with the open
statements
\[
\begin{array}{rl}
s(q)\text{: } &\text{Quadrilateral } q \text{ is a square.} \\
r(q)\text{: } &\text{Quadrilateral } q \text{ is a rectangle.}
\end{array}
\]
From classical geometry, we know that every square is a rectangle, but
not every rectangle is a square. Thus, for every planar quadrilateral
$q_0$,
$$s(q_0) \Longrightarrow r(q_0)$$
but
$$r(q_0) \not\Longrightarrow s(q_0),$$
and so $\forall q\ [s(q) \Longrightarrow r(q)]$.
Conjunction, Disjunction, and Quantifiers
Recall from the previous chapter that the existential quantifier
distributes over disjunction, and the universal quantifier distributes
over conjunction:
We also saw that the other pairing — the existential quantifier with
conjunction, and the universal quantifier with disjunction — doesn’t
distribute the same way. Now that we have the language of logical
implication, we can pin down exactly what does survive in those two
cases.
Suppose $\exists x\ [p(x) \land q(x)]$ is true. Then some value $a$
within $\mathcal{U}$ makes $p(a) \land q(a)$ true, which means $p(a)$
is true and $q(a)$ is true individually. Since $a$ makes $p(x)$ true,
$\exists x\ [p(x)]$ is true; since $a$ also makes $q(x)$ true,
$\exists x\ [q(x)]$ is true. So both $\exists x\ [p(x)]$ and
$\exists x\ [q(x)]$ are true, meaning $\exists x\ [p(x)] \land \exists
x\ [q(x)]$ is true as well. This holds no matter what $p(x)$ and $q(x)$
are, so
Example 2.4.4: A witness for the conjunction is a witness for each half separately
Consider the universe of all integers, along with the open statements
\[
\begin{array}{rl}
p(x)\text{: } &x \text{ is even.} \\
q(x)\text{: } &x \text{ is a perfect square.}
\end{array}
\]
Since $x = 4$ is both even and a perfect square, $\exists x\ [p(x)
\land q(x)]$ is true. As expected, that same $x = 4$ also makes $p(x)$
true on its own and makes $q(x)$ true on its own, so $\exists x\
[p(x)] \land \exists x\ [q(x)]$ is true too — exactly what the
implication guarantees.
By a similar argument, suppose $\forall x\ [p(x)] \lor \forall x\
[q(x)]$ is true. Then at least one of $\forall x\ [p(x)]$ or $\forall
x\ [q(x)]$ is true. If $\forall x\ [p(x)]$ is true, then every value of
$x$ within $\mathcal{U}$ makes $p(x)$ true, which certainly means
every value of $x$ makes $p(x) \lor q(x)$ true as well — so $\forall
x\ [p(x) \lor q(x)]$ is true. The same reasoning applies if instead
$\forall x\ [q(x)]$ is the true one. Either way,
Every integer satisfies $p(x)$, so $\forall x\ [p(x)]$ is true, meaning
$\forall x\ [p(x)] \lor \forall x\ [q(x)]$ is true. As expected, every
integer also satisfies $p(x) \lor q(x)$, since $p(x)$ alone is already
true for every $x$ — so $\forall x\ [p(x) \lor q(x)]$ is true too.
Implications for Quantifiers with Conjunction and Disjunction
Let $p(x)$ and $q(x)$ be any propositional functions defined on some
universe $\mathcal{U}$.
The Converse, Inverse, and Contrapositive of Quantifiers
Just like how the statement $p \to q$ has a converse,
inverse, and contrapositive, so does the universally quantified
statement $\forall x\ [p(x) \to q(x)]$.
CONVERSE, INVERSE, CONTRAPOSITIVE
Consider open statements $p(x)$ and $q(x)$ defined on some universe
$\mathcal{U}$.
The converse of the statement $\forall x\ [p(x) \to
q(x)]$ is
$$\forall x\ [q(x) \to p(x)].$$
The inverse of the statement $\forall x\ [p(x) \to
q(x)]$ is
$$\forall x\ [\neg p(x) \to \neg q(x)].$$
The contrapositive of the statement $\forall x\ [p(x) \to
q(x)]$ is
$$\forall x\ [\neg q(x) \to \neg p(x)].$$
Just as an ordinary implication is logically equivalent to its
contrapositive, a quantified implication is logically equivalent to its
contrapositive. Furthermore, the converse and inverse of a quantified
implication are logically equivalent to each other.
Example 2.4.6: Checking the converse, inverse, and contrapositive
Consider the universe of all planar quadrilaterals, along with the open
statements
\[
\begin{array}{rl}
s(q)\text{: } &\text{Quadrilateral } q \text{ is a square.} \\
e(q)\text{: } &\text{Quadrilateral } q \text{ is equilateral.}
\end{array}
\]
From classical geometry, we know that if a quadrilateral is a square,
then it’s equilateral, so the statement $\forall q\ [s(q) \to
e(q)]$ is a tautology. In other words, $\forall q\ [s(q) \Longrightarrow
e(q)]$.
The contrapositive of the above statement is $\forall q\ [\neg e(q)
\to \neg s(q)]$, which says that if a quadrilateral isn’t
equilateral, then it isn’t a square. Since the original implication is a
logical implication, so is the contrapositive, and so
Now let’s consider the converse, $\forall q\ [e(q) \to
s(q)]$, which says that if a quadrilateral is equilateral, then it’s a
square. This isn’t necessarily true — every rhombus is equilateral, but
not every rhombus is a square. As such, $\forall q\ [e(q) \not\Longrightarrow
s(q)]$.
The inverse can be written as $\forall q\ [\neg s(q) \to
\neg e(q)]$, which says that if a quadrilateral isn’t a square, then it
isn’t equilateral — but again, any non-square rhombus is equilateral. As
such, $\forall q\ [\neg s(q) \not\Longrightarrow \neg e(q)]$.
Example 2.4.7: A case where the statement, its converse, and its inverse are all true
Consider the universe of all real numbers, along with the open
statements
Consider $x = 5$: $f(5) = 1$ and $\alpha(5) = 0$. Since $1
\to 0 = 0$, we have that $5$ is a counter-example, and so
$\forall x\ [f(x) \to \alpha(x)] = 0$. Since $\forall x\
[f(x) \to \alpha(x)] \Longleftrightarrow \forall x\ [\neg
\alpha(x) \to \neg f(x)]$, we also have $\forall x\ [\neg
\alpha(x) \to \neg f(x)] = 0$.
We know the converse is true, since when $x \leq -1$, we have $x^2 \geq
1$, giving us $x^2 - 1 \geq 0$. Thus, $\forall x\ [\alpha(x)
\to f(x)] = 1$, and since $\forall x\ [\alpha(x)
\to f(x)] \Longleftrightarrow \forall x\ [\neg f(x)
\to \neg \alpha(x)]$, we also have $\forall x\ [\neg f(x)
\to \neg \alpha(x)] = 1$.
Example 2.4.8: Strengthening a hypothesis can flip a false statement true
Consider the universe of all real numbers, along with the open
statements from the previous example, together with a new one:
or equivalently, $\forall x\ [f(x) \Longleftrightarrow (\alpha(x) \lor
\beta(x))]$.
Example 2.4.9: Negating a quantified implication
Reconsider the earlier example where we considered the universe of all
planar quadrilaterals with
\[
\begin{array}{rl}
s(q)\text{: } &\text{Quadrilateral } q \text{ is a square.} \\
e(q)\text{: } &\text{Quadrilateral } q \text{ is equilateral.}
\end{array}
\]
From classical geometry, we know that some equilateral quadrilaterals
aren’t squares, so $\forall q\ [e(q) \to s(q)] = 0$. Thus,
$\neg \forall q\ [e(q) \to s(q)] = 1$.
Using the negation equivalencies from the previous section, we have
$\exists q\ [\neg(e(q) \to s(q))] = 1$. We can negate the
inner implication with the following steps:
Thus, we know $\exists q\ [e(q) \land \neg s(q)] = 1$, meaning there
exists some planar quadrilateral that’s equilateral, but not a square.
One such example is a rhombus with opposite angle measures of $60°$ and
$120°$.
Arguments
The heart of mathematics is not mere computation, but the act of taking
a combination of known facts and combining them in some way to arrive at
new conclusions. Think back to when you learned the Pythagorean Theorem
or the Quadratic Formula. It’s certainly true that these tools help you
compute things — the hypotenuse of a right triangle, or the roots of a
quadratic function — but that’s a computational activity.
Without the Pythagorean Theorem or the Quadratic Formula, how would we
go about computing those quantities in the first place? There may be
other methods available, but those two tools in particular are
extremely helpful — and the reason they exist is that someone took what
was already known about right triangles and quadratic expressions, and
arrived at the now-famous results. The difference between doing
mathematics and computing is a little like this: mathematics is
knowing that for all right triangles, where the legs have lengths $a$
and $b$, and the hypotenuse has length $c$, we have
$$a^2 + b^2 = c^2;$$
computation is figuring out that a right triangle with leg lengths $5$
and $12$ has a hypotenuse of length $13$ using the Pythagorean
Theorem.
In order to know anything in mathematics, we start with what’s
currently known, and extrapolate from that prior knowledge. We call
this providing an argument, or a proof. In this section, we examine
the basic structure of such an argument.
Premises and Conclusions
Let’s elaborate on the idea of using existing knowledge. We essentially
take a collection of known facts together, and their combination
provides some new fact:
Notice that we combine several facts using the word “and.” All the
facts are supposed to come together in order to create the new fact —
if any fact could be left out, then it wasn’t needed. This is the same
situation we had with the conjunction $\land$: every proposition
attached to a conjunction has to be true in order for the conjunction
itself to be true.
Let’s rewrite the representation above using mathematical notation,
where $p_1$ represents known fact #1 (a fact is just another term for a
proposition), $p_2$ represents known fact #2, and so on through $p_n$
for known fact #$n$, with the letter $c$ denoting the new fact:
is called an argument. The propositions $p_1, p_2, p_3, \dots, p_n$
within the repeated conjunction are called the premises of the
argument. The proposition $c$ is called the conclusion of the
argument.
Notice that this definition doesn’t require the premises to be
primitive propositions — each premise can be primitive, or it can be
some long, complicated compound proposition. What matters is that we
combine all of the premises into a conjunction.
Valid Arguments
Example 2.5.1: Analyzing an argument with a truth table
Let $a$, $b$, $c$ represent the following propositions:
\[
\begin{array}{rl}
a\text{: } &\text{The vault door is locked overnight.} \\
b\text{: } &\text{A thief breaks into the vault.} \\
c\text{: } &\text{The morning audit turns up clean.}
\end{array}
\]
Now consider an argument with the following premises:
\[
\begin{array}{rl}
p_1\text{: } &a \to c \\
p_2\text{: } &\neg b \to a \\
p_3\text{: } &\neg c
\end{array}
\]
The argument we want to examine is $(p_1 \land p_2 \land p_3)
\to b$.
We know that an implication is only false when the hypothesis is true
and the conclusion is false. Working through a truth table for all
three atomic propositions confirms that, in every row where $p_1 \land
p_2 \land p_3$ is true, the conclusion $b$ is true as well — meaning the
overall implication $(p_1 \land p_2 \land p_3) \to b$ has
$1$s all the way down its column, and is a tautology.
As such, we can write
$$(p_1 \land p_2 \land p_3) \Longrightarrow b.$$
So, the argument is a logical implication. Therefore, if
\[
\begin{array}{l}
\text{The vault door is locked overnight, then the morning audit turns} \\
\text{up clean;} \\[0.75em]
\text{If no thief breaks into the vault, then the vault door is locked} \\
\text{overnight; and} \\[0.75em]
\text{The morning audit does not turn up clean}
\end{array}
\]
are all true propositions, then a thief likely broke into the vault
somehow.
The previous example demonstrates something important about arguments:
an argument asserts that, when all premises are true, the conclusion is
also true. If there’s a scenario where all premises are true but the
conclusion isn’t, then that argument doesn’t accurately reflect when
the conclusion is true.
In order for an argument to accurately reflect when its conclusion is
true, the conclusion must be true whenever the premises are true —
otherwise, the argument is simply wrong.
On the other hand, we don’t care what happens when any of the premises
are false. An argument only tells us that if all premises are true,
then so is the conclusion — it’s irrelevant when any premise is false.
VALID
Consider an argument of the form $(p_1 \land p_2 \land p_3 \land \dots
\land p_n) \to c$. If the implication is a tautology — that
is, if it’s a logical implication with
Mathematics is all about developing valid arguments, because these
arguments form the base of the knowledge we have. Arguments give us a
way to come up with new and efficient ways to perform computations, make
classifications, or establish any other kind of equivalency.
Example 2.5.2: An argument involving arbitrary propositions
Consider three propositions $x$, $y$, $z$ — none of which have to be
primitive, they just each denote some proposition, whether simple,
complex, or anywhere in between.
Now consider the following argument:
$$(p_1 \land p_2) \to c$$
where
\[
\begin{array}{rl}
p_1\text{: } &x \to y \\
p_2\text{: } &y \to z \\
c\text{: } &x \to z
\end{array}
\]
Filling out a truth table for $x$, $y$, $z$ and each of these
propositions in turn confirms that the column for $[(x \to y) \land (y
\to z)] \to (x \to z)$ is entirely $1$s.
As such, the argument
$$[(x \to y) \land (y \to z)] \to (x \to z)$$
is valid. Therefore, if we ever run into a situation where we know that
$x \to y$ and that $y \to z$, then we know that
$x \to z$ as well, where $x$, $y$, and $z$ represent
arbitrary propositions.
Rules of Inference
We’ve already seen that, with ever-larger numbers of component
propositions, a truth table requires more and more rows to complete —
and that logical equivalencies let us simplify compound propositions
without needing a truth table at all.
We can bypass truth tables when determining whether an argument is
valid too. Instead of logical equivalencies, though, we use logical
implications. In this section, we collect a list of commonly occurring
logical implications, and see how to use them strategically. We’ll
still verify each one with a truth table — the point here is just to
build up a list of implications we can use later.
Two Straightforward Implications
We introduce the first logical implication with an example.
Example 2.6.4: Deducing a conclusion from a true implication
Suppose a mechanic is servicing a car with a rough idle, and knows from
experience that replacing a worn timing belt often fixes the issue.
Consider the propositions
We know that if the mechanic replaces the timing belt, then the
engine runs smoothly — that is, $p \to q = 1$. This alone doesn’t
tell us whether the engine runs smoothly, because if $p = 0$, the
implication is still true regardless of whether $q = 0$ or $q = 1$.
However, suppose we also know that $p = 1$ — the mechanic did replace
the timing belt. Now we do know that the engine runs smoothly, because
both $p = 1$ and $p \to q = 1$. The only way for both of these
propositions to be true is for $q = 1$.
We can verify this more formally with a truth table (representing $p$
as premise $p_1$, the proposition $p \to q$ as premise
$p_2$, and the conclusion $q$ using the letter $c$): the column for $[p
\land (p \to q)] \to q$ is entirely $1$s, so
$$[p \land (p \to q)] \Longrightarrow q.$$
In other words, whenever we know $p$ is true, and $p \to q$
is true, then $q$ is true as well. As such, the argument $[p \land (p
\to q)] \to q$ is valid. It’s common to write
this kind of argument out in tabular form: we list all the premises in a
single column, add a horizontal line, and write the conclusion below it,
with a $\therefore$ symbol (read “therefore,” or “thus”) to its left:
\[
\begin{array}{l}
p \\
p \to q \\
\hline
\therefore q
\end{array}
\]
Also note that because $\land$ is commutative, we could just as well
present this argument with its premises in the other order:
\[
\begin{array}{l}
p \to q \\
p \\
\hline
\therefore q
\end{array}
\]
This kind of argument is commonly referred to as Modus Ponens.
There’s another kind of valid argument closely related to Modus Ponens.
Again, we demonstrate it with an example first.
Example 2.6.5: Deducing a negation from a true implication
Returning to the mechanic and the timing belt, we know $p \to q
= 1$. This means there are only three possible combinations of truth
values for $p$ and $q$: $p = 0, q = 0$; $p = 0, q = 1$; and $p = 1, q =
1$.
If $q = 1$, we don’t know whether $p = 0$ or $p = 1$. But if we happened
to know that $q = 0$, we’d definitely know that $p = 0$. In other words,
it seems as if we have
$$[(p \to q) \land \neg q] \to \neg p.$$
In the context of this example, this means that if we knew “If the
mechanic replaces the timing belt, then the engine runs smoothly” and
“The engine does not run smoothly” were both true, we’d also know “The
mechanic did not replace the timing belt” was true.
A truth table confirms that $[(p \to q) \land \neg q]
\to \neg p$ is indeed a tautology, so
\[
\begin{array}{l}
\neg q \\
p \to q \\
\hline
\therefore \neg p
\end{array}
\]
is valid, as is the same argument with its premises swapped. This
argument is commonly referred to as Modus Tollens. Both Modus
Ponens and Modus Tollens have $p \to q$ as a premise — in
some sense, Modus Tollens is the “contrapositive” of Modus Ponens.
Chains of Logical Implications
The argument
\[
\begin{array}{l}
p \to q \\
q \to r \\
\hline
\therefore p \to r
\end{array}
\]
is valid — we already confirmed this in the previous section, where we
showed $[(x \to y) \land (y \to z)] \to (x \to z)$ is a tautology. This
argument is commonly referred to as the Law of the Syllogism.
Because $\land$ is commutative, the premises of any argument can be
swapped and the argument remains valid — a fact we won’t keep
explicitly mentioning, though it will be used implicitly throughout our
work.
Naturally, we can chain more and more propositions together at the end
of each premise’s implication. Here’s an example involving five
propositions:
\[
\begin{array}{l}
j \to a \\
a \to c \\
c \to o \\
o \to b \\
\hline
\therefore j \to b
\end{array}
\]
An Easy Logical Implication
Not all of the arguments at our disposal are profound — some may seem
quite obvious. For instance, suppose we know proposition $p$ is true,
and proposition $q$ is true. Since they’re both true, we also know their
conjunction $p \land q$ is true. The argument
\[
\begin{array}{l}
p \\
q \\
\hline
\therefore p \land q
\end{array}
\]
is valid, and is called the Rule of Conjunction. Why care about an
argument this simple? Because as we develop more sophisticated
arguments, propositions $p$ and $q$ may come up — either as premises, or
as results derived from other premises. When this happens, $p$ and $q$
can be combined into a conjunction, and that conjunction can be used to
further develop the argument, as we’ll see used strategically in the
next section.
A Logical Implication to Eliminate Choices
Example 2.6.6: Eliminating a possibility with a disjunction
Suppose a car won’t start, and a mechanic determines that the problem
must be either a dead battery or a faulty starter. Define
\[
\begin{array}{rl}
M\text{: } &\text{The car's battery is dead.} \\
L\text{: } &\text{The car's starter is faulty.}
\end{array}
\]
Since the mechanic is confident it’s one or the other, $M
\lor L = 1$. Right now, we don’t know which it is — but suppose the
mechanic also tests the starter and finds it works fine, meaning $\neg L
= 1$. Since $M \lor L = 1$ and $L = 0$, we’d have to have $M = 1$,
meaning the battery is dead. We can represent this as the argument
$[(M \lor L) \land \neg L] \to M$.
As this example demonstrates, if we know at least one of two
propositions $p$ and $q$ is true, but that one of them (say $q$) is
false, then the other must be true — otherwise the disjunction would
have been false. The argument
\[
\begin{array}{l}
p \lor q \\
\neg q \\
\hline
\therefore p
\end{array}
\]
is valid, and is called the Rule of Disjunctive Syllogism. A truth
table readily confirms this.
A Logical Implication Based on Contradictions
Suppose we’re given some proposition $p$, and want to determine whether
$p = 0$ or $p = 1$. One thing we could try is to assume $p = 0$ (meaning
$\neg p = 1$). If assuming $p = 0$ yields a contradiction $F_0$, then
surely $p \neq 0$, since true statements should never yield
contradictions — hence we must have $p = 1$. The argument
\[
\begin{array}{l}
\neg p \to F_0 \\
\hline
\therefore p
\end{array}
\]
is valid, and is called the Rule of Contradiction. Since there’s
only one premise, $\neg p \to F_0$ (a proposition that’s just
$\neg p \to 0$, replacing the general contradiction $F_0$ with its truth
value), there’s no conjunction operator present. A truth table
confirms the argument $(\neg p \to F_0) \to p$
is valid.
A Big List of the Rules of Inference
We’ve presented five different kinds of arguments so far. These
arguments are commonly referred to as rules of inference, because
they let us infer, or deduce, a conclusion given a list of premises.
There are many more such rules; we present a sample of them below.
Modus Ponens (Rule of Detachment)
$\begin{array}{l} p \\ p \to q \\ \hline \therefore q \end{array}$
$[p \land (p \to q)] \Longrightarrow q$
Modus Tollens
$\begin{array}{l} p \to q \\ \neg q \\ \hline \therefore \neg p \end{array}$
$[(p \to q) \land \neg q] \Longrightarrow \neg p$
Law of the Syllogism
$\begin{array}{l} p \to q \\ q \to r \\ \hline \therefore p \to r \end{array}$
Before seeing how these rules of inference can be used, it’s worth
taking a step back to see what we’ve accomplished — but perhaps more
importantly, what we have not accomplished.
Notice that each rule of inference above is a logical implication —
demonstrated by the fact that we used the single arrow $\Longrightarrow$,
rather than the double arrow $\Longleftrightarrow$. While some of the
arguments above may happen to contain logical equivalencies (such as
the Rule of Conjunction), most of these are not logical
equivalencies.
For instance, examining the Law of the Syllogism, we have
As such, we have not shown that the expression $(p \to q)
\land (q \to r)$ can be replaced with the simpler expression
$p \to r$. This is a subtle difference, but an important
one.
We’ll see in the next section that both logical equivalencies and
logical implications can be used to develop arguments — but logical
implications won’t be helpful when trying to simplify complicated
logical expressions.
Using the Rules of Inference
In the previous section, we collected a large sample of commonly
occurring logical implications. We briefly touched on why we’d want
such a list — to determine whether a given argument is valid. In
addition to determining validity, we can also use the rules of
inference to make valid deductions from a given list of premises.
In this section, we work through several examples of both use cases.
Determining an Argument’s Validity
Suppose we’re presented with some argument: a list of premises, and a
desired conclusion. We can determine if the argument is valid by
appealing to the rules of inference.
Example 2.7.1: Validating an argument in prose
Because you love live rock music, you decide to purchase
front-row tickets for an upcoming rock concert. The tickets are expensive,
so you’ll need to save up money working a summer job to purchase them.
The problem is that everybody wants front-row seats, so they may be
sold out by the time you have enough money.
Consider the propositions
\[
\begin{array}{rl}
a\text{: } &\text{You save up enough money to purchase front-row seats.} \\
b\text{: } &\text{There are no more front-row seats available.} \\
c\text{: } &\text{You sit front row at the rock concert.}
\end{array}
\]
and the argument
\[
\begin{array}{l}
\neg b \\
\neg b \to a \\
a \to c \\
\hline
\therefore c
\end{array}
\]
To determine whether this argument is valid, notice that because we
have both $\neg b$ and $\neg b \to a$, we must have $a$ by
Modus Ponens. Now, because we have both $a$ and $a \to c$,
we also have $c$ by Modus Ponens.
We just reached the desired conclusion $c$ by appealing to Modus Ponens
twice, meaning the argument is valid. So, if there are front-row seats
available, you’ll be able to save up enough money to sit front row at
the rock concert. Awesome!
It seems a bit cumbersome to write out our logic in paragraphs like
this. Just like we did when showing two compound propositions were
logically equivalent, we can write out a sequence of steps in tabular
form.
Example 2.7.2: Validating the same argument in tabular form
Luckily for us, another rock concert is happening, which means we
need to start saving even more money, hoping front-row seats are still
available. Reconsider the argument from the previous example. We can
write out the sequence of steps we took there in tabular form:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \neg b & \text{Premise} \\
(2) & \neg b \to a & \text{Premise} \\
(3) & a & \text{Modus Ponens on Steps (1) and (2)} \\
(4) & a \to c & \text{Premise} \\
(5) & \therefore c & \text{Modus Ponens on Steps (3) and (4)}
\end{array}
\]
Just like before, we reached conclusion $c$ using the rules of
inference. We’ll use this tabular form of validating an argument from
here on out.
There are many rules of inference, so we may be able to validate a given
argument in multiple different ways.
Example 2.7.3: Validating the same argument a different way
Let’s reconsider the argument once more. Instead of using Modus Ponens
twice, we could look at the big list of inference rules from the
previous section again. One rule that stands out is the Law of the
Syllogism, since we have two implications as premises:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \neg b \to a & \text{Premise} \\
(2) & a \to c & \text{Premise} \\
(3) & \neg b \to c & \text{Law of the Syllogism on Steps (1) and (2)} \\
(4) & \neg b & \text{Premise} \\
(5) & \therefore c & \text{Modus Ponens on Steps (3) and (4)}
\end{array}
\]
Of course, we arrive yet again at the desired conclusion $c$.
Going forward, when we write out these tabular arguments, we’ll omit
the word “Steps,” and just write out which numbered step is being used
in a rule of inference — this will save us a bit of writing. It’s also
worth pointing out that since some propositions are given as premises,
they require no justification beyond noting they’re premises of the
argument.
Some arguments require multiple rules of inference to determine
validity.
Example 2.7.4: An argument needing several rules of inference
Consider the following argument, with propositions $s$, $t$, $x$, $y$,
and $z$:
\[
\begin{array}{l}
x \\
x \to y \\
s \lor t \\
t \to \neg y \\
\hline
\therefore s \lor z
\end{array}
\]
We could take the following steps to validate this argument:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & x & \text{Premise} \\
(2) & x \to y & \text{Premise} \\
(3) & y & \text{Modus Ponens on (1) and (2)} \\
(4) & t \to \neg y & \text{Premise} \\
(5) & y \to \neg t & \text{Contrapositive of (4): } (t \to \neg y) \Longleftrightarrow (y \to \neg t) \\
(6) & \neg t & \text{Modus Ponens on (3) and (5)} \\
(7) & s \lor t & \text{Premise} \\
(8) & s & \text{Rule of Disjunctive Syllogism on (6) and (7)} \\
(9) & \therefore s \lor z & \text{Rule of Disjunctive Amplification on (8)}
\end{array}
\]
So, we arrive at the desired conclusion $s \lor z$, using a wide
variety of rules of inference.
In the previous example, step (5) made use of a logical equivalency
between contrapositives. As we work through an argument, we can
introduce logically equivalent propositions whenever we want — so we
should make use of this as much as possible.
Example 2.7.5: A longer chain of deductions
For arbitrary propositions $a$, $b$, $c$, $d$, $e$, and $f$, consider the
argument
\[
\begin{array}{l}
a \to e \\
e \to (b \land c) \\
\neg c \lor (f \lor \neg d) \\
d \land a \\
\hline
\therefore f
\end{array}
\]
This one may require a lot of work, so let’s get started:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & a \to e & \text{Premise} \\
(2) & e \to (b \land c) & \text{Premise} \\
(3) & a \to (b \land c) & \text{Law of the Syllogism on (1) and (2)} \\
(4) & d \land a & \text{Premise} \\
(5) & a & \text{Conjunctive Simplification on (4)} \\
(6) & b \land c & \text{Modus Ponens on (3) and (5)} \\
(7) & c & \text{Conjunctive Simplification on (6)} \\
(8) & \neg c \lor (f \lor \neg d) & \text{Premise} \\
(9) & f \lor \neg d & \text{Disjunctive Syllogism on (7) and (8)} \\
(10) & d & \text{Conjunctive Simplification on (4)} \\
(11) & \therefore f & \text{Disjunctive Syllogism on (9) and (10)}
\end{array}
\]
Making Valid Inferences
When determining whether an argument is valid, we’re given a list of
premises and a conclusion, and we write out our justifications in
tabular form, with the conclusion as the table’s last entry. Theoretically, we could do the same thing even without being given a
conclusion — we just wouldn’t have a “goal” to reach. We could apply
whatever rule of inference seems appropriate to the given premises, and
to any previous conclusions reached from them.
Example 2.7.6: Making an inference with no conclusion given
Consider the propositions
\[
\begin{array}{rl}
c\text{: } &\text{I am clever.} \\
\ell\text{: } &\text{I am lucky.} \\
w\text{: } &\text{I win the lottery.}
\end{array}
\]
and the premises $c \lor \ell$, $\neg \ell$, and $\ell \to w$. We’re not given a conclusion, but can we make any inference from
these premises?
One conclusion we could easily reach is to use the Rule of Disjunctive
Syllogism on the first two premises, giving us conclusion $c$. As such,
we know the argument $[(c \lor \ell) \land \neg \ell \land (\ell
\to w)] \to c$ is valid.
Note that once you use a rule of inference on a given list of premises,
you’re making a valid argument — every intermediate step in the
previous section’s longer example produced a valid argument, since each
was constructed by means of a rule of inference.
Example 2.7.7: Extracting multiple conclusions from one set of premises
Consider the premises
\[
\begin{array}{l}
\text{If the band can't perform their concert, or their t-shirts aren't} \\
\text{available for purchase at the concert, then the after-party will be} \\
\text{cancelled, and you will not purchase front-row seats. If the} \\
\text{after-party is cancelled, then ticket sales will have to be issued} \\
\text{refunds. No refunds were issued.}
\end{array}
\]
We pick out the propositions
\[
\begin{array}{rl}
a\text{: } &\text{The band can perform their concert.} \\
t\text{: } &\text{The band's t-shirts are available for purchase.} \\
p\text{: } &\text{The after-party was cancelled.} \\
y\text{: } &\text{You do not buy front-row seats.} \\
r\text{: } &\text{Ticket sales are issued refunds.}
\end{array}
\]
giving us the premises $(\neg a \lor \neg t) \to (p \land
y)$, $p \to r$, and $\neg r$. Let’s see what deductions we
can make:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & p \to r & \text{Premise} \\
(2) & \neg r & \text{Premise} \\
(3) & \neg p & \text{Modus Tollens on (1) and (2)} \\
(4) & \neg p \lor \neg y & \text{Disjunctive Amplification on (3)} \\
(5) & \neg (p \land y) & \text{DeMorgan's Law on (4)} \\
(6) & (\neg a \lor \neg t) \to (p \land y) & \text{Premise} \\
(7) & \neg (\neg a \lor \neg t) & \text{Modus Tollens on (5) and (6)} \\
(8) & \neg \neg a \land \neg \neg t & \text{DeMorgan's Law on (7)} \\
(9) & a \land t & \text{Law of Double Negation on (8)} \\
(10) & a & \text{Conjunctive Simplification on (9)} \\
(11) & t & \text{Conjunctive Simplification on (9)}
\end{array}
\]
Notice that one of our conclusions was $a$, in step (10). As such, we
know that $[((\neg a \lor \neg t) \to (p \land y)) \land (p \to r) \land
\neg r] \to a$ is a valid argument — with the given
premises, we could deduce that the band performed their concert!
We didn’t stop at that one conclusion, though. Step (11) left us with
conclusion $t$, meaning we could also deduce that the band’s t-shirts
were available for purchase. Yet another inference we made was $\neg
p$, in step (3), meaning the after-party was not cancelled!
Any of the intermediate propositions that weren’t premises are valid
inferences from the given premises.
One more strategy we could use is a truth table, to see what
combinations of truth values for the propositions yield true premises.
Example 2.7.8: Finding valid inferences from a truth table
Consider the propositions
\[
\begin{array}{rl}
s\text{: } &\text{Johnny had to go to summer school.} \\
j\text{: } &\text{Johnny could work a summer job.} \\
a\text{: } &\text{Johnny could purchase front-row seats at the rock concert.}
\end{array}
\]
and the premises $s$, $s \to \neg j$, and $\neg j
\to \neg a$. Constructing a truth table and checking which
rows make all three premises true reveals only one combination: $s = 1$,
$j = 0$, $a = 0$.
So, we need some combination of these three propositions that yields
$1$ under that assignment. One such example is $\neg j$, meaning $[s
\land (s \to \neg j) \land (\neg j \to \neg a)] \to \neg j$
is a valid argument. We also have $\neg a = 1$, so $[s \land (s \to \neg
j) \land (\neg j \to \neg a)] \to \neg a$ is valid too.
Since $j = 0$ and $\neg a = 1$, we have $j \land \neg a = 0$, meaning
$\neg (j \land \neg a) = 1$, and so $\neg j \lor a = 1$ as well. As
such, the argument $[s \land (s \to \neg j) \land (\neg j \to \neg a)]
\to (\neg j \lor a)$ is also valid.
It’s good practice to try and come up with a sequence of inference
rules to reach these kinds of conclusions without going through a truth
table.
Logically Equivalent Arguments
Fundamentally, an argument is nothing more than a logical implication —
a hypothesis (a conjunction of multiple premises) and a conclusion.
We’ve already seen that it’s possible to construct logically equivalent
propositions using the laws of logic. Since an argument is fundamentally
a proposition based on an implication, it should be possible to
construct a different argument that’s logically equivalent to a given
one. In some cases, this new, equivalent argument may be easier to
verify than the original — which is exactly why it’s worth investing
time in constructing logically equivalent arguments in the first place.
meaning we’re only considering cases where each premise $p_1$ through
$p_n$ is true.
If we take the propositional form of this argument with just one
premise, we get $p_1 \to c$. We’d need $c = 1$ for this
implication to be true — but this is logically equivalent to $\neg p_1
\lor c$. We can extend this a bit further:
\[
\begin{array}{lll}
& \boldsymbol{p_1 \to c} & \textbf{Reason} \\
\Longleftrightarrow & \neg p_1 \lor c & \text{Law of Material Implication} \\
\Longleftrightarrow & \neg (p_1 \land \neg c) & \text{DeMorgan's Law}
\end{array}
\]
So, if $p_1 \to c$ is a valid argument, then $\neg (p_1
\land \neg c)$ is a true proposition. This means it would be impossible
to have both $p_1 = 1$ and $c = 0$ — that is, both $p_1 = 1$ and $\neg c
= 1$ — since that would be a contradiction. In other words, we get the
argument $(p_1 \land \neg c) \to F_0$.
This is where this proof strategy gets its name: for a valid argument,
assuming the negation of the desired conclusion produces a
contradiction. Since the negation of the conclusion must therefore be
false, the conclusion itself must be true.
A truth table confirms that $(p_1 \to c)$ and $[(p_1 \land
\neg c) \to F_0]$ are logically equivalent — meaning the
arguments themselves are equivalent, since arguments are just
implications. So, establishing that one of these is valid means the
other is valid too.
Example 2.8.1: Proving Frank grows sunflowers
Frank is a farmer who loves being outdoors and working on his gardens.
He grows two kinds of plants: sunflowers and wheat, though he can’t
plant both in his garden at once, as the two kinds of plants may
interfere with each other’s growth. Furthermore, if he grows wheat,
he’ll be able to make his own bread.
Consider the propositions
\[
\begin{array}{rl}
s\text{: } &\text{Frank plants sunflowers in his garden.} \\
w\text{: } &\text{Frank plants wheat in his garden.} \\
b\text{: } &\text{Frank bakes bread using the wheat he grew in his garden.}
\end{array}
\]
We can express this situation as the argument
\[
\begin{array}{l}
\neg s \leftrightarrow w \\
w \to b \\
\neg b \\
\hline
\therefore s
\end{array}
\]
In order to establish this argument’s validity, we could instead
consider whether the equivalent argument
\[
\begin{array}{l}
\neg s \leftrightarrow w \\
w \to b \\
\neg b \\
\neg s \\
\hline
\therefore F_0
\end{array}
\]
is valid. To do so, we use the rules of inference and the laws of
logic:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \neg s \leftrightarrow w & \text{Premise} \\
(2) & (\neg s \to w) \land (w \to \neg s) & (a \leftrightarrow b) \Longleftrightarrow [(a \to b) \land (b \to a)] \\
(3) & \neg s \to w & \text{Conjunctive Simplification on (2)} \\
(4) & w \to b & \text{Premise} \\
(5) & \neg s \to b & \text{Law of the Syllogism on (3) and (4)} \\
(6) & \neg s & \text{Premise} \\
(7) & b & \text{Modus Ponens on (5) and (6)} \\
(8) & \neg b & \text{Premise} \\
(9) & b \land \neg b & \text{Rule of Conjunction on (7) and (8)} \\
(10) & \therefore F_0 & (b \land \neg b) \Longleftrightarrow F_0
\end{array}
\]
So, using the rules of inference, we’ve determined this equivalent
argument is valid — meaning the original argument is valid too.
Therefore, if we know
\[
\begin{align*}
&\text{Frank plants wheat if and only if he does not plant sunflowers.} \\
&\text{If Frank plants wheat, then Frank will make bread using wheat} \\
&\text{he grew in his garden.} \\
&\text{Frank does not make bread using wheat he grew in his garden.}
\end{align*}
\]
are all true propositions, then we know Frank planted sunflowers in his
garden.
Chains of Implications
Suppose we knew the argument
\[
\begin{array}{l}
p \\
\hline
\therefore q \to r
\end{array}
\]
was valid. Since $p = 1$, we know $q \to r = 1$. But now
suppose we also knew $q = 1$: since $q \to r = 1$ and $q =
1$, we’d have $r = 1$ as well. Notice that since $p = 1$ and $q = 1$, we
have $p \land q = 1$. Writing this out as a proposition, we get $p
\to (q \to r)$ — and since having both $p$ and
$q$ necessarily gives us $r$, this becomes the argument $(p \land q)
\to r$.
This suggests that the argument $p \to (q \to
r)$ is logically equivalent to the argument $(p \land q) \to
r$. A truth table confirms this suspicion: the biconditional $[p \to (q
\to r)] \leftrightarrow [(p \land q) \to r]$ is a tautology, meaning we
have a logical equivalency between the two arguments. Just as before,
establishing the validity of one automatically establishes the validity
of the other.
Example 2.8.2: Chaining several implications into one argument
Frank has been thinking about using the wheat he grows to open a bakery
where he sells fresh bread. Of course he’ll need a building to serve as
his store, and he’ll need to make sure his tractor is working so he can
actually farm his crops. Consider the propositions
\[
\begin{array}{rl}
t\text{: } &\text{Frank fixes his tractor.} \\
s\text{: } &\text{Frank grows sunflowers in his garden.} \\
w\text{: } &\text{Frank grows wheat in his garden.} \\
b\text{: } &\text{Frank bakes bread using the wheat he grew in his garden.} \\
m\text{: } &\text{Frank saves enough money to buy a building for his bake shop.} \\
\star\text{: } &\text{Frank opens a bake shop where he sells his bread.}
\end{array}
\]
and the argument
\[
\begin{array}{l}
t \to (s \lor w) \\
t \\
(b \land m) \to \star \\
m \\
w \to b \\
\hline
\therefore \neg s \to \star
\end{array}
\]
We can determine whether this argument is valid by determining the
validity of the following equivalent argument:
\[
\begin{array}{l}
t \to (s \lor w) \\
t \\
(b \land m) \to \star \\
m \\
w \to b \\
\neg s \\
\hline
\therefore \star
\end{array}
\]
Let’s see if we can validate it:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & t & \text{Premise} \\
(2) & t \to (s \lor w) & \text{Premise} \\
(3) & s \lor w & \text{Modus Ponens on (1) and (2)} \\
(4) & \neg s & \text{Premise} \\
(5) & w & \text{Rule of Disjunctive Syllogism on (3) and (4)} \\
(6) & w \to b & \text{Premise} \\
(7) & b & \text{Modus Ponens on (5) and (6)} \\
(8) & m & \text{Premise} \\
(9) & b \land m & \text{Rule of Conjunction on (7) and (8)} \\
(10) & (b \land m) \to \star & \text{Premise} \\
(11) & \therefore \star & \text{Modus Ponens on (9) and (10)}
\end{array}
\]
So we reached the desired conclusion — meaning both of the arguments
above are valid.
Invalid Arguments
All of us have, at one point, been presented with an argument that
doesn’t seem quite right. Just because someone can string together a
group of premises and assert some conclusion doesn’t mean that
conclusion actually follows from the premises.
Remember that an argument is valid if the argument’s implication is a
logical implication — meaning that no matter what truth values the
argument’s propositions have, the overall implication always evaluates
to $1$. This means that if we can come up with even one truth value
assignment reducing to the form $1 \to 0$, the argument
isn’t valid. In other words, for any argument $(p_1 \land p_2 \land
\dots \land p_n) \to c$ with $c = 0$ (and all premises
true), the argument is invalid.
Here, we’ll examine some of the most common fallacies made when
constructing an argument, and how to detect when a given argument is
invalid.
Argument by the Converse
Consider the argument
\[
\begin{array}{l}
p \to q \\
q \\
\hline
\therefore p
\end{array}
\]
with premises $p_1 : p \to q$, $p_2 : q$, and conclusion $c
p$. Remember that for an argument, we assume $(p_1 \land p_2) = 1$,
meaning we need both $p_1 = 1$ and $p_2 = 1$.
Since $p_2$ is just $q$, we assume $q = 1$. Now we need $p_1 = 1$,
meaning $p \to q = 1$. Since $q = 1$, this holds whether $p
= 0$ or $p = 1$. But if $p = 0$, our conclusion $c = p$ has truth value
$0$. Since we can simultaneously make $(p_1 \land p_2) = 1$ and $c = 0$,
this argument is invalid.
This is sometimes referred to as an argument by the converse.
Before showing another invalid argument, it’s worth comparing this
invalid argument to the closely related, but actually valid, Modus
Ponens argument:
\[
\begin{array}{ll}
\begin{array}{l}
p \to q \\
p \\
\hline
\therefore q
\end{array}
&
\begin{array}{l}
p \to q \\
q \\
\hline
\therefore p
\end{array}
\\
\text{Modus Ponens} & \text{Argument by the Converse}
\end{array}
\]
In Modus Ponens, $p$ is a premise, while $q$ is the conclusion. In the
argument by the converse, $q$ is a premise, while $p$ is the
conclusion. Even though these arguments look similar, it’s important
not to get them mixed up.
Example 2.9.1: A speeding ticket doesn’t prove speeding
Johnny can be a bit of a reckless driver — he tends to ignore speed
limits, and often doesn’t ensure all of his lights are functioning
properly. As such, he’s prone to getting pulled over by the police a
lot more than anyone else. Consider the propositions
\[
\begin{array}{rl}
s\text{: } &\text{Johnny is speeding.} \\
r\text{: } &\text{Johnny runs a red light.} \\
t\text{: } &\text{Johnny gets pulled over and is issued a ticket.}
\end{array}
\]
and the argument $[(s \to t) \land t] \to s$. Even though
this argument asserts that Johnny was speeding, do we actually know
that? All we know is that Johnny got a ticket — a premise of the
argument. He could have gotten it for running a red light, or for some
other reason entirely, like malfunctioning tail lights or an expired
registration. Knowing that Johnny got pulled over isn’t enough to
determine whether he was speeding.
Example 2.9.2: A new customer doesn’t prove which advertisement worked
Charlotte is an aspiring entrepreneur working very hard to promote her
robot engineering company. Consider the propositions
\[
\begin{array}{rl}
m\text{: } &\text{Charlotte advertises in magazines.} \\
s\text{: } &\text{Charlotte advertises on social media.} \\
b\text{: } &\text{Charlotte advertises on billboards.} \\
c\text{: } &\text{Charlotte's business gains a new customer.}
\end{array}
\]
and the argument $[(s \to c) \land c] \to s$. Just as
before, knowing $c$ is true doesn’t mean $s$ must be true as well — if
$s = 0$, the implication $s \to c$ is trivially true even when $c = 1$.
Maybe her business gained a new customer because of a magazine ad, or a
billboard.
Argument by the Inverse
Consider the argument
\[
\begin{array}{l}
p \to q \\
\neg p \\
\hline
\therefore \neg q
\end{array}
\]
with premises $p_1 : p \to q$, $p_2 : \neg p$, and
conclusion $c : \neg q$. Rather than working out truth values by hand,
we can use a truth table: there’s a row where both premises are true —
$p = 0$, $q = 1$ — but the conclusion $c$ is false. Hence, the
implication $[(p \to q) \land \neg p] \to \neg q$ isn’t a
tautology, meaning it isn’t a logical implication:
So, this is sometimes referred to as an argument by the inverse.
Again, it’s worth comparing this invalid argument to a valid one it
resembles:
\[
\begin{array}{ll}
\begin{array}{l}
p \to q \\
\neg q \\
\hline
\therefore \neg p
\end{array}
&
\begin{array}{l}
p \to q \\
\neg p \\
\hline
\therefore \neg q
\end{array}
\\
\text{Modus Tollens} & \text{Argument by the Inverse}
\end{array}
\]
Pay attention to the second premise in each: Modus Tollens uses $\neg
q$, while the argument by the inverse uses $\neg p$.
While Modus Ponens and Modus Tollens can safely be used to determine an
argument’s validity, an argument by the converse or the inverse
produces a fallacy in reasoning. Even if a given argument happens to be
valid, any justification for it that relies on one of these two invalid
forms will be incorrect.
Example 2.9.3: Not being late doesn’t prove Johnny wasn’t fired
Last time, Johnny was in the midst of getting pulled over and issued a
ticket — maybe for speeding, maybe for running a red light. Regardless,
Johnny may now be running late for work. Consider the propositions
\[
\begin{array}{rl}
\ell\text{: } &\text{Johnny is late to work.} \\
r\text{: } &\text{Johnny is rude to his company's clients.} \\
f\text{: } &\text{Johnny is fired from his job.}
\end{array}
\]
Suppose Johnny makes the argument $[(\ell \to f) \land \neg \ell]
\to \neg f$, trying to argue that because he wasn’t late to
work, he wasn’t fired. But even if it’s true that Johnny wasn’t late
(perhaps he started speeding after getting pulled over to try to make up
for lost time), he may still have been fired for being rude to clients.
So, we can’t conclude Johnny wasn’t fired.
Example 2.9.4: Lacking one feature doesn’t prove the robot lost
We couldn’t conclude how Charlotte’s business gained a new customer
earlier — regardless of how it happened, this customer wants to
purchase a robot to fight in the Mech-Fighter Tournament. Every customer
can choose a robot with one of three features. Consider the propositions
\[
\begin{array}{rl}
\ell\text{: } &\text{The robot can shoot laser beams from its eyes.} \\
j\text{: } &\text{The robot is equipped with a jet pack.} \\
f\text{: } &\text{The robot has flamethrowers built into its arms.} \\
w\text{: } &\text{The robot wins the Mech-Fighter Tournament.}
\end{array}
\]
and the argument $[(f \to w) \land \neg f] \to \neg w$.
Can we conclude the robot didn’t win? We can’t — all we know is that it
didn’t have flamethrowers. It may have still won by shooting laser
beams, or by flying around the arena.
A Strategy for Invalidating an Argument
Example 2.9.5: Invalidating an argument with a truth table
For propositions $p$, $q$, $r$, consider the argument
\[
\begin{array}{l}
p \to \neg q \\
r \\
\hline
\therefore p \lor \neg r
\end{array}
\]
Is this a valid argument? None of the rules of inference discussed so
far seem like they’d help us reach the conclusion $p \lor \neg r$, so
perhaps this isn’t valid.
To be sure, we construct a truth table, and check which rows make all
premises equal to $1$. There are three such rows — but only one of them
has a conclusion equal to $1$; the other two have the conclusion equal
to $0$. So this argument is not valid.
One way to show this is to set $p = 0$, $q = 0$, $r = 1$:
\[
\begin{align*}
p_1 &= p \to \neg q = (0) \to \neg(0) = 0 \to 1 = 1 \\
p_2 &= r = 1 \\
c &= p \lor \neg r = (0) \lor \neg(1) = 0 \lor 0 = 0.
\end{align*}
\]
These truth value assignments make both premises true and the
conclusion false. (The other highlighted row also provides an
assignment that makes the implication false.) Hence, the implication
isn’t a logical implication, so the argument isn’t valid.
In the previous example, none of the rules of inference we knew about
looked like they’d help us reach the desired conclusion, so we suspected
the argument wasn’t valid. Constructing a truth table let us see truth
value assignments that lead to a false implication.
COUNTER EXAMPLE
Consider a general argument $(p_1 \land p_2 \land \dots \land p_n)
\to c$, where the premises and conclusion involve
combinations of propositions $s_1, s_2, \dots, s_m$.
A truth value assignment for each of $s_1, s_2, \dots, s_m$ that makes
$(p_1 \land p_2 \land \dots \land p_n) = 1$ and $c = 0$ is called a
counter example to the argument.
We invalidate an argument by providing a counter example to it. Note
that providing an assignment that makes the argument’s implication true
does not prove the argument valid — to show an argument is valid, we
have to make sure that every truth value assignment making all
premises true also makes the conclusion true. This isn’t the case for
invalidating an argument — one counter example is all that’s needed.
However, depending on the number of underlying propositions involved,
we may want to avoid constructing a full truth table. We can still work
out truth value assignments directly, just by ensuring all premises
evaluate to $1$ when the conclusion evaluates to $0$.
Example 2.9.6: Finding a counter example without a truth table
For propositions $a$, $b$, $c$, $d$, $e$, consider the argument
\[
\begin{array}{l}
e \\
e \lor d \\
d \to (b \to c) \\
a \to b \\
\hline
\therefore \neg c \to \neg a
\end{array}
\]
Is this argument valid? We could try to invalidate it by assigning
truth values to $a$, $b$, $c$, $d$, $e$ that make the premises true and
the conclusion false.
Let’s start with the conclusion, $\neg c \to \neg a$. We
need $\neg c \to \neg a = 0$, meaning $\neg c = 1$ and
$\neg a = 0$ — that is, $c = 0$ and $a = 1$.
$$a = 1 \quad b = ? \quad c = 0 \quad d = ? \quad e = ?$$
Now let’s look at the premises, starting with $a \to b$.
Since it’s a premise, we need $a \to b = 1$, and since $a =
1$, we also need $b = 1$.
$$a = 1 \quad b = 1 \quad c = 0 \quad d = ? \quad e = ?$$
Looking at the third premise, we need $d \to (b
\to c) = 1$. We know $b = 1$ and $c = 0$, so $b
\to c = 0$. This means we need $d = 0$ in order to make the
entire implication true:
$$d \to (b \to c) = 0 \to (1 \to 0) = 0 \to 0 = 1.$$$$a = 1 \quad b = 1 \quad c = 0 \quad d = 0 \quad e = ?$$
So now we just need $e$. Since $e$ is a premise by itself, we need $e =
1$:
$$a = 1 \quad b = 1 \quad c = 0 \quad d = 0 \quad e = 1.$$
We still need to check that all premises evaluate to $1$. The only one
we haven’t checked yet is $e \lor d$: $e \lor d = (1) \lor (0) = 1$. So
this premise holds too. This means we’ve found a combination of truth
value assignments that makes all premises true and the conclusion
false:
$$a = 1 \quad b = 1 \quad c = 0 \quad d = 0 \quad e = 1.$$
This is a counter example to the given argument, thus invalidating it.
Notice what we did in the previous example: we started off by choosing
values for the propositions that would make the conclusion false, then
used those values to try to choose values for the other propositions
that make the premises all true.
Sometimes, we may have choices for the truth values we assign to
propositions — if that’s the case, there’s nothing wrong with
experimenting to see whether all premises can be made true while the
conclusion stays false.
If we’re unable to make all premises true while holding the conclusion
false, the argument may actually be valid — after all, if no counter
example exists, the argument has to be valid. At that point, it may be
worth trying to use the rules of inference to validate the argument.
Similarly, if assuming values that make the conclusion false yields a
contradiction, the argument might be provable by way of a proof by
contradiction.
As discussed in the previous section, the validity of an argument
implies the validity of any equivalent argument. By that same token, an
argument being invalid also means any logically equivalent argument is
invalid — so invalidating an equivalent argument is another way to
invalidate a given argument.
Universal Specification
Throughout our discussion of arguments so far, we haven’t made use of
any quantified statements — though we devoted several sections to
quantifiers in the previous chapter, so we certainly got some mileage
out of them there. Here, we start to discuss how quantified statements
can be used in arguments.
The reason we want to do this is that many of the results we’re going
to come across are stated in the language of quantifiers. For example,
consider the Pythagorean Theorem:
$$\text{If any triangle has leg lengths } a \text{ and } b \text{, and hypotenuse length } c \text{, then } a^2 + b^2 = c^2.$$
Notice that implicit in this statement is the universal quantifier “if
any.” We could write the Pythagorean Theorem using our current
mathematical symbology as follows:
\[
\begin{array}{rl}
\mathcal{U}\text{: } &\text{All planar triangles.} \\
p(t)\text{: } &t \text{ is a right triangle with leg lengths } a \text{ and } b, \text{ hypotenuse } c. \\
q(t)\text{: } &a^2 + b^2 = c^2.
\end{array}
\]$$\forall t\ [p(t) \to q(t)]$$
The Pythagorean Theorem works for every single conceivable right
triangle in the plane — not just some specific kind, but every single
one. That’s the power of the theorem: it lets us compute a side length
of any right triangle when the other two are known. Since scientists,
engineers, architects, and mathematicians all need to calculate lengths
of triangles constantly, this theorem has come in handy very often. It
would be near-useless if it only applied to one triangle, like a
$3$-$4$-$5$ triangle — it wouldn’t be nearly as widely known or
applicable as it is today.
This is why we care about quantifiers: they let us extend results
beyond a single example to potentially infinitely many of them. So much
of what’s calculable in engineering, science, and mathematics is
possible only because the underlying theorems are so extensive — and
that’s precisely because they’re quantified.
Here, we discuss Universal Specification, one way to use quantifiers
in arguments that lets us go from broadly true statements to
specifically true statements.
Motivating Examples
Example 2.10.1: A green car, because everything Ms. Lippy owns is green
At a particular school, one of the most loved teachers by the students
is Ms. Lippy, a very creative and sometimes eccentric teacher who loves
the color green. Suppose we knew:
\[
\begin{array}{l}
\text{Everything Ms. Lippy owns is green.} \\[0.75em]
\text{Ms. Lippy owns a car.}
\end{array}
\]
What, if anything, can we figure out? Based on the first piece of
information, we can sort every object into two categories: objects owned
by Ms. Lippy, and objects not owned by Ms. Lippy. If an object isn’t
owned by Ms. Lippy, we don’t know anything about its color — it could be
green, or some other color entirely. The only objects we’re told
anything about are those Ms. Lippy owns: they’re all green!
We also know Ms. Lippy’s car is an object she owns. As such, we’re
guaranteed to know Ms. Lippy’s car is green!
Example 2.10.2: A blue duck, because every duck Billy draws is blue
One of Ms. Lippy’s favorite students is named Billy, who has a very wild
and active imagination. As part of his education, he’s required to take
Ms. Lippy’s art class. Suppose we know:
\[
\begin{array}{l}
\text{Every duck that Billy draws is blue.} \\[0.75em]
\text{Billy drew a duck for his art class assignment.}
\end{array}
\]
What, if anything, can we conclude? Just as before, we have two
categories: ducks drawn by Billy, and ducks not drawn by Billy. Since
Billy drew a duck for his assignment, that duck must have been drawn
blue — there are no exceptions to the first piece of information, so
that duck is guaranteed to be blue, because it was drawn by Billy, and
every duck Billy draws is blue.
Example 2.10.3: Ruling out Billy as the artist
Billy isn’t the only student in Ms. Lippy’s art class — she manages a lot
of students across all of her classes. Consider:
\[
\begin{array}{l}
\text{Every duck that Billy draws is blue.} \\[0.75em]
\text{One duck submitted for Ms. Lippy's art class was not blue.}
\end{array}
\]
What can we conclude here? Examining this a little more closely than
before, we infer the implication “If Billy draws a duck, then that duck
is blue,” which we can represent as $\text{billy} \to
\text{blue}$ — using words instead of single letters for clarity: “billy”
for “Billy drew a duck,” and “blue” for “The duck is blue.”
What we know is that a duck was submitted that was not blue — that is,
$\neg \text{blue}$. Since we know $\text{billy} \to
\text{blue}$ and $\neg \text{blue}$, Modus Tollens tells us we must have
$\neg \text{billy}$. So, Billy did not draw that particular duck —
because if he had, it would definitely have been blue.
The Rule of Universal Specification
Thinking back to the previous examples, the general strategy was to
figure out what classifications were in use, then figure out which
classification an object belonged to. Once we knew an object’s category,
we knew it had a certain property, since that property was shared by
every object in the category.
The Rule of Universal Specification
Consider an open statement $p(x)$ defined on some universe $\mathcal{U}$.
If $p(x) = 1$ for every replacement of $x$ by every element within
$\mathcal{U}$, then $p(x)$ takes on truth value $1$ when $x$ is replaced
by a specifically chosen element within $\mathcal{U}$, which we’ll refer
to as $c$.
In other words, if $\forall x \in \mathcal{U}\ [p(x)] = 1$ and $c \in
\mathcal{U}$, then $p(c) = 1$ as well.
This is the formal statement of what we were trying to say in the
previous three examples. When we spoke of “categories” or “kinds,” we
were dealing with inclusion within the universe $\mathcal{U}$ — an
element $c$ belonging to the category is the same thing as saying $c \in
\mathcal{U}$; not belonging is $c \notin \mathcal{U}$ (read “not a
member of,” or “not an element of” — analogous to the inequality $\neq$
symbol).
The next part of this rule is to notice there’s an implicit
implication: $c \in \mathcal{U} \to p(c) = 1$. So, if $c$ is
an element of the universe, then $p(c)$ is true. But if $c$ is not an
element of the universe, we don’t know whether $p(c) = 0$ or $p(c) = 1$,
because either way, the implication is trivially true. The argument
\[
\begin{array}{l}
\forall x \in \mathcal{U}\ [p(x)] \\
c \in \mathcal{U} \\
\hline
\therefore p(c)
\end{array}
\]
is valid. Just like with the other rules of inference, this is a valid
rule usable in the analysis of a mathematical argument. The intuition
is that if every member of a group satisfies some property, then
picking any element from that group means the chosen element satisfies
that property too.
Universal Specification and Modus Ponens
With the quantified statement $\forall x \in \mathcal{U}\ [p(x)] = 1$,
$p(x)$ may represent a primitive statement, or a compound one. Very
often, $p(x)$ represents an implication — for example, if $p(x)$
represents $a(x) \to b(x)$, we could rewrite the quantified
expression as $\forall x \in \mathcal{U}\ [a(x) \to b(x)] =
1$.
Example 2.10.4: Ms. Lippy’s car, revisited
Let’s re-examine the “everything Ms. Lippy owns is green” example.
First, we figure out the applicable universe of discourse: we’ll use
$\mathcal{U}$ for every possible object in existence, since this problem
is fundamentally about objects, whether or not they’re owned by Ms.
Lippy, and whether or not they’re green. We pick out the propositions
\[
\begin{array}{rl}
\ell(x)\text{: } &x \text{ is an object owned by Ms. Lippy.} \\
g(x)\text{: } &x \text{ is green.}
\end{array}
\]
The phrase “everything” in “everything Ms. Lippy owns is green”
suggests the universal quantifier, applied to every possible object.
That statement, and the fact that being owned by Ms. Lippy implies being
green, rewrites as
$$\forall x \in \mathcal{U}\ [\ell(x) \to g(x)].$$
Next, “Ms. Lippy owns a car” tells us the object in question — her car,
which we’ll call $c$ — exists, so $c \in \mathcal{U}$. It also tells us
that $c$ is owned by Ms. Lippy, so $\ell(c)$. We now have three true
propositions to serve as premises:
$$\forall x \in \mathcal{U}\ [\ell(x) \to g(x)] \qquad c \in \mathcal{U} \qquad \ell(c).$$
Let’s analyze this argument:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \forall x \in \mathcal{U}\ [\ell(x) \to g(x)] & \text{Premise} \\
(2) & c \in \mathcal{U} & \text{Premise} \\
(3) & \ell(c) \to g(c) & \text{Universal Specification on (1) and (2)} \\
(4) & \ell(c) & \text{Premise} \\
(5) & \therefore g(c) & \text{Modus Ponens on (3) and (4)}
\end{array}
\]
Our final conclusion is $g(c)$, corresponding to “Ms. Lippy’s car is
green” — the same conclusion we reached before, now derived formally.
is valid — a combination of Modus Ponens and the Rule of Universal
Specification, for any open statements $a(x)$ and $b(x)$ defined on some
universe $\mathcal{U}$.
Universal Specification and Modus Tollens
If we can combine the Rule of Universal Specification with Modus
Ponens, surely we can combine it with Modus Tollens too.
Example 2.10.5: Ruling out Billy as the artist, revisited
Let’s re-examine the “one duck was not blue” example, where the universe
of discourse is all ducks, denoted $D$ instead of $\mathcal{U}$. We pick
out the propositions
\[
\begin{array}{rl}
s(x)\text{: } &x \text{ is a duck drawn by Billy.} \\
t(x)\text{: } &x \text{ is blue.}
\end{array}
\]
giving us the premises $\forall x \in D\ [s(x) \to t(x)]$
and $\neg t(d)$, where $d$ is the non-blue duck submitted for the
assignment. Now we use the rules of inference to make a valid
deduction:
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \forall x \in D\ [s(x) \to t(x)] & \text{Premise} \\
(2) & d \in D & \text{Premise} \\
(3) & s(d) \to t(d) & \text{Rule of Universal Specification on (1) and (2)} \\
(4) & \neg t(d) & \text{Premise} \\
(5) & \therefore \neg s(d) & \text{Modus Tollens on (3) and (4)}
\end{array}
\]
Our conclusion, $\neg s(d)$, represents “The duck was not drawn by
Billy” — again matching the conclusion we reached before.
Notice that we listed $d \in D$ as a premise, even though it wasn’t
explicitly one of the argument’s premises — inclusion in the universe
is often an implicit assumption, since analyzing an object not in the
universe wouldn’t tell us anything useful.
It’s also worth pointing out that even though one of the premises is a
quantified statement, we’re able to extract a non-open statement from
it using the Rule of Universal Specification: $s(d) \to
t(d)$ is not an open statement, because both $s(d)$ and $t(d)$ have
definite truth values, since $d$ is a specified member of $D$, not a
placeholder like $x$.
is valid — combining the Rule of Universal Specification with Modus
Tollens. In both cases, once we have a non-open statement, we can use
any of the other rules of inference we’ve learned — we’re not limited
to Modus Ponens and Modus Tollens.
Example 2.10.6: A geometric application
For a more mathematical example, consider the propositions
\[
\begin{array}{rl}
s(x)\text{: } &\text{The opposite angles of quadrilateral } x \text{ are supplementary.} \\
p(x)\text{: } &\text{The perpendicular bisectors of the sides of } x \text{ are all concurrent.} \\
c(x)\text{: } &\text{Quadrilateral } x \text{ is a cyclic quadrilateral.}
\end{array}
\]
Here, the universe $\mathcal{U}$ is all planar quadrilaterals, and let
$q$ represent quadrilateral $ABCD$. Consider the argument
is invalid, combining argument by the inverse with the same rule.
One should be careful when analyzing arguments — just as arguing by the
converse or inverse is a fallacy without quantified statements, it’s
equally fallacious with them.
Example 2.10.7: A rectangle disproves this fallacious argument
Consider the universe $Q$ of all planar quadrilaterals, along with
\[
\begin{array}{rl}
s(x)\text{: } &x \text{ is a square.} \\
r(x)\text{: } &\text{Every angle of } x \text{ is a right angle.}
\end{array}
\]
Let $q$ represent quadrilateral $ABCD$, and consider the argument
We can find many counterexamples showing this argument is invalid, since
it’s essentially arguing by the inverse — just because a quadrilateral
isn’t a square doesn’t mean it doesn’t have all right angles. One such
example is a rectangle whose sides measure $4$ units and $2$ units;
another is a rectangle whose sides measure $2.718$ units and $3.142$
units. Every angle of every rectangle is a right angle.
Universal Generalization
In the previous section, we talked about a rule of inference that lets
us go from broadly true statements to specifically true statements —
if something is true for every member of a universe, we can pick out
any element from that universe and be assured it still has whatever
property we’re interested in.
Up to now, none of the arguments we’ve examined have had a universally
quantified statement as a conclusion — meaning none of our conclusions
could have been generalized. Most results in mathematics are stated in
general terms, not specific ones. The Pythagorean Theorem applies to
every right triangle, not just isosceles ones, or ones with integer
side lengths. The Quadratic Formula doesn’t apply only to $x^2 + 2x + 1
= 0$, or only to $x^2 - 6x + 9 = 0$ — it works even when the leading
coefficient isn’t $1$, or when all the coefficients are irrational, or
when the corresponding parabola doesn’t even intersect the $x$-axis.
Here, we’ll see what it takes to have a universally quantified statement
as the conclusion of an argument. With this, we’ll finally be able to
start noticing patterns and formulating results — in other words, to
start engaging in mathematics!
A Motivating Example
Example 2.11.1: Defeating an army of monsters
You are a hero setting out to save your kingdom from a large cohort of
beastly monsters, of which there are four types: large lion-shaped
creatures with sharp fangs; small robots that shoot laser beams; large
floating eyeball monsters; and ghosts that can phase through walls. To
save your kingdom, you need to fell all of the beasts. How should you
do this?
You could try luring the beasts into a trap with meaty food — the
lion-shaped creatures are certainly tempted by food. But will it work
for all of them? Maybe the ghosts can eat meat, though we’re not
certain. Maybe some robots can convert organic food into fuel, but
maybe not all of them. The floating eyeball monsters may be entirely
uninterested in food. So luring with food may work for some monsters,
but not all.
What about mirrors reflecting sunlight? Highly effective against the
eyeball monsters, since they’re just giant floating eyes — and the
sunlight will probably spook most, if not all, of the ghosts. But it’s
not clear this works on the lion-shaped monsters, who may shield their
eyes, and the robots are probably unaffected by sunlight entirely. So
this deals with some of the monsters, but not all of them either.
Is there a way to deal with all of the monsters at once? You’d have to
exploit a weakness present in every single one. Something worth noting:
any monster is made up of matter — atoms joined together by chemical
bonds. Waving the wand given to you by the wizard elder will
instantaneously destroy all of the chemical bonds holding a beast’s
matter together, disintegrating it! Since all monsters are made of
matter, this solution works for all of them.
It’s worth pointing out that if the kingdom were invaded only by
lion-shaped monsters, luring them with meat would be sufficient. If
invaded only by eyeball monsters and ghosts, mirrors and sunlight would
suffice on their own. And if invaded only by lion-shaped and eyeball
monsters, we could use both traps and sunlight together.
Let’s dissect this example. What we’re essentially trying to do is
determine a weakness for each monster — exploiting it lets us fell that
monster and save the kingdom. Mathematically, we’re trying to show
$$\forall x\ [d(x)] = 1$$
where the universe of discourse is all monsters invading the kingdom,
$x$ represents a monster in that universe, and $d(x)$ is the open
statement “monster $x$ was successfully defeated.”
We used $M$ to denote the universe — we know there are four types of
monsters, but not the total number. We picked an arbitrary monster
(the phrase “any monster” is our clue that the choice is arbitrary) and
identified a trait it had: it was made of matter. Since we picked an
arbitrary monster, we couldn’t rely on it having a hungry stomach (an
eyeball monster or robot might not have one), nor could we rely on it
having exposed eyes sensitive to light (a lion-shaped monster or robot
might not). It was important to pick a trait all the monsters share,
since we’re trying to defeat all of them, not just some kind.
This is the power of universal generalization: if we pick an arbitrary
element from the universe, and only use traits common to every single
element, then whatever we do with that arbitrarily chosen element
applies to all elements. Since we only relied on properties shared by
everyone, the same procedure can be replicated for every element of the
universe.
Exhaustive Checking
Notice that nowhere in the monster example did we discuss going around
and checking each and every specific monster for a weakness. One reason
is that the exact number of monsters was never disclosed — there could
have been $10$, in which case checking each one wouldn’t be burdensome.
There could have been $100$, which would be tedious but manageable. If
there were $10{,}000{,}000$, checking each one individually would take
an extremely long time. If there were infinitely many, checking each
one would be flatly impossible.
This is why we tried to find a weakness shared by all the monsters — no
matter how many there are, they should all have something in common
that can be exploited. To hammer the point, imagine working with all of
the whole numbers instead of monsters — there are infinitely many, so
we can’t simply check each one against some condition. We need to rely
on properties shared by all whole numbers, not just some of them.
The Rule of Universal Generalization
The ultimate goal of this section is to establish the truth of
statements of the form $\forall x\ [p(x)]$ — that is, to show $p(c)$ is
true for every $c$ within the prescribed universe of discourse
$\mathcal{U}$. But as described above, we may not always be able to
simply examine each element $c$ within $\mathcal{U}$: if it contains
many elements, checking each one can be incredibly burdensome, and if
it contains infinitely many, it’s literally impossible. This is why we
need some property that every element of $\mathcal{U}$ has.
In the monster example, we picked an arbitrary element and only relied
on properties every single member of the universe had as well — so what
we did with that arbitrarily picked element applies to all elements.
Whatever we discover to be true about it must also be true of every
element in the universe.
The Rule of Universal Generalization
If $p(x)$ is an open statement that takes on a truth value of $1$ when
$x$ is replaced by an arbitrarily chosen element $c$ within universe
$\mathcal{U}$, then $p(x)$ is true for every element within
$\mathcal{U}$.
This rule extends to open statements with two variables: if $p(x, y)$
becomes true when $x$ is replaced by an arbitrarily chosen element $c_x$
from universe $\mathcal{U}_x$, and $y$ is replaced by an arbitrarily
chosen element $c_y$ from universe $\mathcal{U}_y$, then $p(x, y)$ is
true for every element within $\mathcal{U}_x$ and $\mathcal{U}_y$ (of
course, $x$ and $y$ could come from the same universe of discourse).
This rule can be extended further still, to as many variables as
needed.
The following examples use the concepts of even and odd integers. Most
readers are familiar enough with what these are already, so we’ll
refrain from giving a formal definition just yet (one will follow in the
next section) — the lack of one here shouldn’t be a hindrance.
Example 2.11.2: Checking a few cases isn’t enough
Consider the statement “If $n$ is an integer, then $3n^2 + n + 14$ is
even” — or, more mathematically, $n \text{ is an integer} \to
3n^2 + n + 14 \text{ is an even integer}$.
Suppose we want to determine whether this is a logical implication. We
could start by checking a few numbers:
But there are infinitely many integers, so this process isn’t feasible
— we’ll never know whether the statement is a logical implication just
by checking numbers one at a time. We need a way to deal with infinitely
many cases all at once.
Example 2.11.3: Splitting into even and odd still isn’t enough
Reconsider the statement “If $n$ is an integer, then $3n^2 + n + 14$ is
even.” Something we could do is split the integers into distinct
groups — say, based on whether they’re even or odd. If $n$ is even, it’s
the double of some other integer $k$, meaning $n = 2k$. Substituting
this in:
\[
\begin{array}{lll}
& \boldsymbol{3n^2 + n + 14} & \textbf{Reason} \\
= & 3(2k)^2 + (2k) + 14 & \text{Substitute } n = 2k \\
= & 3(4k^2) + 2k + 14 & \text{Evaluate the power.} \\
= & 12k^2 + 2k + 14 & \text{Multiply.} \\
= & 2(6k^2) + 2(k) + 2(7) & \text{Factor a 2 from each term.} \\
= & 2(6k^2 + k + 7) & \text{Factor the 2 out entirely.}
\end{array}
\]
So $3n^2 + n + 14$ can be written as double $6k^2 + k + 7$, meaning it’s
even — and this one case covers every possible even integer we could
plug in. All that’s left is checking what happens when $n$ is odd.
Even though we could do this, we still wouldn’t really be using the
Rule of Universal Generalization, since not all integers are even, and
not all are odd. We’d like a property that all integers share, not
just some of them.
Example 2.11.4: A property that all integers share
Once again, consider “If $n$ is an integer, then $3n^2 + n + 14$ is
even.” We want to make use of a property all integers share.
Something we can do with any integer, no matter what kind, is split up
sums into smaller parts. For example, $3n^2 = n^2 + n^2 + n^2$, which we
could also split as $3n^2 = 2n^2 + n^2$:
\[
\begin{array}{lll}
& \boldsymbol{3n^2 + n + 14} & \textbf{Reason} \\
= & 2n^2 + n^2 + n + 14 & \text{Split } 3n^2 \text{ into } 2n^2 + n^2. \\
= & 2n^2 + n(n + 1) + 14 & \text{Factor a common } n \text{ from } n^2 + n. \\
= & 2n^2 + 14 + n(n + 1) & \text{Commutative Law of addition.} \\
= & 2(n^2 + 7) + n(n + 1) & \text{Factor a common 2 from } 2n^2 \text{ and } 14.
\end{array}
\]
Everything we’ve done here can be replicated no matter what kind of
integer $n$ is, meaning we can replicate these steps for all
integers.
Notice $2(n^2 + 7)$ is just double whatever $n^2 + 7$ happens to be, so
it’s even. Furthermore, $n(n+1)$ is the product of an even integer and
an odd integer — since $n$ and $n+1$ are $1$ apart, one must be even and
the other odd, and the product of an even integer and an odd integer is
always even. So $n(n+1)$ is even too.
Since we’re adding two even integers together, the sum must be even:
\[
\begin{array}{lll}
& \boldsymbol{3n^2 + n + 14} & \textbf{Reason} \\
= & [2(n^2 + 7)] + [n(n + 1)] & \text{From above.} \\
= & [\text{even integer}] + [\text{even integer}] & \text{Both terms are even.} \\
= & \text{even integer} & \text{The sum of two even integers is even.}
\end{array}
\]
So, by the Rule of Universal Generalization, $3n^2 + n + 14$ must be
even no matter what integer $n$ happens to be:
$$n \text{ is an integer} \Longrightarrow 3n^2 + n + 14 \text{ is an even integer}.$$
So far, our use of the Rule of Universal Generalization has been
intuitive — we haven’t explicitly shown how to use it within an
argument.
Using the Rule of Universal Generalization in Arguments
Once again, let’s take a step back. In the monster example, we thought
of a trait shared by all monsters (a universal quantifier), and
concluded that all monsters would be defeated (another universal
quantifier). In the even-integer example, we made use of multiple
properties shared by all integers, building a chain that led to a final
conclusion — much like the Law of the Syllogism. In both cases, we had
premises that were universally quantified.
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \forall x\ [p(x) \to q(x)] & \text{Premise} \\
(2) & c \in \mathcal{U} & \text{We can always pick an arbitrary element from a non-empty universe} \\
(3) & p(c) \to q(c) & \text{Rule of Universal Specification on (1) and (2)} \\
(4) & \forall x\ [q(x) \to r(x)] & \text{Premise} \\
(5) & q(c) \to r(c) & \text{Rule of Universal Specification on (2) and (4)} \\
(6) & p(c) \to r(c) & \text{Law of the Syllogism on (3) and (5)} \\
(7) & \therefore \forall x\ [p(x) \to r(x)] & \text{Rule of Universal Generalization on (2) and (6)}
\end{array}
\]
This argument — which we might call the Universally Generalized Law
of the Syllogism — is valid. Pay particular attention to step (2):
here, we clearly specify that $c$ is an arbitrary element of
$\mathcal{U}$, meaning whatever is true of $c$ is true for every
element of $\mathcal{U}$. This is what allows us to use the Rule of
Universal Generalization at the end.
If we had instead assumed $n$ was specifically an odd integer in the
earlier examples, we could not have used the Rule of Universal
Generalization, since what’s true of all odd integers isn’t necessarily
true of all even integers — an assumption like that isn’t arbitrary.
The rule only applies when an element is arbitrarily chosen.
Just like the Law of the Syllogism, many implications can be chained
together.
Example 2.11.5: Solving a linear equation, as an argument
Consider the universe $\mathcal{U}$ of all real numbers. In any algebra
class, we’re shown methods to solve linear equations of the form $ax + b
= c$, where $a$, $b$, $c$ are given numbers. What’s implicit in that
conversation is the Rule of Universal Generalization.
Take the linear equation $69x + 144 = 420$. We know that if $69x + 144
= 420$, then we can factor out a $3$ from both sides to get $23x + 48
= 140$. We know that if $23x + 48 = 140$, then subtracting $48$ from
both sides gives $23x = 92$. Finally, we know that if $23x = 92$,
then dividing both sides by $23$ gives $x = 4$.
We can write this out as an argument. Consider the propositions
So, we’ve determined that if $69x + 144 = 420$, then $x = 4$.
It may seem strange to think of this implication as universally
quantified, since there’s exactly one number ($4$) satisfying the
equation. But remember, this is part of an implication — we can insert
any number into $69x + 144 = 420$, but for most numbers, $a(x)$ will
just be false: $a(0) = 0$, $a(1) = 0$, $a(2) = 0$, $a(3) = 0$, $a(4) =
1$, $a(5) = 0$, and so on. This is why we say if: when $a(x) = 0$, the
implication is trivially true; when $a(x) = 1$, it’s true, but not
trivially. Thus, the implication is always true.
Many of the rules of inference can be adapted into universally
generalized versions with some care — these will prove vital not just
in the rest of this chapter, but throughout all of mathematics. One
strategy for universally generalizing a rule of inference is to use the
Rule of Universal Specification to get an arbitrary element from the
universe, then apply the Rule of Universal Generalization on that
arbitrary element.
Assumed Premises
Let’s re-examine the argument for the Universally Generalized Law of
the Syllogism:
The conclusion involves an implication of the form $p(x) \to
r(x)$. What happens if we pick an element $c$ from $\mathcal{U}$ where
$p(c)$ is false? Then $p(c) \to r(c)$ becomes trivially
true — but this defeats the entire purpose of the argument. We only
want to deduce true statements from true statements. If any premise
were false, the whole argument would reduce to a trivially true
implication, and the point of proposing it becomes moot.
Example 2.11.6: Why the hypothesis of the conclusion can be assumed
Suppose you presented the following argument to your friend:
\[
\begin{array}{l}
\text{If a quadrilateral is a rectangle, then it's a parallelogram.} \\
\text{If a quadrilateral is a parallelogram, then it has two pairs of parallel sides.} \\
\hline
\therefore \text{If a quadrilateral is a rectangle, then it has two pairs of parallel sides.}
\end{array}
\]
Your friend might respond, “Yeah, but what if the quadrilateral isn’t a
rectangle?” Well, so what? The argument is only concerned with
quadrilaterals that are rectangles, so it has nothing to say about
ones that aren’t. Since the argument makes no conclusion about
non-rectangles, your friend’s rebuttal is pointless — an entirely
different argument would be needed to deal with those.
This is why, if the conclusion of a proposed argument contains an
implication, the hypothesis of that conclusion can be assumed true, and
used as a premise of the argument. These are often referred to as
assumed premises. When the conclusion is a universally quantified
implication, we can assume the truth of the hypothesis on an arbitrarily
picked element, as in the example below.
Example 2.11.7: Using an assumed premise
Consider universe $\mathcal{U}$ with open statements $a(x)$, $b(x)$,
$c(x)$, $d(x)$. Is the argument
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & \forall x\ [a(x) \to c(x)] & \text{Premise} \\
(2) & p \in \mathcal{U} & \text{We can always pick an arbitrary element from a non-empty universe} \\
(3) & a(p) \to c(p) & \text{Universal Specification on (1) and (2)} \\
(4) & \neg c(p) \land b(p) & \text{Assumed Premise} \\
(5) & \neg c(p) & \text{Conjunctive Simplification on (4)} \\
(6) & \neg a(p) & \text{Modus Tollens on (3) and (5)} \\
(7) & b(p) & \text{Conjunctive Simplification on (4)} \\
(8) & \neg a(p) \land b(p) & \text{Rule of Conjunction on (6) and (7)} \\
(9) & \forall x\ [(\neg a(x) \land b(x)) \to d(x)] & \text{Premise} \\
(10) & (\neg a(p) \land b(p)) \to d(p) & \text{Universal Specification on (2) and (9)} \\
(11) & d(p) & \text{Modus Ponens on (8) and (10)} \\
(12) & (\neg c(p) \land b(p)) \land d(p) & \text{Rule of Conjunction on (4) and (11)} \\
(13) & (\neg c(p) \land b(p)) \to d(p) & (x \land y) \Longrightarrow (x \to y) \\
(14) & \therefore \forall x\ [(\neg c(x) \land b(x)) \to d(x)] & \text{Universal Generalization on (2) and (13)}
\end{array}
\]
It’s worth mentioning that step (13) used the logical implication $(x
\land y) \Longrightarrow (x \to y)$. This can be verified with a
truth table, but notice that it’s a valid argument by itself, so we can
use it as a reason in other arguments — remember, all the rules of
inference are just specific valid arguments.
With this final rule, we’re now ready to start delving into the heart
of mathematics!
Axioms, Definitions, Theorems, and Proofs
Over the past two chapters, we’ve been building up a system of
mathematical logic — what propositions are, how to determine their
truth, when two propositions are equivalent, and how to use propositions
in arguments to make valid deductions.
However, this isn’t how most of mathematics is communicated. Most of us
understand math in terms of numbers and geometric shapes: arithmetic,
algebra, trigonometry, lines and angles, polygons and circles, graphs
and equations. What we’ve done so far looks very different. What gives?
The reason we spent so much time getting a grip on mathematical logic is
that mathematics is fundamentally about using known facts (propositions)
to deduce new facts (valid arguments). We’ve talked about the
Pythagorean Theorem in numerous introductions, and asked how we know
it’s true — it wasn’t inscribed on a stone tablet and sent down for all
to see. Someone had to figure it out.
Moving forward, we’re going to be deducing new facts from old facts, all
having some mathematical interest. Everything we do will rest on the
logic we’ve learned so far, though the structured use of that logic will
usually stay implicit rather than being explicitly pointed out — the
tools are there to fall back on whenever we’re unsure about the
soundness of a piece of reasoning. From this point forward, our examples
will be mathematical in nature, rather than concerned with people and
the situations they find themselves in.
Axioms, definitions, theorems, and proofs are the main tools of
mathematics — they’re what we use, and what we produce. Let’s begin!
Defining Definitions
In everyday language, it’s common to speak with conditionals — but
everyday language isn’t precise. People tend to use implications when
speaking, even when what they mean is really a biconditional.
Example 2.12.1: A definition disguised as two implications
In Marina’s geometry class, her teacher stated: “If a quadrilateral has
two pairs of parallel sides, then it is a parallelogram.” Marina
translates this mathematically:
\[
\begin{array}{rl}
\mathcal{U}\text{: } &\text{All planar quadrilaterals} \\
t(x)\text{: } &x \text{ has two pairs of parallel sides} \\
p(x)\text{: } &x \text{ is a parallelogram}
\end{array}
\]$$\forall x\ [t(x) \to p(x)]$$
Later, as she’s studying with her friend Daisy, Daisy states: “If a
quadrilateral is a parallelogram, then it has two pairs of parallel
sides” — that is, $\forall x\ [p(x) \to t(x)]$.
Marina notes that Daisy isn’t wrong — parallelograms really do have two
pairs of parallel sides. In fact, being a parallelogram goes hand in
hand with having two pairs of parallel sides. So even though both
statements use an implication, what’s really meant is a biconditional.
Marina settles on: “A quadrilateral is a parallelogram if and only if it
has two pairs of parallel sides” — that is, $\forall x\ [p(x)
\leftrightarrow t(x)]$.
Would we ever be able to verify $p(q) \to t(q)$ for some given
quadrilateral $q$? We’d have to know what a parallelogram is — the
word itself doesn’t tell us much, since it’s just a man-made word. We
could figure out what “has two pairs of parallel sides” means, since we
understand the concepts it expresses. But determining whether a
quadrilateral is a parallelogram requires knowing what idea the word
“parallelogram” is being assigned to represent — and mathematicians have
defined it to mean exactly “a quadrilateral having two pairs of parallel
sides.” This is why $\forall x\ [t(x) \leftrightarrow p(x)]$ is the most
appropriate statement — what the teacher and Daisy said were essentially
defining the word parallelogram.
When writing mathematics, it’s imperative to be as precise as possible.
If what you want to state involves a biconditional, you should use the
double-ended arrow $\leftrightarrow$ — it’s almost never appropriate to
use the implication arrow $\to$ when a biconditional is
meant.
The exception is definitions. The purpose of a definition is to assign a
meaning, idea, or concept to a single word — so it’s usually fine to
state definitions in terms of implications. Suppose we want to define
some new word, and assign it some definition. The most accurate way
to convey that meaning is
Remember that for any two propositions $p$ and $q$, we have $p
\leftrightarrow q \Longleftrightarrow (p \to q) \land (q \to p)$. So, instead
of saying $\textit{word} \leftrightarrow \textit{definition}$, we’re
fine saying $\textit{word} \to \textit{definition}$ or
$\textit{definition} \to \textit{word}$ — even though an implication is
used, what’s really meant is the biconditional.
Here, we present some mathematical words and definitions you’re likely
already familiar with, presented just for completeness.
WHOLE NUMBERS, INTEGERS
The numbers $0, 1, 2, 3, 4, \dots, 100, 101, \dots$ are collectively
referred to as the whole numbers.
When we combine the whole numbers into a collection along with their
negative counterparts — $0, 1, -1, 2, -2, 3, -3, \dots$ — the new
collection is collectively referred to as the integers.
When the universe of discourse we’re using is the universe of all
integers, we commonly use the symbol $\mathbb{Z}$ instead of
$\mathcal{U}$.
EVEN, ODD
An integer $n$ is called even if (and only if) there exists some
integer $k$ such that $n = 2k$. Mathematically,
Notice that in this definition, we wrote the propositions out in
English rather than assigning them a single letter. Also note that we
wrote “and only if” in parentheses — that’s to stress that a definition
is really a biconditional. Going forward, it’s usually fine to say just
the “if” part, since the biconditional is what’s meant either way.
Example 2.12.2: Checking whether specific integers are even or odd
Since $0$ is an integer, we can describe it as even or odd. $0$ is even
because there’s an integer $k$ (namely $k = 0$) such that $0 = 2k$.
Notice the definition of even doesn’t require $k$ to be different from
$n$ — as long as $k$ is any integer, we say $n$ is even. There’s no
integer $k$ such that $0 = 2k + 1$, so $0$ isn’t odd (the closest
integers we could pick for $k$ are $-1$ and $0$).
$9$ is odd, since setting $k = 4$ gives $2(4) + 1 = 9$. There’s no
integer we can substitute for $k$ so that $9 = 2k$ — the closest are $k =
4$ (giving $8$) and $k = 5$ (giving $10$).
Notice that when checking $4$ is even, we found $k = 2$, which is
itself even — but when checking $6$ is even, we found $k = 3$, which is
odd. Nowhere in the definition of even did we require $k$ to be even or
odd; the only requirement is that $k$ be some integer.
The same holds for odd integers: for $11$, we have $11 = 2(5) + 1$, and
$5$ is odd; for $13$, we have $13 = 2(6) + 1$, and $6$ is even. Again,
$k$ doesn’t have to be the same type of integer as $n$, just an integer
itself.
What about numbers other than integers? For $-8$, setting $k = -4$ gives
$-8 = 2(-4)$, so $-8$ is even. For $-13$, setting $k = -7$ gives $-13 =
2(-7) + 1$, so $-13$ is odd. But what about $3.2$? Since our definitions
of even and odd both require $n$ to be an integer, and $3.2$ isn’t one,
neither definition applies — $3.2$ is neither even nor odd. The terms
even and odd, as defined here, only apply to integers.
It may seem excessive to go over the details of how even and odd
integers are defined — the point isn’t to teach what they are, but to
show how much nuance even a simple definition can carry. Notice that our
definition of even really has three requirements: $n$ must be an
integer, $n = 2k$ for some number $k$, and $k$ must be an integer. If any
one of these fails, we can’t describe $n$ as even. Three analogous
requirements apply to odd. All definitions in mathematics work this
way — they assert conditions that must be satisfied before the
associated word can be applied.
PARITY
Two integers are said to have the same parity if (and only if)
they’re both even, or both odd. Two integers are said to have different
parity if (and only if) one is even and the other is odd.
In order for the word “parity” to be applied, we need two integers to
begin with — if either isn’t an integer, the word doesn’t apply. Using a
more notational style: with $p(a, b)$ representing “$a$ and $b$ have the
same parity,” $e(a)$ representing “$a$ is even,” and $o(a)$ representing
“$a$ is odd,”
Going forward, we won’t be so pedantic about describing every aspect of
a definition — it’s up to the reader to determine whether a definition
can be applied. We’ll still show how to write a definition using
mathematical notation.
The key is to carefully read every part of a definition, and understand
what its requirements are. If even one condition fails to hold, the
definition doesn’t apply.
PERFECT SQUARE
An integer $n$ is called a perfect square if (and only if) there
exists some integer $k$ such that $n = k^2$:
$$\forall n\ [n \text{ is a perfect square} \leftrightarrow \exists k\ [n = k^2]].$$
In the previous two sections, we examined arguments with universally
quantified premises, but were more concerned with the form their
conclusions took — we never discussed how to get universally quantified
premises in the first place. Appealing to a definition is one way to do
so, as we’ll see in the next section.
Asserting Axioms
Whereas definitions are things that can simply be decreed, axioms
represent something fundamentally different — statements of mathematical
interest that are intuitively correct, but require no proof of
correctness.
AXIOM, POSTULATE
An axiom is a statement of mathematical interest that’s taken, or
assumed, to be true without the need for proof, and is used as a premise
in arguments — but never appears as the conclusion of an argument.
The word postulate is a synonym for axiom.
Example 2.12.3: Associativity as an axiom
In arithmetic, we’re familiar with the associative law: $a + (b + c) =
(a + b) + c$. It doesn’t matter whether we add $b$ and $c$ together
first and then add $a$, or add $a$ and $b$ together first and then add
$c$. For example, $1 + (2 + 3) = 1 + 5 = 6 = 3 + 3 = (1 + 2) + 3$, which
is why we can simply write $1 + 2 + 3$ without parentheses at all.
But one example doesn’t prove anything — how do we know this always
works? It’s impossible to check every combination of numbers, and it
even seems to work for non-integers like $90.77$, $3.14159265$, and
$2.718$. Trying to find a counter-example seems fruitless too. As such,
we simply assert this as an axiom of basic arithmetic: we can always
change the order in which numbers are added together, and always get
the same result.
Example 2.12.4: Euclid’s five postulates
Most of us have taken a geometry class full of definitions and theorems
about triangle congruence, parallel and perpendicular lines, angle
measure, area, and volume. How do we know all of those theorems are
true? Definitions can just be asserted, since we’re forcing ideas onto
words — but theorems need to come from somewhere.
Roughly 2300 years ago, a Greek mathematician and philosopher named
Euclid wrote a book known as The Elements, laying out a system of
geometry based on five axioms, or as he called them, postulates:
A straight line may be drawn through any two points.
Any terminated straight line may be extended indefinitely.
A circle may be drawn with any given point as its center and any
given radius.
All right angles are equal.
For a given line, and a point not on that line, a second line can be
drawn through the point that never intersects the first line.
From these five axioms, most of what we know about plane (Euclidean)
geometry can be deduced using the rules of logic discussed previously —
for example, that the angle measures in any triangle always add up to
$180°$, no matter what kind of triangle it is.
We’re not trying to prove that these five statements are correct — we’re
asserting them to be true, and deducing more true statements from them.
When we assert some collection of axioms, we’re essentially creating a
branch of mathematics. If even one axiom is altered, everything deduced
from the originals no longer holds — instead, you have an all-new branch
of mathematics, with new results and even more discoveries to be made!
The Curious Case of the Parallel Postulate
As stated above, altering even one axiom defining a branch of
mathematics gives you an entirely new branch, where the old results
don’t necessarily apply.
For a long time, many mathematicians and philosophers tried to prove
Euclid’s fifth postulate using the first four, believing it didn’t need
to be asserted as an axiom at all. As time went on, it was eventually
shown — using very sophisticated logic well beyond the scope of this
book — that the fifth postulate can’t be deduced from the other four.
As a result, variations on the fifth postulate were asserted by many
people over a long time. Using the postulate as originally stated gives
“Euclidean” geometry, applicable to an infinitely long flat surface (a
plane). There are geometries where the Euclidean fifth postulate is
eschewed entirely — the two most commonly known are elliptic geometry
and hyperbolic geometry. There’s also spherical geometry, distinct from
all three, concerned with geometric figures on the surface of a sphere.
Working with such geometries requires sophisticated tools explored in
later books. In short, elliptic geometry says there are no parallel
lines at all, while hyperbolic geometry says there are infinitely many
distinct parallel lines through a point not on some given line.
Theorizing Theorems
Whereas axioms are asserted and define an entirely new branch of
mathematics, theorems are always deducible from axioms and definitions.
THEOREM
A theorem is a proposition of mathematical interest that’s derived,
or deduced, from a set of axioms, definitions, or other theorems.
Axioms can only ever appear as premises in arguments; theorems can be
premises or conclusions. Typically, we start with a collection of axioms
and definitions, deduce some initial round of theorems, then deduce a
second round using the previous theorems along with the axioms and
definitions — and we can repeat this process to yield ever more
theorems. During all of this theorem-proving, we may even come up with
new definitions along the way.
Some theorems can be proven from other, previously deduced theorems, in
addition to the given axioms and definitions. In other cases, some
theorems are simply special cases of other theorems — and we have
special names for those too.
LEMMA, COROLLARY
A lemma is a type of theorem used to prove other theorems — that is,
a theorem used as a premise in another argument.
A corollary is a type of theorem that results from considering
special cases of some given theorem.
Often, the word “theorem” is reserved for major results. We could be
pedantic about classifying various theorems as lemmas or corollaries,
but we’ll mostly just stick to the word theorem — the important thing
about all of them is that they’re deducible from axioms, definitions,
and other theorems.
Providing Proofs
The final mathematical building block we’ll discuss is the proof.
PROOF
A proof is a valid argument provided to show that an implication is
a logical implication.
We’ve discussed arguments at length up to this point, especially how to
determine whether a given argument is valid — and we’ve touched lightly
on using the rules of inference to chain logical implications together
into new logical implications. All a proof really is is a valid
argument.
We typically describe a proof as being given in reference to a
theorem — if someone proposes a statement of mathematical interest, and
a proof can be given for it, that statement is henceforth called a
theorem, because it can be deduced. Remember that an argument is simply
an implication, with a conjunction of multiple propositions as the
hypothesis, and a single proposition as the conclusion — any of these
propositions, in the hypothesis or the conclusion, can be primitive or
compound.
In the next section, we start learning specific methods of proof, and
ways to devise them. This is the primary activity of mathematics.
Proof Technique: Direct Proofs
At this point, we’ve talked a lot about mathematical logic, arguments,
and some common terminology. In this section, we introduce a method for
providing a proof for a proposition — the most straightforward
technique we have at our disposal.
The Underlying Argument
Consider a statement such as $p \to q$ — but remember that a theorem is
almost always implicitly universally quantified, so what we really want
to show is $\forall x\ [p(x) \to q(x)]$ for every element $x$ within
some universe $\mathcal{U}$. How would we show this is always true?
Recall the strategy behind the Rule of Universal Generalization: pick
an arbitrary element $x_0 \in \mathcal{U}$, establish some property for
that one element, then generalize the result to the entire universe.
Suppose we assume $p(x_0)$ holds for our arbitrarily chosen $x_0$, and
suppose we also have some already-established fact — a definition, a
piece of algebra, or a previously proven theorem — telling us $p(x_0)
\to q(x_0)$ is true for this particular $x_0$. The argument
is the basis for any direct proof. Is this argument valid?
\[
\begin{array}{lll}
\textbf{Step} & \textbf{Proposition} & \textbf{Reason} \\
(1) & x_0 \in \mathcal{U} & \text{We can always pick an arbitrary element from a non-empty universe} \\
(2) & p(x_0) & \text{Assumed Premise} \\
(3) & p(x_0) \to q(x_0) & \text{Established Fact} \\
(4) & q(x_0) & \text{Modus Ponens on (2) and (3)} \\
(5) & \therefore \forall x\ [p(x) \to q(x)] & \text{Rule of Universal Generalization on (1), (2), and (4)}
\end{array}
\]
Notice that step (3) is labeled an established fact rather than an
assumed one — it can’t simply be handed to us as a premise, since
that would already be the theorem we’re trying to prove. Instead, it
has to come from somewhere else entirely: a definition, an algebraic
identity, or an already-proven theorem that happens to connect $p(x_0)$
to $q(x_0)$ for this particular $x_0$. And step (5)’s conclusion isn’t
generalizing the bare fact $q(x_0)$ from step (4) alone — it’s
generalizing the implication $p(x_0) \to q(x_0)$, which is really
what’s been established once we notice that $q(x_0)$ only followed
because we assumed $p(x_0)$ in the first place. That’s why the
citation for step (5) includes step (2) as well as step (4).
Since $x_0$ was an arbitrary element of $\mathcal{U}$ — not some
specific one — the Rule of Universal Generalization lets us conclude
the implication holds for every element of $\mathcal{U}$, not just
the one we happened to pick.
This strategy is called a direct proof because we start by assuming the
hypothesis $p(x_0)$, and derive the conclusion $q(x_0)$ from it
directly, via a single use of Modus Ponens. In practice, establishing
$p(x_0) \to q(x_0)$ itself might take several steps — appealing to
definitions, algebra, or previously proven theorems along the way — but
each of those steps is really just another instance of this same
pattern: take a fact you already have, apply a known implication, get
the next fact, and repeat until you reach the conclusion.
An In-Depth Example
Let’s break down a simple example of a proof for a mathematical
proposition. Since we’re providing a proof, we can call the proposition
a theorem.
Example 2.13.1: A fully worked-out proof, using formal logic
Consider the statement “If $n$ is an even integer, then $n + 1$ is an
odd integer.” Since the hypothesis and conclusion are both about
integers, our universe of discourse is $\mathbb{Z}$. Let
\[
\begin{array}{rl}
e(n)\text{: } &n \text{ is even.} \\
o(n)\text{: } &n \text{ is odd.}
\end{array}
\]
Implicit as usual is the universal quantifier, so this rewrites as
$\forall n\ [e(n) \to o(n + 1)]$ (we don’t write $\forall n \in
\mathbb{Z}$ explicitly, since it’s clear from context that we’re only
considering integers).
So, how do we show $e(n) \Longrightarrow o(n + 1)$? We can appeal to the
definitions of even and odd. Since we’re asserting $n$ is even (if it
weren’t, the implication would be trivially true), there’s some integer
$k$ such that $n = 2k$. But if $n = 2k$, then $n + 1 = 2k + 1$ — always
true, since we can substitute $2k$ for $n$ wherever it appears. Now,
$2k + 1$ satisfies the definition of odd. Since $n + 1 = 2k + 1$, and
$2k + 1$ is odd, $n + 1$ is odd. We don’t know exactly which integer $k$
or $n$ is, except that $n$ must be even — but everything we did applies
to all even integers, meaning adding one to an even integer always
gives an odd integer.
Written out formally, with $e(n)$ and $o(n)$ as before, along with
One last thing to note: the same placeholder $n_0$ is used throughout —
in the Universal Specification steps and the assumed premise alike —
because we want to show that when a particular integer is even, the
integer one more than it is odd. All our manipulations have to happen on
the exact same number, or we wouldn’t know the result holds.
And there we have it — a fully worked-out proof for a simple result.
Most of the time, proof-writing uses a mixture of English, arithmetic,
and algebraic manipulation written out in a paragraph format. We showed
this one using formal logic to demonstrate that, if we’re ever unsure
whether a proof is correct, we can fall back on the tools of
mathematical logic. From here on, we’ll write proofs using this more
conventional, paragraph-style approach instead.
A Conventionally Written Proof
Let’s rewrite the previous, very lengthy proof in a more conventional
style.
Theorem 2.13.1: If n is even, then n + 1 is odd
If $n$ is even, then $n + 1$ is odd.
Proof 2.13.1
Because $n$ is even, there exists some integer, which we’ll call $k$,
such that $n = 2k$. Adding $1$ to both sides yields $n + 1 = 2k + 1$.
But $2k + 1$ is odd by definition, and since $n + 1 = 2k + 1$, we must
have that $n + 1$ is odd, as desired.
This proof is much more compact, and much easier to follow. Again, if
we’re ever unsure whether a proof is correct, we can write out the open
statements, refer to the rules of inference, and lay out an argument in
tabular form. Theorems and their proofs will be presented in specially
marked magenta boxes going forward — if you’d like to try providing a
proof before seeing one (always an excellent exercise), the proof stays
collapsed until you’re ready to see it.
More Theorems and Proofs Regarding Even and Odd Numbers
Our next few theorems expand on the idea of even and odd numbers.
Theorem 2.13.2: If n is odd, then n + 1 is even
If $n$ is odd, then $n + 1$ is even.
Proof 2.13.2
Because $n$ is odd, there exists some integer $k$ such that $n = 2k +
1$. Adding $1$ to both sides yields $n + 1 = 2k + 1 + 1 = 2k + 2$.
Notice that a factor of $2$ can be brought out on the right-hand side:
$n + 1 = 2(k + 1)$. But $k + 1$ is an integer, which we can refer to as
$\ell$. Thus, there exists some integer $\ell$ such that $n + 1 = 2\ell$,
meaning $n + 1$ is even, as desired.
Theorem 2.13.3: If n is even, then n + 2 is even
If $n$ is even, then $n + 2$ is even.
Proof 2.13.3
By the previous theorem, since $n$ is even, $n + 1$ is odd. Then by the
theorem before that, $(n + 1) + 1$ must be even. Notice that $(n + 1) +
1 = n + 2$, meaning $n + 2$ is even, as desired.
Theorem 2.13.4: If n is odd, then n + 2 is odd
If $n$ is odd, then $n + 2$ is odd.
Proof 2.13.4
This result is proved using nearly identical logic to the previous
theorem.
Let’s quickly discuss the first two theorems above. They may seem
obvious to anyone with a high-school education, but they give us a
chance to practice writing proofs using easy results — meaning we can
easily check the logic used is valid. The main tool in both proofs was
the definitions of even and odd integer, with a little algebra to make
sure the relevant equations stayed balanced after adding $1$ to $n$.
The third theorem had an interesting proof: we used two previous
theorems, which is completely valid, since they’re already proven to be
true. The fourth theorem’s proof is perhaps the simplest so far — we
could have invoked the second theorem first on $n$, then the third on
$n + 1$, but the similarity to the third theorem’s proof was close
enough that we could almost copy it directly. Sometimes this is warranted;
other times there’s enough of a difference to necessitate an original
proof.
Let’s expand our understanding of even and odd numbers even further.
Theorem 2.13.5: The sum of two even integers is even
If $m$ and $n$ are both even, then $m + n$ is even.
Proof 2.13.5
Since $m$ is even, there exists some integer $a$ such that $m = 2a$.
Likewise, there’s some integer $b$ such that $n = 2b$. Thus,
$$m + n = 2a + 2b = 2(a + b).$$
Since $a$ and $b$ are integers, $a + b$ must be an integer too, which
we’ll refer to as $c$. Hence $m + n = 2c$, which satisfies the
definition of even. Thus, $m + n$ is even, as desired.
Theorem 2.13.6: The sum of an even and an odd integer is odd
If $m$ is even, and $n$ is odd, then $m + n$ is odd.
Proof 2.13.6
Since $m$ is even and $n$ is odd, there exist integers $a$ and $b$ such
that $m = 2a$ and $n = 2b + 1$. Adding $m$ and $n$ together:
$$m + n = 2a + 2b + 1 = 2(a + b) + 1.$$
Since $a$ and $b$ are integers, $a + b$ is also an integer, which we’ll
call $c$. Thus $m + n = 2c + 1$, satisfying the definition of odd. Hence
$m + n$ is odd, as desired.
Theorem 2.13.7: The sum of two odd integers is even
If $m$ and $n$ are both odd, then $m + n$ is even.
Proof 2.13.7
Since $m$ and $n$ are both odd, there exist integers $a$ and $b$ such
that $m = 2a + 1$ and $n = 2b + 1$. Adding $m$ and $n$ together:
where in the last step, we simply factored a $2$ out of all three
terms. Since $a$, $b$, and $1$ are all integers, $a + b + 1$ is an
integer too, which we’ll call $c$ — meaning $m + n = 2c$, so $m + n$ is
even, as desired.
It’s usually a good idea to play around with a theorem to see how it
works in practice.
Example 2.13.2: Applying the addition theorems
Both $6$ and $18$ are even, and $6 + 18 = 24 = 2 \cdot 12$, so their sum
is also even — matching what we’d expect.
$-3$ is odd and $98$ is even, so the sum should be odd: $-3 + 98 = 95 =
94 + 1 = 2 \cdot 47 + 1$. As predicted.
Both $-17$ and $1983$ are odd, so the sum should be even: $-17 + 1983 =
1966 = 2 \cdot 983$. As predicted.
The next proof involves a product instead of a sum.
Theorem 2.13.8: The product of two odd integers is odd
If $m$ and $n$ are both odd, then $mn$ is odd.
Proof 2.13.8
Since $m$ and $n$ are both odd, there exist integers $a$ and $b$ such
that $m = 2a + 1$ and $n = 2b + 1$. Multiplying $m$ and $n$ together:
Because there exists an integer $c$ such that $mn = 2c + 1$, $mn$ is
odd by definition, as desired.
Notice that in the last step, we simply replaced the quantity $2ab + a +
b$ with the single letter $c$ — since $2$, $a$, and $b$ are integers,
$2ab + a + b$ must be an integer too, so we can just refer to it as $c$
to make the subsequent step easier. Just like we can always make
substitutions in algebra, we can make substitutions for algebraic
expressions in proofs too — we should just make clear what substitution
is being used.
Theorems and Proofs Involving Square Numbers
Let’s explore some more theorems involving square numbers, along with
even and odd numbers.
Theorem 2.13.9: If n is even, then n² is even
If $n$ is even, then $n^2$ is even.
Proof 2.13.9
Because $n$ is even, there’s some integer $k$ such that $n = 2k$.
Squaring $n$:
Since $k$ and $2$ are both integers, $2k^2$ is an integer too, which we
can call $k_0$. This means $n^2 = 2k_0$, so $n^2$ is even, as desired.
The algebra in a proof like this can be handled however you feel
comfortable — simple steps can be omitted or combined, but anything
tricky should be clearly laid out.
Theorem 2.13.10: If n is odd, then n² is odd
If $n$ is odd, then $n^2$ is odd.
Proof 2.13.10
Because $n$ is odd, $n^2 = n \cdot n$, a product of two odd integers.
The previous theorem on products of odd integers guarantees $n \cdot n$
is odd, so $n^2$ is odd, as desired.
This proof is another demonstration of how previous theorems can be
used in the proofs of other theorems.
The next theorem’s proof has some tricky algebra, so it’ll be laid out
more carefully. This theorem is actually just the converse of the
previous one — and remember, just because a theorem is true doesn’t
mean its converse is automatically true.
Theorem 2.13.11: If n² is odd, then n is odd
If $n^2$ is odd, then $n$ is odd.
Proof 2.13.11
Since $n^2$ is odd, there’s some integer $k$ such that $n^2 = 2k + 1$.
Moving the $1$ to the left-hand side gives $n^2 - 1 = 2k$. We have a
difference of squares (since $1 = 1^2$), so we can factor the left-hand
side:
$$(n - 1)(n + 1) = 2k.$$
Notice that $(n - 1) + 2 = (n + 1)$, meaning $(n-1)$ and $(n+1)$ are
either both even, or both odd. Since $(n-1)(n+1) = 2k$, whatever integer
$(n-1)(n+1)$ equals must be even — meaning at least one of $(n-1)$ and
$(n+1)$ is even. But since both must be even or both must be odd, we
have that both $(n-1)$ and $(n+1)$ are even.
Since $(n-1)$ is even, and $(n-1) + 1 = n$, the theorem stating that an
even integer plus one is odd guarantees that $n$ must be odd. Hence,
$n$ is odd, as desired.
This proof required a common algebraic trick — factoring a difference of
squares — but just because it’s common doesn’t mean it’s an obvious
step. It also required knowing a bit more about even and odd integers
than what’s shown here (though these facts aren’t too hard to prove
either). Why that trick specifically, and not one of the myriad other
tricks available?
If we’re lucky, or clever enough to squint at the problem just right, we
might have a flash of insight on how to proceed. But we also could have
tried taking the square root of both sides of the first equation:
$n = \sqrt{2k+1}$. What do we do with that? Nothing seems like a good
next step — we’re stuck. We do have $n$ isolated on the left-hand side,
which is generally a good strategy in proofs, but here it leaves us with
no way to proceed. Perhaps if we were really good at handling roots in
equations we could push through, but nothing comes to mind immediately.
Sometimes we’ll have no choice but to deal with sticky algebraic
expressions — but other times, clever logic can free us from having to
rely on algebra that might be too clever for us to grasp in a timely
manner. One such logical strategy is the subject of the next section.
Proof Technique: Indirect Proofs
As seen in the last section, a direct proof is a proof method where we
assume the truth of the hypothesis, and show the truth of the
conclusion. But the last example in that section shows that a direct
proof can sometimes be quite tricky to devise.
If we’re ever stuck trying to show a proposition is a theorem by taking
a direct approach, we can use mathematical logic to prove an equivalent
implication instead. Since we’re not proving the original implication to
be a logical implication, but rather showing a logically equivalent one
is, this is called an indirect approach.
The Underlying Argument
Suppose we’re trying to show $p \to q$ is a logical implication for
every element of some universe $\mathcal{U}$ — that is, $\forall x\
[p(x) \Longrightarrow q(x)]$, meaning the argument
is valid, where $x_0$ is an arbitrarily chosen element of $\mathcal{U}$.
Remember that an implication is logically equivalent to its
contrapositive: $(p \to q) \Longleftrightarrow (\neg q \to \neg p)$. As
such, this argument is logically equivalent to
so if we ever want to prove a statement of the form $\forall x\
[p(x) \to q(x)]$, we can instead prove $\forall x\ [\neg q(x) \to
\neg p(x)]$. This method is also commonly called Proof by
Contraposition.
We won’t re-derive why these two arguments are equivalent here, since
that’s just the logical equivalence of an implication and its
contrapositive from the previous chapter — instead, we want to get
comfortable taking the contrapositive of a given implication, and
showing that the contrapositive is always true.
Revisiting a Previous Proof
Recall Theorem 2.13.11, whose proof required some tricky algebra. Let’s
revisit it with a different proof. Restating the theorem: “If $n^2$ is
odd, then $n$ is odd.” The hypothesis is “$n^2$ is odd”; the conclusion
is “$n$ is odd.” Since we want to give an indirect proof using the
contrapositive, the statement we want to prove is “If $n$ is not odd,
then $n^2$ is not odd.”
We may already know that if an integer isn’t odd, it’s even (we’ll
prove this fact later, though the reader is probably already familiar
with it) — so let’s rewrite the statement as “If $n$ is even, then $n^2$
is even.”
Now we proceed as if giving a direct proof: start by assuming $n$ is
even. Since $n$ is even, there’s some integer $k$ such that $n = 2k$.
Squaring $n$:
Since $k$ is an integer, $2k^2$ is an integer too, which we can call
$c$. So there exists an integer $c$ such that $n^2 = 2c$, meaning $n^2$
is even, as desired.
So, by assuming $n$ is even, we can deduce $n^2$ is even, meaning $n
\text{ is even} \Longrightarrow n^2 \text{ is even}$. Finally, since the
contrapositive is logically equivalent to the original implication, we
now also have $n^2 \text{ is odd} \Longrightarrow n \text{ is odd}$, as
desired.
Let’s recap what we did, before formally writing a proof — this proof
technique breaks down into three steps.
Step 1: Write the contrapositive
For an indirect proof of $p \to q$, start by writing the
contrapositive $\neg q \to \neg p$.
Step 2: Proceed with a direct proof on the contrapositive
Assume $\neg q$ is true. Using the rules of inference, the laws of
logic, any available axioms or definitions, and any previously proven
theorems, deduce the truth of $\neg p$ if possible.
Step 3: Invoke the logical equivalence of the contrapositive
Once $\neg p$ is deduced from assuming $\neg q$, we have $\neg q
\Longrightarrow \neg p$. Since an implication is always logically equivalent
to its contrapositive, we also have $p \Longrightarrow q$ — it’s almost like
getting two theorems for the price of one!
Now let’s present a formal proof of Theorem 2.13.11, using this indirect
technique.
Theorem 2.14.1: If n² is odd, then n is odd (revisited)
If $n^2$ is odd, then $n$ is odd.
Proof 2.14.1
The contrapositive of this implication is “$n$ is even $\to$
$n^2$ is even.” Since $n$ is even, there’s some integer $k$ such that $n
= 2k$. Squaring $n$:
Since $n^2$ is double whatever integer $2k^2$ happens to be, $n^2$ must
be even. This tells us $n \text{ is even} \Longrightarrow n^2 \text{ is
even}$, meaning we also have $n^2 \text{ is odd} \Longrightarrow n \text{ is
odd}$, as desired.
More Examples
Theorem 2.14.2: If n² is even, then n is even
If $n^2$ is even, then $n$ is even.
Proof 2.14.2
We start by assuming $n$ is odd, so there exists some integer $k$ such
that $n = 2k + 1$. Squaring $n$:
Since $2$ and $k$ are integers, $2k^2 + 2k$ is an integer too, meaning
$c$ is an integer. Thus, since there’s an integer $c$ such that $n^2 =
2c + 1$, $n^2$ is odd by definition. This proves the contrapositive of
the stated theorem, thus proving the desired result.
Notice that in this proof, we didn’t explicitly state what the
contrapositive was — we just started by assuming the conclusion was
false, meaning $n$ must have been odd, then showed $n^2$ is odd as a
result. Not all proofs will explicitly state the contrapositive, though
it’s good practice, and something we’ll do frequently. It’s also worth
noting we introduced the new variable $c$ to refer to the more
complicated expression $2k^2 + 2k$ — a very common practice to improve
clarity.
Our next theorem eschews even and odd integers, and instead deals with
all real numbers and inequalities.
Theorem 2.14.3: If xy > 100, then x > 10 or y > 10
Suppose $x$ and $y$ are two real, non-negative numbers (meaning they’re
greater than or equal to $0$).
If $xy > 100$, then $x > 10$ or $y > 10$.
Proof 2.14.3
Rewriting the statement using mathematical logic notation, we get
So, the largest value $xy$ can have when $0 \leq x \leq 10$ and $0 \leq y
\leq 10$ is when $x = 10$ and $y = 10$: $xy \leq 10 \cdot 10 = 100$.
Similarly, the smallest value $xy$ can have is when $x = 0$ and $y = 0$:
$0 = 0 \cdot 0 \leq xy$.
Thus, when $0 \leq x \leq 10$ and $0 \leq y \leq 10$, we have $0 \leq xy
\leq 100$. This proves the contrapositive, and so the original claim is
proven as desired.
There are a couple of things worth pointing out about this proof.
First, $\neg(x > 10)$ evaluated to $0 \leq x \leq 10$, rather than just
$x \leq 10$ (and likewise for $y$ and $xy$) — this is because our
universe is all non-negative real numbers, so we’re not considering
negative numbers at all, and $0$ is a natural lower bound. Second, we
used DeMorgan’s Law to distribute the negation into the parenthesized
expression — a law used so frequently that its use often goes
unmentioned. It’s usually a good idea to mention which logical laws
you’re using, but plenty of writing doesn’t explicitly do so — it’s
something we’ll simply have to get used to.
The contrapositive isn’t the only indirect method we have for proving
theorems. The next section details another very common one.
Proof Technique: Contradiction
As discussed in the previous section, when trying to prove a statement
like $p \to q$, we can take an indirect approach by proving
some other statement, logically equivalent to $p \to q$, is true. There,
the indirect method we used was the contrapositive. In this section, we
use the Rule of Contradiction to arrive at another indirect proof
method.
The Underlying Argument
Consider some arbitrary statement $p$. Since the implication $(\neg p
\to F_0) \to p$ is always true (as we saw in the
section on Rules of Inference), we can write $(\neg p \to
F_0) \Longrightarrow p$ — meaning it’s a valid rule of inference,
representing the valid argument
\[
\begin{array}{l}
\neg p \to F_0 \\
\hline
\therefore p
\end{array}
\]
Now suppose we’re trying to prove $\forall x\ [p(x) \to q(x)]$ for
every element of some universe $\mathcal{U}$. Pick an arbitrarily
chosen element $x_0 \in \mathcal{U}$. What happens if we assume
$p(x_0) = 1$ and $q(x_0) = 0$ (meaning $\neg q(x_0) = 1$)? The
implication $p(x_0) \to q(x_0)$ would be false. Let’s look at what
happens in an argument where we assume both $p(x_0)$ and $\neg q(x_0)$
as premises: a truth table confirms that
Thus, in order to show $\forall x\ [p(x) \to q(x)]$, we could instead
show $[p(x_0) \land \neg q(x_0)] \Longrightarrow F_0$ for our
arbitrarily chosen $x_0$. This is the idea behind proof by
contradiction: assume the negation of the desired conclusion as an
additional premise, then show that doing so yields a contradiction.
Revisiting a Previous Theorem
Let’s once again revisit Theorem 2.13.11: “If $n^2$ is odd, then $n$ is
odd.” To prove this by contradiction, we first identify our premises.
$n^2$ being odd is one; but in a proof by contradiction, we also have
the negation of the conclusion as a premise. Since the conclusion is “$n$
is odd,” its negation is “$n$ is not odd” — that is, “$n$ is even.” So
our premises are:
$$n^2 \text{ is odd} \qquad n \text{ is even.}$$
Using the definitions of even and odd as usual: there’s an integer $a$
such that $n = 2a$. Squaring $n$:
Since $n^2$ is double whatever integer $b$ happens to be, $n^2$ is even.
But this directly contradicts our premise that $n^2$ is odd! Thus,
assuming $n$ is even yields a contradiction whenever we assume $n^2$ is
odd — so $n$ can’t be even, and must be odd, as desired.
Theorem 2.15.1: If n² is odd, then n is odd (by contradiction)
If $n^2$ is odd, then $n$ is odd.
Proof 2.15.1
Presume (for the purpose of showing a contradiction) that $n$ is even.
Then there’s some integer $k$ such that $n = 2k$. Squaring $n$:
showing $n^2$ is even. However, this contradicts the premise that $n^2$
is odd. Thus, our assumption that $n$ is even yields a contradiction, so
we must have that $n$ is odd, as desired.
Over the past three sections, we’ve proven “if $n^2$ is odd, then $n$ is
odd” in three different ways — directly, indirectly via the
contrapositive, and indirectly via a contradiction. This is the
versatility of mathematical logic: if we’re ever stuck trying to prove a
theorem one way, we can try another tactic.
Some theorems are established in so many ways it’s hard to keep track of
how many proofs exist — there are entire books dedicated to proofs of
the Pythagorean Theorem alone. But not every theorem is so easily
established in a variety of ways. Perhaps most infamous is Fermat’s Last
Theorem: for over 350 years, mathematicians tried to either establish or
disprove the statement that when $n > 2$, there are no integers $a$,
$b$, $c$ (with $abc \neq 0$) satisfying $a^n + b^n = c^n$. A proof was
eventually given by Andrew Wiles in the mid-1990s, requiring such
abstract and sophisticated methods that there are entire graduate
courses dedicated to studying it.
As you study more mathematics, you’ll collect ever more tools for
proving theorems, or providing counter-examples. For now, let’s show
some more results using the method of contradiction.
Numbers Can’t Be Both Even and Odd
Notice that in some of our previous proofs, we used the fact that if $n$
isn’t even, it must be odd. For example, the contrapositive proof that
$n^2$ odd implies $n$ odd required us to assume that $n$ not being odd
meant $n$ was even. We haven’t actually proven this — are there numbers
that are both even and odd? Most readers already know none exist, and
now we can prove it.
Theorem 2.15.2: An even integer is never odd
If $n$ is even, then $n$ is not odd.
Proof 2.15.2
By hypothesis, $n$ is even, so there’s some integer $a$ such that $n =
2a$. Presume (for the purpose of showing a contradiction) that $n$ also
happened to be odd — meaning there’s some integer $b$ such that
$n = 2b + 1$.
Since we’re assuming it’s simultaneously true that $n = 2a$ and
$n = 2b + 1$, we must have
\[
\begin{array}{lll}
& \boldsymbol{2a = 2b + 1} & \textbf{Reason} \\
\Longleftrightarrow & 2a - 2b = 1 & \text{Subtract } 2b \text{ from both sides.} \\
\Longleftrightarrow & 2(a - b) = 1 & \text{Factor out the 2.} \\
\Longleftrightarrow & 2c = 1 & \text{Substitute } c = a - b.
\end{array}
\]
Thus, by assuming $n$ is both even and odd, we’ve shown there’s some
integer $c$ such that $1 = 2c$, meaning $1$ is even. But the integer $1$
is known to not be even. Thus, assuming $n$ is odd while also assuming
$n$ is even yields a contradiction.
Hence, $n$ must not be odd, as desired.
A few things worth pointing out about this proof. First, notice we used
the letter $a$ when assuming $n$ was even, and $b$ when assuming $n$ was
odd — not the same letter for both, since $n$ can’t simultaneously equal
$2a$ and $2a + 1$ for the same value of $a$ (that would mean two
consecutive integers are equal, which is absurd).
Second, when we reached the contradiction, we asserted it was the
assumption of $n$ being odd that was the problem, not the assumption of
$n$ being even. Remember, the hypothesis of the theorem is that $n$ is
even — we’re only considering even integers, and testing what happens if
$n$ was also assumed odd. Once we reach a contradiction, either the
“even” assumption or the “odd” assumption must be faulty — but since $n$
being even is the hypothesis we’re given, it must be the “odd”
assumption that’s at fault.
Finally, notice the contradiction we arrived at had nothing to do with
$n$ being even or odd at all — it was about the number $1$. When using
the contradiction method, the contradiction we arrive at may be about
the hypothesis of the proposition being examined, or it might be some
piece of previous knowledge that happens to show up. In some sense,
every piece of knowledge we have can be used as a premise, it’s just
that we don’t necessarily need — or want — to explicitly lay out every
premise, or the statements of our theorems would become unwieldy.
Another Example
Theorem 2.15.3: If m + n is even, m and n have the same parity
Let $m$ and $n$ be integers where $m + n$ is even. Then either $m$ and
$n$ are both even, or $m$ and $n$ are both odd.
Proof 2.15.3
By hypothesis, $m$ and $n$ are integers where $m + n$ is even, meaning
there’s some integer $a$ such that $m + n = 2a$.
Presume (for the purpose of showing a contradiction) that $m$ is even
and $n$ is odd (the proof is nearly identical if $m$ is odd and $n$ is
even). Thus $m = 2b$ and $n = 2c + 1$ for some integers $b$ and $c$.
Adding $m$ and $n$ together:
Since $b$ and $c$ are integers, $b + c$ is an integer too, meaning
$m + n$ is odd by definition. However, this contradicts our premise
that $m + n$ must be even. Hence, $m$ and $n$ can’t have different
parity — as such, they must have the same parity, as desired.
Mistakes in Proofs
So far, we’ve seen three different proof techniques: one direct, and
two indirect. Applying any of them requires close adherence to the
rules of inference discussed throughout this chapter.
However, if we make an argument that uses an invalid inference rule, we
have an invalid argument, and hence an invalid proof. In this section,
we discuss a few of the most common types of errors that can be made.
Violating Hypotheses of a Theorem or Axiom
Remember that a theorem guarantees some result holds when a certain
collection of premises are satisfied. If even one premise fails to hold
in a given scenario, the theorem no longer applies — its conclusion may
still happen to be true, but not because of the theorem itself. Consider
the following “proof” that $1 = 2$:
Let $a$ and $b$ be real numbers such that $a = b$.
\[
\begin{array}{lll}
& \boldsymbol{a = b} & \textbf{Reason} \\
\Longleftrightarrow & ab = b^2 & \text{Multiply both sides by } b. \\
\Longleftrightarrow & 0 = ab - b^2 & \text{Move } b^2 \text{ to the other side.} \\
\Longleftrightarrow & ab = 2ab - b^2 & \text{Add } ab \text{ to both sides.} \\
\Longleftrightarrow & ab - b^2 = 2ab - 2b^2 & \text{Subtract } b^2 \text{ from both sides.} \\
\Longleftrightarrow & b(a - b) = 2ab - 2b^2 & \text{Factor } b \text{ from the left-hand side.} \\
\Longleftrightarrow & b(a - b) = 2b(a - b) & \text{Factor } 2b \text{ from the right-hand side.} \\
\Longleftrightarrow & b = 2b & \text{Cancel the common } (a - b) \text{ term.} \\
\Longleftrightarrow & 1 = 2 & \text{Cancel the common } b \text{ term.}
\end{array}
\]
Clearly something went wrong somewhere, since obviously $1 \neq 2$.
The first thing to do is check the arithmetic on each line — in this
case, the arithmetic checks out, so that’s not the issue. Take a close
look at the second-to-last step, where we went from $b(a-b) = 2b(a-b)$
to $b = 2b$ by canceling the common $(a-b)$ term — which we did by
dividing both sides by $(a-b)$.
Dividing by zero
Remember that division by $0$ is undefined — how would we divide $100$
objects into $0$ groups? Always be sure any expression you divide by
isn’t equal to $0$.
The problem is that we initially said $a = b$, meaning $a - b = 0$. So
when we divided both sides by $(a - b)$, we were really dividing by
$0$ — an invalid arithmetical manipulation, even though the arithmetic
was performed “correctly” once that division was allowed.
It’s common when solving equations to cancel out like terms, and
there’s a theorem to help with this:
Theorem 2.16.1: The Cancellation Law
If $a \neq 0$, and $ab = ac$, then $b = c$.
Proof 2.16.1
When $a \neq 0$, the result comes about by simply dividing both sides
of the equation by $a$ and simplifying.
This theorem has two premises: $p_1 : a \neq 0$ and $p_2 : ab = ac$. If
both are true, the theorem guarantees the conclusion $c : b = c$. Now,
what happens when we try to apply this theorem to the flawed proof
above? There, $p_1 : a - b \neq 0$ and $p_2 : b(a - b) = 2b(a - b)$.
Premise $p_1$ is false — so this theorem does not guarantee $b = 2b$.
To be clear, it may still be the case that $b = 2b$ in some
instances — like when $b = 0$, since $0 = 2(0)$. But the truth of $b =
2b$ isn’t guaranteed by the Cancellation Law; we’d have to appeal to an
entirely different theorem to establish it.
Arguing by the Converse or Inverse
As described earlier in this chapter, an implication isn’t in general
logically equivalent to its converse or inverse (though in some cases it
may be). Thus, we can’t in general deduce the truth of a proposition by
examining the truth of its converse or inverse.
Example 2.16.1: A positive square doesn’t guarantee a positive base
Suppose we knew that $n^2 > 0$. Can we conclude $n > 0$?
We know that if $n > 0$, then $n^2 > 0$ (the converse) — a positive
number times a positive number is positive. But can we go the other
direction? No — a negative number times a negative number is also
positive. If $n = -1$, then $n^2 = 1 > 0$. This is a counter example to
$n^2 > 0 \to n > 0$, so $n^2 > 0 \not\Longrightarrow n > 0$.
Example 2.16.2: A negative base doesn’t guarantee a negative square
Suppose we know $n < 0$. Can we conclude $n^2 < 0$? We know that when $n
\geq 0$, then $n^2 \geq 0$ (the inverse) — but as discussed above,
multiplying a negative number by a negative number always yields a
positive number. So $n^2$ is always greater than or equal to $0$ — there
is no real number $x$ such that $x^2 < 0$. For a counter example,
consider $n = -1$: $n^2 = (-1)(-1) = 1$, which certainly isn’t negative.
Circular Reasoning
One particular error that occasionally occurs is implicitly assuming
the truth of the conclusion, instead of deducing its truth from the
premises. It sounds silly to prematurely assume the truth of a
conclusion, but many proofs require multiple paragraphs of carefully
written logic — and it can be easy to mistake the conclusion for a
premise, and start working out faulty results. It’s a subtle mistake,
but a mistake nonetheless.
Example 2.16.3: An invalid ‘proof’ that assumes its own conclusion
Consider the following flawed “proof” of the claim $n^2 \text{ is even}
\Longrightarrow n \text{ is even}$.
Suppose $n^2$ is even — this means there exists some integer $k$ such
that $n^2 = 2k$. Let $n = 2\ell$ for some integer $\ell$; then
Thus we must have $k = 2\ell^2$. Since $n = 2\ell$ where $\ell$ is an
integer, $n$ is even by definition, as desired.
This result may seem convincing — we’ve supposedly shown $n$ is double
some other integer. But after noting $n^2 = 2k$ (invoking the
definition of even), we asserted $n = 2\ell$ for some integer $\ell$ —
but that’s exactly what we’re trying to show in the first place! We
assumed $n$ was even, and arrived at the conclusion that $n$ was
even — which is meaningless, since it relies on an assumption about $n$
that was never logically justified.
It’s worth pointing out that it is true that if $n^2$ is even, then
$n$ is even — this can be proven, just not by the “proof” given here.
As this example demonstrates, one way this error occurs is that the
assumption is stated quickly, and then a bunch of results are derived
afterward. When reading an attempted proof, we may gloss over the
assumptions being made and focus on the results derived from them —
which is exactly where we might miss the fact that we’re assuming the
truth of the conclusion. Always be on the lookout for unwarranted
assumptions in proposed proofs of a statement.
Abusing Universal Generalization
Universal Generalization proves a universally quantified statement is
true by taking a specific, but arbitrarily chosen, element from the
universe of discourse, and manipulating it to show some result. Since
that element was arbitrarily chosen, any derived results hold for
whatever element we pick, and hence hold for all elements in the
universe.
Typically, we use a variable to represent the arbitrarily chosen
element — since its value is unknown, the only thing we know about it is
what’s known about every element in the universe.
Example 2.16.4: A legitimate use of an arbitrary variable
Suppose we want to prove a result true of all even integers. We can use
$n$ as a placeholder for any even integer we might pick, and since $n$
is even, there’s some integer $k$ such that $n = 2k$. But which even
integer is $n$? It could be $2$, or $4$, or $788$, or $-100918$ — we
don’t know, because $n$ is arbitrarily chosen. All we know is that $n$
is double some other integer $k$, which may be even or odd, but is just
some integer. Any manipulation of $k$ that works for all integers is
valid.
Problems arise when the element we pick is not arbitrarily chosen.
Example 2.16.5: An invalid ‘proof’ using a non-arbitrary choice
Consider the following invalid “proof” that for all integers $n$, $n =
n^2$.
Consider $n = 0$: $0 = 0^2$. Since the element we picked satisfies $n =
n^2$, the result holds by invoking Universal Generalization, as desired.
Note we could also pick $n = 1$, since $1 = 1^2$. Was our choice for $n$
arbitrary? No — we used knowledge about the number $0$ (and, as it
happens, $1$) that isn’t shared by any other integer. The fact that $0 =
0^2$ and $1 = 1^2$ doesn’t show that all integers equal their own
square — for example, $2 \neq 2^2 = 4$. Not every integer $n$ has the
property $n = n^2$, so we can’t use that property when invoking
Universal Generalization. What we do with $n$ must be true for all
integers, not just $0$ and $1$.
Proof Technique: Equivalence
All of the proof techniques we’ve discussed so far only seem to go one
way. When we provide a proof for $a \Longrightarrow b$, what we’re really
saying is that if $a$ is true, then $b$ is true too — but since an
implication isn’t generally logically equivalent to its converse, we
can’t go the other way: knowing $b$ is true doesn’t necessarily tell us
$a$ is also true.
However, just because that’s true in general doesn’t mean there are
never instances where an implication is logically equivalent to its
converse. Consider the statement $n \text{ is even} \Longrightarrow n + 1
\text{ is odd}$. Clearly, its converse is also a logical implication:
$n + 1 \text{ is odd} \Longrightarrow n \text{ is even}$. So, whenever “$n$
is even” is true, “$n + 1$ is odd” is also true — and vice versa. These
propositions are either simultaneously true, or simultaneously false.
Hence, we can write $n \text{ is even} \Longleftrightarrow n + 1 \text{ is
odd}$.
In this section, we demonstrate a technique for proving statements of
the form $a \Longleftrightarrow b$.
The General Strategy
The technique for showing a logical equivalence is based on the fact
that $(p \leftrightarrow q) \Longleftrightarrow (p \to q) \land (q \to p)$.
If we ever want to prove $a \Longleftrightarrow b$, we need to provide a
proof for $a \Longrightarrow b$, and a proof for $b \Longrightarrow a$. As a
reminder: to prove $a \Longrightarrow b$, we assume $a$ is true and deduce
the truth of $b$; to prove $b \Longrightarrow a$, we assume $b$ is true and
deduce the truth of $a$. Of course, any proof technique already
discussed can be used for either direction.
Since a theorem is almost always implicitly universally quantified,
what we’re really trying to show is $\forall x\ [p(x) \leftrightarrow
q(x)]$ for every element $x$ within some universe $\mathcal{U}$. The
argument
is the basis for any proof of logical equivalence: once both
directions have each been established on their own — using whatever
proof technique fits each one — the Law of Mutual Implication combines
them into the desired biconditional.
Another Result About Even and Odd Numbers
Theorem 2.17.1: n is even if and only if n² is even
$n$ is even if and only if $n^2$ is even.
Proof 2.17.1
$n$ is even $\Longrightarrow$ $n^2$ is even
Suppose $n$ is an even integer. Then there’s some integer $k$ such that
$n = 2k$. Squaring $n$:
Because $k$ is an integer, $2k^2 = \ell$ is an integer too, meaning
$n^2$ is the double of some integer. Thus, $n^2$ is even, as desired.
$n$ is even $\Longleftarrow$ $n^2$ is even
Here, we choose to work with the contrapositive: $n \text{ is odd} \to
n^2 \text{ is odd}$. Supposing $n$ is odd, there’s some integer $k$ such
that $n = 2k + 1$. Squaring $n$:
Because $k$ is an integer, so is $2k^2 + 2k$, meaning $\ell$ is an
integer. Thus, since $n^2 = 2\ell + 1$ for integer $\ell$, $n^2$ is odd.
This proves $n \text{ is odd} \to n^2 \text{ is odd}$, and since this is
logically equivalent to its contrapositive, we’ve also proven $n^2
\text{ is even} \to n \text{ is even}$, as desired.
$n$ is even $\Longleftrightarrow$ $n^2$ is even
Because we’ve shown $n \text{ is even} \Longrightarrow n^2 \text{ is even}$
and $n \text{ is even} \Longleftarrow n^2 \text{ is even}$, we have $n
\text{ is even} \Longleftrightarrow n^2 \text{ is even}$, as desired.
In this proof, we clearly delineated which part we were working on with
labeled headers — this keeps things organized, and we finished by
making clear we’ve shown the logical implication works both ways,
meaning we have a logical equivalency.
Notice also that this theorem uses the “if and only if” construct — as
a reminder, that’s how biconditionals are specified. It’s also worth
pointing out that we used a direct approach for “$n$ is even
$\Longrightarrow$ $n^2$ is even,” but an indirect approach for the reverse
direction. We’re allowed to mix and match proof techniques for either
part — all we need is some proof, regardless of the technique.
Multiple Equivalencies
Of course, multiple propositions may be logically equivalent to each
other. Suppose we knew $a \Longleftrightarrow b$ and $a \Longleftrightarrow c$.
Can we conclude $b \Longleftrightarrow c$? Since $a \Longleftrightarrow b$ and $a
\Longleftrightarrow c$, we have $b \Longrightarrow a$ and $a \Longrightarrow c$.
Thus, by the Law of the Syllogism, $b \Longrightarrow c$. Similarly, we also
have $c \Longrightarrow a$ and $a \Longrightarrow b$, meaning $c \Longrightarrow b$.
Finally, because we have both $b \Longrightarrow c$ and $c \Longrightarrow b$, we
must also have $b \Longleftrightarrow c$. This means overall,
$$a \Longleftrightarrow b \Longleftrightarrow c.$$
The technique for showing multiple equivalencies is based on the fact
that
The most straightforward way to show $a \Longleftrightarrow b \Longleftrightarrow
c$ is to first show $a \Longrightarrow b$, then $b \Longrightarrow c$, and
finally $c \Longrightarrow a$.
Extending this to three open propositions $p(x)$, $q(x)$, and $r(x)$,
the argument
is the basis for showing all three are logically equivalent — proving
each implication around the cycle separately is enough to guarantee
$p(x)$, $q(x)$, and $r(x)$ all share the same truth value, for every
$x$.
Theorem 2.17.2: Three equivalent statements about even and odd
The following statements are all logically equivalent:
$n$ is odd
$n + 1$ is even
$n^2$ is odd
Proof 2.17.2
$n$ is odd $\Longrightarrow$ $n + 1$ is even
This is a theorem we already proved in the section on direct proofs.
$n + 1$ is even $\Longrightarrow$ $n^2$ is odd
Since $n + 1$ is even, we know $n$ is odd. Furthermore, because $n$ is
odd, a theorem we already proved guarantees $n^2$ is odd, as desired.
$n^2$ is odd $\Longrightarrow$ $n$ is odd
This is a theorem we already proved in the section on indirect proofs.
$n$ is odd $\Longleftrightarrow$ $n + 1$ is even $\Longleftrightarrow$ $n^2$ is odd
Because we’ve shown $n \text{ is odd} \Longrightarrow n + 1 \text{ is
even}$, $n + 1 \text{ is even} \Longrightarrow n^2 \text{ is odd}$, and $n^2
\text{ is odd} \Longrightarrow n \text{ is odd}$, we have
$$n \text{ is odd} \Longleftrightarrow n + 1 \text{ is even} \Longleftrightarrow n^2 \text{ is odd}$$
as desired. This completes the proof.
Because of all the work we did previously, we were able to make quick
work of this proof — instead of working out every result from first
principles, we simply appealed to previously established theorems to do
all the heavy lifting.
Note that we can extend logical equivalency to as many propositions as
we can logically show. For example, if we wanted to show that some
collection of $n$ propositions were all logically equivalent, we’d make
use of the fact that