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) = 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.
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)!
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.
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.