Skip to content
Test versionSearch

Mathematics

Exact polynomial derivatives and tangent

Differentiate a rational-coefficient polynomial repeatedly, evaluate the selected derivative and show the first-derivative tangent.

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 tangent line at x uses the first derivative: slope = P′(x), intercept = P(x) − x·P′(x). Only polynomials are supported, not sin, exp or other functions.

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 tangent line at x uses the first derivative: slope = P′(x), intercept = P(x) − x·P′(x). Only polynomials are supported, not sin, exp or other functions.

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
Derivative order 0–12
1
Evaluate at x (rational)
2

Result

A coefficients, constant first
-1; 0; 1
Selected order
1
Result coefficients, constant first
0; 2
Result degree (zero polynomial: none)
1
Entered x (exact)
2
Evaluated result (exact)
4
Evaluated result (rounded)
4.00
First-derivative tangent slope
4
First-derivative tangent intercept
-5

Frequently asked questions

How do I differentiate a polynomial exactly?

Enter rational coefficients, constant first and separated by semicolons, choose the derivative order and the point x. The editable example is -1;0;1 with order 1 and x=2.

Does the tool give the tangent line?

Yes. The tangent slope and intercept always use the first derivative and are labelled separately.

What polynomials are allowed?

Only rational-coefficient polynomials in x with input degree up to 12 and text up to 400 characters. Coefficients can be decimals, fractions or scientific notation.

Can I differentiate more than once?

Yes. The tool differentiates repeatedly and evaluates the selected derivative.

Can it differentiate sin, exp or other functions?

No. There is no trigonometric, exponential, partial or numerical general-function differentiation.

Is the result exact?

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