2.4 Quantifiers
Objectives:
-
•
Critically analyze proofs involving quantifiers
-
•
Learn negations of mathematical statements involving quantifiers
-
•
Apply knowledge of quantifiers to writing mathematical proofs
2.4.1 Predicates
As we saw in the last section, statements like “” appear regularly in mathematical writings. But statements like this, as written, are not propositions - they are neither true nor false but depend on the values of and . Such statements are called predicates.
Example 2.4.1.
Which of the following statements are propositions, and which are predicates? Why?
(1)
(2) For all , .
(3) .
(4) There exists an integer such that .
Notice how we were able to turn statements (1) and (3) from predicates to propositions (2) and (4) respectively by adding specific qualifications to what our variables denote. These “qualifications” - “for all” and “there exists” - are called quantifiers.
Definition 2.4.2.
-
•
The universal quantifier (, LaTeX forall) denotes “for all”. In logical notation, statement (2) reads .
-
•
The existential quantifier (, LaTeX exists) denotes “there exists”. In logical notation, statement (4) reads .
Example 2.4.3.
Translate the following statement into logical notation: “for all positive values , there exists a positive value such that, if is strictly between 0 and , then is less than .” (This is the definition of the limit of a function as approaches .)
Example 2.4.4.
Determine whether the following statements are true, false, or neither. Prove each statement which is true, and disprove each statement which is false.
-
(a)
Blank space for you to write your work.
There exists a positive real number such that, if , then .
-
(b)
Blank space for you to write your work.
For all real numbers , if , then, .
-
(c)
Blank space for you to write your work.
There exists an such that .
-
(d)
Blank space for you to write your work.
For all natural numbers , .
-
(e)
Blank space for you to write your work.
There exists a real number such that and .
We recap what we have learned below:
- To prove a "for all" statement, we must show a statement is true in general, not specifically for a certain value.
- To disprove a "for all" statement, we must show a counterexample of our choosing, but we must verify that our counterexample indeed disproves the statement.
- To prove a "there exists" statement, we must show an example of this object existing, then verify that this example works.
- To disprove a "there exists" statement, we must show that "for all" relevant objects the statement does not hold true.
2.4.2 A “Contrapositive” for Quantifiers
Consider the following scenario:
A coach tells her players, “If everyone on the team runs a mile tonight, then I will buy the team pizza tomorrow.”
What would have to happen for the coach to be justified in not buying them pizza?
Now consider the following scenario:
A coach tells her players, “If one of you runs a mile tonight, then I will buy everyone pizza tomorrow.”
What would have to happen for the coach to be justified in not buying them pizza?
In each of these examples we are negating a “for all” or “there exists” statements. If is the antecedent statement “player runs a mile” and is the consequence statement “the coach buys the players pizza”, the first logical statement could be written as
Well, what must be true if takes place? By contraposition, we know that is a true statement. But this is a bit awkward to say in English: “it is not the case that for all players , player ran a mile”. We typically rephrase this in a different way: “there is some player who did not run a mile”. Logically this statement comes out to be .
Similarly, the second statement is written as . If is true, it must be the case that is also true! As we see in our answer, this can be written as “no one on the team runs a mile”. We can write this as .
This motivates the following theorem:
Theorem 2.4.5.
Let be a predicate in some universe of discourse. Then
-
(a)
is logically equivalent to , and
-
(b)
is logically equivalent to .
Example 2.4.6.
Negate the following propositions, remembering not to use logical notation in your answers. These are called forming “useful denials” of these propositions. (Note: we are not proving or disproving these statements; we are just negating them!)
-
(a)
Blank space for you to write your work.
For all , .
-
(b)
Blank space for you to write your work.
For all , there exists such that .
-
(c)
Blank space for you to write your work.
is even is even is even
2.4.3 Statements with Multiple Predicates
In the next sections we will see plenty of statements that involve multiple quantifiers. Before we get into these, let us experiment with a few examples.
Example 2.4.7.
Determine whether the following statements are true, false, or neither. Prove each statement which is true, and provide a counterexample for each statement which is false.
-
(a)
Blank space for you to write your work.
-
(b)
Blank space for you to write your work.
-
(c)
Blank space for you to write your work.
-
(d)
Blank space for you to write your work.
2.4.4 Proving with Quantifiers
In formal proofs you will not see mathematicians use abbreviations like and , if for no other reason that it makes the proof harder to read. For the very same reason, you will see us label some parts of our proofs as "scratch work". These are considered parts of the problem to help us understand the statement, and they are typically never included in proofs.
Example 2.4.8.
Disprove the following statement. Remember, do not use logical notation in your proof.
Example 2.4.9.
Consider the statement
First, prove this statement. Then consider: if we switch the order of quantifiers, is the statement still true? Prove or disprove.