Proofs in Mathematics (Advanced) (Appendix)

Every result you have used since Class IX — the quadratic formula, the Pythagoras theorem, the rule that a one-one function never sends two different inputs to the same output — rests on a proof somewhere underneath it. A proof is not a worked example and it is not "checking a few cases and being fairly sure." It is a finite chain of statements, each licensed by a definition, an axiom, or a theorem already established, that carries you from what is given to what you claim. Vladimir Arnold's line captures the discipline: "Proofs are to Mathematics what calligraphy is to poetry." The poem — the theorem — can be admired on its own, but the calligraphy — the proof — is what makes it trustworthy rather than merely plausible. This appendix chapter steps back from computing answers and asks a different question: how do we know a mathematical statement is true, and how do we write down that knowledge so anyone can check it link by link? NCERT organises the answer into two families. A direct proof starts from what is given and marches forward — by one straight chain of implications, by the self-propagating machinery of mathematical induction, or by splitting the hypothesis into exhaustive cases. An indirect proof works with an equivalent statement instead — assuming the negation and hunting a contradiction, proving the contrapositive, or, when a general claim is simply false, killing it outright with one counterexample. This is enrichment material — no board or competitive exam sets numerical "proof theory" questions the way it sets calculus or algebra problems — but it is exactly the material that tells you why every other chapter is allowed to say "hence proved." We will build three complete proofs step by step, using genuine NCERT examples: a matrix power formula proved by induction, the infinitude of primes proved by contradiction, and a triangle identity proved by splitting into cases.

Key takeaways
  • A proof is a finite chain of statements, each justified by a definition, axiom, or previously established theorem, that leads from the given hypothesis to the claimed conclusion using only valid rules of logic.
  • Direct proof starts from what is given (or assumed) and reasons forward. It has three flavours in this chapter: the straightforward chain of implications, mathematical induction, and proof by cases (exhaustion).
  • Mathematical induction rests on one axiom about the natural numbers: if 1∈S1 \in S and k∈Sk \in S implies k+1∈Sk+1 \in S, then S=NS = \mathbb{N}. Practically, you prove P(1)P(1) (the base case) and then prove P(k)⇒P(k+1)P(k) \Rightarrow P(k+1) (the inductive step).
  • Proof by cases splits the hypothesis pp into exhaustive alternatives p=r∨s∨tp = r \lor s \lor t, proves r⇒qr \Rightarrow q, s⇒qs \Rightarrow q and t⇒qt \Rightarrow q separately, and concludes p⇒qp \Rightarrow q.
  • Indirect proof proves an equivalent statement instead of the original: proof by contradiction assumes the negation and derives an absurdity; proof by contrapositive proves ¬q⇒¬p\lnot q \Rightarrow \lnot p instead of p⇒qp \Rightarrow q (the two are logically identical).
  • Proof by counterexample is how a general claim ("for every nn...", "every continuous function is...") gets disproved: a single case where the claim fails is sufficient, because it is a direct proof of the negation of the claim.
  • The contrapositive of "if pp then qq" is "if not qq then not pp" — logically equivalent to the original. The converse, "if qq then pp", is a different statement altogether and need not be true even when the original is.
  • Checking a statement for many values of nn, however many, is never a proof for all nn — the classic warning example is 22n+12^{2^n}+1, prime for n=0,1,2,3,4n = 0,1,2,3,4 but composite at n=5n = 5.
  • Key idea: a mathematical proof is a finite, gapless chain of logically justified steps from hypothesis to conclusion, built either directly (straightforward deduction, induction, or exhaustive cases) or indirectly (contradiction, contrapositive, or a single decisive counterexample), and no amount of numerical pattern-checking can substitute for one.
The core insight

A proof is a finite chain of logically justified steps from hypothesis to conclusion — built directly (straightforward deduction, induction over the natural numbers, or exhaustive cases) or indirectly (contradiction, the logically equivalent contrapositive, or one counterexample that kills a false generalisation) — and no finite amount of checking examples can ever replace it.

What this chapter covers

This chapter is a short, self-contained tour of how mathematics proves things, organised the way NCERT organises it. We open with what a proof actually is — a chain of deductions, each link justified by a definition, axiom, or earlier theorem — and why "many examples agree" is not the same as "proved for all cases." We then work through the three direct methods: the straightforward chain of implications (the method you already use whenever you solve an equation "step by reason"), the principle of mathematical induction (used whenever a claim is indexed by a natural number nn), and proof by cases, used when the hypothesis naturally splits into finitely many exhaustive alternatives. We move to the three indirect methods: proof by contradiction (assume the statement false, reach an absurdity), proof by contrapositive (prove the logically equivalent "not qq implies not pp" instead of "pp implies qq"), and proof by counterexample (the only way to disprove a false general claim). Three full derivations work induction, contradiction, and cases end to end on genuine NCERT theorems — a matrix power formula, the infinitude of primes, and a triangle side-length identity. The worked examples apply the straightforward chain and the contrapositive to Class 12 staples, finishing with a higher-order example on the danger of trusting a pattern too early. We close with the traps examiners flag most often, a short quiz, and an exam-style cheat sheet.

The core ideas

What is a proof

A mathematical statement is a sentence that is either true or false, never both, never neither — for example "x2−5x+6=0x^2 - 5x + 6 = 0" (true or false depending on xx) or "the function f(x)=2x+5f(x) = 2x+5 is one-one" (true, once you check it). A proof of a statement is a sequence of statements, each one justified by a definition, an axiom, or a proposition already established, connected by the rules of deduction. Symbolically, to prove "p⇒qp \Rightarrow q" (read "pp implies qq"), you exhibit a chain

p⇒r⇒s⇒⋯⇒q,p \Rightarrow r \Rightarrow s \Rightarrow \cdots \Rightarrow q,

where every single arrow is licensed by something already known to be true. Because each link in the chain is individually justified, the whole chain is justified, and so "p⇒qp \Rightarrow q" is true. This is the deductive method, and it is the only method that yields a proof — no number of instances where pp happens to hold and qq happens to follow can substitute for exhibiting that chain. NCERT distinguishes two broad strategies for building the chain. A direct proof starts from the hypothesis pp itself (or an assumption you plan to discharge) and reasons forward to qq. An indirect proof instead proves a logically equivalent statement — the contrapositive ¬q⇒¬p\lnot q \Rightarrow \lnot p, or it derives a contradiction from assuming ¬q\lnot q (or ¬(p⇒q)\lnot(p \Rightarrow q)) is true. Each of these has, within it, several distinct techniques, mapped out below.

Figure
A branching map of proof methods showing direct proof splitting into straightforward chain induction and cases, and indirect proof splitting into contradiction contrapositive and counterexample
Methods of proof used in this chapter Proof of p implies q Direct proof Indirect proof Straightforward chain from given to conclusion Mathematical induction: base case plus P(k) to P(k+1) Proof by cases split p into r or s or t, prove each implies q Contradiction assume the negation, derive an absurdity Contrapositive prove not q implies not p instead Counterexample one case that fails disproves for all Every branch produces a finite, checkable chain of logically justified steps.

Direct proof: the straightforward chain

The simplest and most familiar method is the straightforward approach: a chain of arguments that leads directly from what is given or assumed, using axioms, definitions, or already-proved theorems, to what is to be proved, using rules of logic. Every time you solve x2−5x+6=0x^2 - 5x + 6 = 0 by factoring and write "⇒\Rightarrow" between lines, you are executing this method — each arrow is a deduction, and the reason for it (an identity, a property of real numbers, a previously proved rule) can be written in brackets alongside. NCERT's own reading of Example 1 spells this out explicitly: if pp is "x2−5x+6=0x^2-5x+6=0" and qq is "x=3x=3 or x=2x=2", the chain p⇒r⇒s⇒⋯⇒qp \Rightarrow r \Rightarrow s \Rightarrow \cdots \Rightarrow q is the proof that p⇒qp \Rightarrow q.

Direct proof: mathematical induction

Many statements are not single claims but a whole family indexed by a natural number nn — "for every n∈Nn \in \mathbb{N}, ...". Checking such a statement for n=1,2,3,…,100n = 1, 2, 3, \ldots, 100 never proves it for n=101n = 101; a method that handles all natural numbers at once is needed. That method is the principle of mathematical induction, resting on an axiom about N\mathbb{N} itself: for a subset S⊆NS \subseteq \mathbb{N}, if 1∈S1 \in S, and k∈Sk \in S implies k+1∈Sk+1 \in S for every kk, then S=NS = \mathbb{N}. In proof practice: to show P(n)P(n) holds for every n≥jn \geq j (usually j=1j=1), prove two things — the base case P(j)P(j) is true, and the inductive step, that P(k)P(k) true implies P(k+1)P(k+1) true for every k≥jk \geq j. Together these force P(n)P(n) true for every n≥jn \geq j: the base case starts things off, and the inductive step, applied repeatedly, reaches every subsequent nn.

Direct proof: cases (exhaustion)

Sometimes the hypothesis pp of "p⇒qp \Rightarrow q" cannot be attacked in one uniform argument, but it can be split into a finite number of exhaustive alternatives — p=r∨s∨tp = r \lor s \lor t (read "rr or ss or tt"), where every instance of pp falls into at least one of rr, ss, tt. If each of the conditionals r⇒qr \Rightarrow q, s⇒qs \Rightarrow q and t⇒qt \Rightarrow q can be proved separately, then (r∨s∨t)⇒q(r \lor s \lor t) \Rightarrow q is proved, and since p=r∨s∨tp = r \lor s \lor t, so is p⇒qp \Rightarrow q. This is proof by cases, sometimes called proof by exhaustion; it is convenient only when the number of genuinely distinct cases is small (a triangle's third angle, for instance, is acute, obtuse, or a right angle — exactly three exhaustive alternatives).

Indirect proof: contradiction

Instead of proving p⇒qp \Rightarrow q head-on, proof by contradiction (reductio ad absurdum) assumes the statement is false and shows this assumption leads somewhere impossible. Concretely, you assume ¬q\lnot q (or assume pp true and qq false) and, using valid deductions, arrive at a conclusion that contradicts something already known to be true — often the very assumption you started with, or an established fact such as "every natural number greater than 1 has a prime divisor." Since a true chain of deduction cannot produce a false conclusion from a true one, the only thing that can have gone wrong is the initial assumption; hence ¬q\lnot q is false, i.e. qq is true.

Indirect proof: contrapositive

The contrapositive of "if pp then qq" is "if not qq then not pp", formed by swapping the hypothesis and conclusion and negating both. The two statements are logically equivalent — proving one proves the other — so whenever p⇒qp \Rightarrow q is awkward to attack directly, you are free to prove ¬q⇒¬p\lnot q \Rightarrow \lnot p instead. This must not be confused with the converse, "if qq then pp" (swap only, no negation), which is generally a different statement, not automatically true just because the original is.

Indirect proof: counterexample

A general claim of the form "for every nn, P(n)P(n) holds" is disproved the moment a single nn is exhibited for which P(n)P(n) fails. Such an nn is a counterexample. This works because disproving "p⇒qp \Rightarrow q for all cases" is logically the same as proving "¬(p⇒q)\lnot(p \Rightarrow q) for some case" — and exhibiting one concrete case where pp holds but qq fails is itself a direct proof of that negation. No matter how many cases confirm a general claim, that evidence is never a proof; but a single disconfirming case is always a complete disproof.

Figure
A domino chain showing the base case toppling the first domino and each domino toppling the next to represent the inductive step reaching every natural number
Why base case plus inductive step reaches every n P(1) true base case P(2) P(3) P(4) ... P(k) P(k+1) Every arrow is the inductive step P(k) true implies P(k+1) true — one proof covers every domino

Derivations

Derivation AMathematical Induction Proves a Matrix Power Formula

NCERT's Example 3 asks for a proof that if A=(cos⁡θsin⁡θ−sin⁡θcos⁡θ)A = \begin{pmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{pmatrix}, then An=(cos⁡nθsin⁡nθ−sin⁡nθcos⁡nθ)A^n = \begin{pmatrix} \cos n\theta & \sin n\theta \\ -\sin n\theta & \cos n\theta \end{pmatrix} for every positive integer nn. Direct computation cannot settle this once and for all, since it asserts something about every natural number nn simultaneously — you cannot multiply AA by itself infinitely many times and check each answer by hand. The principle of mathematical induction is built for statements of exactly this shape, and working through this proof shows both halves of the method — the base case that starts the induction, and the inductive step that carries truth from any one nn to the next — together covering all of N\mathbb{N} in one finite argument.

Step 1. Let P(n)P(n) be the assertion An=(cos⁡nθsin⁡nθ−sin⁡nθcos⁡nθ)A^n = \begin{pmatrix} \cos n\theta & \sin n\theta \\ -\sin n\theta & \cos n\theta \end{pmatrix}, and establish the base case P(1)P(1): directly, A1=A=(cos⁡θsin⁡θ−sin⁡θcos⁡θ)A^1 = A = \begin{pmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{pmatrix}, exactly the claimed formula with n=1n=1. So P(1)P(1) is true.

Step 2. Assume the inductive hypothesis: suppose P(k)P(k) is true for some particular k≥1k \geq 1, i.e. Ak=(cos⁡kθsin⁡kθ−sin⁡kθcos⁡kθ)A^k = \begin{pmatrix} \cos k\theta & \sin k\theta \\ -\sin k\theta & \cos k\theta \end{pmatrix}. This is a conditional "if," to be discharged once the implication is proved, not an assertion for all kk.

Step 3. Show P(k)P(k) true forces P(k+1)P(k+1) true. By the definition of matrix powers, Ak+1=Ak⋅AA^{k+1} = A^k \cdot A. Substituting the inductive hypothesis for AkA^k and the given form for AA, Ak+1=(cos⁡kθsin⁡kθ−sin⁡kθcos⁡kθ)(cos⁡θsin⁡θ−sin⁡θcos⁡θ)A^{k+1} = \begin{pmatrix} \cos k\theta & \sin k\theta \\ -\sin k\theta & \cos k\theta \end{pmatrix}\begin{pmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{pmatrix}.

Step 4. Multiply entry by entry. The top-left entry cos⁡kθcos⁡θ−sin⁡kθsin⁡θ\cos k\theta\cos\theta - \sin k\theta\sin\theta collapses, by the cosine addition identity, to cos⁡(k+1)θ\cos(k+1)\theta. The top-right entry cos⁡kθsin⁡θ+sin⁡kθcos⁡θ\cos k\theta\sin\theta + \sin k\theta\cos\theta collapses, by the sine addition identity, to sin⁡(k+1)θ\sin(k+1)\theta. The bottom-left entry is −sin⁡kθcos⁡θ−cos⁡kθsin⁡θ=−sin⁡(k+1)θ-\sin k\theta\cos\theta - \cos k\theta\sin\theta = -\sin(k+1)\theta, and the bottom-right is −sin⁡kθsin⁡θ+cos⁡kθcos⁡θ=cos⁡(k+1)θ-\sin k\theta\sin\theta + \cos k\theta\cos\theta = \cos(k+1)\theta. So Ak+1=(cos⁡(k+1)θsin⁡(k+1)θ−sin⁡(k+1)θcos⁡(k+1)θ)A^{k+1} = \begin{pmatrix} \cos(k+1)\theta & \sin(k+1)\theta \\ -\sin(k+1)\theta & \cos(k+1)\theta \end{pmatrix}, exactly P(k+1)P(k+1).

Step 5. Conclude by the axiom underlying mathematical induction. P(1)P(1) is true (Step 1), and P(k)P(k) true implies P(k+1)P(k+1) true for every k≥1k \geq 1 (Steps 2 to 4). So the set of nn for which P(n)P(n) holds must be all of N\mathbb{N}. Hence An=(cos⁡nθsin⁡nθ−sin⁡nθcos⁡nθ)A^n = \begin{pmatrix} \cos n\theta & \sin n\theta \\ -\sin n\theta & \cos n\theta \end{pmatrix} for every positive integer nn.

Go deeper · Derivation B · 2 minProof by Contradiction Shows the Primes Never End
Derivation BProof by Contradiction Shows the Primes Never End

NCERT's Example 5 proves that the set of all prime numbers is infinite, and it is the textbook illustration of proof by contradiction because the direct route — somehow constructing infinitely many primes by an explicit formula — simply is not available. Instead the strategy is to assume the opposite of what we want, that the primes form a finite list, and to manufacture from that finite list a specific number that cannot possibly be on it, which collapses the assumption. Studying this proof carefully also shows how proof by contradiction and proof by cases often work together: the final contradiction here is reached only after splitting into two exhaustive alternatives.

Step 1. State the goal and its negation. Let the statement to prove be "the set PP of all prime numbers is infinite." Proof by contradiction begins by assuming the negation: assume PP is finite, so every prime can be listed exhaustively as p1,p2,…,pkp_1, p_2, \ldots, p_k for some finite kk, with no prime existing outside this list.

Step 2. Construct a number designed to test the assumption. Define N=(p1p2p3⋯pk)+1N = (p_1 p_2 p_3 \cdots p_k) + 1. Since NN is strictly larger than every number in the list, NN itself is not one of p1,…,pkp_1, \ldots, p_k.

Step 3. Split into the two exhaustive cases for what NN could be: NN is either prime or composite, since every integer greater than 1 is one or the other (a fact already established in earlier classes).

Step 4. Examine the case "NN is prime." If NN is prime, then by its own construction NN is a prime number not equal to any of p1,…,pkp_1, \ldots, p_k — but the assumption in Step 1 was that this list contains every prime. This directly contradicts the assumption.

Step 5. Examine the case "NN is composite." If NN is composite, it must have some prime divisor. But dividing NN by any pip_i from the list leaves remainder 11, by the very construction N=(p1p2⋯pk)+1N = (p_1 p_2 \cdots p_k)+1, so none of p1,…,pkp_1, \ldots, p_k divides NN. Hence NN's prime divisor is some prime not in the list — again contradicting the assumption that the list is exhaustive.

Step 6. Conclude. Both exhaustive cases (Steps 4 and 5) contradict the assumption made in Step 1. Since assuming "PP is finite" leads to a contradiction in every possible case, the assumption must be false. Hence PP, the set of all prime numbers, is infinite.

Go deeper · Derivation C · 2 minProof by Cases Establishes the Projection Formula
Derivation CProof by Cases Establishes the Projection Formula

NCERT's Example 4 proves that in any triangle ABCABC, the side aa satisfies a=bcos⁡C+ccos⁡Ba = b\cos C + c\cos B — the projection formula, obtained by dropping a perpendicular from vertex AA to side BCBC (extended if necessary) and reading off two right-triangle projections. This needs proof by cases rather than one uniform argument for a purely geometric reason: whether the foot of the perpendicular from AA lands inside segment BCBC or outside it depends on whether angle CC is acute, obtuse, or exactly a right angle, and the algebra of the projections differs slightly in each configuration. Splitting the hypothesis "ABCABC is a triangle" into these three exhaustive sub-cases, and proving the same conclusion in each, is proof by cases at work.

Step 1. Identify the hypothesis and set up the exhaustive split. Let pp be "ABCABC is a triangle" and qq be "a=bcos⁡C+ccos⁡Ba = b\cos C + c\cos B". Since angle CC of any triangle is either acute, obtuse, or a right angle, and these three alternatives cover every possibility, split pp into rr: "angle CC is acute", ss: "angle CC is obtuse", and tt: "angle CC is a right angle", so that p=r∨s∨tp = r \lor s \lor t.

Step 2. Prove r⇒qr \Rightarrow q (angle CC acute). Drop perpendicular ADAD from AA to BCBC; because CC is acute, DD falls between BB and CC, so a=BC=BD+DCa = BC = BD + DC. In right triangle ADBADB, BD/AB=cos⁡BBD/AB = \cos B, so BD=ccos⁡BBD = c\cos B. In right triangle ADCADC, DC/AC=cos⁡CDC/AC = \cos C, so DC=bcos⁡CDC = b\cos C. Adding, a=ccos⁡B+bcos⁡Ca = c\cos B + b\cos C, which is exactly qq.

Step 3. Prove s⇒qs \Rightarrow q (angle CC obtuse). Now DD falls outside segment BCBC, beyond CC, so a=BC=BD−DCa = BC = BD - DC. As before, in right triangle ADBADB, BD=ccos⁡BBD = c\cos B. But in right triangle ADCADC, the angle at CC inside that right triangle is ∠ACD=180∘−C\angle ACD = 180^\circ - C (the supplement, since CC is obtuse), so DC/AC=cos⁡(180∘−C)=−cos⁡CDC/AC = \cos(180^\circ - C) = -\cos C, giving DC=−bcos⁡CDC = -b\cos C. Substituting, a=ccos⁡B−(−bcos⁡C)=ccos⁡B+bcos⁡Ca = c\cos B - (-b\cos C) = c\cos B + b\cos C, again exactly qq.

Step 4. Prove t⇒qt \Rightarrow q (angle CC a right angle). Here the perpendicular from AA meets BCBC exactly at CC, so D=CD = C and triangle ACBACB is itself right-angled at CC. Then BC/AB=cos⁡BBC/AB = \cos B directly, so a=ccos⁡Ba = c\cos B. Since C=90∘C = 90^\circ, cos⁡C=0\cos C = 0, so bcos⁡C=0b\cos C = 0, and a=ccos⁡B=ccos⁡B+0=ccos⁡B+bcos⁡Ca = c\cos B = c\cos B + 0 = c\cos B + b\cos C, which is exactly qq once more.

Step 5. Combine the three cases. Steps 2, 3 and 4 establish r⇒qr \Rightarrow q, s⇒qs \Rightarrow q and t⇒qt \Rightarrow q respectively. Since p=r∨s∨tp = r \lor s \lor t, it follows that (r∨s∨t)⇒q(r \lor s \lor t) \Rightarrow q, i.e. p⇒qp \Rightarrow q. Hence, for any triangle ABCABC, a=bcos⁡C+ccos⁡Ba = b\cos C + c\cos B.

Worked examples

Board level - solving a quadratic equation as a chain of justified deductions

Show, using the straightforward-chain method with reasons stated at each step, that if x2−5x+6=0x^2 - 5x + 6 = 0 then x=3x = 3 or x=2x = 2.

Step 1. Start from the given statement pp: x2−5x+6=0x^2 - 5x + 6 = 0. Factorise the left side using the identity x2−5x+6=x2−3x−2x+6=x(x−3)−2(x−3)=(x−3)(x−2)x^2 - 5x + 6 = x^2 - 3x - 2x + 6 = x(x-3) - 2(x-3) = (x-3)(x-2), established by ordinary algebra. This replaces pp with the equivalent statement rr: (x−3)(x−2)=0(x-3)(x-2) = 0.

Step 2. Apply the previously established theorem "for real a,ba, b, ab=0⇒a=0ab = 0 \Rightarrow a = 0 or b=0b = 0" to statement rr, giving statement ss: x−3=0x - 3 = 0 or x−2=0x - 2 = 0.

Step 3. Add the same quantity to both sides of each equation in ss (adding equal quantities on either side does not alter an equation): x−3+3=0+3x - 3 + 3 = 0 + 3 or x−2+2=0+2x - 2 + 2 = 0 + 2, which simplifies using the additive identity of real numbers to x=3x = 3 or x=2x = 2. This is statement qq, the conclusion. The chain p⇒r⇒s⇒qp \Rightarrow r \Rightarrow s \Rightarrow q proves that x2−5x+6=0x^2-5x+6=0 implies x=3x=3 or x=2x=2.

Board level - proving a matrix statement using the contrapositive

Prove: "if a square matrix AA is invertible, then AA is non-singular", using the method of proof by contrapositive.

Step 1. Write the statement symbolically as p⇒qp \Rightarrow q, where pp is "matrix AA is invertible" and qq is "AA is non-singular" (that is, ∣A∣≠0|A| \neq 0). Instead of proving p⇒qp \Rightarrow q directly, form its contrapositive, ¬q⇒¬p\lnot q \Rightarrow \lnot p: "if AA is not non-singular, then AA is not invertible."

Step 2. Assume ¬q\lnot q: AA is not non-singular, which by definition means AA is singular, i.e. ∣A∣=0|A| = 0.

Step 3. Recall the formula A−1=adj⁡A∣A∣A^{-1} = \dfrac{\operatorname{adj} A}{|A|} for the inverse of a square matrix. Since ∣A∣=0|A| = 0 (Step 2), this expression is undefined — division by zero is not permitted — so A−1A^{-1} does not exist, meaning AA is not invertible. This is exactly ¬p\lnot p.

Step 4. Having proved ¬q⇒¬p\lnot q \Rightarrow \lnot p, invoke the logical equivalence of a statement and its contrapositive: ¬q⇒¬p\lnot q \Rightarrow \lnot p is true if and only if p⇒qp \Rightarrow q is true. Hence "if AA is invertible, then AA is non-singular" is proved.

Higher-order thinking (HOTS) - disproving a plausible-looking generalisation with a counterexample

Fermat once conjectured that 22n+12^{2^n} + 1 is prime for every natural number nn. Investigate this claim for n=0,1,2,3,4n = 0, 1, 2, 3, 4 and determine, with a counterexample if needed, whether the generalisation "for every n∈Nn \in \mathbb{N}, 22n+12^{2^n}+1 is prime" is true.

Step 1. Compute the first several cases directly. For n=1n=1: 221+1=22+1=52^{2^1}+1 = 2^2+1 = 5, prime. For n=2n=2: 222+1=24+1=172^{2^2}+1 = 2^4+1 = 17, prime. For n=3n=3: 223+1=28+1=2572^{2^3}+1 = 2^8+1 = 257, prime. Each check succeeds, and it is tempting — but not logically permitted — to treat this run of successes as a proof for all nn.

Step 2. Test the claim at n=5n=5: 225+1=232+1=4,294,967,2972^{2^5}+1 = 2^{32}+1 = 4{,}294{,}967{,}297. Checking this number for factors (a computation, not a leap of faith) shows 4,294,967,297=641×6,700,4174{,}294{,}967{,}297 = 641 \times 6{,}700{,}417, a genuine product of two integers greater than 1.

Step 3. Interpret the result logically. 4,294,967,2974{,}294{,}967{,}297 is composite, not prime, so the statement "22n+12^{2^n}+1 is prime" fails at n=5n=5. By the method of proof by counterexample, exhibiting this one failing case is a complete, direct proof of the negation of the general claim — no further checking of any other nn is needed. The generalisation "for every n∈Nn \in \mathbb{N}, 22n+12^{2^n}+1 is prime" is false; n=5n=5 is a counterexample. Timing note: about 3 to 4 minutes if 641641 is given or recalled as a known factor (verifying the product is quick); longer if you must discover it by trial division, which is not expected in an exam. The transferable skill is not the arithmetic but the logic: Step 1's three or four successes are evidence, not proof, and the moment a single failing case is found, the search stops — one clean counterexample closes the argument completely.

Common traps

The single most common error in this chapter is treating a run of confirming examples as though it were a proof — mistaking inductive evidence ("pattern-spotting") for the formal deductive method of mathematical induction, entirely different things despite the similar name. Three further slips recur. Students confuse the converse with the contrapositive — swapping hypothesis and conclusion without negating gives the converse, generally not equivalent to the original, whereas swapping and negating gives the contrapositive, which always is. Students state the inductive step incorrectly, writing "prove P(k+1)P(k+1) is true" rather than "prove P(k)⇒P(k+1)P(k) \Rightarrow P(k+1)" — induction never asserts P(k)P(k) true on its own, only that its truth would force P(k+1)P(k+1)'s. And in proof by cases, students list cases that are not exhaustive, forgetting the right-angle case and covering only "acute or obtuse," leaving a logical gap the proof does not close.

You should be able to…

  • State precisely what a mathematical proof is, and explain why a chain of confirmed examples is not one.
  • Distinguish direct proof from indirect proof, and name the three methods within each family covered in this chapter.
  • Write a straightforward-chain proof for a simple algebraic or functional statement, stating the reason for each deductive step.
  • State the principle of mathematical induction precisely, including both the base case and the inductive step, and apply it to prove a formula indexed by nn.
  • Recognise when a hypothesis splits naturally into exhaustive cases, and construct a proof by cases that covers every alternative.
  • Construct a proof by contradiction, correctly identifying the assumption being negated and the contradiction it produces.
  • Form the contrapositive of a conditional statement correctly, distinguish it from the converse, and use the equivalence to prove a statement indirectly.
  • Disprove a false general claim with a single, correctly justified counterexample.

Ask the tutor: Want to see how these same six proof methods apply to a claim of your own choosing, worked out step by step?

What exactly is the difference between a conjecture and a theorem?

A conjecture is a mathematical statement believed to be true, often on the strength of many confirming examples or a compelling pattern, but for which no proof yet exists. A theorem is a statement that has been proved — a finite, checkable chain of deductive steps has been exhibited linking accepted axioms and definitions to the conclusion. Fermat's guess that 22n+12^{2^n}+1 is always prime was a conjecture; once n=5n=5 was checked and found composite, the conjecture was disproved rather than becoming a theorem. Many famous conjectures in mathematics (Goldbach's conjecture, for instance) remain unresolved for centuries precisely because a proof, or a counterexample, is far harder to produce than the pattern is to notice.

Why does proving the contrapositive count as proving the original statement?

Because "if p then q" and "if not q then not p" are logically equivalent — they are true or false together in every possible case, which can be checked with a truth table. If p is true and q is false, both the original statement and its contrapositive are false (a false implication has a true hypothesis and false conclusion); in every other combination of truth values, both statements come out true. Since the two statements never disagree, a valid proof of either one is automatically a valid proof of the other. This is genuinely useful when "not q implies not p" happens to be an easier chain to build than "p implies q" directly, as in the invertible-matrix example in this chapter.

In induction, why can we not just check n equals 1, 2, 3 and stop there?

Because checking finitely many values, however many, only tells you the statement holds for those specific values — it says nothing, by itself, about the infinitely many values you have not checked. Mathematical induction gets around this with a different kind of argument: instead of checking every nn one at a time (impossible, since N\mathbb{N} is infinite), you prove one base case and then prove that truth at any single value kk forces truth at the next value k+1k+1. That second fact is a single, finite proof that covers the "domino effect" from any kk to k+1k+1 simultaneously, which is what lets a finite argument reach every natural number. Skipping the inductive step and relying only on checked cases is not induction at all — it is unproven pattern-matching.

Is proof by contradiction the same as proof by contrapositive?

They are related but distinct. Proof by contrapositive proves "if p then q" by proving the specific equivalent statement "if not q then not p" — you still end with a direct, forward chain of deduction, just starting from ¬q\lnot q instead of pp. Proof by contradiction is more general: you assume the statement to be proved is false (which could mean assuming pp true and qq false, or assuming the negation of any statement at all, not necessarily of implication form) and derive any contradiction whatsoever — not necessarily ¬p\lnot p, but a clash with any known fact, or even with the assumption itself, as in the infinitude-of-primes proof. Every contrapositive proof can be viewed as a contradiction proof, but not every contradiction proof follows the contrapositive's specific pattern.

Where this leads