Skip to main content
Calcimator

Taylor Series Calculator

Approximate functions using Taylor series expansion. Compare the approximation with the exact value for sin, cos, e^x, and ln(x).

Inputs

Results

Taylor Approximation

0.83333

Error0.008138
Last Term Coefficient-0
How to Use This Calculator
  1. Select the function to approximate: sin(x), cos(x), e^x, or ln(1+x).
  2. Enter the center point a (Taylor series expands around this point; Maclaurin series uses a = 0).
  3. Set the number of terms to include; more terms extend the interval where the approximation is accurate.
  4. The Taylor polynomial is built from successive derivatives: f(a) + f'(a)(x−a) + f''(a)(x−a)²/2! + …
  5. The chart overlays the exact function and the Taylor polynomial so you can see how closely they agree near x = a.
  6. Increasing the number of terms improves accuracy but the series still diverges far from the center for some functions (e.g., ln(1+x) for |x| > 1).

How the result changes with Evaluate at x

Evaluate at xTaylor Approximation
-16666.66667
-630
6-30
16-666.66667

What each input means

Function
Function to approximate with Taylor series
Center Point (a)
Center of the Taylor expansion (0 for Maclaurin series)
Number of Terms
Number of Taylor series terms to include
Evaluate at x
Point at which to evaluate the Taylor approximation

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Function = 1, Center Point (a) = 0, Number of Terms = 5, Evaluate at x = 1 = 4 input(s) provided
  2. Calculate Taylor Approximation
    Taylor Approximation
    0.83333 = 0.83333
  3. Calculate Error
    Error
    0.008138 = 0.008138
  4. Calculate Last Term Coefficient
    Last Term Coefficient
    0 = 0

Engine last updated . Checked against 3 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.