SkillSha LogoSkillSha
Control systems · K ≥ 0

Root Locus Plotter: Plot and All the Rules

This root locus plotter draws how the closed-loop poles of 1 + K·G(s)H(s) = 0 move as the gain K increases from 0, and works through all the classic root locus rules for your system – number of branches, real-axis segments, asymptotes and centroid, breakaway and break-in points, angles of departure and arrival, imaginary-axis crossings and the range of K for stability. Drag the gain slider to watch the closed-loop poles move and see whether the system is stable.

G(s)H(s) = K · N(s) / D(s), K ≥ 0. Enter expanded polynomials (s^2 + 3s + 2) or coefficients in descending powers of s (1, 3, 2). Degree up to 12.

G(s) = K(1) / (s^3 + 3s^2 + 2s)
-10-505-6j-4j-2j2j4j6j
× open-loop pole○ zero◌ break point■ jω crossing● closed-loop poles at K
1 + K·G(s) = 0 → s^3 + 3s^2 + 2s + 0.6 = 0
StableClosed-loop poles: -0.389 + 0.344j, -2.221, -0.389 − 0.344j

Root locus rules for this system

1
Branches
n = 3 poles, m = 0 zeros → 3 branches; 3 go to infinity.
2
Start & end
Branches start at the open-loop poles (K = 0): 0, -1, -2. They end at the zeros or along the asymptotes to infinity as K → ∞.
3
Real-axis segments
[−∞, -2] ∪ [-1, 0] (points with an odd number of real poles + zeros to the right).
4
Asymptotes & centroid
σ = (Σp − Σz)/(n − m) = -1; angles = (2q+1)·180°/(n−m) = 60°, 180°, 300°.
5
Breakaway / break-in
breakaway at s = -0.423 (K = 0.385) From dK/ds = 0, i.e. N·D′ − N′·D = 0, keeping roots on the locus with K > 0.
6
Departure / arrival angles
Not applicable – no complex poles or zeros.
7
Imaginary-axis crossing
s = ±1.414j at K = 6
8
Stability range
Stable for 0 < K < 6 Found by testing pole locations between the critical gains (Routh-equivalent).
9
Characteristic equation
D(s) + K·N(s) = 0 → (s^3 + 3s^2 + 2s) + K(1) = 0

Centroid and asymptote angles are exact once poles and zeros are known. Roots, break points, crossings and the plotted branches are numerical (Aberth iteration, ~6 significant digits; repeated roots are less precise).

How to use the root locus plotter

  1. 1Enter N(s) and D(s) – or click an example such as K/s(s+1)(s+2).
  2. 2Press Plot. Poles (×), zeros (○), break points, jω crossings and asymptotes are drawn automatically.
  3. 3Zoom with the buttons or mouse wheel, drag to pan, and hover to read coordinates.
  4. 4Move the gain slider (or type K) to see the closed-loop poles, the characteristic equation and the stability verdict. Download the plot as PNG.

The root locus rules

  1. Branches: equal to max(n, m), where n = number of poles and m = number of zeros.
  2. Start and end: branches start at open-loop poles (K = 0) and end at zeros or at infinity (K → ∞).
  3. Real axis: a point on the real axis is on the locus if the number of real poles and zeros to its right is odd.
  4. Asymptotes: n − m branches go to infinity along angles (2q + 1)·180° ÷ (n − m) from the centroid σ = (Σp − Σz) ÷ (n − m).
  5. Breakaway / break-in: solutions of dK/ds = 0 on the real-axis locus.
  6. Departure / arrival angles: θ = 180° − Σ∠(from other poles) + Σ∠(from zeros) at a complex pole (and the mirror rule at a complex zero).
  7. jω crossing: from s = jω in the characteristic equation (or the Routh array).

Validated example: G(s)H(s) = K / s(s+1)(s+2)

Characteristic equation: s³ + 3s² + 2s + K = 0

Poles 0, −1, −2; three asymptotes at 60°, 180° and 300° from the centroid σ = (0 − 1 − 2)/3 = −1. Breakaway: 3s² + 6s + 2 = 0 → s = −0.4226 (K = 0.385). Routh array gives the jω crossing at s = ±j√2 ≈ ±1.414j for K = 6, so the closed loop is stable for 0 < K < 6. The plotter reproduces all of these values.

The tool assumes negative feedback and K ≥ 0 (the 180° locus). Pole–zero cancellations are flagged because the cancelled pole stays fixed in the closed loop.

Who is it for?

Electrical, electronics, instrumentation and mechanical engineering students studying control systems, GATE aspirants revising root locus, and teachers who want a quick visual. Also explore the GATE DA Mock Test and the VTU CIE Marks Calculator.

Frequently asked questions

What is a root locus?

It is the path traced in the s-plane by the roots of the characteristic equation 1 + K·G(s)H(s) = 0 as the gain K varies from 0 to ∞. It shows how stability and transient response change with gain.

How do I enter the transfer function?

Enter the numerator N(s) and denominator D(s) of the open-loop transfer function G(s)H(s) = K·N(s)/D(s) as expanded polynomials (e.g. s^3 + 3s^2 + 2s) or as coefficients in descending powers of s (1, 3, 2, 0). Factored forms such as (s+1)(s+2) must be expanded first.

How are breakaway points found?

From dK/ds = 0 with K = −D(s)/N(s), i.e. the real roots of N·D′ − N′·D = 0 that lie on a real-axis segment of the locus and give K > 0.

How is the stability range calculated?

The jω-axis crossings are found by substituting s = jω into the characteristic equation and solving the real and imaginary parts (equivalent to the Routh–Hurwitz auxiliary equation). Pole locations are then tested between the critical gains.

Are the results exact?

The centroid and asymptote angles are exact once the poles and zeros are known. Roots, break points, crossings and the plotted branches are computed numerically to about six significant figures; repeated roots are computed less precisely.