How do rigorous logical arguments such as proof by contradiction and counterexample establish or refute mathematical statements?
Use the language of proof, prove results by contradiction and contrapositive, and disprove statements by counterexample
A focused answer to the HSC Maths Extension 2 dot point on the nature of proof. Logical language, implication and equivalence, proof by contradiction, the contrapositive and disproof by counterexample, with rigorous worked examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
NESA wants you to write and read mathematical arguments with precision. You must use logical language correctly (implication, converse, contrapositive, equivalence, "for all", "there exists"), construct direct proofs, prove statements by contradiction and by the contrapositive, and disprove false statements with a single counterexample.
The language of proof
A statement is a sentence that is either true or false. An implication ("if then ") asserts that whenever holds, holds. Here is the hypothesis and the conclusion.
Three related statements matter:
- Converse: . The converse is not logically equivalent to the original.
- Contrapositive: . The contrapositive is logically equivalent to .
- Negation: , which is true exactly when is true and is false.
If both and hold, we write (" if and only if "), and and are equivalent. The quantifiers "for all" () and "there exists" () bind variables; negating gives .
Direct proof
A direct proof of assumes and deduces through valid algebraic or logical steps. For example, to prove that the sum of two even integers is even: let and for integers . Then , which is a multiple of , hence even.
Proof by contradiction
To prove a statement by contradiction, assume and derive a logical impossibility (a contradiction such as , or a number that is both even and odd). Since the assumption forces an impossibility, is false, so is true.
The classic example is the irrationality of . Suppose, for contradiction, that is rational. Then where are integers with no common factor (the fraction is in lowest terms) and . Squaring gives
So is even, which forces to be even (if were odd, would be odd). Write . Then , so , meaning is even and hence is even. But then and share the factor , contradicting the assumption that is in lowest terms. The assumption is impossible, so is irrational.
Proof by contrapositive
Because is equivalent to , you may prove the contrapositive instead. This is useful when assuming gives more concrete information than assuming .
For example, prove: if is odd then is odd. The contrapositive is: if is even then is even. Let . Then , which is even. The contrapositive holds, so the original statement holds.
Disproof by counterexample
A statement of the form "for all , " is false if even one value violates it. To disprove it, supply a single explicit counterexample; you do not need a general argument.
For example, the claim "every odd number is prime" fails because is odd but is composite. A single value settles it.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2023 HSC3 marksProve that sqrt(23) is irrational.Show worked answer →
Use proof by contradiction.
Assume, for contradiction, that sqrt(23) is rational. Then sqrt(23) = p/q for integers p, q with q not 0, and we may take p/q in lowest terms (p and q coprime).
Squaring: 23 = p^2/q^2, so p^2 = 23 q^2.
Then 23 divides p^2. Since 23 is prime, 23 must divide p. Write p = 23m for some integer m.
Substitute: (23m)^2 = 23 q^2, so 529 m^2 = 23 q^2, giving q^2 = 23 m^2.
Then 23 divides q^2, and since 23 is prime, 23 divides q.
But now 23 divides both p and q, contradicting that they are coprime.
The assumption is false, so sqrt(23) is irrational.
Mark notes: 1 mark for setting up the contradiction with a coprime fraction, 1 mark for deducing 23 divides p (using that 23 is prime), 1 mark for the symmetric step on q and stating the contradiction.
2022 HSC3 marksProve that for all integers n with n >= 3, if 2^n - 1 is prime, then n cannot be even.Show worked answer →
Prove the contrapositive: if n is even (and n >= 3, so n >= 4), then 2^n - 1 is not prime.
Suppose n is even, say n = 2m where m is an integer with m >= 2. Then
2^n - 1 = 2^(2m) - 1 = (2^m)^2 - 1 = (2^m - 1)(2^m + 1),
using the difference of two squares.
Both factors are integers greater than 1: since m >= 2, 2^m - 1 >= 3 and 2^m + 1 >= 5.
So 2^n - 1 is a product of two integers each greater than 1, hence composite, so it is not prime.
This proves the contrapositive, which is logically equivalent to the original statement: for n >= 3, if 2^n - 1 is prime then n cannot be even.
Mark notes: 1 mark for setting up the contrapositive with n = 2m, 1 mark for the factorisation (2^m - 1)(2^m + 1), 1 mark for showing both factors exceed 1 so the number is composite.
2024 HSC2 marksExplain why there is no integer n such that (n + 1)^41 - 79 n^40 = 2.Show worked answer →
Argue using parity (whether numbers are odd or even), splitting into two cases.
Case 1: n is even. Then n + 1 is odd, so (n + 1)^41 is odd. Also 79 n^40 is even (it has the even factor n^40). So (n + 1)^41 - 79 n^40 = odd - even = odd. An odd number cannot equal 2.
Case 2: n is odd. Then n + 1 is even, so (n + 1)^41 is even. Also 79 n^40 is odd (79 is odd and n^40 is odd). So the expression = even - odd = odd, which again cannot equal 2.
In both cases (n + 1)^41 - 79 n^40 is odd, but 2 is even. Therefore no integer n satisfies the equation.
Mark notes: 1 mark for recognising a parity (odd/even) argument is needed, 1 mark for showing the expression is always odd and so cannot equal the even number 2.