WhatsApp us
IB DP Maths25 Nov 2026

Proof in IB Maths: Deduction, Counterexamples, Contradiction and Necessary vs Sufficient Conditions

Where proof sits in IB maths AA SL and HL, how to read "if", "only if" and "if and only if", necessary versus sufficient conditions with calculus and algebra examples, LHS to RHS proofs, counterexamples, proof by contradiction and a short look at induction. Worked examples plus a six-question practice set with answers.

Proof in IB Maths: Deduction, Counterexamples, Contradiction and Necessary vs Sufficient Conditions

Proof in IB maths means writing a chain of steps in which each line follows from the one before, so the conclusion has to be true. At AA SL that means simple deductive proofs, including setting out a left-hand side to right-hand side argument. AA HL adds proof by induction, proof by contradiction and the use of counterexamples. Under all of it sits one idea students often blur: the difference between a condition that is necessary and one that is sufficient.

This guide starts with where proof appears in each course, then spends real time on necessary and sufficient conditions, because almost every proof error our tutors see comes from mixing up the direction of an "if". After that come the three main techniques, each with worked examples, and a practice set. If you are working towards HL and want help with the proof-heavy parts, our AA HL tutoring covers them in detail.

Where proof sits in the IB syllabus

All references below are to the IB's current subject guides, which apply to exams up to and including November 2028.

CourseSyllabus referenceWhat the guide says
AA SLSL 1.6"Simple deductive proof, numerical and algebraic; how to lay out a left-hand side to right-hand side (LHS to RHS) proof." Also "the symbols and notation for equality and identity".
AA HLSL 1.6 plus AHL 1.15HL students cover all SL content, then: "Proof by mathematical induction", "Proof by contradiction" and "Use of a counterexample to show that a statement is not always true".
AI SL and HLNo proof sub-topicWe found no section on deductive proof, induction, contradiction or counterexamples in the AI guide. Several AI topics list formal proofs as "not required".
AA and AI, internal assessmentCriterion B, mathematical communicationIncludes whether the student "used a deductive method and set out proofs logically where appropriate".

Two details from the guide are worth knowing. For SL 1.6, "students will be expected to show how they can check a result". For counterexamples at HL: "It is not sufficient to state the counterexample alone. Students must explain why their example is a counterexample." Also note a change ahead: in the new AA course, first examined in 2029, proof by counterexample is removed from HL.

The IB notation list gives the symbols you will meet: ⇒ means "implies", ⇔ means "implies and is implied by", and ≡ means "identity".

Necessary and sufficient conditions

This topic is not a separate line in the IB syllabus, but it is the logic underneath every proof and many "justify" answers. Get it right and induction, contradiction and "show that" questions all become clearer.

The definitions

Take a statement "if P, then Q", written P ⇒ Q.

  • P is sufficient for Q: knowing P is true is enough to make Q true.
  • Q is necessary for P: P cannot be true unless Q is true.

Example: x = 2 ⇒ x² = 4. So "x = 2" is sufficient for "x² = 4". And "x² = 4" is necessary for "x = 2". But "x² = 4" is not sufficient for "x = 2", because x = −2 also satisfies it.

When both directions hold, P ⇔ Q, we say P is necessary and sufficient for Q, or "P if and only if Q". The words matter:

  • "P if Q" means Q ⇒ P.
  • "P only if Q" means P ⇒ Q.
  • "P if and only if Q" means both.

How to test each direction

  • To show P is not sufficient for Q, find a case where P is true and Q is false.
  • To show P is not necessary for Q, find a case where Q is true and P is false.

Both of these are counterexamples, which is why this section leads naturally into the HL techniques below.

A table to learn from

PQIs P sufficient for Q?Is P necessary for Q?
x = 2x² = 4YesNo: x = −2
n is a multiple of 6n is a multiple of 3YesNo: n = 9
x > 3x² > 9YesNo: x = −4
b² − 4ac > 0 (a ≠ 0)ax² + bx + c = 0 has two distinct real rootsYesYes
f′(a) = 0f has a local maximum or minimum at aNo: f(x) = x³ at a = 0Yes, for a differentiable f at an interior point a
f′(a) = 0 and f″(a) < 0f has a local maximum at aYesNo: f(x) = −x⁴ at a = 0

Worked example 1: the calculus rows. Students often say "f′ = 0, so it is a maximum or minimum". Check f(x) = x³. Then f′(x) = 3x², so f′(0) = 0. But x³ is negative just left of 0 and positive just right of it, so there is no maximum or minimum at 0. It is a point of inflection. So f′(a) = 0 is necessary for a turning point of a smooth function, not sufficient.

Now the second derivative test. If f′(a) = 0 and f″(a) < 0, there is a local maximum: that is sufficient. Is it necessary? Take f(x) = −x⁴. Then f′(x) = −4x³ and f″(x) = −12x², so f′(0) = 0 and f″(0) = 0. The test gives no answer, yet −x⁴ ≤ 0 = f(0) for every x, so there is a maximum at 0. A maximum can exist without f″ < 0. This is why a markscheme expects a reason, not just "f″ = 0 so inflection".

Worked example 2: one-way steps in solving. Solve √(x + 6) = x.

Squaring both sides: x + 6 = x², so x² − x − 6 = 0, so (x − 3)(x + 2) = 0, giving x = 3 or x = −2.

Squaring is a ⇒ step, not a ⇔ step. Every solution of the original equation satisfies the squared one, but not the other way round. So check:

x = 3: √9 = 3. ✓

x = −2: √4 = 2, which is not −2. Rejected.

Answer: x = 3. In words, "x² − x − 6 = 0" was a necessary condition, not a sufficient one.

Direct proof: from the left-hand side to the right

A direct, or deductive, proof starts from what is known and moves by valid steps to the result. For an identity, start with one side and transform it into the other. Do not write the identity first and "work on both sides", because that assumes what you are trying to show.

Worked example 3. Prove that (n + 1)² − (n − 1)² ≡ 4n.

LHS = (n² + 2n + 1) − (n² − 2n + 1)

= n² + 2n + 1 − n² + 2n − 1

= 4n

= RHS.

A quick check, as the guide asks: n = 5 gives 36 − 16 = 20 = 4 × 5.

A consequence worth stating: the difference of the squares of two integers that differ by 2 is always a multiple of 4.

Worked example 4 (a trig identity). Prove that (sin x + cos x)² ≡ 1 + sin 2x.

LHS = sin²x + 2sin x cos x + cos²x

= (sin²x + cos²x) + 2sin x cos x

= 1 + sin 2x

= RHS,

using sin²x + cos²x = 1 and sin 2x = 2sin x cos x.

Notice the layout: one expression on each line, starting with LHS and ending with RHS, and the identities used named at the end. That is what a clear LHS to RHS proof looks like.

Counterexamples: one case is enough to disprove

A general claim ("for all n…") is disproved by a single case where it fails. Testing many cases that work proves nothing.

Worked example 5. Claim: n² + n + 41 is prime for every non-negative integer n.

It is prime for n = 0, 1, 2 and all the way up to n = 39, which makes the claim look convincing. Try n = 40: 40² + 40 + 41 = 1600 + 40 + 41 = 1681 = 41². Since 1681 = 41 × 41, it has a factor other than 1 and itself, so it is not prime. The claim is false.

The last sentence matters. The IB guide says stating the counterexample alone is not enough; you must explain why it is one.

Worked example 6. Claim: if a² = b², then a = b. Counterexample: a = 3, b = −3. Then a² = 9 = b², but a ≠ b. In the language of the previous section, "a² = b²" is necessary for "a = b" but not sufficient.

Proof by contradiction

Assume the opposite of what you want to prove, then show this leads to something impossible. Since the logic was valid, the assumption must be false.

Worked example 7. Prove that √2 is irrational.

Assume the opposite: √2 = p/q, where p and q are positive integers with no common factor.

Then 2 = p²/q², so p² = 2q². So p² is even, which means p is even (the square of an odd number is odd). Write p = 2m.

Then 4m² = 2q², so q² = 2m². So q² is even, and q is even.

Now p and q are both even, so they share the factor 2. This contradicts "no common factor".

So the assumption is false, and √2 is irrational.

Worked example 8. Prove that there are no integers m and n with 6m + 9n = 100.

Assume integers m and n exist with 6m + 9n = 100. Then 3(2m + 3n) = 100. Since 2m + 3n is an integer, 100 would be a multiple of 3. But 100 = 3 × 33 + 1, which leaves remainder 1. Contradiction. So no such integers exist.

The structure is always the same: state the assumption, reason correctly, name the contradiction, conclude.

Induction in brief (HL)

Proof by induction proves a statement for every positive integer n in two linked steps: show it holds for n = 1, then show that if it holds for n = k it must hold for n = k + 1. Short example: 5ⁿ − 1 is divisible by 4 for every positive integer n.

n = 1: 5 − 1 = 4, divisible by 4.

Assume 5ᵏ − 1 = 4m for some integer m, so 5ᵏ = 4m + 1.

Then 5ᵏ⁺¹ − 1 = 5 × 5ᵏ − 1 = 5(4m + 1) − 1 = 20m + 4 = 4(5m + 1), divisible by 4.

Since it is true for n = 1, and true for n = k + 1 whenever it is true for n = k, it is true for all positive integers n.

The concluding sentence is not decoration; it is the logic that joins the steps. Our full guide to proof by induction in AA HL covers sums, divisibility and derivative proofs in detail.

Reasoning with evidence: patterns are not proof

Numbers of the form 2ᵖ − 1 with p prime look promising: p = 2, 3, 5, 7 give 3, 7, 31, 127, all prime. A student might conclude the pattern always holds. But p = 11 gives 2047 = 23 × 89. Four confirming cases were not evidence of a rule; one failure ended it. This is the habit HL Paper 3 rewards: test a conjecture with examples, then either prove it or look for the case that breaks it. Our HL Paper 3 guide shows how those questions move from examples to a general result.

Mistakes our tutors see

  • Proving the converse. Showing Q ⇒ P when the question asked for P ⇒ Q.
  • Working on both sides of an identity at once, which assumes the result.
  • Checking examples and calling it a proof. Examples can disprove a "for all" claim, never prove one.
  • A counterexample with no explanation. Say why it fails the claim.
  • Contradiction proofs that never name the contradiction. Say which statement is now both true and false.
  • Squaring, or multiplying by an expression that may be zero, without checking roots. These are one-way steps.
  • Treating f′(a) = 0 as proof of a maximum or minimum.

Checklist and practice set

Before you hand in any proof:

  1. Did I state what is given and what I must prove?
  2. Does every line follow from earlier lines or a named fact?
  3. For an identity, did I go from one side to the other?
  4. For a counterexample, did I explain why it fails?
  5. For contradiction, did I state the assumption and the contradiction?
  6. Did I write a concluding sentence?

Practice set (answers below):

  1. Prove that (2n + 1)² − 1 is a multiple of 8 for every integer n.
  2. Prove that tan x + 1/tan x ≡ 2/sin 2x, where both sides are defined.
  3. Disprove: x² > x for every real x.
  4. Is "x > 3" necessary, sufficient, both or neither for "x² > 9"?
  5. Prove by contradiction that log₂ 3 is irrational.
  6. Is f″(a) = 0 sufficient for a point of inflection at a?

Answers:

  1. (2n + 1)² − 1 = 4n² + 4n = 4n(n + 1). One of n and n + 1 is even, so n(n + 1) = 2k, and the expression is 8k.
  2. LHS = sin x/cos x + cos x/sin x = (sin²x + cos²x)/(sin x cos x) = 1/(sin x cos x) = 2/(2sin x cos x) = 2/sin 2x = RHS.
  3. x = 1/2: x² = 1/4, which is less than 1/2. So the claim fails.
  4. Sufficient but not necessary: x = −4 gives x² = 16 > 9 without x > 3.
  5. log₂ 3 > 0, so assume log₂ 3 = p/q with p, q positive integers. Then 2^(p/q) = 3, so 2ᵖ = 3^q. The left side is even and the right side is odd. Contradiction.
  6. No. f(x) = x⁴ has f″(0) = 0, but 0 is a minimum, not a point of inflection.

How Maths Bodhi helps

Proof is the part of AA HL where written feedback matters most. Our tutors set short proofs each week and mark the logic line by line: direction of each step, the wording of conclusions, and whether a counterexample is explained. Students aiming at maths-heavy degrees can also look at Ajay Vatsyayan's AA HL lessons. For the jump to university-style proof, see our guide on starting real analysis proofs.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.

Frequently asked questions

What proof is in IB maths AA SL?
AA SL 1.6 covers simple deductive proof, numerical and algebraic, including how to lay out a left-hand side to right-hand side proof and the notation for equality and identity.
What proof methods are in IB maths AA HL?
As well as the SL content, AA HL covers proof by mathematical induction, proof by contradiction and using a counterexample to show a statement is not always true.
What is the difference between a necessary and a sufficient condition?
If P ⇒ Q, then P is sufficient for Q (P being true makes Q true) and Q is necessary for P (P cannot hold without it). A condition is both when P ⇔ Q.
Is a counterexample enough to disprove a statement in IB maths?
One counterexample disproves a "for all" statement, but the IB guide says you must also explain why your example is a counterexample.
Is proof examined in IB maths AI?
We found no proof sub-topic in the AI syllabus, and several AI topics list formal proofs as not required. Clear, logical working is still assessed in the internal assessment.
IB maths proofnecessary and sufficient conditionsproof by contradictioncounterexample IB mathsIB maths tutor Gurgaon

Related guides

Keep exploring this maths topic

IB DP Maths25 Nov 2026

IB Maths Problem-Solving Strategies: 7 Ways to Crack Unfamiliar Questions

Seven problem-solving strategies for the unfamiliar parts of IB maths questions, each with a fully worked AA or AI example: breaking a question into parts, small cases, changing the representation, symmetry, invariants, boundary cases and spotting hidden structure.

IB maths problem solvingunfamiliar IB maths questionsIB maths Paper 3 strategiesIB maths AA HL

By Maths Bodhi Team

Read guide

IB DP Maths17 Jul 2026

How IB Maths Exam Questions Are Built (and How to Read Them)

An IB maths question is a chain, not a list. How the papers are laid out, how a long question climbs from routine to unfamiliar, what "show that", "hence" and "hence or otherwise" allow, why some data is there to be ignored, and how to start a final part you have never seen before. Four worked examples.

IB maths exam questionshence or otherwise IB mathsshow that questionsIB maths non-routine questions

By Maths Bodhi Team

Read guide

IB DP Maths18 Oct 2026

IB Maths AA HL Proof by Induction: A Step-by-Step Method That Earns Full Marks

Proof by induction appears regularly in AA HL papers, and the marks are very predictable – if every step is written properly. The four-step structure, the three common types of induction question, and the wording examiners look for.

IB maths proof by inductionIB maths AA HL proofmathematical induction IBIB HL maths tutor Gurgaon

By Ajay Vatsyayan

Read guide

IB DP Maths14 Jul 2026

Algebra for IB Maths: The 12 Skills Every DP AA and AI Topic Assumes

The 12 algebra skills that IB DP maths AA and AI take for granted, from expanding brackets and factorising to logarithms, inequalities and hidden quadratics. Each skill comes with where the DP uses it and a worked example, plus a 12-question self-check, a mistakes table and FAQs.

IB maths algebraalgebra skills for IB DP mathsIB maths AA SLIB maths AI SL

By Maths Bodhi Team

Read guide

IB DP Maths25 Nov 2026

IB Maths for Economics, Business, Data Science and Engineering: The Skills Each Degree Uses

Which IB maths topics economics, business, data science and engineering degrees actually build on, shown with worked examples from AA and AI: marginal cost, compound growth, expected value, regression, matrices, conditional probability, kinematics and differential equations. Plus a Year 1 plan and the mistakes families make.

IB maths for economicsIB maths for engineeringIB maths for data scienceis IB maths useful

By Maths Bodhi Team

Read guide

IB Maths17 Nov 2026

MYP Maths Command Terms: What Each Instruction Word Asks For, with Annotated Examples

Common MYP maths command terms grouped by the kind of answer they want, the pairs students mix up, an annotated pattern task and a real-life task, and a four-week routine to stop losing criterion C marks.

MYP maths command termsMYP criterion C communicatingMYP maths assessmentMYP eAssessment maths

By Maths Bodhi Team

Read guide