Taylor / Maclaurin calculator

Build a degree 0–5 Taylor polynomial for polynomials and supported compositions of sin, cos, exp and ln. Logarithm arguments must be positive at the center; ln(x) requires a positive center. Center 0 gives Maclaurin when defined. No convergence or error bound is claimed.

Dedicated workspace

Taylor / Maclaurin calculator

Engine

Use ^ for powers and parentheses for functions. You can enter sec(x), csc(x), cot(x) and arctan(x) directly; trigonometric inputs use radians.

Build a degree 0–5 Taylor polynomial for polynomials and supported compositions of sin, cos, exp and ln. Logarithm arguments must be positive at the center; ln(x) requires a positive center. Center 0 gives Maclaurin when defined. No convergence or error bound is claimed.

Uses the existing free allowance and calculation API. Invalid or unsupported inputs are not charged. No AI request is sent by calculating.

Input help and supported methods

Keep the original question visible. Confirm the variable and the live preview before calculating. Use ^(1/2) for a square root and explicit parentheses for function arguments.

Choose the differentiation variable and order. Symbols other than the selected variable are constants. For an equation containing y, use implicit differentiation.

Read the method

Try one. See the steps.

Click to fill the input. Calculation starts only when you choose Solve.

Live problem preview

This tool builds a finite Taylor polynomial using repeated derivatives. For one derivative at a time, open the general derivative calculator. General derivative calculator

How do you build a Taylor polynomial?

At a finite center a, evaluate successive derivatives and divide each by its factorial. Multiply the resulting coefficient by (x−a)^k and add the terms through the selected degree.

Choose the center

The center is the point a around which the polynomial is built. Setting a=0 gives a Maclaurin polynomial.

The independent variable stays in the polynomial. A center of 1 means powers of (x−1), not powers of x alone.

Choose a degree from 0 to 5

Degree 0 keeps only f(a). Degree 3 includes the constant, linear, quadratic and cubic terms; degree 5 includes up to six terms.

Higher degree adds local information but does not by itself guarantee a smaller error at every input.

Read the coefficients

The coefficient of (x−a)^k is f^(k)(a)/k!. The workbench shows the repeated-derivative evaluations used to construct the polynomial.

For exp(x) at zero, every derivative value is 1, giving coefficients 1, 1, 1/2 and 1/6 through degree 3.

Use the polynomial locally

The output is a finite polynomial intended as a local approximation around the chosen center.

It is not an infinite series. This tool does not establish convergence, a radius of convergence or a remainder bound.

Compare Taylor and Maclaurin forms

Maclaurin is the Taylor construction with center zero. At a nonzero center, keep the shifted factors (x−a) when interpreting the result.

For sin(x) at zero through degree 5, the even-power coefficients vanish. The polynomial is x−x^3/6+x^5/120; omitted terms are not claimed to be zero. For ln(x) centered at 1, use powers of (x−1). The infinite expansion has radius 1 and represents ln(x) for |x−1|<1; its endpoints need separate analysis. At x=3, being in the domain of ln does not make the expansion converge. A finite polynomial is still evaluable there, but that is not a guarantee of accuracy.

A useful check before you trust the answer

Compare the polynomial and original function near the center. To guarantee an approximation error, a separate remainder estimate and domain analysis are needed.

Worked examples to compare and try

These are teaching references with complete conditions. Open an example to prefill the workbench; calculation starts only when you choose to submit.

P3(x)=1+x+x22+x36P_3(x)=1+x+\frac{x^2}{2}+\frac{x^3}{6}

For exp(x), center 0 and degree 3 give 1+x+x^2/2+x^3/6. At x=0.1, this polynomial gives 1.105166667. A separate hand calculation of the Lagrange remainder gives |R₃(0.1)| ≤ exp(0.1)·0.1⁴/24 < 0.000004605, because the fourth derivative is exp(x) on [0,0.1]. This bound is a teaching reference, not an error certificate computed by this tool.

Try this problem
P5(x)=x−x36+x5120P_5(x)=x-\frac{x^3}{6}+\frac{x^5}{120}

For sin(x), center 0 and degree 5 give x−x^3/6+x^5/120.

Try this problem
P4(x)=1−x22+x424P_4(x)=1-\frac{x^2}{2}+\frac{x^4}{24}

For cos(x), center 0 and degree 4 give 1−x^2/2+x^4/24.

Try this problem
a=2,P2(x)=4+4(x−2)+(x−2)2a=2,\quad P_2(x)=4+4(x-2)+(x-2)^2

Try this problem

Supported scope and conditions

Build a degree 0–5 Taylor polynomial for polynomials and supported compositions of sin, cos, exp and ln. Logarithm arguments must be positive at the center; ln(x) requires a positive center. Center 0 gives Maclaurin when defined. No convergence or error bound is claimed.

The coefficients use the existing rule tree and floating-point evaluation. No independent check, convergence proof or global error bound is claimed for this construction. Other functions require additional smoothness and domain support.

Frequently asked questions

What is the difference between Taylor and Maclaurin?

Maclaurin is Taylor centered at 0. The general Taylor polynomial may be centered at another finite point a.

Can I request degree 10?

No. The current degree range is 0–5. Selecting an unsupported degree should not be interpreted as a computed result.

Does the output prove the series converges?

No. It is a finite polynomial, not a convergence analysis of an infinite series.

Is a higher degree always better?

Not at every point. Error depends on the function, center and distance from the center; a guarantee needs a separate remainder analysis.

Check the result and its conditions

CalculusMate applies deterministic rules to supported derivatives, integrals and limits. Read the result together with its variable, domain and verification status. A rule that is not supported does not make the mathematical problem impossible.

  1. Enter the expression and choose the variable; provide bounds only for a definite integral.
  2. Check domain restrictions and sign intervals. In real arithmetic, sqrt(g²)=|g|, so the absolute value cannot simply be removed.
  3. Read the calculation steps and status. A numerical approximation is different from an independently checked symbolic result.
Three reference examples from the main calculators
TaskExpressionAnswerConditions
Derivativex3x^{3}3 x23\,x^{2}Real x
Indefinite integral2 x2\,xx2+Cx^{2} + CC is an arbitrary constant
Limit as x → 0sin⁡xx\frac{\sin x}{x}11Radians; x approaches 0, not substitution at 0

Mathematical references

These OpenStax textbook sections explain the mathematical rules and conditions relevant to this page. They are references for the mathematics, not certification of this software or its supported methods.

Maintained by CalculusMate · Guide updated: · Calculation and verification methodology