Advanced maths

Routh Hurwitz stable parameter interval calculator for a polynomial family

Find all parameter intervals giving strict Hurwitz stability for a real polynomial with affine coefficient functions.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Find all parameter intervals giving strict Hurwitz stability for a real polynomial with affine coefficient functions.

THE FORMULAFor fixed positive leading coefficient, strict stability is equivalent to all leading Hurwitz determinants being positive.

A worked example

The family s^3+2s^2+(1+k)s+1 is strictly stable exactly when k>-1/2. Within the supplied interval [-2,3], the stable set is (-1/2,3].

Good to know

Polynomial degree2–5 with finite decimal affine coefficient functions of one real parameter on a finite interval. Rational Hurwitz algebra and Sturm isolation of the combined critical polynomial, degree cap12; critical parameters must be separated. Strict stability only at the entered fixed degree: determinant zeros and leading-degree drops are excluded, and identically zero determinant families are rejected. Numerical boundary approximations have rational root enclosures; no sampled-grid substitute or automatic lower-degree analysis.

A complete stable parameter set

A polynomial is strictly Hurwitz stable when all its roots lie in the open left half of the complex plane. This page asks which values of one real parameter make that happen across an entire finite interval. The coefficients are affine functions of the parameter, so the answer can contain one interval, several separated intervals or no stable values.

Testing a few parameter values cannot establish the full answer. A narrow unstable region can lie between neighboring samples. The construction instead derives polynomial sign conditions and partitions the parameter domain at all relevant real roots. A sign is constant inside each resulting cell, allowing an interval statement that does not depend on an arbitrary plotting grid.

Routh Hurwitz stable parameter interval calculator for a polynomial family worked example−2−1/23s³ + 2s² + (1+k)s + 1Stable set: (−1/2, 3]
Scroll across to see the full diagram.
The family s^3+2s^2+(1+k)s+1 is strictly stable exactly when k>-1/2. Within the supplied interval [-2,3], the stable set is (-1/2,3].

Compare this with the Nyquist stability calculator for a rational open loop transfer function. Determine all stable intervals of one real coefficient parameter, rather than classify a single fixed rational loop’s winding.

Entering coefficient functions clearly

List coefficients in descending powers of the polynomial variable. Each row contains a constant term and a parameter slope. For example, the row one comma one represents one plus the parameter. Include explicit zero coefficients so that the row positions retain their intended powers. The first row is the leading coefficient, not the constant coefficient.

The parameter interval must have distinct finite endpoints. Decimal coefficients are converted to rational numbers for exact determinant algebra. If the leading coefficient vanishes at a parameter value, the polynomial degree changes there. This fixed-degree calculator excludes that value rather than silently dividing by zero or claiming to have assessed the lower-degree polynomial. Inspect that reduced polynomial separately if its stability is needed.

Hurwitz determinants and sign cells

For a polynomial with positive leading coefficient, strict Hurwitz stability is equivalent to positivity of the leading principal determinants of its Hurwitz matrix. When the leading coefficient is negative, multiply all coefficients by minus one within the appropriate sign cell before applying that convention. Multiplying the polynomial by a nonzero scalar leaves its roots unchanged.

Each determinant becomes a polynomial in the parameter. Its real zeros, together with leading-coefficient zeros and the requested endpoints, partition the search interval. The implementation isolates the combined critical polynomial with a rational Sturm method, subject to degree twelve and separation caps. Its reported boundaries are numerical approximations accompanied by rational enclosures; no sampled grid is substituted if the supported isolation cannot finish.

Boundary values and endpoint inclusion

Strict stability excludes a boundary where a root reaches the imaginary axis. However, an endpoint of the user's requested parameter interval may still be included if the polynomial remains strictly stable there. Interval brackets must express both facts correctly. A stable range clipped at an arbitrary user endpoint should not become open merely because strict Hurwitz stability is an open property in the full parameter line.

A leading-degree drop is explicitly outside this fixed-degree stability result. Remove any actually vanishing leading coefficients and examine the reduced polynomial separately if that isolated parameter matters to the application. A family with an identically zero required determinant is also rejected rather than forced through a generic sign-cell routine. These statuses distinguish unsupported singular analysis from an ordinary stable interval with resolved boundaries.

The cubic worked example

The default family is s cubed plus two s squared plus (one plus k) s plus one. Its coefficient rows are (1,0), (2,0), (1,1) and (1,0). The leading coefficient stays positive. For this cubic, the nontrivial Hurwitz inequality is two times (one plus k) minus one greater than zero.

The condition simplifies to k greater than minus one half. On the requested interval from minus two through three, the result is therefore open at minus one half and closed at three. At the excluded boundary the polynomial factors as (s plus two) times (s squared plus one half), exposing the imaginary root pair that prevents strict stability.

Independent verification of an interval

An independent root calculation at one interior parameter value can check the expected root locations, while points on either side of each boundary check the sign transition. These numerical root tests validate examples and implementation details. The complete interval certificate still comes from all relevant determinant roots and exact sign cells, not from those sampled eigenvalue locations.

Repeated boundary roots are important because a determinant may touch zero without changing sign. A sign-change-only root search would miss that excluded parameter. Adjacent stable cells separated by a zero-determinant point must retain the correct gap unless a separately examined degree change genuinely satisfies the required lower-degree criterion. Output formatting should preserve these distinctions rather than merge intervals solely by nearby decimal endpoints.

What this stability statement covers

The result concerns roots of the entered polynomial. It does not establish nonlinear stability, robustness to uncertain coefficients or performance margins of a physical feedback system. A stable transfer denominator can coexist with poor damping or fragile sensitivity. Such design questions need additional criteria beyond placing every pole in the open left half-plane.

The page handles one real parameter with affine coefficient functions within the supported degree bound. Multiple independent parameters or arbitrary nonlinear coefficient expressions create a different semialgebraic problem. If root isolation or a singular case cannot be resolved within the resource cap, the output must say so and withhold a claimed complete stable set rather than return the intervals found so far as exhaustive.

A few questions, answered

Why not just sample many parameter values?

Sampling can miss narrow cells and repeated boundaries; it does not establish the complete stable set.

Are all displayed endpoints open?

No. Instability boundaries are excluded, but a stable endpoint of the requested finite domain can be included.

What happens when the leading coefficient is zero?

The fixed-degree result excludes that value. Assess the reduced lower-degree polynomial separately; this calculator does not claim that singular case was decided.

Does Hurwitz stability mean good control performance?

No. It gives a pole-location condition, not damping, robustness or transient-performance guarantees.

Find your calculator

Start typing to explore the library.