5. Calculus

Maclaurin Series

Maclaurin Series

Welcome, students, to one of the most powerful ideas in calculus ✨ A Maclaurin series lets us write some complicated functions as an infinite polynomial built around $x=0$. This is useful because polynomials are often easier to calculate, approximate, and analyze than functions like $e^x$, $\sin x$, or $\ln(1+x)$. In IB Mathematics: Analysis and Approaches HL, Maclaurin series connect differentiation, limits, approximation, and proof-style reasoning in one topic.

By the end of this lesson, you should be able to:

  • Explain what a Maclaurin series is and why it matters.
  • Recognize common Maclaurin series such as those for $e^x$, $\sin x$, $\cos x$, and $\ln(1+x)$.
  • Use Maclaurin series to approximate values and simplify expressions.
  • Understand how Maclaurin series fit into the wider study of calculus.

Think of it like this: if a function is a complicated machine, a Maclaurin series gives a polynomial “model” that behaves like the function near $x=0$. Engineers, physicists, and computer scientists use this kind of approximation all the time ⚙️

What a Maclaurin Series Means

A Maclaurin series is a Taylor series centered at $x=0$. In other words, it is an infinite sum designed to match a function and its derivatives at the origin. The general Maclaurin series for a function $f(x)$ is

$$

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

$$

More compactly,

$$

$f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n$

$$

where $f^{(n)}(0)$ means the $n$th derivative of $f$ evaluated at $x=0$.

The idea is simple but deep: each coefficient is chosen so that the polynomial has the same value, slope, curvature, and so on as the original function at $x=0$. The more terms you include, the closer the approximation usually becomes near $x=0$.

For example, the Maclaurin polynomial of degree $3$ is

$$

$f(x)\approx f(0)+f'(0)x+\frac{f''(0)}{2!}x^2+\frac{f^{(3)}(0)}{3!}x^3$

$$

This is not yet the full infinite series, but it is often enough for approximation problems 📘

Building the Series from Derivatives

To create a Maclaurin series, you first find derivatives at $x=0$. Let’s do this with $f(x)=e^x$.

All derivatives of $e^x$ are $e^x$, so at $x=0$ they are all equal to $1$:

$$

$f(0)=1,\quad f'(0)=1,\quad f''(0)=1,\quad f^{(3)}(0)=1,\dots$

$$

Substituting into the Maclaurin formula gives

$$

$e^x=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\frac{x^4}{4!}+\cdots$

$$

This series is valid for every real $x$.

Now consider $f(x)=\sin x$. The derivatives repeat in a cycle:

$$

$\sin$ x,\quad $\cos$ x,\quad -$\sin$ x,\quad -$\cos$ x,\quad $\sin$ x,$\dots$

$$

At $x=0$, the values are

$$

$\sin 0$=0,\quad $\cos 0$=1,\quad -$\sin 0$=0,\quad -$\cos 0$=-1

$$

So the Maclaurin series is

$$

$\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}+\cdots$

$$

Similarly, for $f(x)=\cos x$:

$$

$\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\frac{x^6}{6!}+\cdots$

$$

These formulas are extremely important in IB HL because they show how derivatives and patterns can create useful infinite expansions.

Common Maclaurin Series You Should Know

Some standard series are used so often that it is helpful to memorize them and understand where they come from:

$$

$e^x=\sum_{n=0}^{\infty}\frac{x^n}{n!}$

$$

$$

$\sin x=\sum_{n=0}^{\infty}(-1)^n\frac{x^{2n+1}}{(2n+1)!}$

$$

$$

$\cos x=\sum_{n=0}^{\infty}(-1)^n\frac{x^{2n}}{(2n)!}$

$$

$$

$\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots, \quad -1<x\le 1$

$$

$$

$\frac{1}{1-x}=1+x+x^2+x^3+\cdots, \quad |x|<1$

$$

The last formula is called a geometric series. It is especially useful because many other series can be created from it by differentiation, integration, or algebraic manipulation.

For example, if you know

$$

$\frac{1}{1-x}=\sum_{n=0}^{\infty}x^n$

$$

then differentiating both sides gives a series for $\frac{1}{(1-x)^2}$, and integrating can help produce series for logarithms.

This is a great example of how Maclaurin series connect to the wider calculus toolkit 🔗

Using Maclaurin Series for Approximation

One major purpose of Maclaurin series is approximation. In many exam questions, you may be asked to estimate a value by using the first few terms of a series.

Suppose you want to approximate $e^{0.2}$. Using the first four terms,

$$

$e^{0.2}\approx 1+0.2+\frac{(0.2)^2}{2!}+\frac{(0.2)^3}{3!}$

$$

Calculate each term:

$$

$1+0.2+0.02+0.001333\ldots=1.221333\ldots$

$$

So

$$

$e^{0.2}\approx 1.2213$

$$

This works well because $0.2$ is close to $0$. Maclaurin series are usually most accurate near the center, which here is $x=0$.

Another example is approximating $\sin(0.1)$:

$$

$\sin(0.1)\approx 0.1-\frac{(0.1)^3}{3!}$

$$

Since $(0.1)^3=0.001$,

$$

$\sin(0.1)\approx 0.1-\frac{0.001}{6}=0.0998333\ldots$

$$

This is very close to the calculator value.

In IB-style reasoning, you should also think about error. If the omitted terms become tiny, the approximation is usually better. For alternating series like $\sin x$ or $\cos x$, the next term often gives a good idea of the possible error for small $|x|$.

Algebra with Series and Function Transformations

Maclaurin series are not just for direct approximation. You can also use them to build new series from known ones.

For example, if

$$

$e^x=1+x+\frac{x^2}{2!}+\cdots$

$$

then replacing $x$ by $2x$ gives

$$

$e^{2x}=1+2x+\frac{(2x)^2}{2!}+\frac{(2x)^3}{3!}+\cdots$

$$

which simplifies to

$$

$e^{2x}=1+2x+2x^2+\frac{4}{3}x^3+\cdots$

$$

This substitution idea is common in exam questions.

You can also combine series. For example, to find a series for $e^x\sin x$, multiply the known expansions for $e^x$ and $\sin x$. This is useful, but you must be careful to keep enough terms and only combine terms up to the required degree.

If a question asks for a series up to $x^3$, do not include unnecessary higher powers. Clear organization matters a lot in IB mark schemes 🧠

Link to Differentiation, Integration, and Convergence

Maclaurin series are deeply connected to differentiation because the coefficients come from derivatives at $x=0$. They are also connected to integration, since integrating a power series term-by-term can produce new series.

For instance, starting from

$$

$\frac{1}{1+x}=1-x+x^2-x^3+\cdots, \quad |x|<1$

$$

integrating both sides from $0$ to $x$ gives

$$

$\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots$

$$

This shows how calculus techniques can generate formulas rather than just evaluate them.

Another important idea is convergence. A series does not always work for every value of $x$. For example, the geometric series for $\frac{1}{1-x}$ only converges when $|x|<1$.

That means the series is valid only inside that interval, even though the original function may exist elsewhere. In IB HL, you should always check the domain or interval of validity when it is relevant.

Why Maclaurin Series Matter in Calculus

Maclaurin series bring together several major calculus ideas:

  • limits, because series often describe behavior near a point;
  • differentiation, because derivatives create the coefficients;
  • integration, because series can be integrated term by term;
  • approximation, because complicated functions can be replaced by simpler polynomials;
  • modeling, because real systems often need fast computations.

In real life, calculators and computers do not usually evaluate $e^x$ or $\sin x$ directly from a magic formula. Instead, they use efficient numerical methods that are closely related to series expansions. This is one reason Maclaurin series are so important in mathematics and technology 💻

Conclusion

Maclaurin series are infinite polynomials centered at $x=0$ that represent functions using derivatives. They are especially useful for approximating values, simplifying expressions, and understanding how calculus tools work together. In IB Mathematics: Analysis and Approaches HL, you should know the standard series, be able to build new ones from them, and understand when they are valid. Most importantly, students, Maclaurin series show that even very complicated functions can be studied using the familiar language of polynomials and derivatives.

Study Notes

  • A Maclaurin series is a Taylor series centered at $x=0$.
  • The general form is $f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n$.
  • Common series to know are $e^x$, $\sin x$, $\cos x$, $\ln(1+x)$, and $\frac{1}{1-x}$.
  • Maclaurin series are useful for approximation near $x=0$.
  • The first omitted term often helps estimate error for small $|x|$.
  • Series can be transformed by substitution, differentiation, and integration.
  • Always check the interval of convergence or validity when needed.
  • Maclaurin series connect differentiation, integration, limits, and modeling in calculus.

Practice Quiz

5 questions to test your understanding