Proofs · Chapter 8

Contrapositive Maker

“If n² is even, then n is even” is easiest to prove from its contrapositive. Build a statement, see all four versions, and check each on a range.

Home › Calculators › Proofs › Contrapositive Maker

Opens on Chapter 8’s example: “If n² is even, then n is even”, tried on −20 to 20.

The statement
The statement
The statement
The statement
Numbers to try
Enter your own case, then press Work it out.

How it works

The contrapositive (if not Q, then not P) is broken by exactly the same cases as the statement, so proving one proves the other. The tool writes all four versions (“or” becomes “and”, “≥” becomes “<” in a negation), tries each on every case in your range, and reports the first case that breaks each. A range is a test; the Wi-Fi model’s 8 situations are a complete list.

From the book, Chapter 8. 14² = 196, even, and 14 is even; 15² = 225. 45 chairs in 5 rows of 9: ab = 45, odd, so both sides are odd. Seven boxes at $5 plus $3 delivery come to $38. In the Wi-Fi model the converse fails in 3 of the 8 situations. Kasimir’s five scores total 410, an average of 82. The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.