A1 - Deduction, exhaustion and counterexamples

A1 - Deduction, exhaustion and counterexamples

A proof explains why a claim follows from its assumptions for every case it covers. You will use general algebra, complete case splits and counterexamples to decide whether claims are true. Precise language will help you distinguish a proof from a convincing pattern.

Claims, domains and logical symbols

The expression n2+n+41n^2+n+41 is prime at every integer from 00 to 3939. Can forty consecutive successes prove that it is prime for every non-negative integer?

Recall that a prime is an integer greater than 11 with no positive divisors except 11 and itself. For example, 77 is prime, whereas 25=5×525=5\times5 is composite. The number 11 is neither prime nor composite.

Start with a few of those successes:

n01234n2+n+414143475361\begin{array}{c|rrrrr} n & 0 & 1 & 2 & 3 & 4 \\ \hline n^2+n+41 & 41 & 43 & 47 & 53 & 61 \end{array}

The pattern is striking. But a claim about every allowed integer includes values beyond the ones checked. Keep the question in mind: by the end, you will know exactly what settles it.

You already know

Expanding brackets gives (x+2)2=x2+4x+4(x+2)^2=x^2+4x+4. Solving x2=4x^2=4 gives two real solutions, x=2x=2 and x=−2x=-2. Algebraic steps must preserve every allowed solution.

The domain is the set of allowed values. In AQA's notation, N={1,2,3,…}\mathbb N=\{1,2,3,\ldots\} contains the natural numbers, so it excludes zero. The integers Z\mathbb Z include zero and negative whole numbers; Z+\mathbb Z^+ contains the positive integers. The rational numbers Q\mathbb Q are numbers expressible as integer fractions with nonzero denominator, and R\mathbb R contains all real numbers. For example, −3∈Z-3\in\mathbb Z, 12∈Q\frac12\in\mathbb Q and 2∈R\sqrt2\in\mathbb R. A claim about Z+\mathbb Z^+ need not hold throughout R\mathbb R.

Proof

A proof is a logical argument that starts from given assumptions or established facts and reaches the claimed conclusion through justified steps. It must cover the full stated domain. Checking n=1n=1 proves a statement about that value; it does not prove a statement about every positive integer.

Mathematical words describe different objects. In the expression n2+3n+2n^2+3n+2, the letter nn is a variable. Its three terms are n2n^2, 3n3n and 22; the coefficient of nn is 33; the constant term is 22; and the index in n2n^2 is 22. Writing f(n)=n2+3n+2f(n)=n^2+3n+2 defines a function, which assigns one output to each allowed input.

An equation, such as x2=4x^2=4, asserts equality at its solutions. An identity, such as (x+2)2≡x2+4x+4(x+2)^2\equiv x^2+4x+4, asserts equality for every allowed value. The sign == means “equals”, ≠\ne means “is not equal to”, and ≡\equiv marks an identity here. Thus x2≡4x^2\equiv4 would be false for a real variable: at x=0x=0, its two sides differ.

Other relation symbols make the meaning of a statement precise.

The inequality signs << and >> are strict: equality is excluded. The signs ≤\le and ≥\ge include equality. Use ≈\approx for an approximation, as in 13≈0.333\frac13\approx0.333, rather than claiming exact equality. The statement y∝xy\propto x means y=kxy=kx for a fixed nonzero constant kk; for example, y=3xy=3x gives direct proportion. The symbol ∞\infty means infinity, not a final largest number. You will use these symbols with functions later in the course.

The following symbols connect whole statements:

SymbolMeaning
p⇒qp\Rightarrow qIf pp is true, then qq is true.
p⇐qp\Leftarrow qpp is implied by qq; the direction is q⇒pq\Rightarrow p.
p⇔qp\Leftrightarrow qpp is true if and only if qq is true; both directions hold.
∴\thereforeTherefore: introduces a conclusion.
∵\becauseBecause: introduces a reason.

For a real variable, x=2⇒x2=4x=2\Rightarrow x^2=4 is valid. Reversing it loses the solution x=−2x=-2. The reversible statement is

x2=4⇔(x=2 or x=−2)x^2=4\Leftrightarrow(x=2\text{ or }x=-2)

Restricting the domain to x>0x>0 would make x2=4⇔x=2x^2=4\Leftrightarrow x=2 valid. The domain is part of the claim, not a detail to add afterwards. This identity and these logical rules are not in the formula booklet: learn their meaning rather than a string of symbols.

Key idea

State what values are allowed and justify the direction of each implication. “If and only if” needs both directions.

The next check distinguishes an equation's complete solution set from one possible solution.

Deduction with general integers

A general representation lets one argument cover infinitely many integers.

For example, 3+7=103+7=10 and (−5)+9=4(-5)+9=4 suggest that adding odd integers gives an even integer. Deduction means establishing that conclusion from assumptions and known facts, rather than relying on the examples.

Even and odd integers

For k∈Zk\in\mathbb Z,

even integer=2kodd integer=2k+1\text{even integer}=2k\qquad\text{odd integer}=2k+1

For a nonzero integer dd, an integer aa is divisible by dd exactly when a=dma=dm for some m∈Zm\in\mathbb Z.

Not in the formula booklet: learn it.

These forms include negative values: −3=2(−2)+1-3=2(-2)+1. “Let an arbitrary odd integer be 2k+12k+1” means that kk is unspecified, so the proof cannot depend on one chosen value. For two arbitrary odd integers, use 2r+12r+1 and 2s+12s+1. Reusing kk for both would assume that they are equal. Consecutive odd integers do have a stated relationship, so they can be written as 2k+12k+1 and 2k+32k+3.

Worked example 1: adding arbitrary odd integers

Question. Prove that the sum of any two odd integers is even.

Plan. Give the integers independent parameters, add them and factor out 22.

Let the integers be 2r+12r+1 and 2s+12s+1, where r,s∈Zr,s\in\mathbb Z. Then

(2r+1)+(2s+1)=2r+2s+2collect terms=2(r+s+1)factor out 2\begin{aligned} (2r+1)+(2s+1) &= 2r+2s+2 && \text{collect terms} \\ &= 2(r+s+1) && \text{factor out }2 \end{aligned}

Why this step? The factorised form shows twice an integer; an expanded expression alone does not yet state the parity reason.

Answer. Since r+s+1r+s+1 is an integer, the sum is even for every pair of odd integers.

Check. For the unequal pair −3-3 and 77, use r=−2r=-2, s=3s=3. The formula gives 2(−2+3+1)=42(-2+3+1)=4, agreeing with −3+7=4-3+7=4. This checks the algebra, while the arbitrary parameters provide the proof.

Worked example 2 changes the operation from addition to multiplication. Keep the same independent representations; the target is now the odd form.

Worked example 2: multiplying arbitrary odd integers

Question. Prove that the product of any two odd integers is odd.

Plan. Expand the product and put it in the form twice an integer plus one.

Let the integers be 2r+12r+1 and 2s+12s+1, where r,s∈Zr,s\in\mathbb Z. Then

(2r+1)(2s+1)=4rs+2r+2s+1expand=2(2rs+r+s)+1expose the odd form\begin{aligned} (2r+1)(2s+1) &= 4rs+2r+2s+1 && \text{expand} \\ &= 2(2rs+r+s)+1 && \text{expose the odd form} \end{aligned}

Why this step? The expression 2rs+r+s2rs+r+s is an integer, so the final +1+1 makes the product odd.

Answer. Every product of two odd integers is odd.

Check. With r=−2r=-2, s=3s=3, the expression is 2(−12−2+3)+1=−212(-12-2+3)+1=-21, agreeing with (−3)×7=−21(-3)\times7=-21.

Taking the two odd integers to be equal also proves that every odd integer has an odd square. For an even integer, (2k)2=2(2k2)(2k)^2=2(2k^2) is even. These parity results, and the sum and product results just proved, are not in the formula booklet: derive them from the general forms when a proof is requested.

Watch out

Wrong: “Let the two odd integers both be 2k+12k+1.” That proves only a claim about equal integers. Right: use independent integer parameters unless the question gives a relationship between the integers.

The next question changes the operation again, to subtraction. AQA's “Prove” requires the general working and a concluding statement; a list of successful examples is insufficient.

Proof by exhaustion

Exhaustion turns a collection of cases into a proof by showing that no possible case has been omitted.

The square 52=255^2=25 leaves remainder 11 on division by 33, as does 72=497^2=49. Rather than checking more integers, classify every integer by its remainder. Each belongs to exactly one of the forms 3k3k, 3k+13k+1, 3k+23k+2, with k∈Zk\in\mathbb Z. Negative integers are included: −1=3(−1)+2-1=3(-1)+2.

Proof by exhaustion

A proof by exhaustion treats every possible case and establishes the conclusion in each one. The domain may be finite, or an infinite domain may split into finitely many general cases. Checking three specific integers is not the same as checking three cases that cover all integers.

For division by a positive integer dd, the possible remainders are 0,1,…,d−10,1,\ldots,d-1. Writing n=dk+rn=dk+r, with integer kk, makes each remainder case general. This division property is not in the formula booklet: learn how it makes a case split complete.

Worked example 3: square remainders on division by three

Question. Prove that an integer square has remainder 00 or 11 when divided by 33.

Plan. Square each of the three possible general remainder forms and isolate a multiple of 33.

For k∈Zk\in\mathbb Z:

n=3k⇒n2=3(3k2)remainder 0n=3k+1⇒n2=3(3k2+2k)+1remainder 1n=3k+2⇒n2=3(3k2+4k+1)+1remainder 1\begin{aligned} n=3k &\Rightarrow n^2=3(3k^2) && \text{remainder }0 \\ n=3k+1 &\Rightarrow n^2=3(3k^2+2k)+1 && \text{remainder }1 \\ n=3k+2 &\Rightarrow n^2=3(3k^2+4k+1)+1 && \text{remainder }1 \end{aligned}

Why this step? The forms cover every integer, and every bracket is an integer. The remainders therefore apply to all values in each case.

Answer. Every integer square has remainder 00 or 11 on division by 33; remainder 22 is impossible.

Check. The last expansion is 9k2+12k+49k^2+12k+4, equal to (3k+2)2(3k+2)^2. At n=−1n=-1, the square is 11, consistent with that case.

Worked example 4 changes the divisor from 33 to 44. There are now four remainder cases, so reusing only the previous three would leave a gap.

Worked example 4: square remainders on division by four

Question. Prove that an integer square has remainder 00 or 11 when divided by 44.

Plan. Use all four possible remainders of the integer before squaring.

For k∈Zk\in\mathbb Z:

n=4k⇒n2=4(4k2)remainder 0n=4k+1⇒n2=4(4k2+2k)+1remainder 1n=4k+2⇒n2=4(4k2+4k+1)remainder 0n=4k+3⇒n2=4(4k2+6k+2)+1remainder 1\begin{aligned} n=4k &\Rightarrow n^2=4(4k^2) && \text{remainder }0 \\ n=4k+1 &\Rightarrow n^2=4(4k^2+2k)+1 && \text{remainder }1 \\ n=4k+2 &\Rightarrow n^2=4(4k^2+4k+1) && \text{remainder }0 \\ n=4k+3 &\Rightarrow n^2=4(4k^2+6k+2)+1 && \text{remainder }1 \end{aligned}

Why this step? Squaring the general forms shows what happens to every integer with that remainder, not just to 0,1,2,30,1,2,3.

Answer. The four exhaustive cases give only remainder 00 or 11, proving the claim.

Check. At n=6=4(1)+2n=6=4(1)+2, n2=36=4(9)n^2=36=4(9). At n=7=4(1)+3n=7=4(1)+3, n2=49=4(12)+1n^2=49=4(12)+1.

A shorter proof of the second result uses the two exhaustive cases even and odd: (2k)2=4k2(2k)^2=4k^2, whereas (2k+1)2=4k(k+1)+1(2k+1)^2=4k(k+1)+1. Choose cases that make the working simple, then explain why they cover the domain. These square-remainder results are not in the formula booklet: establish them when needed.

Exhaustion can also check a genuinely finite list. For example, to prove that 103103 is prime, it is enough to test the primes 2,3,5,72,3,5,7. A composite integer N>1N>1 has a prime divisor at most N\sqrt N: in a factor pair, at least one factor is at most N\sqrt N, and that factor has a prime divisor. Here 10<103<1110<\sqrt{103}<11, and

103=2(51)+1=3(34)+1=5(20)+3=7(14)+5103=2(51)+1=3(34)+1=5(20)+3=7(14)+5

None of the possible small prime divisors divides 103103, so 103103 is prime. The bound explains why the list is complete. This prime-divisor bound is not in the formula booklet: understand its factor-pair justification.

Watch out

Wrong: “The claim holds for n=0,1,2n=0,1,2, so it holds for every integer.” Those are three values. Right: use n=3k,3k+1,3k+2n=3k,3k+1,3k+2, with arbitrary integer kk, to cover three complete remainder classes.

The next question changes the expression in Worked example 4 by adding 22. Use the shorter even/odd split requested in the question.

Counterexamples and domain boundaries

One allowed input that makes a universal claim false is enough to disprove the claim.

“For every” and “for all” make universal claims. By contrast, “there exists” means at least one suitable example exists. One example can establish existence; proving a universal claim needs an argument covering every case.

Counterexample

A counterexample satisfies a claim's assumptions but violates its conclusion. For “every positive real number xx satisfies x2≥xx^2\ge x”, the value x=12x=\frac12 is a counterexample because 14<12\frac14<\frac12. The value x=−1x=-1 is not: it is outside the stated domain and does not violate the inequality anyway.

Look near domain boundaries, at equality cases and at simple fractions. For the claim just discussed, x=1x=1 gives equality, so it does not refute x2≥xx^2\ge x. The claim is true for positive integers, since n≥1n\ge1 gives n2≥nn^2\ge n, but extending it to positive reals introduces the interval 0<x<10<x<1. These inequalities are not in the formula booklet: justify them from their domains.

Worked example 5: disproving a prime-producing claim

Question. Use a counter example to show that “n2+n+5n^2+n+5 is prime for every positive integer nn” is incorrect.

Plan. Try an input one less than the constant term, then display a nontrivial factorisation.

Choose n=4n=4, a positive integer. Then

n2+n+5=42+4+5substitute an allowed input=25evaluate=5×5show nontrivial factors\begin{aligned} n^2+n+5 &= 4^2+4+5 && \text{substitute an allowed input} \\ &= 25 && \text{evaluate} \\ &= 5\times5 && \text{show nontrivial factors} \end{aligned}

Why this step? A composite output must be demonstrated, not merely asserted; the factors show exactly why this value is not prime.

Answer. The allowed value n=4n=4 gives a composite number, so the universal claim is false.

Check. 5×5=255\times5=25, and each factor is greater than 11. The failure does not mean that the expression is never prime: at n=1n=1, it equals 77.

Worked example 6 changes only the constant from 55 to 1111. The same choice of an input one below the constant exposes a square.

Worked example 6: changing the constant

Question. Use a counter example to show that “n2+n+11n^2+n+11 is prime for every positive integer nn” is incorrect.

Plan. Use n=10n=10, check its domain and factor the resulting value.

102+10+11=100+10+11substitute n=10=121evaluate=11×11a composite value\begin{aligned} 10^2+10+11 &= 100+10+11 && \text{substitute }n=10 \\ &= 121 && \text{evaluate} \\ &= 11\times11 && \text{a composite value} \end{aligned}

Why this step? With constant cc, the input n=c−1n=c-1 gives (c−1)2+(c−1)+c=c2(c-1)^2+(c-1)+c=c^2. For an integer c>1c>1, this is a valid positive input and a non-prime output.

Answer. The claim is false because the positive integer 1010 produces 121121, which is composite.

Check. 112=12111^2=121. The input 1010 meets every assumption; a negative input would not disprove this particular claim.

These polynomial results are not in the formula booklet: substitute and justify the counterexample. The same construction settles the opening question:

402+40+41=1681=41240^2+40+41=1681=41^2

Forty consecutive prime outputs were a remarkably persuasive pattern, but the next input breaks it. A proof has to reach the cases you have not calculated.

Watch out

Wrong: use an even integer to challenge a claim beginning “if nn is odd”. The proposed example fails the assumption. Right: first check the domain and every premise, then show that the conclusion fails.

The next question changes the constant once more. One justified failure is sufficient; there is no need to classify all the other inputs.

Quick Recap

  • State the domain and assumptions; use ⇔\Leftrightarrow only when both directions hold.
  • For deduction, represent arbitrary integers and connect the resulting algebra to the required property.
  • For exhaustion, explain why the cases include every possibility.
  • A counterexample must obey the assumptions and violate the conclusion; one valid failure disproves a universal claim.

Forty prime outputs do not prove the opening claim: n=40n=40 gives 1681=4121681=41^2, so the claim is false.