4.01b - Harder proofs by induction

4.01b - Harder proofs by induction

Build a conjecture from a pattern, then prove it for every allowed integer rather than trusting the pattern. You will extend induction to finite sums, higher derivatives and inequalities where the difficult step is finding the right comparison, while keeping the base case and conclusion precise.

A pattern suggests a conjecture

What is the millionth derivative of f(x)=x2exf(x) = x^2e^x, evaluated at x=0x = 0? Differentiating a million times is an unpromising afternoon. Finding and proving a pattern will take much less work.

Start with a few derivatives. The product rule gives

f′(x)=(2x+x2)exf′′(x)=(2+2x+x2+2x)ex=(x2+4x+2)ex\begin{aligned} f'(x) &= (2x + x^2)e^x \\ f''(x) &= (2 + 2x + x^2 + 2x)e^x \\ &= (x^2 + 4x + 2)e^x \end{aligned}

Put these beside the next derivative to make the coefficients easy to compare.

Derivative order nnf(n)(x)f^{(n)}(x)Coefficient of xxConstant in the bracket
11(x2+2x)ex(x^2 + 2x)e^x2200
22(x2+4x+2)ex(x^2 + 4x + 2)e^x4422
33(x2+6x+6)ex(x^2 + 6x + 6)e^x6666
44(x2+8x+12)ex(x^2 + 8x + 12)e^x881212

The coefficient of xx suggests 2n2n; the constants 0,2,6,120, 2, 6, 12 suggest n(n−1)n(n-1). It is striking that the polynomial stays quadratic however many times you differentiate. The product rule explains the possibility: differentiating the polynomial lowers its degree, while differentiating exe^x leaves a copy of that polynomial in place.

You already know

An induction proof needs a base case and the implication from an arbitrary kk to k+1k+1. For derivatives, f(n)(x)f^{(n)}(x) means the derivative of order nn, not a power. The product and chain rules, and ddxeax=aeax\dfrac{d}{dx}e^{ax} = ae^{ax}, are assumed A-level Mathematics results.

The table suggests a general statement, but the table has not proved it.

Conjecture

A conjecture is a statement suggested by evidence or a pattern that has not yet been proved. For example, the table suggests f(n)(x)=(x2+2nx+n(n−1))exf^{(n)}(x) = \bigl(x^2 + 2nx + n(n-1)\bigr)e^x. Checking a fifth derivative would give another test, not a proof for all nn.

Separate the moving features: sign, numerical coefficient, factorial, exponent and any polynomial in nn. Test your proposed formula against every case given, then prove that the operation connecting two cases preserves its form. For sums that operation adds a term; for derivatives it differentiates.

The product and chain rules, the exponential derivative above and the conjectured higher-derivative formula are not in the formula booklet: learn the differentiation rules and derive the higher-derivative formula when asked. The booklet's Maclaurin formula does not supply the derivatives of this particular function.

Key idea

A conjecture predicts the form of the answer. The inductive step must establish that form from the assumed previous case.

You may write the next formula as a target in rough work. It becomes a proved equality only after you have derived it.

Adding the next term of a sum

For a finite sum, the next case is the previous sum plus one new term, so isolate that term before doing any algebra.

You already know

∑r=1nar\displaystyle\sum_{r=1}^{n} a_r means a1+a2+⋯+ana_1 + a_2 + \cdots + a_n. The index rr runs through the terms, whereas nn is the upper limit. In particular, the term added when the limit changes from kk to k+1k+1 is ak+1a_{k+1}.

For ar=1r(r+1)a_r = \dfrac{1}{r(r+1)}, the first partial sums are 12\dfrac12, 23\dfrac23, 34\dfrac34. They suggest Sn=nn+1S_n = \dfrac{n}{n+1}. The proof's important line is not the final fraction: it is the line that expresses Sk+1S_{k+1} using SkS_k.

The next partial sum

For a sequence ara_r and positive integer kk, if Sk=∑r=1karS_k = \displaystyle\sum_{r=1}^{k} a_r, then

Sk+1=Sk+ak+1S_{k+1} = S_k + a_{k+1}

This follows from the meaning of a finite sum.
Not in the formula booklet: learn it.

Use the formula being proved only for the kk-term sum. Then simplify to reach the proposed k+1k+1-term result.

Worked example 1: proving a conjectured sum

Question. Prove by induction that, for every positive integer nn,

∑r=1n1r(r+1)=nn+1\sum_{r=1}^{n}\frac{1}{r(r+1)} = \frac{n}{n+1}

Plan. Check the one-term sum, assume the kk-term formula and add the term with r=k+1r = k+1.

11(2)=11+1base case is true\frac{1}{1(2)} = \frac{1}{1+1} \qquad \text{base case is true}

Assume ∑r=1k1r(r+1)=kk+1\displaystyle\sum_{r=1}^{k}\dfrac{1}{r(r+1)} = \dfrac{k}{k+1}, where k≥1k \ge 1. Then

∑r=1k+11r(r+1)=kk+1+1(k+1)(k+2)assumption plus new term=k(k+2)+1(k+1)(k+2)common denominator=(k+1)2(k+1)(k+2)k2+2k+1=(k+1)2=k+1k+2cancel k+1≠0\begin{aligned} \sum_{r=1}^{k+1}\frac{1}{r(r+1)} &= \frac{k}{k+1} + \frac{1}{(k+1)(k+2)} && \text{assumption plus new term} \\ &= \frac{k(k+2) + 1}{(k+1)(k+2)} && \text{common denominator} \\ &= \frac{(k+1)^2}{(k+1)(k+2)} && k^2+2k+1 = (k+1)^2 \\ &= \frac{k+1}{k+2} && \text{cancel } k+1 \ne 0 \end{aligned}

Why this step? The new term has denominator (k+1)(k+2)(k+1)(k+2), so using that denominator makes the numerator factor into exactly what the next formula needs.

Answer. This is the required formula for n=k+1n = k+1. Truth for kk implies truth for k+1k+1; the base case n=1n = 1 is true, so the result holds for all positive integers, by induction.

Check. At n=3n = 3, 12+16+112=34\dfrac12 + \dfrac16 + \dfrac1{12} = \dfrac34.

Worked example 2 shifts each denominator factor up by one. The induction structure is unchanged, but the one-term sum and the added term must both reflect that shift.

Worked example 2: shifted denominator factors

Question. Prove by induction that, for every positive integer nn,

∑r=1n1(r+1)(r+2)=n2(n+2)\sum_{r=1}^{n}\frac{1}{(r+1)(r+2)} = \frac{n}{2(n+2)}

Plan. Verify the first term, then add the term whose denominator is (k+2)(k+3)(k+2)(k+3) to the assumed sum.

12(3)=12(1+2)base case is true\frac{1}{2(3)} = \frac{1}{2(1+2)} \qquad \text{base case is true}

Assume the result for n=kn = k, where k≥1k \ge 1. Then

∑r=1k+11(r+1)(r+2)=k2(k+2)+1(k+2)(k+3)use the assumption=k(k+3)+22(k+2)(k+3)common denominator=(k+1)(k+2)2(k+2)(k+3)factor the numerator=k+12(k+3)the required next form\begin{aligned} \sum_{r=1}^{k+1}\frac{1}{(r+1)(r+2)} &= \frac{k}{2(k+2)} + \frac{1}{(k+2)(k+3)} && \text{use the assumption} \\ &= \frac{k(k+3) + 2}{2(k+2)(k+3)} && \text{common denominator} \\ &= \frac{(k+1)(k+2)}{2(k+2)(k+3)} && \text{factor the numerator} \\ &= \frac{k+1}{2(k+3)} && \text{the required next form} \end{aligned}

Why this step? The added term is obtained by substituting r=k+1r = k+1 into the summand, not by copying the formula for the whole sum.

Answer. Truth for n=kn = k implies truth for n=k+1n = k+1. The result is true for n=1n = 1, so it holds for all positive integers, by induction.

Check. At n=3n = 3, 16+112+120=310=32(5)\dfrac16 + \dfrac1{12} + \dfrac1{20} = \dfrac3{10} = \dfrac{3}{2(5)}.

Neither of these particular sum formulae is in the formula booklet: derive them when asked. A different proof may exist, but “prove by induction” requires the induction argument.

Watch out

Wrong: Sk+1=Sk+1k(k+1)S_{k+1} = S_k + \dfrac{1}{k(k+1)} in worked example 1. That term is already included in SkS_k. Right: add 1(k+1)(k+2)\dfrac{1}{(k+1)(k+2)}, the term with index k+1k+1.

The next question shifts the factors once more. Write the new term before combining the fractions.

Differentiating the assumed formula

For a higher-derivative formula, the inductive step differentiates the assumed function once, treating the integer kk as a constant.

In particular, f(k+1)(x)=ddx(f(k)(x))f^{(k+1)}(x) = \dfrac{d}{dx}\bigl(f^{(k)}(x)\bigr). Multiplying by f′(x)f'(x) does not produce the next derivative. If the derivative order is 2n2n, changing nn from kk to k+1k+1 changes the order from 2k2k to 2k+22k+2, so that step needs two differentiations.

The notation f(0)=ff^{(0)} = f is useful when a question includes n=0n = 0. You may start there only when the proposed formula and the question's domain include it.

Worked example 3: a linear factor times an exponential

Question. For g(x)=xexg(x) = xe^x, prove by induction that g(n)(x)=(x+n)exg^{(n)}(x) = (x+n)e^x for all integers n≥0n \ge 0, where g(0)=gg^{(0)} = g.

Plan. Check the undifferentiated function, then apply the product rule to the assumed derivative of order kk.

(x+0)ex=xex=g(x)base case n=0(x+0)e^x = xe^x = g(x) \qquad \text{base case } n = 0

Assume g(k)(x)=(x+k)exg^{(k)}(x) = (x+k)e^x for an arbitrary integer k≥0k \ge 0, for every real xx. Then

g(k+1)(x)=ddx((x+k)ex)differentiate the assumption=ex+(x+k)exproduct rule; k is constant=(x+k+1)excollect the terms\begin{aligned} g^{(k+1)}(x) &= \frac{d}{dx}\bigl((x+k)e^x\bigr) && \text{differentiate the assumption} \\ &= e^x + (x+k)e^x && \text{product rule; } k \text{ is constant} \\ &= (x+k+1)e^x && \text{collect the terms} \end{aligned}

Why this step? The derivative of x+kx+k is 11, so the product rule increases the constant in the bracket by exactly one.

Answer. This is the formula for n=k+1n = k+1. Truth for kk implies truth for k+1k+1; since the formula is true for n=0n = 0, it holds for every integer n≥0n \ge 0, by induction.

Check. Direct differentiation gives g′′(x)=(x+2)exg''(x) = (x+2)e^x, matching n=2n = 2.

Worked example 4 changes the polynomial factor from xx to x2x^2. The product rule now changes two coefficients, so collect powers of xx before comparing with the target.

Worked example 4: proving the opening conjecture

Question. For f(x)=x2exf(x) = x^2e^x, prove that

f(n)(x)=(x2+2nx+n(n−1))exf^{(n)}(x) = \bigl(x^2 + 2nx + n(n-1)\bigr)e^x

for all integers n≥0n \ge 0, where f(0)=ff^{(0)} = f.

Plan. Start at 00, differentiate the assumed formula and regroup its coefficients into the form with n=k+1n = k+1.

(x2+0+0(−1))ex=x2exbase case is true\bigl(x^2 + 0 + 0(-1)\bigr)e^x = x^2e^x \qquad \text{base case is true}

Assume f(k)(x)=(x2+2kx+k(k−1))exf^{(k)}(x) = \bigl(x^2 + 2kx + k(k-1)\bigr)e^x for an integer k≥0k \ge 0, for every real xx. Then

f(k+1)(x)=(2x+2k)ex+(x2+2kx+k(k−1))exproduct rule=(x2+(2k+2)x+k2+k)excollect powers of x=(x2+2(k+1)x+(k+1)k)exfactor the coefficients\begin{aligned} f^{(k+1)}(x) &= \bigl(2x+2k\bigr)e^x + \bigl(x^2+2kx+k(k-1)\bigr)e^x && \text{product rule} \\ &= \bigl(x^2 + (2k+2)x + k^2+k\bigr)e^x && \text{collect powers of } x \\ &= \bigl(x^2 + 2(k+1)x + (k+1)k\bigr)e^x && \text{factor the coefficients} \end{aligned}

Why this step? The constant required in the next case is (k+1)((k+1)−1)=(k+1)k(k+1)((k+1)-1) = (k+1)k. Seeing that k(k−1)+2kk(k-1)+2k equals this completes the step.

Answer. Truth for n=kn = k implies truth for n=k+1n = k+1. The formula is true for n=0n = 0, so it holds for all integers n≥0n \ge 0, by induction.

Check. At n=4n = 4, the formula gives (x2+8x+12)ex(x^2 + 8x + 12)e^x, matching the table. At x=0x = 0, it gives f(n)(0)=n(n−1)f^{(n)}(0) = n(n-1).

These higher-derivative formulae are not in the formula booklet: derive them when asked. The opening question now has an exact answer:

f(1000000)(0)=1000000(999999)=999999000000f^{(1000000)}(0) = 1000000(999999) = 999999000000

No approximation or repeated numerical differentiation is involved.

Watch out

Wrong: ddx(2kx)=2x\dfrac{d}{dx}(2kx) = 2x. The derivative variable is xx, and kk is a fixed integer during the step. Right: ddx(2kx)=2k\dfrac{d}{dx}(2kx) = 2k. Also, changing nn to k+1k+1 means replacing every occurrence of nn, including factorials and exponents.

For the next question only the exponential's rate changes. Keep the new chain-rule factor all the way through the proof.

Exponential and polynomial growth

When the target contains a power of the index, compare the factor by which that target grows with the fixed factor gained by the exponential.

For 3n>n33^n > n^3, the exponential gains a factor of 33 at each step. The polynomial gains the factor (k+1k)3\left(\dfrac{k+1}{k}\right)^3. For k≥4k \ge 4, that factor is at most (54)3\left(\dfrac54\right)^3, which is smaller than 33. This is the comparison the induction needs.

Worked example 5: a cubic target

Question. Prove by induction that 3n>n33^n > n^3 for all integers n≥4n \ge 4.

Plan. Verify n=4n = 4, then bound the ratio (k+1)3/k3(k+1)^3/k^3 to bridge the gap from the assumed case to the next target.

34=81>64=43base case is true3^4 = 81 > 64 = 4^3 \qquad \text{base case is true}

Assume 3k>k33^k > k^3, where k≥4k \ge 4. Since k>0k > 0,

(k+1)3k3=(1+1k)3factor out k3≤(54)3=12564<3k≥4\begin{aligned} \frac{(k+1)^3}{k^3} &= \left(1+\frac1k\right)^3 && \text{factor out } k^3 \\ &\le \left(\frac54\right)^3 = \frac{125}{64} < 3 && k \ge 4 \end{aligned}

Hence

3k+1=3×3k>3k3>(k+1)33^{k+1} = 3 \times 3^k > 3k^3 > (k+1)^3

Why this step? The assumption alone gives 3k33k^3. The ratio bound proves that this intermediate value is already larger than the next target.

Answer. Truth for n=kn = k implies truth for n=k+1n = k+1. The result is true for n=4n = 4, so it holds for all integers n≥4n \ge 4, by induction.

Check. At n=3n = 3, 33=333^3 = 3^3, so strict inequality cannot start there. At n=5n = 5, 243>125243 > 125.

Worked example 6 changes the common growth index from 33 to 44: the exponential base and the polynomial degree both become 44. Compare the new growth factors, rather than expanding a fourth power.

Worked example 6: a fourth-power target

Question. Prove by induction that 4n>n44^n > n^4 for all integers n≥5n \ge 5.

Plan. Start at 55 and show that the polynomial's step factor is smaller than the exponential's factor 44.

45=1024>625=54base case is true4^5 = 1024 > 625 = 5^4 \qquad \text{base case is true}

Assume 4k>k44^k > k^4, where k≥5k \ge 5. Then

(k+1)4k4=(1+1k)4k>0≤(65)4=1296625<4k≥5\begin{aligned} \frac{(k+1)^4}{k^4} &= \left(1+\frac1k\right)^4 && k > 0 \\ &\le \left(\frac65\right)^4 = \frac{1296}{625} < 4 && k \ge 5 \end{aligned}

Therefore

4k+1=4×4k>4k4>(k+1)44^{k+1} = 4 \times 4^k > 4k^4 > (k+1)^4

Why this step? Bounding 1+1/k1 + 1/k by its largest possible value on the domain proves the needed comparison for every kk, not just one trial value.

Answer. Truth for n=kn = k implies truth for n=k+1n = k+1. Since the result is true for n=5n = 5, it holds for every integer n≥5n \ge 5, by induction.

Check. At n=4n = 4, both sides equal 256256. At n=6n = 6, 4096>12964096 > 1296.

These growth inequalities are not in the formula booklet: derive them when asked. The useful decision is to compare multiplicative growth factors when expanding the next target would obscure the argument.

Watch out

Wrong: 3k+1>3k33^{k+1} > 3k^3, “therefore 3k+1>(k+1)33^{k+1} > (k+1)^3”. The comparison between 3k33k^3 and (k+1)3(k+1)^3 is missing. Right: establish (1+1/k)3<3\left(1+1/k\right)^3 < 3 on the stated domain before joining the inequalities.

The next comparison follows the same structure with the growth index increased once more.

A parameter and the sign of a multiplier

When an inequality contains a real parameter, hold that parameter fixed during the induction and state why each multiplication preserves the inequality.

For example, powers of 1.51.5 satisfy 1.5n≥1+0.5n1.5^n \ge 1 + 0.5n for positive integers nn. This says that repeated multiplication gives at least the increase obtained by repeatedly adding 0.50.5. The same inequality has a useful and less obvious extension when the base is between 00 and 11.

Worked example 7: a fixed positive increment

Question. Prove by induction that (32)n≥1+n2\left(\dfrac32\right)^n \ge 1 + \dfrac n2 for all positive integers nn.

Plan. Verify n=1n = 1, multiply the assumed bound by 3/23/2, then separate the next target from a non-negative remainder.

(32)1=32=1+12base case is true\left(\frac32\right)^1 = \frac32 = 1 + \frac12 \qquad \text{base case is true}

Assume (32)k≥1+k2\left(\dfrac32\right)^k \ge 1 + \dfrac k2 for an integer k≥1k \ge 1. Then

(32)k+1≥32(1+k2)32>0=1+k+12+k4separate the next target≥1+k+12k4≥0\begin{aligned} \left(\frac32\right)^{k+1} &\ge \frac32\left(1+\frac k2\right) && \frac32 > 0 \\ &= 1 + \frac{k+1}{2} + \frac k4 && \text{separate the next target} \\ &\ge 1 + \frac{k+1}{2} && \frac k4 \ge 0 \end{aligned}

Why this step? The extra term k/4k/4 is non-negative, so the product bound is at least as large as the next target.

Answer. Truth for n=kn = k implies truth for n=k+1n = k+1. The result is true for n=1n = 1, so it holds for all positive integers, by induction.

Check. At n=2n = 2, 9/4≥29/4 \ge 2; the difference is 1/41/4, matching the remainder when k=1k = 1.

Worked example 8 replaces the fixed increment 1/21/2 by a real parameter xx. The increment may now be negative; what matters for multiplication is the sign of 1+x1+x, not the sign of xx.

Bernoulli's inequality

For every real x>−1x > -1 and every positive integer nn,

(1+x)n≥1+nx(1+x)^n \ge 1 + nx

Equality holds when n=1n = 1 or x=0x = 0; for n>1n > 1 and x≠0x \ne 0, the inequality is strict.
Not in the formula booklet: learn it.

The name is useful, but a question that asks for induction still needs the proof. Do not replace the parameter by a convenient positive number: that would lose the negative cases.

Worked example 8: positive and negative increments

Question. Prove Bernoulli's inequality for real x>−1x > -1 and positive integers nn.

Plan. Fix any permitted xx, use the positive multiplier 1+x1+x, and show that the extra term kx2kx^2 is non-negative.

(1+x)1=1+xbase case is true(1+x)^1 = 1+x \qquad \text{base case is true}

Assume (1+x)k≥1+kx(1+x)^k \ge 1+kx for an integer k≥1k \ge 1, with this same fixed x>−1x > -1. Then

(1+x)k+1≥(1+kx)(1+x)1+x>0=1+(k+1)x+kx2expand≥1+(k+1)xkx2≥0\begin{aligned} (1+x)^{k+1} &\ge (1+kx)(1+x) && 1+x > 0 \\ &= 1+(k+1)x+kx^2 && \text{expand} \\ &\ge 1+(k+1)x && kx^2 \ge 0 \end{aligned}

Why this step? Even if xx is negative, its square is non-negative and the multiplier 1+x1+x is positive. Both inequality directions are therefore justified on the whole stated domain.

Answer. For this fixed permitted xx, truth for n=kn = k implies truth for n=k+1n = k+1. The result is true for n=1n = 1, so it holds for all positive integers nn. Since x>−1x > -1 was arbitrary, it holds for every real xx in that range.

Check. For x=−1/2x = -1/2 and n=2n = 2, the comparison is 1/4≥01/4 \ge 0, which is true. If x=0x = 0, every step is equality. If x≠0x \ne 0 and k≥1k \ge 1, the remainder kx2kx^2 is positive, establishing the stated strictness for n>1n > 1.

The bound x>−1x > -1 ensures that the multiplier is positive. The statement also happens to be true at x=−1x = -1 for positive integer nn, since 0≥1−n0 \ge 1-n, but that boundary case is outside the stated domain and can be checked separately.

Watch out

Wrong: “If x<0x < 0, reverse the inequality when multiplying by 1+x1+x.” The multiplier is 1+x1+x, not xx. Right: for −1<x<0-1 < x < 0, 1+x>01+x > 0, so the direction stays the same. Nor may you discard kx2kx^2 by calling it zero: it is non-negative.

This proof completes the lesson's methods: a sum advances by adding a term, a derivative by differentiating, and a power by multiplying. In each case the operation must act on the assumed statement, with its conditions intact.

Quick Recap

  • Separate the changing features of a pattern to make a conjecture; checking cases does not prove it.
  • A finite sum advances by its next summand, with every index updated correctly.
  • Differentiate the assumed higher-derivative formula; the induction index is constant with respect to the differentiation variable.
  • Compare growth factors when an exponential must beat a polynomial, and justify the full comparison on the stated domain.
  • For a parameter inequality, hold the parameter fixed and check the signs of multipliers and remainders.

The millionth derivative of x2exx^2e^x at x=0x = 0 is exactly 999999000000999999000000, because the proved formula gives f(n)(0)=n(n−1)f^{(n)}(0) = n(n-1).