impera Open Impera

A levels Further Mathematics · Core pure

Maclaurin series

1Approximating a function with a polynomial

A Maclaurin series writes a function as an infinite polynomial, built from 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 + \frac{f^{(r)}(0)}{r!}x^r + \cdots$$

The idea: choose a polynomial whose value, gradient, second derivative and so on all match the function at $x = 0$.

The function and all its derivatives must exist at $x = 0$. So $\ln x$ has no Maclaurin series, but $\ln(1 + x)$ does.

Check yourself

Why does ln x have no Maclaurin series?

  • ln x is always negative

  • ln x is not defined at x = 0

  • ln x has no derivatives

  • ln x is a polynomial already

Show the answer

ln x is not defined at x = 0

The series uses f(0) and its derivatives at 0.

2Finding a series

Worked example

The series for eˣ

  1. $f(x) = e^x$, and every derivative is $e^x$, so $f^{(r)}(0) = 1$.
  2. $e^x = 1 + x + \dfrac{x^2}{2!} + \dfrac{x^3}{3!} + \cdots$, valid for all $x$.
Worked example

The series for sin x

  1. $f(x) = \sin x$: derivatives cycle $\cos x$, $-\sin x$, $-\cos x$, $\sin x$.
  2. At 0 the values cycle $0, 1, 0, -1$.
  3. $\sin x = x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \cdots$, valid for all $x$.

The series for $\sin x$ has only odd powers (it is an odd function); $\cos x$ has only even powers.

Check yourself

Which powers of x appear in the series for cos x?

  • Only even powers

  • Only odd powers

  • All powers

  • No powers

Show the answer

Only even powers

cos x is an even function.

3The standard series

These are given in the formula book, with their ranges of validity:

  • $e^x = 1 + x + \dfrac{x^2}{2!} + \dfrac{x^3}{3!} + \cdots$ for all $x$
  • $\ln(1 + x) = x - \dfrac{x^2}{2} + \dfrac{x^3}{3} - \cdots$ for $-1 < x \leq 1$
  • $\sin x = x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \cdots$ for all $x$
  • $\cos x = 1 - \dfrac{x^2}{2!} + \dfrac{x^4}{4!} - \cdots$ for all $x$
  • $(1 + x)^n = 1 + nx + \dfrac{n(n - 1)}{2!}x^2 + \cdots$ for $|x| < 1$
Worked example

Approximating a value

  1. Estimate $\ln 1.1$ using three terms.
  2. $\ln(1 + 0.1) \approx 0.1 - 0.005 + 0.000\,333 = 0.095\,33$.
  3. The true value is $0.095\,31$: very close, because $x = 0.1$ is small.
Check yourself

For which x is the series for ln(1 + x) valid?

  • −1 < x ≤ 1

  • All x

  • |x| < 2

  • x > 0

Show the answer

−1 < x ≤ 1

Outside this range the series diverges.

4Substituting into series

Replace $x$ in a standard series with another expression, and adjust the range of validity.

Worked example

e to the 2x

  1. $e^{2x} = 1 + 2x + \dfrac{(2x)^2}{2} + \dfrac{(2x)^3}{6} + \cdots = 1 + 2x + 2x^2 + \dfrac{4}{3}x^3 + \cdots$.
Worked example

A log series

  1. $\ln(1 - 3x) = -3x - \dfrac{9x^2}{2} - 9x^3 - \cdots$.
  2. Valid for $-1 < -3x \leq 1$, so $-\frac{1}{3} \leq x < \frac{1}{3}$.
Check yourself

What is the coefficient of x² in the series for e^(3x)?

  • 3

  • 9

  • 3/2

  • 9/2

Show the answer

9/2

(3x)²/2! = 9x²/2.

5Products and composite series

Multiply series together, keeping only the terms you need.

Worked example

A product

  1. Find the series for $e^x\sin x$ up to $x^3$.
  2. $\left(1 + x + \frac{x^2}{2} + \cdots\right)\left(x - \frac{x^3}{6} + \cdots\right)$.
  3. $x^1$: $x$. $x^2$: $x^2$. $x^3$: $\frac{x^3}{2} - \frac{x^3}{6} = \frac{x^3}{3}$.
  4. $e^x\sin x = x + x^2 + \dfrac{x^3}{3} + \cdots$.
Worked example

A composite

  1. Find $\ln(\cos x)$ up to $x^4$. Write $\cos x = 1 + u$ with $u = -\frac{x^2}{2} + \frac{x^4}{24}$.
  2. $\ln(1 + u) \approx u - \frac{u^2}{2} = -\frac{x^2}{2} + \frac{x^4}{24} - \frac{x^4}{8}$.
  3. $\ln(\cos x) \approx -\dfrac{x^2}{2} - \dfrac{x^4}{12}$.
Check yourself

When multiplying two series up to x³, which terms can you ignore?

  • Products giving powers higher than x³

  • All the x² terms in both series

  • All the terms with negative signs

  • The constant terms in each series

Show the answer

Products giving powers higher than x³

They do not affect the answer to that order.

6Series and limits

Series can evaluate limits that give $\frac{0}{0}$.

Worked example

A classic limit

  1. Find $\displaystyle\lim_{x \to 0} \frac{1 - \cos x}{x^2}$.
  2. $1 - \cos x = \dfrac{x^2}{2} - \dfrac{x^4}{24} + \cdots$.
  3. $\dfrac{1 - \cos x}{x^2} = \dfrac{1}{2} - \dfrac{x^2}{24} + \cdots \to \dfrac{1}{2}$.
Worked example

Another limit

  1. $\displaystyle\lim_{x \to 0} \frac{e^x - 1 - x}{x^2} = \lim\left(\frac{1}{2} + \frac{x}{6} + \cdots\right) = \frac{1}{2}$.

Series also give small angle approximations: $\sin x \approx x$ and $\cos x \approx 1 - \frac{x^2}{2}$ are the first terms of the series.

Check yourself

What is the limit of sin x / x as x → 0?

  • 1/2

  • 0

  • ∞

  • 1

Show the answer

1

sin x/x = 1 − x²/6 + … → 1.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera