Taylor and Maclaurin Series
Four series cover most of what you will need. New series are usually built from them by substituting, multiplying, differentiating or integrating. This guide shows those moves and when to fall back on the definition.
The Taylor series of \(f\) about \(a\) is \(\displaystyle\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x - a)^n\); about \(a = 0\) it is a Maclaurin series. Before computing derivatives, look for a known series: substitute an expression for \(x\) in every term, multiply by a factor, or differentiate or integrate term by term. Give the general term, and check its powers: an even function has only even powers, an odd function only odd ones.
1Four series to know
| Function | Series | Converges for |
|---|---|---|
| \(e^x\) | \(1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots = \sum\frac{x^n}{n!}\) | all x |
| \(\sin x\) | \(x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots = \sum\frac{(-1)^n x^{2n+1}}{(2n + 1)!}\) | all x |
| \(\cos x\) | \(1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots = \sum\frac{(-1)^n x^{2n}}{(2n)!}\) | all x |
| \(\frac{1}{1 - x}\) | \(1 + x + x^2 + \cdots = \sum x^n\) | \(|x| \lt 1\) |
2Building from them
Maclaurin series for \(e^{-x^2}\)
- 1Start from \(e^u = \sum\frac{u^n}{n!}\) and put \(u = -x^2\) into the whole term.
- 2\(e^{-x^2} = \sum\dfrac{(-x^2)^n}{n!} = \sum\dfrac{(-1)^n x^{2n}}{n!} = 1 - x^2 + \dfrac{x^4}{2} - \dfrac{x^6}{6} + \cdots\)
“Substituting \(-x^2\) for \(x\) in the series for \(e^x\): \(e^{-x^2} = \displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n}}{n!}\).”
Maclaurin series for \(\cos 2x\)
- 1Put \(u = 2x\) into the cosine series: \(\sum\dfrac{(-1)^n(2x)^{2n}}{(2n)!}\).
- 2\(1 - 2x^2 + \dfrac{2x^4}{3} - \cdots\) (since \(\frac{2^4}{4!} = \frac{16}{24} = \frac23\)).
Maclaurin series for \(x^2\sin x\)
- 1Multiply every term of the sine series by \(x^2\).
- 2\(x^2\left(x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \cdots\right) = x^3 - \dfrac{x^5}{6} + \dfrac{x^7}{120} - \cdots\)
\((-x^2)^n = (-1)^n x^{2n}\): both the sign and the power change. Writing \(-x^{2n}\) or \((-1)^n x^n\) loses one of them.
3Integrating and differentiating
Series for \(\displaystyle\int_0^x e^{-t^2}\,dt\)
- 1Integrate each term of Worked Example 1: \(\displaystyle\int_0^x t^{2n}\,dt = \frac{x^{2n+1}}{2n + 1}\).
- 2\(x - \dfrac{x^3}{3} + \dfrac{x^5}{10} - \dfrac{x^7}{42} + \cdots\)
“\(1 - x^2 + \frac{x^4}{2} - \cdots\)” shows a pattern, but a question asking for the series wants the \(n\)th term as well, with the sum written out.
4From the definition
Taylor series for \(e^x\) about \(x = 2\)
- 1Every derivative of \(e^x\) is \(e^x\), so every \(f^{(n)}(2) = e^2\).
- 2\(\displaystyle\sum_{n=0}^{\infty}\frac{f^{(n)}(2)}{n!}(x - 2)^n = \sum_{n=0}^{\infty}\frac{e^2(x - 2)^n}{n!}\).
Differentiating \(x^2\sin x\) ten times is slow and risky. Multiplying the sine series by \(x^2\) takes one line.
\(\cos 2x\) is even, so its series has only even powers; \(x^2\sin x\) is odd, so only odd powers. An answer with the wrong kind of power has a mistake in it.
Quick reference
| Move | Example |
|---|---|
| Substitute | \(e^{-x^2}\) from \(e^u\) |
| Multiply by a factor | \(x^2\sin x\) |
| Integrate term by term | \(\int_0^x e^{-t^2}\,dt\) |
| Use the definition | \(e^x\) about 2 |