Skip to main content

Taylor Series Calculator – Expand Functions

Quick answer

Taylor series f(x)=Σf⁽ᵏ⁾(a)(x−a)ᵏ/k!

  • approximate functions: eˣ≈1+x+x²/2 gives 2.5 at x=1; sin x ≈ x−x³/6.
  • Truncation errors shown.

Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.

How the Taylor Series Calculator Works

f(x) ≈ Σ (f⁽ᵏ⁾(a)/k!)·(x−a)ᵏ

A Taylor series rebuilds a function from its derivatives at a single point. Expanding eˣ about 0 (a Maclaurin series): every derivative is 1, so eˣ = 1 + x + x²/2! + x³/3! + … At x = 1 the partial sum 1+1+0.5 = 2.5 underestimates e ≈ 2.71828 by 0.218; adding x³/6 (≈0.1667) lands at 2.66667, and the series closes in factorially fast. For sin x the odd series x − x³/6 + x⁵/120 gives sin(0.3) ≈ 0.2955 versus the true 0.29552 — five-digit accuracy from two terms because the next term 0.3⁵/120 ≈ 2×10⁻⁵ bounds the error (alternating series). The calculator expands the common library (eˣ, sin, cos, ln(1+x), 1/(1−x)) about any center, prints term-by-term values, running partial sums, and the truncation error estimate via the next term. Radius of convergence is flagged — ln(1+x) only converges for −1 < x ≤ 1.

  1. 1

    Choose a function and center

    eˣ about 0, or sin x about π/6 for example

  2. 2

    Pick the order

    How many terms to keep in the polynomial

  3. 3

    Evaluate term by term

    Each (x−a)ᵏ/factorial term and partial sum is listed

  4. 4

    Bound the error

    The first omitted term estimates the truncation error

Use Cases

Calculator Internals

Sine and exp chips evaluate truncated series with error control

Physics Approximations

sin θ ≈ θ for small angles: error under 0.5% below 0.3 rad

Limits & Derivatives Homework

Verify Maclaurin expansions term by term

Tips

  • 1

    Maclaurin = Taylor centered at 0

  • 2

    Factorial denominators make convergence fast for eˣ and sin

  • 3

    The first dropped term bounds the error for alternating series

Common Mistakes

  • Forgetting the k! divisor on each term

  • Evaluating (x−a)ᵏ as xᵏ when the center a ≠ 0

  • Ignoring the radius of convergence for ln(1+x)

  • Adding terms with mismatched signs in the sin series

FAQs

What is the Taylor series of eˣ?

1 + x + x²/2! + x³/3! + … At x = 1: 2.5, 2.66667, 2.70833 approach e ≈ 2.71828.

How accurate is sin x ≈ x − x³/6 at x = 0.3?

0.2955 vs the true 0.29552 — the next term 0.3⁵/120 ≈ 2×10⁻⁵ bounds the error.

What is a Maclaurin series?

A Taylor series centered at a = 0 — the most common special case.

Why do factorials make it converge quickly?

Each term divides by k!, so terms shrink super-exponentially once k passes x.

Where does ln(1+x) converge?

Only for −1 < x ≤ 1; beyond that the series diverges no matter how many terms you take.