Polynomial Degree Calculator & Leading-Term Audit
Enter one expression or several signed summands. Trace which coefficients cancel, read both end limits and test a specific x. The worksheet also finds the smallest whole radius certified by the sum of magnitudes of the lower-degree terms.
Find the degree after combining terms
See which powers cancel, read both end behaviors and check when the leading term controls the polynomial.
Polynomial expressions
Enter one expression in x per line. The worksheet adds the lines, so start a line with a minus sign to subtract it.
The combined polynomial has degree 3.
Standard form and end behavior
2x^3 + 2x^2 − 4x + 4
- Degree
- 3
- Leading coefficient
- 2
- As x → −∞
- −∞
- As x → +∞
- +∞
Leading-term error bound
The bound uses the magnitudes of the lower terms, so it applies on both ends.
- Smallest certified whole radius
- |x| ≥ 12
- Allowed relative error
- 1/10
- Bound at that radius
- 85/864
- Bound one unit closer to zero
- 145/1331
- P(x) at test x
- 2164
- Leading term at test x
- 2000
- Signed difference
- 164
- Observed relative error
- 41/500
Inspect contributions
Combined coefficient 0 · Cancels exactly
Negative values extend left of zero. Positive values extend right on the same scale.
- Summand 12
- Summand 2-2
Export the polynomial worksheet
Save the exact coefficients, error bounds and probe values.
View CSV text
How to use this calculator
- Enter an expression in x or paste several polynomial summands, one per line.
- Check the standard form and choose a power to see its original contributions.
- Enter a test x and relative tolerance. Compare the observed error with the bound certified for every x beyond the reported radius.
- Download exact coefficients, the test evaluation and radius evidence.
The Formula
The mathematical logic powering this calculation is:
Expand each expression and add coefficients with equal powers, using exact fractions. In standard form, terms appear in descending order and zero coefficients disappear. The degree d is the greatest remaining exponent and the leading coefficient is its coefficient a_d. A nonzero constant has degree zero. The zero polynomial is reported with undefined degree.
For d>0, the sign of a_d determines the right end behavior. The left end has the same sign for even degree and the opposite sign for odd degree. Constants have their own value at both ends. At a chosen x, compute P(x), its leading term L(x)=a_d x^d, and |P(x)−L(x)|/|L(x)| where L(x) is nonzero.
To certify an entire tail, use the triangle inequality. For |x|≥R≥1, the relative error is at most U(R)=Σ_{i<d}|a_i/a_d|R^{i−d}. With nonzero lower terms this bound decreases as R increases. Binary search finds the first whole R from 1 through 1 billion where U(R) is at most the entered tolerance. The preceding radius shows why that whole radius is minimal for this bound. Since lower terms can cancel, an individual test x may pass sooner. A nonzero constant is exact everywhere. A monomial has zero relative error where its leading term is nonzero.
Use one to five expressions in x, with up to 3,000 characters total. The shared parser supports parentheses, finite decimals, scientific notation, clear fractional coefficients and degree at most 20 after each operation. Each simplified input coefficient has up to 24 digits in its reduced numerator and denominator. Use signed decimal test x through magnitude one billion and tolerance strictly between 0% and 100%, each with up to 12 fractional places. Displayed bar lengths are approximate. Coefficients, evaluations, certificate comparisons and exports are exact.Worked Example
If you input:
- Summands: 2x^6 + 3x^3 − 4x + 5 and −2x^6 − x^3 + 2x^2 − 1
- Tolerance: 10%
- Test x: 10
Result:
The sixth powers cancel and the result is 2x^3 + 2x^2 − 4x + 4. The degree is 3. At x=10 the exact relative error is 41/500. The magnitude bound certifies at most 10% for |x| ≥ 12.
Frequently Asked Questions
Does the largest entered exponent always become the degree?
Check the combined coefficient of that power. If it cancels to zero, move to the next power with a nonzero coefficient.
Why can the test x pass before the certified radius?
The certificate sums magnitudes. In an actual evaluation, positive and negative lower terms can partly cancel.
What does the preceding radius show?
Its bound is larger than the tolerance. Since the bound decreases with radius, it establishes the smallest whole radius satisfying the bound.
When is relative error undefined?
It uses the magnitude of the leading term as its denominator. A zero leading term at the test x makes that ratio undefined.
Similar Calculators
Polynomial Multiplication Calculator & Term Ledger
Multiply two polynomials in x with exact rational coefficients. Follow each distributed term pair and see which powers cancel.
Polynomial Division Calculator
Divide polynomials using long or synthetic division. Inspect each step, the exact quotient and remainder, and the reconstruction identity.
Cubic Equation & Root Calculator
Solve a cubic equation for real and complex roots. Explore multiplicity, the exact discriminant, turning points and certified real-root intervals.
