Simulate
Check the claim with numbers
Lesson 0.2.1 read as "for every" and as "there exists". A sentence such as "" is neither true nor false until you say which . Put "for every real " in front and it becomes a statement.
Python can test a "for every" on many numbers at once. The cell takes 601 exact fractions from to , in steps of , and tests two claims at each.
The first claim fails at 99 points, every one strictly between 0 and 1, from to . The second never fails, and its smallest value is 1. Now a "there exists": is there a whole number with ?
Two whole numbers work, and , and only is positive. The last cell shows that the order of "for every" and "there exists" matters. It works on the whole numbers from to .
For each some works, namely . But no single works for every at once.
Conjecture
- For every real number , .
- The statement "for every real number , " is false.
- There is a positive real number with .
- For every real there is a real with . But no single real has for every real .
The cells tried 601 fractions, but claims 1 and 4 are about every real number, which no computer can try. Claims 2 and 3 are different: one well-chosen number settles each of them.
Proving and disproving with quantifiers
A quantifier says how many elements a statement is about. "For every" () is a promise about all of them, so it needs an argument that covers them all. "There exists" () is a promise about at least one, so showing one is enough.
| To | do this |
|---|---|
| prove | take any , assume nothing else about it, and show |
| disprove it | find one where fails: a counterexample |
| prove | find one and check |
| disprove it | show that fails for every |
Here is a set and a sentence about each of its elements . Two quantifiers in a row are read left to right, and swapping them changes the meaning.
Rule: The order of quantifiers
In the first, is chosen after , so it may depend on : works, and the statement is true. In the second, one must be chosen first and then work for every . No can, so it is false.
Analysis writes small positive numbers with the Greek letters (epsilon) and (delta). "For every there is a …" lets depend on , exactly as depended on above. Lesson PG1.5 builds on this.
Format 2
Fill the gap
Four short proofs, one for each move in the table. Type each missing piece as you would a quick answer, such as 1/4 or -x, then check.
Claim 1, a "for every". Take any real number . Completing the square (lesson 1.2.2) gives . A square is never negative, so . Nothing was assumed about except that it is real, so the claim holds for every real .
Claim 2, a counterexample. One number settles it. Take . Then , which is less than , so " for every real " is false.
Claim 3, a "there exists". Take . It is positive, and and are both . So such an exists.
Claim 4, two quantifiers. Take any real , and choose . Then , so for every there is such a .
Now suppose one had for every real . Taking forces , and taking forces . One number cannot be both, so no such exists.
How to type answers
- Powers with
^, brackets round a power that is a sum:r^k,r^(k+1). - Fractions with
/and brackets:(1-r)/(1+r). Multiply with*or side by side:2k+1. - Press Enter in any box to check them all.
Simulate
Check a claim about ε and δ
Here is a claim with its quantifiers the other way round: there is a smaller than every . First, each does have a smaller positive number below it, such as .
But a single chosen first is always beaten: take .
Each of the three prints False: it is not below the equal to itself.
Format 3
Find the error
This proof claims there is a with for every . The simulation says the claim is false. Select the line where the proof goes wrong, then say why.
Summary card
- To prove "for every ": take an arbitrary and argue. To disprove it: one counterexample.
- To prove "there exists": show one example and check it. To disprove it: show every fails.
- Order matters. In "" the may depend on ; in "" one must work for all .
- For every there is a smaller , but no is smaller than every .