How this calculation works
Root sensitivity describes how a simple polynomial root responds locally to changes in its coefficients. This calculator evaluates the coefficient derivatives and a first-order worst-direction estimate under componentwise relative perturbations. It requires a supplied approximate real root and verifies its residual before interpreting the local model.
∂r/∂c_k=−r^k/p′(r); |δr| ≲ epsilon Σ_k |c_k||r|^k / |p′(r)|.A worked example
For p(x)=x²−3x+2 and root one, p′(1)=−1. Each coefficient derivative is one. With relative budget epsilon=0.001, the absolute first-order shift estimate is 0.001×(2+3+1)=0.006. This is a local linear estimate, not a guaranteed disk containing every perturbed root.
Good to know
Real simple roots only, polynomial degree ≤12, ascending decimal coefficients and epsilon≤0.01. Small derivatives, unresolved roots and zero leading coefficients are rejected. Relative root condition is undefined at zero. No rigorous finite-perturbation enclosure or complex-root condition analysis.
Reference: NIST DLMF — polynomial zeros and numerical methods (opens in a new tab) ↗
Differentiate the root equation implicitly
At a simple root, the derivative with respect to x is nonzero. Differentiating p(r)=0 with respect to one coefficient gives p′(r) times the root derivative plus r to the corresponding power. Solving this equation produces the sensitivity printed for each coefficient without repeatedly perturbing and re-solving the polynomial.
The sign of a coefficient derivative predicts the local direction of root movement when that coefficient increases. Its magnitude depends on the root location and polynomial derivative. Two polynomials with visually similar coefficients can therefore have very different root sensitivity when one has a much smaller slope at the selected crossing.
The Polynomial root calculator with iteration steps covers a related task. This page focuses on polynomial root sensitivity and condition number calculator with the method limits and worked example described below.
The perturbation model determines the condition number
This page constrains each coefficient perturbation relative to that coefficient’s magnitude. An exactly zero coefficient has zero allowed perturbation under this model. That differs from an absolute normwise budget, where previously absent powers might be introduced. The condition value should always be read with its printed model rather than compared blindly with another package.
The estimate sums the absolute possible first-order contributions. It is conservative within the linearized model, but higher-order terms are not bounded. Near repeated roots, even a small epsilon can leave the range where linearization is useful. The solver rejects a derivative below its numerical threshold instead of disguising that breakdown as an ordinary large finite estimate.
A root residual is necessary but not a sensitivity guarantee
The supplied point must approximately satisfy the polynomial equation relative to the coefficient evaluation scale. This prevents applying a root formula at an arbitrary x coordinate. However, a small residual alone does not prove that the nearest exact root is close when the derivative is small; sensitivity explains precisely that distinction.
The existing polynomial-root solver searches for roots. This calculator starts from a selected real root and asks a different question about coefficient uncertainty. At r=0, an absolute movement estimate may remain meaningful, but dividing by the original root magnitude is undefined, so the relative condition is explicitly left undefined.
A few questions, answered
Is the shift estimate a certified root bound?
No. It is a first-order local model with no finite-perturbation remainder bound.
Why reject a repeated root?
The implicit simple-root derivative divides by p′(r), which vanishes at a repeated root.