Root Locus
March 25, 2026 · View on GitHub
Overview & Motivation
When designing a feedback control system, a fundamental question is: how do the closed-loop poles move as I change the loop gain? The root locus answers this by plotting the trajectories of the closed-loop poles in the complex plane as a scalar gain varies from to .
This visualization immediately reveals whether increasing gain will drive the system unstable (poles crossing into the right half-plane), where oscillatory modes appear (complex pole pairs), and which gain ranges produce acceptable damping. It is one of the oldest and most intuitive tools in classical control design.
Mathematical Theory
Closed-Loop Characteristic Equation
Given an open-loop transfer function:
the closed-loop characteristic equation (for unity feedback) is:
The root locus is the set of all roots of this equation as varies over .
Key Properties
- Starting points (): Roots begin at the open-loop poles (roots of ).
- Ending points (): Roots converge to the open-loop zeros (roots of ) or diverge to infinity along asymptotes.
- Number of branches: Equal to the order of .
- Symmetry: For real-coefficient polynomials, complex roots always appear in conjugate pairs.
Gain Sweep
The gain is swept logarithmically to provide uniform resolution across decades:
where is the number of gain steps and .
At each gain step, the roots of are found using the Durand-Kerner polynomial root-finder.
Complexity Analysis
| Case | Time | Space | Notes |
|---|---|---|---|
| All | = gain steps, = polynomial order, = Durand-Kerner iterations per step |
Why: At each of the gain steps, a degree- polynomial is solved via Durand-Kerner, which performs iterations each costing (evaluating the polynomial and computing the denominator product for all roots).
Step-by-Step Walkthrough
System: , sweep from 0.01 to 10.
Step 1 — Identify poles and zeros
- Open-loop poles: , (roots of )
- Open-loop zero: (root of )
Step 2 — Form characteristic polynomial at
Step 3 — Solve using Durand-Kerner:
Both poles are real and negative → system is stable at .
Step 4 — Repeat for each gain step and plot all root positions in the complex plane.
Im(s)
|
| × zero (-1)
--●-----×------●--> Re(s)
0 -1 -2
pole pole
As increases: the two poles approach each other on the real axis, meet between 0 and −2, then split into a complex conjugate pair. One branch eventually converges to the zero at ; the other diverges to .
Pitfalls & Edge Cases
- Strictly positive gains required — the logarithmic sweep cannot handle . For negative feedback analysis, negate the numerator.
- Proper transfer function assumed — . Improper transfer functions (more zeros than poles) are not supported.
- Branch tracking ambiguity — Durand-Kerner returns roots sorted by real part, not by branch identity. For smooth visualization, apply nearest-neighbor matching between consecutive gain steps.
- Clustered or repeated roots cause slower convergence in Durand-Kerner; increase the maximum iteration count if the locus appears jagged.
Variants & Generalizations
| Variant | Key Difference |
|---|---|
| Complementary root locus | Traces roots for (positive feedback) |
| Root contour | Varies two or more parameters simultaneously |
| Discrete root locus | Same concept applied to -domain polynomials for digital control |
| Evans rules | Analytical rules for sketching the root locus by hand (angle/magnitude criteria) |
Applications
- Gain selection — Choosing the operating gain that meets damping and bandwidth specifications.
- Compensator design — Adding poles/zeros (lead/lag networks) and observing how the locus reshapes.
- Stability analysis — Determining the gain margin (gain at which the locus crosses the imaginary axis).
- Educational tool — Developing intuition about how feedback affects system dynamics.
Connections to Other Algorithms
graph LR
RL["Root Locus"] --> DK["Durand-Kerner"]
RL --> LQR["LQR (pole placement alternative)"]
DK --> RL
| Algorithm | Relationship |
|---|---|
| Durand-Kerner | Used at each gain step to find the roots of the characteristic polynomial |
| LQR | Alternative approach to pole placement — LQR optimizes a cost rather than manually selecting gain via root locus |
References & Further Reading
- Evans, W.R., "Graphical Analysis of Control Systems", Transactions of the AIEE, 67(1), 1948.
- Franklin, G.F., Powell, J.D. and Emami-Naeini, A., Feedback Control of Dynamic Systems, 8th ed., Pearson, 2019 — Chapter 5.
- Ogata, K., Modern Control Engineering, 5th ed., Prentice Hall, 2010 — Chapter 6.