Skip to content
Tutorials Center
My learning

Topics

Lesson 20 of 37 · Root Locus and Frequency Response

Root Locus Rules and Examples

Sketch a root locus by hand with the standard rules: real-axis segments, asymptotes, breakaway points and imaginary-axis crossings, each checked in Python.

You can trace a locus numerically, as in the previous lesson, but the hand-sketching rules are worth learning because they tell you the shape before you compute anything. They also tell you which design changes are possible. Every rule below follows from the angle condition: a point s is on the locus (for K > 0) if the angles from all zeros minus the angles from all poles add up to an odd multiple of 180°.

We apply the rules to L(s) = K / (s(s+1)(s+2)), check each one in code, and then use them on a second example with a zero.

The rules

Let n be the number of open-loop poles and m the number of finite zeros.

  1. Branches. There are n branches (one per closed-loop pole), symmetric about the real axis.
  2. Start and end. Branches start at the poles and end at the m finite zeros or go to infinity (n - m of them).
  3. Real axis. A real point is on the locus if the total number of poles and zeros to its right is odd.
  4. Asymptotes. The n - m branches going to infinity follow lines with angles (2k+1)·180° / (n - m).
  5. Centroid. The asymptotes meet at σ = (Σ poles - Σ zeros) / (n - m).
  6. Breakaway and break-in points. On the real axis, where branches leave or join, dK/ds = 0 for K = -D(s)/N(s).
  7. Imaginary-axis crossing. Where the locus enters the right half plane, solve D(jω) + K N(jω) = 0 for K and ω.
  8. Angle of departure/arrival. For complex poles or zeros, apply the angle condition at a point very near them.
flowchart TD
    A["Mark poles x and zeros o"] --> B["Real-axis segments (odd count to the right)"]
    B --> C["Asymptote angles and centroid"]
    C --> D["Breakaway / break-in points"]
    D --> E["Imaginary-axis crossings"]
    E --> F["Sketch and read K from the magnitude condition"]

A reliable order for sketching a locus.

Example: three poles, no zeros

For s(s+1)(s+2): poles at 0, -1, -2, so n = 3, m = 0.

  • Real-axis segments: between 0 and -1 (one pole to the right: odd) and left of -2 (three to the right: odd).
  • Asymptotes: angles 60°, 180°, 300°. Centroid σ = (0 - 1 - 2)/3 = -1.
  • Breakaway: between 0 and -1.

The breakaway comes from K = -s(s+1)(s+2) = -(s³ + 3s² + 2s). Setting dK/ds = -(3s² + 6s + 2) = 0 gives s = -1 ± 0.577. Only s = -0.423 lies on the locus (between 0 and -1).

Python Check centroid, breakaway and the K at the breakaway

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The valid breakaway is s ≈ -0.4226 with K ≈ 0.385, matching the previous lesson's table. The other root, s ≈ -1.577, is not on the locus and is rejected.

The imaginary-axis crossing

Put s = jω into s³ + 3s² + 2s + K = 0. The real part gives -3ω² + K = 0 and the imaginary part gives -ω³ + 2ω = 0. So ω² = 2 and K = 6. The loop is stable for 0 < K < 6; at K = 6 it oscillates at ω = √2 ≈ 1.414 rad/s. Routh's table finds the same gain by asking when the first-column entry (3·2 - K)/3 hits zero.

Python Find the crossing by scanning K

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Example with a zero

Now add a zero: L(s) = K(s + 3) / (s(s+1)(s+2)). Here n = 3, m = 1, so n - m = 2 branches go to infinity at ±90°. The centroid is (0 - 1 - 2 - (-3)) / 2 = 0. The zero at -3 pulls the locus left, and the poles never cross into the right half plane for any K. Adding a left-half-plane zero stabilizes the loop: this is the idea behind PD control and lead compensation.

Python A zero pulls the locus to the left

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

At large K one pole approaches the zero at -3, while the other two head for the vertical asymptote at Re(s) = 0 from the left. They never cross, so the loop stays stable at every gain, at the price of very oscillatory behavior when K is huge.

To read the gain at any point s0 on the locus, use the magnitude condition: K = 1 / |N(s0)/D(s0)|, that is the product of distances to the poles divided by the product of distances to the zeros.

Common mistakes

  • Counting poles and zeros to the left instead of the right when finding real-axis segments.
  • Reporting a breakaway root that is not on a valid segment (like s = -1.577 above).
  • Forgetting that a zero count m changes the number of asymptotes to n - m.
  • Assuming the locus always crosses into the right half plane. With enough left-half-plane zeros it never does.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. A plant has 4 poles and 1 zero. How many branches go to infinity?

    n - m = 4 - 1 = 3 branches go to infinity along asymptotes.
  2. 2. A real-axis point is on the locus (K > 0) when:

    The angle condition requires an odd total count of real poles and zeros to the right of the point.
  3. 3. For s(s+1)(s+2) with gain K, at what K does the loop become marginally stable?

    Substituting s = jw gives w^2 = 2 and K = 3 w^2 = 6.
  4. 4. What does adding a left-half-plane zero usually do to a root locus?

    A zero attracts branches. A left-half-plane zero bends them leftward, which raises stability margins.

Summary

  • Eight rules (real axis, asymptotes, centroid, breakaway, crossings, angles) predict the locus shape.
  • Asymptote angles are (2k+1)·180°/(n-m); the centroid is (Σpoles - Σzeros)/(n-m).
  • Breakaway points solve dK/ds = 0 and must lie on valid real-axis segments.
  • The imaginary-axis crossing gives the maximum stable gain; here K = 6 at ω = √2.
  • Left-half-plane zeros pull the locus left and stabilize the loop.

Next: Bode Plots