Nearly every theorem is a claim about all numbers of some kind or about at least one of them, and the connectives of the previous lesson have no way to say either.
That lesson fixed the meaning of "not", "and", "or", "implies" and "if and only if", and closed on a sentence they could not build: "for every integer , if is divisible by , then is even". This lesson adds "for every" and "there exists", gives the rules for negating them, and shows that their order changes what is said. It ends with the definition of a limit, negated symbol by symbol.
Open sentences and the two quantifiers
A sentence such as "" has no truth value until is fixed: it is true when and false when . Such an open sentence is written , so that is a true statement and a false one.
Two quantifiers turn an open sentence into a statement. The universal quantifier , read "for all ", makes , which is true when is true for every value of . The existential quantifier , read "there exists an ", makes , which is true when is true for at least one value.
"At least one" is the exact reading of . It does not mean exactly one, and it does not hint that not all: "there is an even integer" is true, though there are infinitely many. As with inclusive "or", the weaker reading is the default.
Often the quantifier is not written at all. "If is divisible by , then is even" is printed as a theorem with no "for all", and every reader supplies "for every integer ". A proof has to put it back, because "every " and "some " call for different proofs.
The domain is part of the claim
"For all " always means all in some collection, the domain, and changing the domain changes the claim. Take " for every ". Over the integers it is true: if then , and if then multiplying by the positive number gives . Over the reals it is false, since gives . Likewise "there is an with " is true over the reals and false over the rationals, which a later lesson proves.
So mathematicians write the domain into the quantifier: , , with , , and for the natural numbers, integers, rationals and reals. This course takes to start at .
A claim often concerns part of a domain, as in "every prime greater than is odd", and the two quantifiers restrict in different ways. A restricted universal uses a conditional: . A value that fails the restriction makes the conditional vacuously true, so it is let through. A restricted existential uses a conjunction: "some prime is even" is , which needs one value with both properties.
Swapping the connectives destroys the claim. says every integer is an odd prime, which refutes. is made true by , which is not prime, so it says nothing about primes at all. The shorthands and abbreviate exactly these patterns: means , and means .
Negating a quantified statement
To deny that every has a property is to say that some lacks it, and to deny that some has it is to say that every lacks it:
These are the previous lesson's De Morgan laws, stretched. Over a domain of three objects , and , is , and De Morgan turns its negation into , which is . The quantifier laws say the same holds when the domain is infinite.
Negation is therefore mechanical: move the inwards, and every quantifier it passes changes kind. When it reaches the open sentence at the end, the previous lesson's rules apply: "and" becomes "or", and becomes . The domain and the restrictions do not change. The negation of is , which is , or : the "" rides along untouched.
The mistake this prevents is turning "not every" into "none". "Not every prime is odd" is true, because of . "No prime is odd" is false, because of .
Example. Symbolise "every positive real number satisfies ", negate it, and decide which of the two is true.
Over the reals, the claim is . Passing the negation through the quantifier gives , and negating the conditional gives : some positive real number has a square smaller than itself. The negation is true, because is positive and . So the original claim is false.
Now you. Symbolise "every real number with satisfies ", negate it, and decide which of the two is true.
Answer
The claim is . Its negation is , which is : some real number equals its own square without being . The negation is true, because and . So the original claim is false.
Counterexamples
The negation of is , and an existential statement is proved by producing one value. So one value at which fails, a counterexample, refutes a universal claim however many other values it holds for. For a restricted claim , a counterexample must satisfy the hypothesis and fail the conclusion; a value that fails the hypothesis refutes nothing.
In 1640 Pierre de Fermat wrote that every number is prime. The cases to give , , , and , all prime. In 1732 Euler showed that the next, , equals , and that one line settles the matter.
The other direction has no such shortcut. No number of examples proves a universal claim over an infinite domain: is prime for every from to and equals at , and Pólya's conjecture about prime factors held for every number below 906,150,257. Existential claims are the mirror image. One example proves "some prime is one more than a square", namely , while refuting an existential claim needs a proof about every value. Knowing which kind of statement is in hand says in advance whether an example will be enough.
The order of quantifiers
An open sentence in two variables, like "", needs two quantifiers. Two of the same kind can come in either order; when they are mixed, the order is part of the meaning.
Over the integers, "every integer has a larger one" is , and "some integer is larger than all of them" is . The first is true and the second false, and the symbols differ only in order. In the is found after is known, so it may depend on : for take , for take . In the is fixed first and must then work against every at once.
It helps to read quantifiers as a game: a sceptic picks the values under and a prover those under , in the order written, and the statement is true when the prover can always win. Committing early is a handicap, so implies : one that beats every answers each in turn. The integers show the converse fails. Negation still works one quantifier at a time, so is .
Example. Over the integers, decide whether and are true, and prove each answer.
The first is true. Let be any integer and take . Then is an integer and , so . As was arbitrary, the statement holds.
The second is false, so prove its negation, . Let be any integer and take . Then . As was arbitrary, no integer is larger than all integers, not even than itself.
Now you. Over the integers, decide whether and are true, and prove each answer. Does the first stay true over ?
Answer
The first is true: for any integer , the integer gives .
The second is false. Suppose some integer had for every integer . Then gives and gives , a contradiction.
Over the first is false: would need , which is not a natural number.
The limit of a sequence
Quantifier order is the whole content of the definition calculus rests on. A sequence converges to a real number when
As a game: the sceptic names a tolerance , the prover answers with a position , the sceptic picks any term from position on, and the prover wins if it lies within of . Since follows , the position may depend on the tolerance, and it must. For and , the tolerance is met from , since while is not, and needs . Swap the first two quantifiers and one must serve every at once. Then each with is below every positive number, so it is , and the sequence equals exactly from on. Under that reading would not converge to .
To negate the definition, move the in one symbol at a time. becomes , keeping its restriction. becomes . becomes . Finally becomes . So does not converge to when
that is, some tolerance is broken by a term beyond every starting point. A disproof must therefore supply one , and a way to answer every with a suitable .
Example. Prove that does not converge to .
Prove the negation with . Take . Let be any natural number and take . Then and is odd, so and . Since was arbitrary, the negation holds.
Now you. Prove that does not converge to .
Answer
Prove the negation with . Take . Let be any natural number and take . Then and , so . Since was arbitrary, the negation holds.
From what a claim says to how to prove it
Any statement in this course can now be written with quantifiers over a stated domain, and its negation computed rather than guessed.
The proofs above had shapes dictated by their quantifiers: a "for all" was met by letting the variable be arbitrary, a "there exists" by naming a value. But each step was a line of arithmetic. Knowing exactly what "the square of every odd integer is one more than a multiple of " claims does not say how to establish it. The next lesson turns those shapes into a method, the direct proof.