Skip to content
Test versionSearch

Mathematics

Exact finite polynomial Taylor shift

Rewrite a polynomial in powers of x minus a centre, truncate it at an order from 0 to 12 and compare exact values of both polynomials at your x.

How it worksFAQRelated tools

Content reviewed:

The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. JSON, HTML and TXT downloads keep your inputs and all result rows, with exact values where available. Automatic recalculation after editing is off unless you switch it on. Nothing is saved, imported or sent automatically.

Enter the coefficients from the constant term upwards, separated by semicolons: 3; 0; 2 means 3 + 2x². Coefficients can be whole numbers, decimals (point or comma), fractions or scientific notation. Degree up to 12 and up to 400 characters; results are exact fractions, with the rounded decimal (0 to 12 places) shown separately. The expansion rewrites the entered polynomial around the centre; at an order equal to the degree it is exact. For a lower order the tool shows the exact difference between the original and the truncated expansion at x.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Coefficients are kept as exact fractions. Derivatives and antiderivatives use the power rule (xⁿ becomes n·xⁿ⁻¹, and xⁿ⁺¹/(n + 1) when integrating); the Taylor form expands (x − a)ⁿ with binomial coefficients. Enter the coefficients from the constant term upwards, separated by semicolons: 3; 0; 2 means 3 + 2x². Coefficients can be whole numbers, decimals (point or comma), fractions or scientific notation. Degree up to 12 and up to 400 characters; results are exact fractions, with the rounded decimal (0 to 12 places) shown separately. The expansion rewrites the entered polynomial around the centre; at an order equal to the degree it is exact. For a lower order the tool shows the exact difference between the original and the truncated expansion at x.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Polynomial A: constant-first coefficients, separated by ;
-1;0;1
Expansion centre
1
Truncation order 0–12
1
Evaluate at x (rational)
2

Result

A coefficients, constant first
-1; 0; 1
Expansion centre (exact)
1
Selected order
1
All coefficients in powers of x−centre
0; 2; 1
Truncated coefficients in powers of x−centre
0; 2
Entered x (exact)
2
x−centre (exact)
1
Original polynomial value (exact)
3
Truncated polynomial value (exact)
2
Original minus truncated (exact)
1
Original minus truncated (rounded)
1.00

Frequently asked questions

What does the Taylor shift tool do?

It shifts a finite polynomial to powers of x minus a centre, truncates it at a chosen order and compares exact values at your point.

How do I enter the polynomial?

Enter rational coefficients separated by semicolons, constant first, as decimals, fractions or scientific notation. The example a=-1;0;1 with centre 1, order 1 and x=2 is editable.

What limits apply to the polynomial?

Only rational-coefficient polynomials in x are supported, with input degree at most 12 and text at most 400 characters.

Is the result exact?

Yes, results are exact fractions, with a separately rounded decimal of 0 to 12 places. Expanded output is limited to 500 characters per row.

What difference does the tool show?

It shows the original minus the truncated polynomial exactly at x. It makes no general convergence or error-bound claim.

Can it handle functions like sin or exp?

No. It handles only the entered polynomial, not arbitrary analytic functions or an infinite series.