Ad Space — Top Banner

Taylor and Maclaurin Series

Taylor series expansion formula with common Maclaurin series for e^x, sin(x), cos(x), ln(1+x), and the geometric series.

Taylor Series Formula

f(x) = Σ (n=0 to ∞) f⁽ⁿ⁾(a) / n! · (x - a)ⁿ

This expands any infinitely differentiable function f(x) around a point a.

Variables

SymbolMeaning
f⁽ⁿ⁾(a)The n-th derivative of f evaluated at point a
n!n factorial (n × (n-1) × ... × 1)
aThe center point of expansion
(x - a)ⁿThe n-th power of the distance from center

Maclaurin Series (Taylor series at a = 0)

f(x) = Σ (n=0 to ∞) f⁽ⁿ⁾(0) / n! · xⁿ

Common Maclaurin Series

FunctionSeriesConverges for
e^x1 + x + x²/2! + x³/3! + ...All x
sin(x)x - x³/3! + x⁵/5! - x⁷/7! + ...All x
cos(x)1 - x²/2! + x⁴/4! - x⁶/6! + ...All x
ln(1+x)x - x²/2 + x³/3 - x⁴/4 + ...-1 < x ≤ 1
1/(1-x)1 + x + x² + x³ + ...|x| < 1
(1+x)^n1 + nx + n(n-1)x²/2! + ...|x| < 1
arctan(x)x - x³/3 + x⁵/5 - x⁷/7 + ...|x| ≤ 1

Example 1 — Expanding e^x

Write the first 5 terms of e^x

All derivatives of e^x equal e^x. At x=0: f⁽ⁿ⁾(0) = 1 for all n.

e^x = 1 + x + x²/2 + x³/6 + x⁴/24 + ...

e^1 ≈ 1 + 1 + 0.5 + 0.1667 + 0.0417 = 2.7083 (actual: 2.7183)

Example 2 — Approximating sin(0.1)

Use 3 terms of the Maclaurin series for sin(x)

sin(x) ≈ x - x³/6 + x⁵/120

sin(0.1) ≈ 0.1 - 0.001/6 + 0.00001/120

≈ 0.1 - 0.000167 + 0.000000083 = 0.099833

Actual value: 0.099833 (extremely accurate with just 3 terms!)


Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.