Maclaurin Series: Building a Polynomial from Derivatives at Zero | Cambridge A Level Maths notes

Free preview: Maclaurin Series: Building a Polynomial from Derivatives at Zero

Why a Polynomial Can Copy a Function

9231 Paper 2: Further Pure Mathematics 2 (A Level)

Watch: common mistake (1-minute fix)

Watch: 1-minute explainer

Let's start with a question. Your calculator gives sin0.3 or e0.1 instantly. How? It cannot draw a graph or measure a triangle. It can only add and multiply. So somehow sin and e must be turned into adding and multiplying. The trick is a Maclaurin series.

The idea

  • Polynomials like 1+2x−x2 are easy: only adding and multiplying.
  • A power series is an "infinite polynomial": a0+a1x+a2x2+a3x3+….
  • The numbers a0,a1,a2,… are its coefficients.
  • A Maclaurin series is the power series that matches a function f(x) at x=0: same value, same gradient, same second derivative, and so on forever.
  • The more derivatives match, the longer the polynomial hugs the curve near 0.

Graph of y = sin x with its Maclaurin polynomials y = x, y = x minus x cubed over 6, and y = x minus x cubed over 6 plus x to the fifth over 120, each fitting further from the origin

What the picture shows

  • The black curve is y=sinx.
  • The dashed blue line y=x is the first term. It matches sin x only very close to 0.
  • Adding −x36 (pink) bends the line to follow the first hump.
  • Adding x5120 (green) stays close to about x = 2 either side.
  • Each new term widens the stretch where the polynomial is a good copy. The full infinite series equals sin x for every x.

Finding the coefficients

Suppose f(x)=a0+a1x+a2x2+a3x3+…. We want each ar. The plan: differentiate, then put x = 0 so that almost everything vanishes.

  1. f(0)=a0, because every other term has an x in it.
  2. Differentiate: f′(x)=a1+2a2x+3a3x2+…, so f′(0)=a1.
  3. Again: f″(x)=2a2+3×2a3x+…, so f″(0)=2a2 and a2=f″(0)2.
  4. Again: f'''(x) = 3 ร— 2 ร— 1 a_3 + dots, so a_3 = f'''(0) / 3!.
  5. Notice the pattern. Differentiating xr r times gives r!, so ar=f(r)(0)r!.

boxedf(x) = f(0) + f'(0) x + f''(0) / 2!x^2 + f'''(0) / 3!x^3 + dots + fracf^(r)(0)r!x^r + dots

๐Ÿ’ก In plain words

  • Find the value of f and its derivatives at x = 0.
  • Divide the r-th one by r! and use it as the coefficient of xr.
  • f(r)(0) means "differentiate r times, then put x = 0". Remember 0!=1 and 1!=1.

Before trusting the formula on sin or e, let's test it on something we can check. If f is already a polynomial, its Maclaurin series should give the same polynomial back.

๐Ÿ‘€ Watch me do it: use the formula on f(x)=(1+x)3

What I writeWhy I do it
f = (1 + x)^3, f' = 3(1 + x)^2, f'' = 6(1 + x), f''' = 6, f^(4) = 0Differentiate until it dies. From the fourth derivative on, everything is 0.
f(0) = 1, f'(0) = 3, f''(0) = 6, f'''(0) = 6Put x = 0, so every bracket becomes 1.
Coefficients 1, 3, 62!=3, 63!=1Divide each by its factorial.
1+3x+3x2+x3Exactly the binomial expansion of (1+x)3. The formula passes the test, and the series stops because the derivatives become 0.

๐Ÿ‘€ Watch me do it: find the Maclaurin series of ex

What I writeWhy I do it
f(x)=ex, f′(x)=ex, f″(x)=ex,…Every derivative of ex is ex.
f(r)(0)=e0=1 for every rPut x = 0.
Coefficient of xr is 1r!Divide by the factorial.
ex=1+x+x22!+x33!+…+xrr!+…Assemble. The general term is xrr!.

โœ๏ธ YOUR TURN 1

Try this first:

Use Maclaurin's theorem to find the series for 11−x up to the term in x3, and suggest the general term.

Answer:

  • f=(1−x)−1, f′=(1−x)−2, f″=2(1−x)−3, f''' = 6(1 - x)^-4. (The chain rule gives a โˆ’1 each time, which cancels the minus from the power.)
  • At 0: 1, 1, 2, 6.
  • Coefficients: 1, 1, 22!=1, 63!=1.
  • 11−x=1+x+x2+x3+…, general term xr. (It is the geometric series you already know.)

The Method and the General Term

โ„น๏ธ General term: not needed for 9231

Cambridge asks only for the first few terms, not the general term. Read the general-term steps below as a way to check your pattern, not as something you must write.

Now let's turn the idea into a recipe you can use on any function.

The recipe

  1. Differentiate f(x) several times. Look for a pattern. Why several? The pattern is what gives you the general term.
  2. Substitute x = 0 into f and each derivative.
  3. Divide each value by the right factorial and put it in the formula.
  4. Write the general term (the xr term) if the question asks for it, using the pattern from step 1. Check it against a term you already found.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Differentiation (2.3)

  1. Differentiating and Integrating sinh, cosh and tanh
  2. Differentiating arcsin, arccos and arctan, and Integrals That Give Inverse Trig Functions
  3. Second Derivatives of Parametric and Implicit Functions
  4. Maclaurin Series: Building a Polynomial from Derivatives at Zero
  5. The Standard Maclaurin Series, Their Ranges of Validity and Composite Expansions

Video

What's inside for this topic

5 teacher notes, 105 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Second Derivatives of Parametric and Implicit Functions Next note: The Standard Maclaurin Series, Their Ranges of Validity and Composite Expansions

Maclaurin Series: Building a Polynomial from Derivatives at Zero on other exam boards

All Cambridge A Level Maths topics ยท A Level Maths