4.6.12 · D3Ordinary Differential Equations

Worked examples — Case 2 - repeated real root — reduction of order

3,025 words14 min readBack to topic

This page is the drill floor for Case 2 (repeated real root). The parent note proved why the two solutions are and . Here we make sure you never meet a version of the problem you haven't already seen solved.

Before anything else, one promise: every symbol you see below was defined in the parent. If you are shaky on where the characteristic equation comes from, glance at Characteristic equation of linear ODEs first.


The scenario matrix

A "repeated real root" problem is not one problem — it is a family of them. The difficulty hides in the packaging: whether or not, whether is positive, negative or zero, whether you're asked for a general solution or fed initial/boundary conditions, and whether the whole thing is dressed up as a word problem.

Here is the full grid. Every cell gets at least one fully worked example below.

Cell What makes it different The trap it sets Example
C1 Clean , positive root none — warm-up Ex 1
C2 , negative root sign of in Ex 2
C3 Repeated root (degenerate) , so solutions are and Ex 3
C4 Leading coefficient must divide/factor carefully for Ex 4
C5 Initial-value problem (conditions at one point) applying correctly Ex 5
C6 Boundary-value problem (conditions at two points) solving a system Ex 6
C7 Limiting / coalescing roots viewpoint seeing emerge as a limit Ex 7
C8 Word problem (physics: critical damping) translating words → ODE → root Ex 8
C9 Exam twist — verify a given function solves it reverse-engineering Ex 9

Figure s01 — read this before the examples. The plot shows the shape of the Case 2 general solution for the three sign-classes of the repeated root. The solid black curve is a positive root (): it grows without bound. The red curve is a negative root (): it rises briefly then decays to zero — this is the critical-damping shape you meet in Ex 5, Ex 6 and Ex 8, and the red arrow points to that monotone decay. The dashed black line is the degenerate root : the exponential is , so the solution is just the straight line (Ex 3). One glance tells you which cell of the matrix you are standing in from the sign of alone.

Figure — Case 2 -  repeated real root — reduction of order

Worked Examples

Ex 1 — Cell C1: clean positive root

Forecast: guess the root before reading on — the number is a perfect square, so what is ?

  1. Write the characteristic equation. Replace , , : Why this step? The trial turns derivatives into powers of (see Characteristic equation of linear ODEs).
  2. Check the discriminant. . Why this step? is the signature of a repeated root — it tells us we are in Case 2, not Case 1.
  3. Factor as a perfect square. (double). Why this step? Factoring as reads off the root with the correct sign, no formula needed.
  4. Assemble the two solutions using the Case 2 rule: and . Why this step? A 2nd-order ODE needs two independent solutions; the repeated root gives one exponential, and the Case 2 rule supplies the missing partner by tacking on an .
  5. General solution: .

Verify: let . Then , . Substitute: . ✓


Ex 2 — Cell C2: negative repeated root

Forecast: the middle sign is . Will the root be positive or negative?

  1. Characteristic equation: . Why this step? Replacing under the trial converts the ODE into an algebra problem whose roots are the exponents.
  2. Discriminant: — repeated root confirmed. Why this step? is exactly the condition that puts us in Case 2 (one root, not two).
  3. Factor: . Why this step? The produces a root of the opposite sign, . This is exactly where students misfire — the sign flips.
  4. General solution: . Why this step? With the repeated root in hand, the Case 2 pair is and , combined with two free constants.

Verify: with : . ✓


Ex 3 — Cell C3: the degenerate root

Forecast: this looks too simple. What are its two solutions, and does the Case 2 rule still apply?

  1. Write it in standard form: , so . Why this step? Naming explicitly lets us feed them straight into the characteristic equation and discriminant — the machinery expects the equation in this shape.
  2. Characteristic equation: (double root). Why this step? , so this is a repeated root — the special value being .
  3. Apply the Case 2 rule mechanically: solutions are and . Why this step? We do NOT skip the rule just because it looks trivial — the pair holds for every repeated root, including .
  4. Simplify with : the solutions are and . Why this step? collapses the exponentials, revealing the two solutions in their plainest form.
  5. General solution: — a straight line, exactly what (zero curvature) should give.

Verify: identically. ✓


Ex 4 — Cell C4: leading coefficient

Forecast: the leading changes how you extract . Predict from before factoring.

  1. Characteristic equation: . Why this step? The same trial turns the ODE into a quadratic — but now the leading coefficient is , so we must keep it rather than assume .
  2. Discriminant: — repeated root. Why this step? with confirms we are still in Case 2; the non-unit leading coefficient does not change the classification, only the arithmetic.
  3. Two safe ways to get :
    • Formula: .
    • Perfect square: . Why two ways? They cross-check each other. With the perfect-square factor is , not — forgetting the is the classic slip.
  4. General solution: . Why this step? With the repeated root , the Case 2 pair is and ; the leading played no further role once was found.

Verify: must satisfy : . ✓


Ex 5 — Cell C5: initial-value problem

Forecast: you'll get . Guess: which condition pins , and which pins ?

  1. Characteristic: (double). Why this step? We must solve the general solution first; only then do the conditions have constants to fix.
  2. General solution: . Why this step? The repeated root gives the Case 2 pair; the two free constants are what the two initial conditions will determine.
  3. Apply . At : and the term dies. So . Why this step? Evaluating at isolates because multiplies .
  4. Differentiate using the product rule: Why this step? We need to use the second condition.
  5. Apply . At : . With : . Why this step? The second condition supplies the one remaining equation needed to solve for .
  6. Answer: .

Verify: ✓. , so ✓.


Ex 6 — Cell C6: boundary-value problem

Forecast: here the two conditions are at different -values. That means a system, not a two-step substitution.

  1. Characteristic: (double). Why this step? As always, the general solution must come first before boundary values can pin the constants.
  2. General solution: . Why this step? The repeated root gives the Case 2 pair with two constants to be fixed by the two boundary conditions.
  3. Apply : . Why this step? Same as before — at the -term vanishes, isolating .
  4. Apply : . Since , we need . Why this step? An exponential is never zero, so the bracket must be zero.
  5. Answer: .

Verify: ✓. ✓. And : with , , ; sum ✓.


Ex 7 — Cell C7: watch the roots coalesce

Forecast: the target value is at , i.e. . Watch the difference quotient climb toward it.

  1. The setup. Two distinct roots and give solutions and . Their difference quotient is also a solution (linear combination). Why this step? This is Derivation B from the parent — is the derivative of the solution family with respect to the root.
  2. Evaluate at for shrinking :
    • : .
    • : .
    • : . Why this step? Numbers marching toward show the limit is .
  3. Conclusion: the two exponentials fuse into — the second solution is born from the collision. This is why the factor is not a lucky guess but a limit.

Figure s02 — what the numbers look like. The red curve is the target limit function . The three dashed black curves are the difference quotients for . As shrinks, each dashed curve hugs the red one more tightly; the red arrow marks where they close in near . Watching the dashed curves collapse onto the red limit is the whole point of Derivation B: the second solution literally emerges as two roots slide together.

Figure — Case 2 -  repeated real root — reduction of order

Verify: exact limit , matching the numbers above. ✓


Ex 8 — Cell C8: critical damping (word problem)

Forecast: with these numbers the discriminant is zero — this is critical damping, the fastest return to rest without oscillating. Guess whether ever crosses zero.

  1. Translate to characteristic equation. With : . Why this step? , , — the same trial as always, just with time as the independent variable.
  2. Discriminant : repeated root , . Why this step? is precisely the critical damping condition; the maths knows it as a repeated root.
  3. General solution: . Why this step? The repeated root gives the Case 2 pair ; the constants will be fixed by the two initial conditions.
  4. Apply : . Why this step? At the term dies and , isolating .
  5. Apply . . At : . Why this step? "Released from rest" means zero initial velocity, which is exactly the condition needed to pin .
  6. Answer: .

Interpretation: since for all and , the mass never crosses zero — it slides monotonically back to equilibrium without overshoot. That's the fingerprint of critical damping (contrast with the oscillating Case 3 complex roots).

Verify: ✓. , so ✓. Units: in seconds, in metres. ✓


Ex 9 — Cell C9: exam twist (reverse-engineer)

Forecast: the exponent screams . If it's a repeated root, what must and be?

  1. Read the root off the exponent. The factor and the presence of an -term signal a repeated root . Why this step? Only a repeated root produces the shape — so the packaging of the given function tells us the root and its multiplicity.
  2. Repeated root characteristic is a perfect square: . Why this step? A double root at means the quadratic is exactly.
  3. Match to : , . Why this step? Comparing coefficients of the expanded square with the target polynomial reads off and directly.
  4. Confirm discriminant : ✓ — genuinely repeated. Why this step? This closes the loop: the reconstructed coefficients must themselves satisfy the Case 2 condition.
  5. Answer: , root (double).

Verify: plug back. . . Then ✓.


Coverage self-check

Recall Did we hit every cell?

Positive root ::: Ex 1 (C1) Negative root ::: Ex 2 (C2) Degenerate root ::: Ex 3 (C3) Leading coefficient ::: Ex 4 (C4) Initial-value problem ::: Ex 5 (C5) Boundary-value problem ::: Ex 6 (C6) Coalescing-roots limit ::: Ex 7 (C7) Physics word problem ::: Ex 8 (C8) Reverse-engineering twist ::: Ex 9 (C9)


Connections