Teleport

Main features

On this page

Topics

Arithmetic drills
Grade 7
Grade 8
Grade 9
Math I
Math A
Math II
Math B
Math C
Math III
Calculus
Linear algebra
Differential equations

Display

Theme
Calculus

Taylor and Maclaurin series

Writing a function as a power series makes approximations and indeterminate limits much easier to handle.

Basic, Standard, Advanced: University Year 1 · 1st semester

See it on the graph

Math problem generator

Level

Taylor and Maclaurin series

Formula
f(x)=∑n=0∞f(n)(a)n!(x−a)n=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+⋯f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x - a)^n = f(a) + f'(a)(x - a) + \frac{f''(a)}{2!}(x - a)^2 + \cdots

The case a=0a = 0 is the Maclaurin series. The coefficient of xnx^n is f(n)(0)n!\frac{f^{(n)}(0)}{n!}, so from an expansion you can read off f(n)(0)=n!×(coefficient of xn)f^{(n)}(0) = n! \times (\text{coefficient of } x^n).

Basic expansions

Basic expansions
ex=1+x+x22!+x33!+⋯ ,sin⁡x=x−x33!+x55!−⋯ ,cos⁡x=1−x22!+x44!−⋯e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots,\qquad \sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots,\qquad \cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots
log⁡(1+x)=x−x22+x33−⋯ ,11−x=1+x+x2+⋯ ,(1+x)α=1+αx+α(α−1)2!x2+⋯\log(1 + x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots,\qquad \frac{1}{1 - x} = 1 + x + x^2 + \cdots,\qquad (1 + x)^{\alpha} = 1 + \alpha x + \frac{\alpha(\alpha - 1)}{2!}x^2 + \cdots

The expansions of log⁡(1+x)\log(1 + x), 11−x\frac{1}{1 - x} and (1+x)α(1 + x)^{\alpha} hold for ∣x∣<1|x| < 1.

Products and compositions

For ex2e^{x^2}, substitute t=x2t = x^2 into the series of ete^t; for exsin⁡xe^x\sin x, multiply the two series and collect terms up to the required degree. This is much faster than computing each f(n)(0)f^{(n)}(0).

exsin⁡x=(1+x+x22+⋯ )(x−x36+⋯ )=x+x2+x33+⋯e^x\sin x = \left(1 + x + \frac{x^2}{2} + \cdots\right)\left(x - \frac{x^3}{6} + \cdots\right) = x + x^2 + \frac{x^3}{3} + \cdots

Limits by series

Expanding the numerator and denominator makes 00\frac{0}{0} limits transparent:

lim⁡x→0x−sin⁡xx3=lim⁡x→0x36−x5120+⋯x3=16\lim_{x \to 0} \frac{x - \sin x}{x^3} = \lim_{x \to 0} \frac{\frac{x^3}{6} - \frac{x^5}{120} + \cdots}{x^3} = \frac{1}{6}
Tip

It is enough to expand accurately up to the degree of the denominator (here x3x^3).