Maclaurin and Taylor series

FP2 Topic 6, spec point by spec point (Maclaurin and Taylor series). Each spec point has the method, worked examples written the way the mark scheme wants them, how the marks go and the mistakes that cost the most marks.

Spec6.1Third and higher derivatives

Find third and higher derivatives, including by repeatedly differentiating a differential equation.

The idea

Keep differentiating. When \(y\) is defined by a differential equation, differentiate the whole equation with respect to \(x\), using:

These derivatives are the ingredients for series solutions (6.4).

repeated implicit differentiation

\(\dfrac{dy}{dx} = y^2 - x\). Show \(\dfrac{d^4y}{dx^4} = 2y\dfrac{d^3y}{dx^3} + 6\dfrac{dy}{dx}\dfrac{d^2y}{dx^2}\).

\(\dfrac{d^2y}{dx^2} = 2y\dfrac{dy}{dx} - 1\).

\(\dfrac{d^3y}{dx^3} = 2y\dfrac{d^2y}{dx^2} + 2\left(\dfrac{dy}{dx}\right)^2\).

\(\dfrac{d^4y}{dx^4} = 2y\dfrac{d^3y}{dx^3} + 2\dfrac{dy}{dx}\dfrac{d^2y}{dx^2} + 4\dfrac{dy}{dx}\dfrac{d^2y}{dx^2} = 2y\dfrac{d^3y}{dx^3} + 6\dfrac{dy}{dx}\dfrac{d^2y}{dx^2}\).

  • B1 for the second derivative, M1 A1 for the product rule giving the third, A1 for the fourth with the correct constants; slips in the product rule or a missing term cost marks (WFM02 Jan 2023 Q4a).
  • With a coefficient like \((2 - x^2)\): M1 for the product rule on that term, dM1 for all terms, A1 correct, ddM1 for rearranging, A1* (WFM02A Jan 2026 Q5a).

Often asked as: the first part of a series-solution question.

Differentiating \(y^2\) as \(2y\) (missing \(\frac{dy}{dx}\)).

Forgetting that \(\left(\frac{dy}{dx}\right)^2\) needs the chain rule.

Spec6.2Maclaurin series

Derive and use Maclaurin series, including those of \(e^x\), \(\sin x\), \(\cos x\) and \(\ln(1 + x)\).

The idea

Build a polynomial that matches \(f\) and all its derivatives at \(x = 0\):

\[f(x) = f(0) + f'(0)x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \cdots\]

Each term is chosen so that differentiating \(r\) times and putting \(x = 0\) gives \(f^{(r)}(0)\): the \(\frac{1}{r!}\) cancels the \(r!\) from differentiating \(x^r\).

Standard series (in the formula booklet)

\[e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots \qquad \ln(1 + x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots \;\; (-1 < x \leqslant 1)\]

\[\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\]

Compound functions: don't differentiate if you don't need to

derive a series

Derive the Maclaurin series of \(\ln(1 + x)\) up to \(x^4\).

\(f = \ln(1 + x)\), \(f' = (1 + x)^{-1}\), \(f'' = -(1 + x)^{-2}\), \(f''' = 2(1 + x)^{-3}\), \(f'''' = -6(1 + x)^{-4}\).

At 0: \(0, 1, -1, 2, -6\). So \(\ln(1 + x) = x - \frac{x^2}{2} + \frac{2x^3}{6} - \frac{6x^4}{24} = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4}\).

multiply series

Find the series for \(e^x\cos x\) up to \(x^3\).

\(\left(1 + x + \frac{x^2}{2} + \frac{x^3}{6}\right)\left(1 - \frac{x^2}{2}\right) = 1 + x + \frac{x^2}{2} - \frac{x^2}{2} + \frac{x^3}{6} - \frac{x^3}{2} = 1 + x - \frac{x^3}{3}\).

  • M1 for values of \(y\) and its derivatives at 0, M1 for Maclaurin's theorem with the right factorials, A1 for the simplified series (WFM02 May 2024 Q7).
  • "Hence write down the coefficient of \(x^2\)": B1ft for \(\frac{f''(0)}{2}\) (WFM02 Jun 2026 Q2).

Often asked as: derive a series by differentiating; use standard series to expand a compound function; find the first few non-zero terms.

Forgetting the factorials.

Stopping before the required number of non-zero terms.

Spec6.3Taylor series

Derive and use Taylor series, e.g. \(\sin x\) in powers of \((x - \pi)\).

The idea

The same idea as Maclaurin, but centred at \(x = a\) instead of 0:

\[f(x) = f(a) + f'(a)(x - a) + \frac{f''(a)}{2!}(x - a)^2 + \frac{f'''(a)}{3!}(x - a)^3 + \cdots\]

It gives good approximations near \(x = a\). Use it to estimate values like \(\sec\frac{7\pi}{24}\) by choosing \(a\) close by where values are known exactly.

sin x about π

Find the Taylor series of \(\sin x\) in powers of \((x - \pi)\) up to \((x - \pi)^3\), and estimate \(\sin 3\).

\(f(\pi) = 0\), \(f'(\pi) = \cos\pi = -1\), \(f''(\pi) = -\sin\pi = 0\), \(f'''(\pi) = -\cos\pi = 1\).

\(\sin x \approx -(x - \pi) + \frac{(x - \pi)^3}{6}\).

\(x = 3\): \(x - \pi = -0.14159\), so \(\sin 3 \approx 0.14159 - 0.00047 = 0.14112\).

  • M1 for Taylor's formula with their values and correct factorials, A1 for the series written as "\(y = \ldots\)" ("\(f(x) = \ldots\)" can lose the mark when \(y\) is asked for) (WFM02 Jan 2025 Q3).
  • Approximations: M1 for substituting the right value of \(x - a\), A1 for the value to the accuracy asked (WFM02 Jun 2023 Q6).

Often asked as: a series about \(x = 2\) or \(x = \frac{\pi}{3}\); a series solution of a differential equation about a point other than 0 (6.4).

Expanding \((x - a)^2\) out: leave it in powers of \((x - a)\).

Spec6.4Series solutions of differential equations

Use the Taylor series method to find a series solution of a differential equation.

Method

  1. Use the given conditions for \(y\) and \(\frac{dy}{dx}\) at the point.
  2. Put those into the differential equation to get \(\frac{d^2y}{dx^2}\) there.
  3. Differentiate the equation (6.1) and substitute again for \(\frac{d^3y}{dx^3}\), and so on.
  4. Put the values into the Maclaurin or Taylor formula.

a series solution

\(\dfrac{d^2y}{dx^2} + x\dfrac{dy}{dx} + y = 0\) with \(y = 1\), \(\dfrac{dy}{dx} = 0\) at \(x = 0\). Find \(y\) as far as the \(x^4\) term.

\(y''(0) = -0 - 1 = -1\).

Differentiate: \(y''' + xy'' + 2y' = 0\), so \(y'''(0) = 0\).

Again: \(y'''' + xy''' + 3y'' = 0\), so \(y''''(0) = 3\).

\(y = 1 - \frac{x^2}{2} + \frac{3x^4}{24} = 1 - \frac{x^2}{2} + \frac{x^4}{8}\).

  • B1 for \(y''\) at the point, M1 for finding \(y'''\) there using the earlier part, M1 for the series with \(2!\) and \(3!\), A1 for the simplified series (WFM02A Jan 2026 Q5b, WFM02 Jun 2021 Q4b).
  • About \(x = -1\): write the series in powers of \((x + 1)\) (WFM02 Jan 2023 Q4b).

Often asked as: always paired with 6.1: show a higher-derivative result, then use it.

Using the derivative values at the wrong point.

Arithmetic slips with fractions in the derivative values: check each one.