Tested tool guide
Tested browser tools
Checked August 16, 2026
What Root Locus Plotter does, with a checked example
Root locus answers one question: where do the closed-loop poles of a feedback system travel as the loop gain K grows from zero to infinity? Enter the open-loop poles and zeros, and the tool draws those paths across the complex plane, labels gain along each branch, and flags where branches meet and break away and where they cross the imaginary axis, which is the exact gain where the loop goes unstable. The surprise for most users: the plot describes the closed-loop system, so a plant that is stable on its own can still show branches heading into the right half-plane.
Worked example
A concrete input and expected output from the current implementation.
Input
Open-loop poles: 0, -1, -2. Zeros: none. Transfer function G(s)H(s) = K / (s(s+1)(s+2)).
->
Expected output
Three branches start at the open-loop poles 0, -1, -2. The real axis carries the locus from -1 to 0 and from -2 to -infinity. Branches meet and break away at s = -0.42 with K = 0.385, then swing into the complex plane along asymptotes from s = -1 at +-60 degrees. The branches cross the imaginary axis at +-j1.41 exactly when K = 6; for any K greater than 6 two poles sit in the right half-plane and the loop is unstable.
With three poles and no zeros the closed-loop characteristic equation is s^3 + 3s^2 + 2s + K = 0. Routh's criterion puts the stability limit at K = 6, and substituting s = j*sqrt(2) verifies the crossing point; the breakaway solves dK/ds = 0 with K = -s(s+1)(s+2), yielding s = -0.42 at K = 0.385.