Introduction to Logic
Senior 4 · Mathematics
Introduction to Logic
Lesson 4 of 5
25 min
"" is not a statement: its truth depends on . Yet two small phrases turn it into statements at once. "There is a real number such that " is true (take ). "For every real number , " is false (take ). The phrases "for every" and "there is" are quantifiers, and almost every definition and theorem in mathematics uses them. Negating them correctly is one of the most useful skills in this unit.
Definition
Propositional function (predicate): a sentence containing a variable that becomes a statement whenever is replaced by an element of a given set , the domain (universe of discourse). A predicate may have several variables, such as .
Truth set: .
Example: on , let : "". Then is true, is false (), and the truth set is .
Definition
Universal quantifier , "for all": the statement is true when is true for every in , that is, when the truth set is all of .
Existential quantifier , "there exists": the statement is true when is true for at least one in , that is, when the truth set is not empty. means "there exists exactly one".
Example: is true; is false.
Take : "" on . Its truth set is the interval .
The truth set is not empty, so is true (for example ). It is not the whole of , so is false, and is a counterexample. Change the domain to and the universal statement becomes true: the domain is part of the statement.
Worked example 1: truth values
Decide whether each statement is true or false. (a) (b) (c) (d) .
Solution
Important
Negating quantifiers
Why: "it is not true that every works" means "some fails"; "there is no that works" means "every fails". The quantifier flips, and the negation moves inside. On a finite domain this is just De Morgan's law: .
Worked example 2: negating in words and symbols
Worked example 3: two quantifiers, and why order matters
Decide the truth value of (a) (b) . Then negate (a).
Solution
Negation of (a): flip each quantifier and negate the predicate: . (It is false, as it must be.)
Warning
"Not all" is not "none". The negation of "all the bridges are safe" is "some bridge is not safe", which one unsafe bridge makes true. Writing "no bridge is safe" claims far too much. Likewise the negation of "some works" is "no works", not "some does not work".
Tip
How to settle a quantified statement: to prove "for all", give an argument that works for an arbitrary ; to disprove it, one counterexample is enough. To prove "there exists", one example is enough; to disprove it, show that every fails.
Dr. Trefor Bazett: Negating Universal and Existential Quantifiers. Watch for how 'for all' becomes 'there exists' (and the other way round) while the negation moves inside.
Practice
State the domain whenever you use a quantifier.
Key points
Sources and credits
Quick check
What is the negation of 'All the students passed'?