Routh–Hurwitz stability criterion calculator

Enter your values. The answer and the full worked solution update as you type.

Result

Stabilityunstable
Roots in the right half-plane2
Roots on the imaginary axis0
Roots in the left half-plane2
Sign changes in the first column2
column 1column 2column 3
s⁴135
s³240
s²150
s¹−600
s⁰500

Check the stability of a linear system from its characteristic polynomial. The calculator builds the Routh array with exact fractions, handles a zero in the first column (the ε method) and a row of zeros (the auxiliary polynomial), counts the sign changes and gives the number of roots in the right half-plane, on the imaginary axis and in the left half-plane.

Step-by-step solution

Characteristic polynomial

s⁴ + 2s³ + 3s² + 4s + 5 = 0
All coefficients are present and have the same sign: a necessary but not sufficient condition for stability.

First two rows

s4: 1, 3, 5
s3: 2, 4, 0

Next rows

Each new element: (b₁·a_(j+1) − a₁·b_(j+1))/b₁, with a the row two above and b the row just above.
s2: 1, 5, 0
s1: −6, 0, 0
s0: 5, 0, 0

Count the sign changes in the first column

first column: 1, 2, 1, −6, 5
signs: + + + − +
2 sign change(s) → 2 root(s) in the right half-plane

Key formulas

Stability
all roots of the characteristic polynomial in the left half-plane
Routh array, s¹ entry of a cubic
b1 = (a2a1 − a3a0)/a2
Right half-plane roots
number of sign changes in the first column
Cubic s³ + a₂s² + a₁s + a₀
stable when all a > 0 and a₂·a₁ > a₀
Characteristic equation
1 + K·G(s) = 0

How to use the Routh–Hurwitz criterion

  1. Write the characteristic polynomial with all powers of s from the highest down. If a coefficient is missing or the signs differ, the system cannot be stable.
  2. Fill the first row with the 1st, 3rd, 5th, … coefficients and the second row with the 2nd, 4th, 6th, ….
  3. Each next element is (b₁·a_(j+1) − a₁·b_(j+1))/b₁, using the two rows above it.
  4. If a first element is zero but the row is not, replace it with a small ε > 0. If a whole row is zero, replace it with the derivative of the auxiliary polynomial formed from the row above.
  5. The number of sign changes in the first column equals the number of roots in the right half-plane.

Questions and answers

What does a row of zeros mean?

The polynomial has roots that are symmetric about the origin: pairs ±a, ±jω, or quadruples. The auxiliary polynomial from the row above contains exactly those roots, and its roots on the imaginary axis make the system at best marginally stable.

Is the ε method always reliable?

Not when roots lie on the imaginary axis. The calculator therefore also splits off the common factor of P(s) and P(−s), which holds all symmetric roots, and counts its imaginary-axis roots exactly. If that changes the count, the steps say so.

How do I find the range of K for stability?

Put the gain K into the coefficients, build the array symbolically and require every element of the first column to be positive. This calculator works with numbers, so you can use it to check a value of K on either side of the limit you found.

Does a stable Routh array mean a good design?

It only says that all poles are in the left half-plane. How fast and how well damped the response is depends on where the poles are; use the root locus or a Bode plot for that.

Practise it yourself

Practise Stability: Routh–Hurwitz & root locus

A calculator gives the answer. In the exam you need the method: practise it with new problems, hints and worked solutions.

</> Embed

Free for teachers and schools: paste this code into your course page, LMS or website. Students can use the calculator and its worked solution without an account.

More calculators