Simulate
Check the claim with numbers
Take two claims about integers: if is even, then is even; and is even for every . The cell tests both on every integer from to .
All three searches come back empty, and the first two look for the same integers in different words. A counterexample to the claim is one to its contrapositive (lesson PG1.2), and the other way round. So the claim can be proved through its contrapositive.
Conjecture
For every integer :
- If is even, then is even.
- The number is even.
Two thousand and one integers agree. The integers never end, so each claim needs a proof that covers every .
Two more techniques
A direct proof of claim 1 starts from . To learn about it would take a square root, , which says nothing about whether is even. The contrapositive starts from the other end, where the algebra is easy.
Rule: Proof by contrapositive
Lesson PG1.2 proved that the two are equivalent, so proving one proves the other. Use it when "not " gives you more to work with than does.
Here is " is even" and is " is even". Every integer is even or odd and not both (lesson PG2.1), so "not even" means odd. The contrapositive reads: if is odd, then is odd.
Format 1
Reorder the steps
Here is the proof of claim 1 by its contrapositive, with its lines shuffled. Put them in order.
- We prove the contrapositive: if is odd, then is odd.
- Then .
- The contrapositive holds, so the claim does too: if is even, then is even.
- Suppose is odd, so for some integer .
- The number is an integer, so is odd.
Claim 2 has no hypothesis to work from, only "every integer ". It does split into two pieces that cover every integer: even and odd.
Rule: Proof by cases
Split the possibilities into cases that together cover everything, and prove the claim in each case. The proof is only as good as the split: a case left out is a gap.
Format 2
Fill the gap
Here is the proof of claim 2 in two cases. Fill each gap as you would a quick answer, such as 2k^2+1, then check.
Every integer is even or odd (lesson PG2.1), so two cases cover them all.
Case 1: is even. Then for some integer . So , with .
Case 2: is odd. Then for some integer . Multiplying out, . That is with .
In each case is an integer, so is even. The two cases cover every integer, so the claim holds for all .
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 absolute values
A proof by cases fails if a case is missing. Here is a tempting claim: for all real and . The cell tests it on every pair from a grid of halves from to .
The claim fails for 200 of the 441 pairs. Every failure has and of opposite signs, such as and : 2 against 8.
Format 3
Find the error
This proof by cases claims that for all real and . The simulation says that is false. Select the faulty line, then say what is wrong with it.
Summary card
- To prove by contrapositive, prove . Use it when "not " is easier to work with than .
- If is even, then is even: the contrapositive, "odd squared is odd", is a direct proof.
- A proof by cases proves the claim in each case. The cases must cover every possibility.
- is even for every integer , in the two cases even and odd.
- is false: it fails for pairs of opposite signs, such as 3 and .