A Taylor series writes a function as an infinite sum of powers of (x − a), using its derivatives at the center a: Σ f⁽ⁿ⁾(a)(x − a)ⁿ/n!. A Maclaurin series is the same thing centered at a = 0. Cutting the sum off after a few terms gives a polynomial that approximates the function near the center.
What Is a Taylor Series?
A Taylor series represents a function as an infinite polynomial — a sum of powers of (x − a) weighted by the function's derivatives at a point a.
The key idea is remarkable: if you know the value of a function and all its derivatives at a single point, you can reconstruct the entire function (at least within a certain radius). This turns complicated functions like sin(x), eˣ, or ln(1+x) into polynomials, which are vastly easier to compute, differentiate, integrate, and analyze.
The Taylor series formula for a function f(x) centered at a is: f(x) = f(a) + f'(a)(x − a) + f''(a)(x − a)²/2! + f'''(a)(x − a)³/3! + ... = Σ f⁽ⁿ⁾(a)(x − a)ⁿ/n! for n = 0 to ∞.
A Maclaurin series is just a Taylor series centered at a = 0: f(x) = f(0) + f'(0)x + f''(0)x²/2! + f'''(0)x³/3! + ....
Most common Maclaurin series are worth memorizing because they appear constantly in calculus, differential equations, physics, and numerical analysis.
The key caveat is convergence: the series only equals the original function within a specific interval around the center point.
The Taylor Series Formula and Taylor Polynomials
The full Taylor series is an infinite sum, but in practice we often use a finite truncation called a Taylor polynomial.
The nth-degree Taylor polynomial of f centered at a is T_n(x) = Σ (k=0 to n) f⁽ᵏ⁾(a)(x − a)ᵏ/k!. This is the best polynomial approximation of degree n near the point a: T_n matches f and its first n derivatives at a.
Example: Find the 3rd-degree Taylor polynomial of f(x) = √x centered at a = 4.
Compute derivatives: f(x) = x^(1/2), f(4) = 2.
f'(x) = (1/2)x^(−1/2), f'(4) = 1/4.
f''(x) = −(1/4)x^(−3/2), f''(4) = −1/32.
f'''(x) = (3/8)x^(−5/2), f'''(4) = 3/256.
Assemble: T_3(x) = 2 + (1/4)(x − 4) − (1/32)(x − 4)²/2 + (3/256)(x − 4)³/6 = 2 + (x − 4)/4 − (x − 4)²/64 + (x − 4)³/512.
Use this to approximate √4.2: plug in x = 4.2 so x − 4 = 0.2. T_3(4.2) ≈ 2 + 0.05 − 0.000625 + 0.0000156 ≈ 2.04939.
√4.2 ≈ 2.04939Actual: √4.2 ≈ 2.04939. Matched to 5 decimal places with a cubic!