Maclaurin Series Explained: Formula, Examples & Common Series

A Maclaurin series is a Taylor series centered at zero — the most useful special case, where a function is written as a clean sum of powers of $x$ built from its derivatives at the origin.

maclaurin series approximating a function with powers of x near zero
A Maclaurin series approximates a function near $x=0$ using powers of $x$.

What is a Maclaurin series?

A Maclaurin series expands a function as an infinite sum of terms $c_0 + c_1 x + c_2 x^2 + c_3 x^3 + \cdots$, where each coefficient comes from a derivative of the function evaluated at $x=0$. Because the center is zero, the awkward $(x-a)$ factors of a general Taylor series collapse to simple powers of $x$ — which is exactly why Maclaurin series are the version you meet first and use most.

The relationship. Every Maclaurin series is a Taylor series — just with the center fixed at $a=0$. If you understand one, you understand both. For the general centered-anywhere version, see our Taylor series guide.

The Maclaurin series formula

Setting $a=0$ in the Taylor formula gives the Maclaurin series:

$$f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}\,x^n = f(0) + f'(0)\,x + \frac{f”(0)}{2!}x^2 + \frac{f”'(0)}{3!}x^3 + \cdots$$

Each coefficient is one derivative of $f$ at zero, divided by a factorial. That single simplification — evaluating everything at $0$ — is what makes the standard series so tidy.

Why center at zero?

  • Cleaner algebra: powers of $x$ instead of $(x-a)^n$.
  • Easy derivatives: for many functions, $f^{(n)}(0)$ follows a simple repeating pattern.
  • Best near the origin: the approximation is sharpest around $x=0$, which is where many physics and ML quantities live (small angles, small weight updates).

How to find a Maclaurin series, step by step

  1. Differentiate the function several times.
  2. Evaluate each derivative at $x=0$ to get $f(0), f'(0), f”(0), \dots$
  3. Divide by $n!$ to form the coefficient of $x^n$.
  4. Write the sum $f(0)+f'(0)x+\frac{f”(0)}{2!}x^2+\cdots$ to your chosen order.

Or let the Taylor & Maclaurin series calculator do it — set the center to $0$ and it returns the Maclaurin series with a graph.

Worked example: the Maclaurin series of cos x

The derivatives of $\cos x$ cycle $\cos x \to -\sin x \to -\cos x \to \sin x \to \cos x$. Evaluated at $0$ they give $1, 0, -1, 0, 1, \dots$, so only even powers appear:

n$f^{(n)}(x)$$f^{(n)}(0)$term
0$\cos x$1$1$
1$-\sin x$0$0$
2$-\cos x$$-1$$-x^2/2!$
3$\sin x$0$0$
4$\cos x$1$x^4/4!$

So $\cos x \approx 1 – \dfrac{x^2}{2!} + \dfrac{x^4}{4!} – \dfrac{x^6}{6!} + \cdots$

💡 Even and odd shortcutAn even function (like $\cos x$) has a Maclaurin series with only even powers; an odd function (like $\sin x$) has only odd powers. Spotting this saves you half the work.

The essential Maclaurin series

These show up again and again — worth committing to memory:

FunctionMaclaurin seriesConverges for
$e^x$$1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots$all $x$
$\sin x$$x – \frac{x^3}{3!} + \frac{x^5}{5!} – \cdots$all $x$
$\cos x$$1 – \frac{x^2}{2!} + \frac{x^4}{4!} – \cdots$all $x$
$\frac{1}{1-x}$$1 + x + x^2 + x^3 + \cdots$$|x|<1$
$\ln(1+x)$$x – \frac{x^2}{2} + \frac{x^3}{3} – \cdots$$-1 < x \le 1$
$\arctan x$$x – \frac{x^3}{3} + \frac{x^5}{5} – \cdots$$|x|\le 1$
$(1+x)^p$$1 + px + \frac{p(p-1)}{2!}x^2 + \cdots$$|x|<1$

A quick derivation: the geometric series

The simplest Maclaurin series of all is $\frac{1}{1-x}$. Its derivatives at $0$ are $1, 1, 2, 6, 24, \dots = n!$, so each coefficient $\frac{n!}{n!}=1$, giving:

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

This is the geometric series — and many other Maclaurin series (like $\ln(1+x)$ and $\arctan x$) are derived by integrating or substituting into it.

⚠ Mind the intervalSeveral of these series only converge for $|x|<1$ (or $|x|\le 1$). Outside that range the sum diverges, so the Maclaurin series is an approximation tool for inputs near zero, not everywhere.

Where Maclaurin series show up

Because they are centered at the origin, Maclaurin series are the natural tool whenever a quantity is small:

  • Physics: $\sin\theta \approx \theta$ and $\cos\theta \approx 1-\frac{\theta^2}{2}$ for small angles.
  • Numerical computing: evaluating $e^x$ or $\sin x$ from their series.
  • Machine learning: activation functions and loss surfaces are routinely analyzed through their Maclaurin (low-order Taylor) expansions near a point.

🤖 ML insight

The softmax and sigmoid functions are often approximated by the first terms of their Maclaurin series to reason about gradients near zero. The same low-order expansion underlies why small weight updates behave predictably during training. Need the derivatives? Use our derivative calculator.

Frequently asked questions

What is a Maclaurin series?
A Maclaurin series is a Taylor series centered at zero: it expands a function as a sum of powers of $x$ with coefficients $f^{(n)}(0)/n!$.
What is the Maclaurin series formula?
$f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n$, the Taylor formula with the center set to $a=0$.
Is a Maclaurin series the same as a Taylor series?
It is a special case. Every Maclaurin series is a Taylor series centered at $0$, but a Taylor series can be centered at any point $a$.
What is the Maclaurin series of cos x?
$\cos x = 1 – \frac{x^2}{2!} + \frac{x^4}{4!} – \frac{x^6}{6!} + \cdots$, containing only even powers.
Why do some Maclaurin series only converge for |x| < 1?
A series converges only within its radius of convergence. For functions like $\frac{1}{1-x}$ and $\ln(1+x)$ that radius is 1, so the expansion is valid only near zero.

Key takeaways

A Maclaurin series is the centered-at-zero Taylor series, giving clean powers of $x$ and a short list of must-know expansions. Put it to work with the Maclaurin series calculator (set the center to 0), read the broader Taylor series guide, or check the formal reference on Wikipedia.

Scroll to Top