Taylor’s theorem with remainders

At a Glance

Why This Chapter Matters

Taylor’s theorem appears in Section A (compulsory) and is always 10 marks — fully algorithmic and perfectly reproducible. Both question types are mechanical: match Taylor coefficients to determine parameters, or expand a standard function about a point and sum to a numerical answer. Neither type requires any creative work beyond knowing the f(n)(a)/n!f^{(n)}(a)/n! coefficient formula and the standard series for ln⁡x\ln x, sin⁡x\sin x, cos⁡x\cos x. Two clean examples cover the full historical range.

Minimum Theory

Taylor’s theorem. If ff is (n+1)(n+1) times differentiable on an interval containing aa, then for xx near aa:

f(x)=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+⋯+f(n)(a)n!(x−a)n+Rn(x)f(x)=f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\cdots+\frac{f^{(n)}(a)}{n!}(x-a)^n+R_n(x)

The three standard remainder forms are: Lagrange Rn=f(n+1)(c)(n+1)!(x−a)n+1R_n=\dfrac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1} for some cc between aa and xx; Cauchy Rn=f(n+1)(c)n!(x−c)n(x−a)R_n=\dfrac{f^{(n+1)}(c)}{n!}(x-c)^n(x-a); Peano Rn=o((x−a)n)R_n=o\bigl((x-a)^n\bigr) as x→ax\to a.

Standard Maclaurin series (a=0a=0):

sin⁡x=x−x33!+x55!−⋯ ,cos⁡x=1−x22!+x44!−⋯\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots,\qquad\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots

Taylor series for ln⁡x\ln x about a=1a=1. Since f(n)(1)=(−1)n−1(n−1)!f^{(n)}(1)=(-1)^{n-1}(n-1)! for n≥1n\ge 1 and f(1)=0f(1)=0:

ln⁡x=∑n=1∞(−1)n−1n(x−1)n=(x−1)−(x−1)22+(x−1)33−⋯ ,0<x≤2.\ln x=\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n}(x-1)^n=(x-1)-\frac{(x-1)^2}{2}+\frac{(x-1)^3}{3}-\cdots,\quad 0<x\le 2.

Alternating-series truncation error. For a convergent alternating series with decreasing terms, the truncation error after nn terms is bounded in absolute value by the first omitted term.

Question Archetypes

ArchetypeYou are seeing this when…
taylor-coefficient-matchingLimit has a 0/0k0/0^k form and asks for parameters making the limit equal a given value
taylor-expansion-evaluation”Expand f(x)f(x) in powers of (x−a)(x-a) by Taylor’s theorem and hence find f(a+h)f(a+h) to kk decimal places”

taylor-coefficient-matching (1 question(s); 2023)

Recognition Cues

Solution Template

  1. Expand sin⁡x\sin x and cos⁡x\cos x as Maclaurin series to the required order (at least x3x^3).
  2. Substitute into the numerator. Collect powers of xx.
  3. Divide by xkx^k. Identify which coefficients must vanish for the limit to be finite.
  4. Write the linear system. (Zero condition for each negative-power coefficient; value condition for the x0x^0 coefficient.)
  5. Solve and state pp, qq.

Worked Example

2023 Paper 1, 2023-P1-Q1c (10 marks)

Find the values of pp and qq for which lim⁡x→0x(1+pcos⁡x)−qsin⁡xx3=1\displaystyle\lim_{x\to 0}\dfrac{x(1+p\cos x)-q\sin x}{x^3}=1.

Step 1 — Expand. Using cos⁡x=1−x22+O(x4)\cos x=1-\dfrac{x^2}{2}+O(x^4) and sin⁡x=x−x36+O(x5)\sin x=x-\dfrac{x^3}{6}+O(x^5):

x(1+pcos⁡x)=(1+p)x−p2x3+O(x5),x(1+p\cos x)=(1+p)x-\frac{p}{2}x^3+O(x^5),

qsin⁡x=qx−q6x3+O(x5).q\sin x=qx-\frac{q}{6}x^3+O(x^5).

Step 2 — Numerator.

Numerator=(1+p−q)x+(−p2+q6)x3+O(x5).\text{Numerator}=(1+p-q)x+\left(-\frac{p}{2}+\frac{q}{6}\right)x^3+O(x^5).

Step 3 — Divide by x3x^3.

Numx3=1+p−qx2+(−p2+q6)+O(x2).\frac{\text{Num}}{x^3}=\frac{1+p-q}{x^2}+\left(-\frac{p}{2}+\frac{q}{6}\right)+O(x^2).

Step 4 — Conditions. For the limit to be finite, kill the 1/x21/x^2 term:

1+p−q=0⇒q=1+p.(1)1+p-q=0\qquad\Rightarrow\qquad q=1+p.\qquad(1)

For the limit to equal 11:

−p2+q6=1.(2)-\frac{p}{2}+\frac{q}{6}=1.\qquad(2)

Step 5 — Solve. Substitute (1) into (2): −p/2+(1+p)/6=1-p/2+(1+p)/6=1, giving (1−2p)/6=1(1-2p)/6=1, so p=−5/2p=-5/2, q=−3/2q=-3/2.

  p=−52,q=−32.  \boxed{\;p=-\tfrac{5}{2},\quad q=-\tfrac{3}{2}.\;}

Common Traps


taylor-expansion-evaluation (1 question(s); 2024)

Recognition Cues

Solution Template

  1. Compute f(n)(a)f^{(n)}(a) for n=0,1,2,…n=0,1,2,\ldots Find the pattern.
  2. Write the Taylor series f(x)=∑n=0∞f(n)(a)n!(x−a)nf(x)=\sum_{n=0}^{\infty}\dfrac{f^{(n)}(a)}{n!}(x-a)^n.
  3. Set x=a+hx=a+h. Write out the first few terms numerically.
  4. Sum until the next term is below the accuracy threshold (alternating-series bound: error ≤∣\le|next term∣|).
  5. Round to the required number of decimal places.

Worked Example

2024 Paper 1, 2024-P1-Q1d (10 marks)

Expand ln⁡x\ln x in powers of (x−1)(x-1) by Taylor’s theorem and hence find ln⁡(1.1)\ln(1.1) correct to four decimal places.

Step 1 — Derivatives at a=1a=1. f(x)=ln⁡xf(x)=\ln x; f(n)(x)=(−1)n−1(n−1)!/xnf^{(n)}(x)=(-1)^{n-1}(n-1)!/x^n for n≥1n\ge 1, so f(n)(1)=(−1)n−1(n−1)!f^{(n)}(1)=(-1)^{n-1}(n-1)! and f(1)=0f(1)=0.

Step 2 — Taylor series.

ln⁡x=∑n=1∞(−1)n−1(n−1)!n!(x−1)n=∑n=1∞(−1)n−1n(x−1)n\ln x=\sum_{n=1}^{\infty}\frac{(-1)^{n-1}(n-1)!}{n!}(x-1)^n=\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n}(x-1)^n

=(x−1)−(x−1)22+(x−1)33−(x−1)44+⋯=(x-1)-\frac{(x-1)^2}{2}+\frac{(x-1)^3}{3}-\frac{(x-1)^4}{4}+\cdots

valid for 0<x≤20<x\le 2.

Step 3 — Evaluate at x=1.1x=1.1 (so (x−1)=0.1(x-1)=0.1).

nnTermValue
10.10.10.10000000.1000000
2−0.01/2-0.01/2−0.0050000-0.0050000
30.001/30.001/30.00033330.0003333
4−0.0001/4-0.0001/4−0.0000250-0.0000250
50.00001/50.00001/50.00000200.0000020
6−0.000001/6-0.000001/6≈−0.00000017\approx -0.00000017

Step 4 — Truncation. The series is alternating with decreasing terms; the 6th term ≈1.7×10−7<5×10−5\approx 1.7\times10^{-7}<5\times10^{-5} (the 4th-decimal threshold). Sum of terms 1–5:

0.1000000−0.0050000+0.0003333−0.0000250+0.0000020=0.0953103.0.1000000-0.0050000+0.0003333-0.0000250+0.0000020=0.0953103.

  ln⁡(1.1)≈0.0953.  \boxed{\;\ln(1.1)\approx 0.0953.\;}

Common Traps


Marks-Aware Writing

Both questions are 10 marks. For coefficient matching (2023): Step 3 (setting up the 1/x21/x^2 condition) and Step 4 (the linear system) carry most marks. An answer that correctly identifies both conditions but makes an arithmetic error in solving earns 7 marks. For expansion-evaluation (2024): writing the general Taylor formula with the f(n)(1)=(−1)n−1(n−1)!f^{(n)}(1)=(-1)^{n-1}(n-1)! pattern earns 4 marks; the numeric summation earns 4 marks; citing the alternating-series bound earns 2 marks. An answer that writes out the series correctly but makes a summation error earns 7 marks.

Practice Set

(No additional practice items in the corpus beyond the two worked examples.)

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.