What is the Taylor Series?

f(x) = Σ f⁽ⁿ⁾(a)/n! · (x-a)ⁿ
At a=0: f(x) = f(0) + f'(0)x + f''(0)x²/2! + ⋯ Stated by Brook Taylor, 1715.

The Taylor series expresses any smooth function as an infinite polynomial. Each coefficient is a derivative: the nth term is f⁽ⁿ⁾(a)/n! times (x-a)ⁿ. For well-behaved functions like eˣ, sin(x), and cos(x), the series converges to the exact function value everywhere.

sin(x) built up from polynomial terms (Maclaurin series)
π/2 π 3π/2 P₁ = x P₃ P₅ sin(x)

sin(x) = x - x³/3! + x⁵/5! - x⁷/7! + ⋯ Each extra term extends accurate approximation further from x=0. P₅ matches sin(x) well up to about π.

The three most important Maclaurin series: eˣ = 1 + x + x²/2! + x³/3! + ⋯ (converges everywhere); sin(x) = x - x³/3! + x⁵/5! - ⋯ (converges everywhere); cos(x) = 1 - x²/2! + x⁴/4! - ⋯ (converges everywhere). Substituting x = iπ in the eˣ series produces Euler's identity.

Key Maclaurin series and their radii of convergence
f(x) Series Radius 1+x+x²/2!+x³/3!+⋯ sin x x-x³/3!+x⁵/5!-⋯ cos x 1-x²/2!+x⁴/4!-⋯ ln(1+x) x-x²/2+x³/3-⋯ |x|≤1 1/(1-x) 1+x+x²+x³+⋯ |x|<1

Brook Taylor stated the general theorem in 1715; the special case centred at 0 was popularised by Colin Maclaurin in 1742. Every calculator and computer uses Taylor series to evaluate transcendental functions. The error after n terms is bounded by the Lagrange remainder: |f(x) - Pₙ(x)| ≤ max|f⁽ⁿ⁺¹⁾| · |x-a|ⁿ⁺¹ / (n+1)!

cos(x) = 1 - x²/2! + x⁴/4! - built up term by term
π/2 π 3π/2 1 -1 P₀ = 1 P₂ = 1-x²/2 P₄ cos(x)

Starting from the flat line P₀=1, each term extends how far the approximation stays accurate. P₂ works near 0, P₄ works past π/2. The true cos(x) (blue) oscillates forever; the polynomials eventually diverge but converge exactly with infinitely many terms.

Related topics
E Fundamental Theorem Calculus Pi
Key facts about Taylor Series

A Taylor series represents a smooth function as an infinite polynomial: f(x) = f(a) + f'(a)(x-a) + f''(a)(x-a)^2/2! + ... Coefficients are derivatives at the centre point a. Maclaurin series are centred at 0. The three key series converge everywhere: e^x = 1 + x + x^2/2! + ..., sin(x) = x - x^3/3! + x^5/5! - ..., cos(x) = 1 - x^2/2! + x^4/4! - ... Substituting x = i*pi in the e^x series proves Euler's identity. Every calculator uses Taylor series internally to evaluate transcendental functions.

Used in
Mathematics
Physics
Engineering
💻Computer Sci
📈Finance
🧬Biology
📊Statistics
🎨Art
🏛Architecture
Music
🔐Cryptography
🌌Astronomy
Chemistry
🦉Philosophy
🗺Geography
🌿Ecology
Want to test your knowledge?
Question
What does it mean for a function to be analytic?
tap · space
1 / 10