Taylor Polynomial Calculator
A Taylor polynomial calculator computes the polynomial approximation of a differentiable function around a specified center point using Taylor's theorem. It calculates successive symbolic derivatives of the function, evaluates them at the center point, divides by the corresponding factorial to find the coefficients, and assembles the polynomial term-by-term. When centered at zero, the result is known as a Maclaurin polynomial.
Calculate the nth-degree Taylor polynomial (or Maclaurin series) of any differentiable function about a center point with step-by-step derivatives.
Quick Answer
Calculate the nth-degree Taylor or Maclaurin polynomial approximation of a function about a center point, with step-by-step symbolic derivatives.
Taylor Polynomial P4(x)
x - 0.166667x³
Derivatives & Coefficients Table:
| k | f⁽ᵏ⁾(x) | f⁽ᵏ⁾(a) | cₖ = f⁽ᵏ⁾(a)/k! |
|---|---|---|---|
| 0 | sin(x) | 0 | 0 |
| 1 | cos(x) | 1 | 1 |
| 2 | -sin(x) | -0 | -0 |
| 3 | -cos(x) | -1 | -0.166667 |
| 4 | sin(x) | 0 | 0 |
How it works
What is Taylor's Theorem?
Taylor's theorem states that any function that is sufficiently differentiable near a point a can be approximated by a polynomial whose coefficients depend only on the derivatives of the function at that point.
The Taylor Polynomial Formula
The Taylor polynomial of degree n for a function f(x) centered at x = a is defined as:
Pₙ(x) = f(a) + f'(a)(x − a) + [f''(a)/2!](x − a)² + [f'''(a)/3!](x − a)³ + ... + [f⁽ⁿ⁾(a)/n!](x − a)ⁿ
Which can be written compactly in summation notation as:
Pₙ(x) = ∑ [ f⁽ᵏ⁾(a) / k! ] · (x − a)ᵏ (from k = 0 to n)
Where:
- f⁽ᵏ⁾(a) is the k-th derivative of f evaluated at x = a (with f⁽⁰⁾(a) = f(a)).
- k! is the factorial of k (e.g., 3! = 3 × 2 × 1 = 6).
- a is the center point of the approximation. When a = 0, the result is called the Maclaurin Polynomial.
Worked Example
Let's find the 2nd-degree Taylor polynomial for f(x) = ln(x) centered at a = 1:
- Evaluate f(a): f(1) = ln(1) = 0.
- Find and evaluate f'(x): f'(x) = 1/x, so f'(1) = 1. The term is 1·(x − 1).
- Find and evaluate f''(x): f''(x) = −1/x², so f''(1) = −1. The term is (−1 / 2!)·(x − 1)² = −0.5·(x − 1)².
- Combine: P₂(x) = 0 + 1(x − 1) − 0.5(x − 1)² = (x − 1) − 0.5(x − 1)².
Related math calculators
Related Calculators
More tools from Education



