A polynomial and its derivatives at the origin
Consider a polynomial
Differentiate and evaluate at x = 0:
Hence, for a polynomial,
FOUR-POSTER PROJECT · 1/4
What Do Derivatives Tell Us?
Can the derivatives of a function at x = 0 reconstruct the function nearby?
Consider a polynomial
Differentiate and evaluate at x = 0:
Hence, for a polynomial,
We can build a sequence of polynomials using the first few derivatives at 0. These are called Maclaurin polynomials.
Definition (Maclaurin polynomial)
The polynomial of degree n matching the first n derivatives of a function f at 0 is
For a polynomial P(x), the sequence Pn(x) reproduces the polynomial exactly when n is at least the degree.
Here Pn(x) denotes the Maclaurin polynomial of degree n for f(x) = ex, using the first n derivatives at 0.
Use derivatives at 0 to recover the coefficients of
A function f has the following derivative values at 0:
(a) Write down the cubic polynomial whose derivatives at 0 take these values.
(b) Check your answer by differentiating.
• How do the factorials arise naturally from differentiation?
• Why do the polynomials Pn(x) match the function and its derivatives at 0?
• How does the graph show the effect of including more terms?
• For a general function (not necessarily a polynomial), might the same idea reconstruct the function nearby?
If derivatives determine the coefficients of a polynomial, could the same idea reconstruct functions such as eˣ, sin x or cos x?
Is there one formula that works for every suitable function? →FOUR-POSTER PROJECT · 2/4
Turning Derivatives into a Series
Can one formula convert all derivatives at x = 0 into an infinite polynomial?
Recap from Poster 1
For a polynomial, the coefficients are determined by the derivatives at x = 0:
Can the same idea be applied to a general differentiable function? If we use all the derivatives at 0, we obtain an infinite polynomial.
If a function f has derivatives of all orders at x = 0 and its Maclaurin series converges to f(x) near x = 0, then
or, written out,
(a) Exponential function: ex
All derivatives of ex are ex, so f(n)(0) = 1 for all n.
(b) Sine function: sin x
The derivatives cycle: sin x, cos x, −sin x, −cos x, …
So f(n)(0) = 0 for even n and f(2k+1)(0) = (−1)k.
(c) Cosine function: cos x
The derivatives cycle: cos x, −sin x, −cos x, sin x, …
So f(n)(0) = 0 for odd n and f(2k)(0) = (−1)k.
(d) Natural logarithm: ln(1 + x)
For |x| < 1, the derivatives give f(n)(0) = (−1)n−1(n − 1)!.
The Maclaurin series can be viewed as an infinite sequence of polynomial approximations Pn(x) near x = 0.
As n increases, Pn(x) gives a better approximation to f(x) near x = 0.
Find the first four non-zero terms of the Maclaurin series for e−2x.
Method 1: differentiate
Hence f(n)(0) = (−2)n and
Method 2: use eu with u = −2x
Substitute u = −2x:
Find the first four non-zero terms of the Maclaurin series for:
We now know several standard Maclaurin series. But must we differentiate from scratch every time the function changes slightly? Can known series be transformed, combined and reused?
Can we build new Maclaurin series efficiently from the ones we already know? →INTERACTIVE DISCOVERY
Choose a function, change the truncation degree and compare the values at one point.
FOUR-POSTER PROJECT · 3/4
Transform, Combine and Reuse
How can we use known Maclaurin series to find new series efficiently?
From Poster 2 we have the following standard Maclaurin series:
For ln(1 + x): |x| < 1.
(a) Substitute x → ax
Replace x by ax in a known series.
Example: e2x
(b) Replace x by a function
We can also substitute functions such as x2, −x or 2x.
Example: ex²
Series can be added or subtracted term by term.
(a) ex + e−x
(b) ex − e−x
To find the product, multiply and keep terms up to the required order.
Example: ex cos x up to x4
(a) The geometric series
For |x| < 1,
Use this to find series for related functions, e.g.
(b) Using ln(1 + x)
|x| < 1. Differentiate to obtain
or integrate to find series for related functions.
(c) Square roots and other powers
From the binomial series (introduced here conceptually)
For example,
−1 < x < 1.
We often write a truncated series using order notation, for example
which means that the omitted terms begin at order x3.
Using known Maclaurin series, expand each expression up to and including the specified power:
(a) ex cos x (up to and including x4)
(c) e2x sin x (up to and including x4)
A truncated series gives an approximation. But how many terms should we keep—and when can we trust the result? When is a Maclaurin approximation good enough?
How accurately can a polynomial imitate a function nearby? →FOUR-POSTER PROJECT · 4/4
When is a Maclaurin approximation good enough?
How many terms should we keep and when can we trust the result?
A truncated Maclaurin series gives a polynomial approximation to f(x):
Approximation error:
Near x = 0, P1, P3 and P5 match more and more derivatives of sin x, so the fit improves locally.
Use the third-degree Maclaurin polynomial for ex:
For x = 0.1:
Calculator: 1.1051702
Near x = 0:
Therefore
• Closer to x = 0 → usually better accuracy.
• More terms → usually smaller local error.
• Farther from 0 → more terms may be needed.
• A series is not automatically valid for every x.
• Always check the interval/domain of validity.
Approximate sin(0.4) using:
Compare with sin(0.4) ≈ 0.3894183423.
How does the number of terms needed depend on the value of x and the required accuracy?
Culminating investigation: HOW MANY TERMS ARE ENOUGH? →Choose your edition. Practise first, then explore the solutions.
Notes and practice questions.
Without worksheet solutions.
Questions with worked solutions.
Open to everyone once released.
The Teacher Edition is available now.
THE ORIGINALS
YOUR PERSPECTIVE
A comment, a suggestion, or something we could improve? We’d like to hear it.
Your feedback goes privately to the Mathematics Discovery Hub team. It won’t appear on the site.
ISSUE 06 / Maclaurin Series