4.6.11 · D3Ordinary Differential Equations

Worked examples — Case 1 - two distinct real roots

2,546 words12 min readBack to topic

This page is the "no surprises" drill for Case 1. The parent note showed you the machine — Replace, Solve, Superpose. Here we run that machine through every kind of input it can meet, so that when an exam throws you a variation, you have already seen its shape.

Before any algebra, one reminder of the object we are solving:

Here are the two growth rates; are free constants set by starting data. Everything below is just this one formula, met in every disguise.


The scenario matrix

Case 1 always gives two real numbers . What differs is their signs, whether one is zero, whether the problem is dressed as a word problem, and how the constants get fixed. Each row below is a distinct "shape of answer" you must recognise on sight.

Cell What is special about the roots Long-term behaviour of Example
A Both roots negative () Decays to Ex 1
B Both roots positive () Blows up Ex 2
C Opposite signs () Generically blows up (one term dominates) Ex 3
D One root is zero (? no — ) Settles to a nonzero constant Ex 4
E symmetric roots () Grows unless the growing part is switched off Ex 5
F Initial conditions pin Depends on data Ex 6
G Boundary conditions (values at two 's) Depends on data Ex 7
H Word problem (real-world decay/mixing) Physical decay Ex 8
I Exam twist — leading coefficient , needs the quadratic formula Depends Ex 9
J Degenerate boundary — no solution / infinitely many Watch for failure Ex 10

The figure below plots the four sign-combinations of roots so you can see what each row does before we compute anything.

Figure — Case 1 -  two distinct real roots

Look at the four coloured curves: green (both roots negative) sinks to zero; red (both positive) shoots up; blue (opposite signs) is pulled up by its growing half; yellow (a zero root) flattens onto a constant shelf. Every example below lands on one of these shapes.


Cell A — both roots negative (pure decay)

  1. Replace derivatives by powers of : . Why this step? The ansatz makes , ; the common factor divides out, leaving pure algebra.
  2. Check the discriminant: . Why this step? Positive discriminant is the entry ticket to Case 1 — two distinct reals.
  3. Solve the quadratic: . Why this step? These are the two growth rates that make the exponential satisfy the ODE.
  4. Superpose: . Why this step? Superposition plus the need for two free constants in a 2nd-order ODE.
Recall Verify

Take : ✔. Both roots negative, so as , — matches the forecast.


Cell B — both roots positive (pure growth)

  1. Characteristic equation: . Why? Same replacement rule.
  2. Discriminant: . Case 1 confirmed. Why? Guarantees two distinct real roots.
  3. Factor: . Why? Both positive, matching the sum/product prediction.
  4. General solution: .
Recall Verify

Sum of roots ✔; product ✔ (Vieta's checks). Test : ✔.


Cell C — opposite-sign roots (saddle)

  1. Characteristic equation: .
  2. Discriminant: . Why? Case 1.
  3. Factor: . Why? One positive ( grows), one negative ( decays).
  4. General solution: .
Recall Verify

Product ✔, sum ✔. Test : ✔.


Cell D — one root is zero (settles to a constant)

  1. Characteristic equation: . Why? Same replacement; leaves no constant term.
  2. Factor: . Why? These are still two distinct reals, so it is genuinely Case 1 — the zero root is perfectly legal.
  3. General solution: . Why? , so the "growth rate zero" solution is the constant function.
Recall Verify

Test (constant): ✔. As , , a constant shelf — matches forecast.


Cell E — symmetric roots ()

  1. Characteristic equation: .
  2. Solve: , i.e. . Distinct reals — Case 1. Why? Discriminant .
  3. General solution: .
Recall Verify

Test : ✔. Test : ✔.


Cell F — initial conditions fix the constants

  1. Characteristic equation & roots: .
  2. General solution: .
  3. Apply : at both exponentials equal , so . Why? collapses the equation into a plain linear relation.
  4. Differentiate: . Apply : . Why? A 2-parameter family needs two conditions to be pinned.
  5. Solve the pair: subtract: , then . Why? Two linear equations, two unknowns.
  6. Answer: .
Recall Verify

✔. ✔. Plug into ODE: ✔.


Cell G — boundary conditions (two different -values)

  1. Roots & general solution: , so .
  2. Apply : . Why? Both exponentials are at .
  3. Apply : , , so . Why? Evaluate the exponentials at exactly.
  4. Solve: from step 2, . Substitute: , then . Why? Linear elimination again — boundary conditions are still just two linear equations.
  5. Answer: .
Recall Verify

✔. ✔.


Cell H — real-world word problem

  1. Characteristic equation: . Why? Standard replacement.
  2. General solution: .
  3. : . Why? .
  4. , : . Why? Second condition pins both constants.
  5. Solve: subtract step 3: , then .
  6. Answer: . As , both terms , so .
Recall Verify

✔. ✔. Units: shares 's units per second; the rates have units (correct for an exponential of with in seconds). Long-term matches physical decay ✔.


Cell I — exam twist: , quadratic formula needed

  1. Characteristic equation: . Why? Keep the coefficient ; do not divide sloppily.
  2. Quadratic formula: . Why this tool? No obvious integer factoring, so the formula is the general route.
  3. Roots: . Why? Discriminant , distinct reals — Case 1.
  4. General solution: .
Recall Verify

Sum ✔. Product ✔. Test : ✔.


Cell J — degenerate boundary problem (a trap)

  1. General solution: .
  2. Impose : , so we must have . Why? Any nonzero makes blow up, contradicting the limit.
  3. Now . Impose : , so . A unique solution exists.
  4. Second version — impose instead: , giving . Here the only decaying solution starting at is the trivial zero function. Why show both? To see that boundary conditions can (a) select a unique nonzero solution, or (b) force the trivial solution — you must check which.
Recall Verify

: ✔; ✔; ✔. Version two: trivially satisfies everything ✔.


Recall check

Which sign of guarantees opposite-sign roots?
Negative (the product of roots equals ).
When , what is always one of the roots and what does that term look like?
; the term is the constant (since ).
Why does " as " force a constant to vanish?
It kills the coefficient of any with , since that part blows up.
For , what are the roots?
and .

Connections