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, if and only if, direct proof, proof by contradiction, the contrapositive, disproof by counterexample, and the common logical fallacies, 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, disprove false statements with a single counterexample, and recognise the standard logical fallacies that turn a plausible-looking argument into an invalid one. This dot point is the grammar of the whole Proof module: every later technique, including induction and inequality proofs, is written in the language set up here.
The language of proof
A statement (or proposition) is a sentence that is definitely either true or false. An implication ("if then ") asserts that whenever holds, holds. Here is the hypothesis (the assumption) and the conclusion. The implication says nothing about what happens when is false; in that case it is automatically counted as true (it is "vacuously true"), which is why a single example with false can never test an implication.
Three related statements are built from , and keeping them apart is the most common source of error in the whole module:
- Converse: . The converse is a genuinely different claim and is not logically equivalent to the original. "If it is raining then the ground is wet" is true; its converse "if the ground is wet then it is raining" is false (someone may have used a hose).
- Contrapositive: . The contrapositive is logically equivalent to : the two are true in exactly the same situations, so proving one proves the other.
- Negation: is true exactly when is true and is false. This is the statement you assume at the start of a proof by contradiction.
The quantifiers "for all" () and "there exists" () bind variables and tell you the scope of a claim. Negation swaps them: the negation of is , and the negation of is . Knowing how to negate a quantified statement is essential, because it is precisely the negation you must establish to disprove the original or to run a contradiction argument.
If and only if (equivalence)
If both and hold, we write (" if and only if ", often abbreviated "iff"), and say and are equivalent. An "if and only if" statement is really two statements bundled together, and a complete proof must establish both directions separately. A common shorthand to keep them straight: is the "only if" direction ( holds only if does) and is the "if" direction.
The danger is doing half the work. Proving "" by only checking that gives proves just one direction; the other direction is in fact false, because also satisfies . Always prove forwards and backwards, and watch for the direction that quietly fails.
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. The skill is to translate the words into algebra you can manipulate ("even" becomes " integer"), do the algebra, then translate back.
Proof by contradiction
To prove a statement by contradiction, assume and derive a logical impossibility, a contradiction such as , or a number that is simultaneously even and odd, or a fraction in lowest terms whose numerator and denominator share a factor. Since the assumption forces an impossibility, cannot hold, 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.
Notice the two features that make a contradiction proof work: you must assume the exact negation of what you want, and you must reach a genuine impossibility, not merely a surprising fact.
Proof by contrapositive
Because is equivalent to , you may prove the contrapositive instead. This is the right move whenever assuming gives you something concrete to compute with while assuming gives you very little.
For example, prove: if is odd then is odd. Arguing directly from " is odd" is awkward, but the contrapositive, "if is even then is even", is immediate. Let . Then , which is even. The contrapositive holds, so the original statement holds. The general signpost: if the hypothesis is a statement of the form "something is not nice" or "something is prime", the contrapositive often turns it into a friendlier "something is nice" or "something is composite".
Contradiction versus contrapositive
The two are close cousins and students often blur them. A contrapositive proof of assumes and derives by a direct chain, ending cleanly with no contradiction. A contradiction proof of the same implication assumes and together and derives any impossibility at all. The contrapositive is usually tidier when it applies; reach for full contradiction when the statement is not an implication (for example " is irrational" is not naturally "if ... then ...") or when assuming both halves gives you more to work with.
Disproof by counterexample
A statement of the form "for all , " is false if even one value violates it. To disprove it you supply a single explicit counterexample; you do not need, and should not attempt, a general argument. For an implication "for all , if then ", the counterexample must be a value that satisfies the hypothesis and fails the conclusion . An example that fails proves nothing, because the implication is vacuously true there.
For example, the claim "every odd number is prime" fails because is odd but is composite. A single value settles it. By contrast, to disprove "for all primes , is prime" you cannot use (not prime, so it does not test the claim); you need , where is composite.
Common logical fallacies
Markers are trained to spot a handful of recurring invalid moves. Knowing them by name helps you avoid them under pressure:
- Affirming the consequent. From and , concluding . This is just using the converse; it is invalid.
- Denying the antecedent. From and , concluding . Also invalid; only the contrapositive (from conclude ) is valid.
- Circular reasoning (begging the question). Using the statement you are trying to prove as one of your steps. Common when an "iff" is half-assumed.
- Proving the converse by mistake. Setting out to prove but actually arguing .
- Generalising from examples. Checking the claim for and declaring it true for all . Examples can disprove a universal claim but never prove one; that is what induction or a general argument is for.
- Dividing by a quantity that might be zero, or taking a square root that introduces a spurious sign. Both can manufacture a "proof" of a false statement.
How exam questions ask about the nature of proof
- "Prove that ... is irrational" or "Prove that there are infinitely many ...": classic proof by contradiction. Assume the negation (it is rational; there are finitely many) and reach an impossibility.
- "Prove that if then " where assuming is awkward: try the contrapositive, especially when involves "prime", "not", or "odd/even".
- "Show that there is no integer / no real number such that ...": a non-existence claim; assume one exists and derive a contradiction, often via a parity or divisibility argument.
- "Disprove the statement ..." or "Is it true that ...? Justify.": hunt for a counterexample first; only switch to a proof if no counterexample exists. State clearly that one counterexample suffices.
- "Prove that ... if and only if ...": two separate proofs, one for each direction. Label them.
- "Explain why the following argument is invalid": name the fallacy (usually affirming the consequent or generalising from examples) and give the step where it breaks.
Edge cases and what-ifs
- Vacuous truth. "If then " is automatically true whenever is false. So an example with false can neither prove nor disprove an implication; to disprove, you must satisfy .
- Negating compound statements. The negation of " and " is " or "; the negation of " or " is " and ". Getting these right matters when you set up a contradiction.
- A "surprising" result is not a contradiction. A contradiction proof must reach a genuine impossibility (such as ), not merely an unexpected or ugly statement.
- One direction of an iff can be false. When a question asks you to prove or test an "if and only if", check each direction independently; it is common for one to hold and the other to fail.
- Existence versus universal. To prove "there exists" you exhibit one example; to disprove "for all" you exhibit one counterexample. To prove "for all" you need a general argument, and to disprove "there exists" you need a general argument that no example works.
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.
