0.1 Statements, Implications and Quantifiers
Linear algebra is a subject of proofs. Every theorem in this book has the shape “if these hypotheses hold, then this conclusion holds”, and most definitions hide a “for every” or a “there exists”. Before we can prove anything, we need to read such sentences exactly: when they are true, what they claim, and what their opposite says. This section builds that reading skill. It is the grammar that the rest of the book is written in.
0.1.1. Statements and connectives
A statement is a sentence that is
either true or false, but not both. “
We build longer statements from shorter ones with a few fixed words. Everyday language uses these words loosely, so mathematics pins each one down by saying exactly when the combined statement is true.
A connective builds a new statement whose truth depends only on the truth of its parts.
Let
- The negation
(“not ”) is true when is false, and false when is true. - The conjunction
(“ and ”) is true when both and are true, and false otherwise. - The disjunction
(“ or ”) is true when at least one of , is true, and false only when both are false.
A truth table lists every combination of truth values of the parts, one per row, and records the value of the compound statement. With T for true and F for false:
| T | T | F | T | T |
| T | F | F | F | T |
| F | T | T | F | T |
| F | F | T | F | F |
Two statement forms are logically
equivalent, written
A few examples, checked against the definition:
- “
is prime and is even” is false, because its second part is false. - “
is prime or is even” is true, because its first part is true. - “
or ” is true. Both parts are true, and that is allowed.
Warning. In mathematics “or” is
inclusive:
0.1.2. Implication
Almost every theorem is an implication: “if
Think of an implication as a promise. A parent says: “If you finish your homework, then you may watch a film.” When has the parent broken the promise? Only when the homework is finished and the film is still refused. If the homework is not finished, the promise says nothing about what happens, so whatever happens, the promise was not broken.
An implication is false only when the hypothesis holds and the conclusion fails.
Let
- The implication
(“if then ”) is false when is true and is false, and it is true in every other case. We call the hypothesis and the conclusion. - The converse of
is the implication . - The contrapositive of
is the implication .
In words: the first clause says an implication can only fail in one way, by a true hypothesis leading to a false conclusion. The converse swaps the roles of hypothesis and conclusion. The contrapositive swaps them and negates both.
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
The implication
- “
implies ”, “ whenever ”, “ if ”; - “
only if ”; - “
is sufficient for ”, “ is necessary for ”.
The phrase “only if” trips people up. “
The last two rows of the table, where the hypothesis is false, are called vacuous cases. An implication with a false hypothesis is vacuously true.
Let
Solution. Yes. No integer is both
odd and even, so the hypothesis “
Why this definition. The two vacuous rows may look like a convention picked for convenience. They are forced once we want implications to work inside “for every” statements. Consider the true fact
for every integer
, if then .
For this to be true, the implication must be true for
every integer
Remark. The implication
The contrapositive is the most useful rewriting of an implication, because it is always interchangeable with the original.
For all statements
Proof. Let
| T | T | F | F | T | T |
| T | F | T | F | F | F |
| F | T | F | T | T | T |
| F | F | T | T | T | T |
In the second row,
So to prove “if
The converse is a different matter. It is a separate statement, and it can be false while the original is true.
Warning. The converse is
not the contrapositive. “If
Later in the book the converse question comes up
constantly. In Chapter 3 we will see that if a square
matrix
Quick check. Consider “if an
integer
Solution. The converse is “if
The original is true: if
When an implication and its converse are both true, we say the two statements are equivalent.
The biconditional
| T | T | T | T | T |
| T | F | F | T | F |
| F | T | T | F | F |
| F | F | T | T | T |
The phrase splits in two: “
0.1.3. Quantifiers
The sentence “
“For every” makes a claim about each element; “there exists” asks for a single witness.
Let
- The universal statement
(“for every in , ”) is true when is true for every element of , and false otherwise. - The existential statement
(“there exists in such that ”) is true when is true for at least one element of , and false otherwise.
The symbols
In words: a universal statement is a promise about
every element, so a single element where
The collection
Decide whether each statement is true.
- (a)
. - (b)
. - (c)
. - (d)
.
Solution.
(a) True. Every real number
is either or , and in both cases .(b) False. By (a),
for every real , so no real is a witness. Over the complex numbers (introduced later in this chapter), is a witness, so the same predicate becomes true when the range changes from to .(c) False. If
then , and if then . So no integer squares to .(d) True. This is the statement shown in (c), said the other way round: every integer fails to square to
.
Parts (c) and (d) already show the pattern of the next subsection: “there is no witness” is the same as “everything fails”.
A degenerate case. What if the range
contains no elements at all? Take “every integer
Remark. We write
0.1.4. The order of quantifiers
Most definitions in this book use several quantifiers in a row. Their order is part of the meaning.
Compare the two statements
Decide which is true.
Solution. Statement (i) says:
whichever real
Statement (ii) says: there is one real number
The difference is who chooses first.
In (i),
Warning. Never swap a
Quick check. Over the positive real
numbers, statement (A) is “
Solution. No. (A) is true: given
0.1.5. Negation
Much of mathematics consists of showing that something fails: a function is not injective, a list is not independent, a claimed theorem is false. To do this we need the negation of the statement written in a usable form. Putting “it is not the case that” in front is correct but useless; we want the negation with the “not” pushed all the way inside, next to a simple condition we can check.
First, the connectives.
For all statements
- (a)
; - (b)
; - (c)
.
Proof. Let
| T | T | F | F | F | F | F | F |
| T | F | T | T | F | F | T | T |
| F | T | T | T | F | F | F | F |
| F | F | T | T | T | T | F | F |
For (a),
Law (c) deserves a sentence. The negation of an
implication is not another implication.
To refute “if
Now the quantifiers. A universal statement fails exactly when some element fails it, and an existential statement fails exactly when every element fails it. We record this as the rule we will use every time.
To negate, flip each quantifier and negate what is inside.
Let
For a statement with several quantifiers, apply these
rules from the outside in: each
In words: “not every
Negate each statement, and say which of the statement and its negation is true.
- (a)
. - (b)
. - (c)
.
Solution.
(a) The negation is
. The original is true, by Example (Quantified statements), so the negation is false.(b) By Definition 0.1.4 and law (a) of Theorem 0.1.2, the negation is
. The original is true, with witness , so the negation is false: is neither odd nor .(c) Flip both quantifiers and negate the inside:
. This says that some real number is at least as large as every real number. The original is true by Example (Swapping two quantifiers), so the negation is false.
The next two examples negate definitions that will
appear over and over. We use the word
function informally here, as a rule
A function
Write down, with no “not” in front, what it means for
Solution. By Definition 0.1.4, both
In words, two different inputs have
the same output. For
A function
Negate this, and show that
Solution. Flipping the two
quantifiers and negating the equation gives:
In words, one value in
The most important negation in the early chapters is that of a statement ending in “all zero”. We meet it here without any vector spaces, using pairs of real numbers added and scaled entry by entry.
Consider the pairs
Negate it, and decide which of the statement and its negation is true.
Solution. Flip the quantifier, and use law (c) of Theorem 0.1.2 for the implication and law (a) for the conjunction. The negation is
The last condition says that
The negation is true. Take
and
In Chapter 1 the original statement is what “the list is linearly independent” means, and its negation is “linearly dependent”. The small words in the negation carry the weight.
Warning. “Not all zero” is
not “all non-zero”. The negation of “
Quick check. Negate “every student passed some exam”, with no “not” in front of the whole sentence.
Solution. Write it as “
Remark. Each form of statement
suggests how to prove or refute it. To prove
0.1.6. Exercises
A. Check your understanding
- (a) Decide whether
each statement is true: (i) “
or is odd”; (ii) “if , then ”; (iii) “if is odd, then ”. - (b) Write the
converse and the contrapositive of “if an integer
is divisible by , then is even”. Which of the three statements are true for every integer ? - (c) Negate
, with no in front. Which of the statement and its negation is true? - (d) True or false:
for all statements . Give a reason.
Solution.
- (a)
- (i) True: the second
part is true, and a disjunction needs only one true
part. (ii) True: the hypothesis
is false, so the implication is vacuously true. (iii) False: the hypothesis is true and the conclusion is false, which is the one case where an implication fails.
- (i) True: the second
part is true, and a disjunction needs only one true
part. (ii) True: the hypothesis
(b) The converse is “if
is even, then is divisible by ”. The contrapositive is “if is odd, then is not divisible by ”. The original is true: gives . The contrapositive is true by Theorem 0.1.1. The converse is false: is even and not divisible by .(c) By Definition 0.1.4, the negation is
. The original is true: given , some integer exceeds (for instance the integer part of plus ). So the negation is false.(d) False. Take
true and false. Then is false, so is true, while is false because is false. The correct law is , by Theorem 0.1.2.
B. Practice
Write the negation of each definition as a quantified
statement with no
- (a) A function
from to is bounded if . - (b) A function
from to is injective if . Compare your answer with Example (What “not injective” means). - (c) “Every pair of
reals is a combination of
and ”: , where pairs are added and scaled entry by entry.
Solution.
(a) By Definition 0.1.4,
is not bounded if and only if . In words: whatever bound is proposed, some value of exceeds it in absolute value.(b) Flip both quantifiers and negate the implication using law (c) of Theorem 0.1.2:
. In words: two different inputs share an output. This is the same condition as in Example (What “not injective” means). That is expected: the given implication is the contrapositive of , so by Theorem 0.1.1 the two definitions agree, and so do their negations.(c) Flip all the quantifiers and negate the equation:
. In words: some pair is not a combination of and , whatever coefficients are used. (The original is in fact true, since , so this negation is false.)
For each statement, decide whether it is true when
- (a)
. - (b)
. - (c)
. - (d)
.
Solution.
(a) Over
: false. Take . No integer satisfies . Over : true. Given , take ; then .(b) Over
: false. Take , which is non-zero. If for an integer , then would be even, which is false. Over : true. Given , take , which exists because , and then .(c) True over both. Take
, which lies in and in . Then for every . Here one works for all , so the order causes no difficulty.(d) False over both. Take
. For every , integer or real, by Example (Quantified statements), so .
C. Going deeper
Prove that
Solution. Let
The statement
The statement
Both statements are false in exactly the same row of the eight-row truth table, and true in the other seven. Hence they are logically equivalent.
Consequently “if
- (a) Determine
whether there exist statements
and such that both and its converse are false. Justify your answer. - (b) Give predicates
and about integers such that both and are false. - (c) Explain why (a) and (b) do not contradict each other.
Solution.
(a) No such statements exist. Suppose
is false. By Definition 0.1.2, is true and is false. Then has a false hypothesis, so it is true. Hence an implication and its converse can never both be false.(b) Let
be “ is even” and be “ is divisible by ”. The first universal statement is false: is even and not divisible by . The second is false: is divisible by and not even.(c) In (a),
and are single statements, each with one fixed truth value. In (b), each universal statement is refuted by its own counterexample, and the two counterexamples are different integers. At the converse is vacuously true, and at the original is vacuously true, in line with (a). A “for every” statement can fail at one place while its converse fails somewhere else.