How to use this page: try each problem before opening its solution. Every answer sits inside a
collapsible [!recall]- callout — click to reveal. Problems climb from recognising the case to
building your own ODE to match a required behaviour. All numeric answers are machine-checked.
Goal: read the discriminant and name the case. No solving required beyond spotting roots.
Recall Solution 1.1
Read off a=1 each time.
(a)b2−4ac=25−24=1>0 → Case 1.
(b)16−16=0 → Case 2 (repeated root), see Case 2 repeated real root.
(c)4−20=−16<0 → Case 3 (complex roots), see Case 3 complex conjugate roots.
Why the sign is all that matters:r1,2=2a−b±b2−4ac. The thing under the square root decides whether the ± splits into two real numbers (>0), collapses to one (=0), or goes imaginary (<0).
Recall Solution 1.2
Factor: (r−2)(r−5)=0⇒r1=2,r2=5. Distinct reals, so
y=C1e2x+C2e5x.
Characteristic: 2r2−3r−2=0.
Quadratic formula: r=43±9+16=43±5.
So r1=48=2 and r2=4−2=−21.
y=C1e2x+C2e−x/2.Why keep a=2 inside the quadratic: the 2a=4 in the denominator comes from that leading coefficient. Dropping it silently gives wrong roots.
Recall Solution 2.3
First:r2−9=0⇒r=±3. y=C1e3x+C2e−3x.
Second:r2−3r=0⇒r(r−3)=0⇒r1=0,r2=3. Since e0⋅x=1,
y=C1+C2e3x.The comparison: a root of r=0 is still a perfectly valid distinct real root — it just produces the constant solution C1. Zero is not a degenerate case here; it's an honest member of Case 1.
Goal: use initial/boundary conditions to pin the constants, and read long-term behaviour.
Recall Solution 3.1
Roots: r2−r−2=(r−2)(r+1)=0⇒r1=2,r2=−1.
General: y=C1e2x+C2e−x, and y′=2C1e2x−C2e−x.
Conditions at x=0 (both exponentials =1):
C1+C2=0,2C1−C2=3.
Add: 3C1=3⇒C1=1, then C2=−1.
y=e2x−e−x.
Recall Solution 3.2
Roots: r2+3r+2=(r+1)(r+2)=0⇒r1=−1,r2=−2.
y=C1e−x+C2e−2x, y′=−C1e−x−2C2e−2x.
At x=0: C1+C2=2, −C1−2C2=−5⇒C1+2C2=5.
Subtract first from second: C2=3, then C1=−1.
y=−e−x+3e−2x.Long term: both exponents negative → y→0 as x→∞. See figure below.
Recall Solution 3.3
Roots r=±2: y=C1e2x+C2e−2x.
y(0)=1: C1+C2=1.
y(1)=0: C1e2+C2e−2=0⇒C1=−C2e−4.
Substitute: −C2e−4+C2=1⇒C2(1−e−4)=1⇒C2=1−e−41.
Then C1=1−e−4−e−4.
Numerically C2≈1.01866, C1≈−0.018659.
y=1−e−4−e−4e2x+1−e−41e−2x.Why the method is identical: boundary conditions still give two linear equations in C1,C2. Only where we sample y changes.
Goal: build the ODE, or the solution, backwards from given data.
Recall Solution 4.1
The exponents tell us the roots: r1=4,r2=−1. Build the characteristic equation from them:
(r−4)(r+1)=r2−3r−4=0.
Read powers of r back to derivatives (r2→y′′,r→y′,1→y):
y′′−3y′−4y=0.Why this works: the map ODE↔characteristic polynomial is a two-way street. Roots → factors → polynomial → ODE.
Recall Solution 4.2
Constant 1=e0⋅x means r1=0; e5x means r2=5.
(r−0)(r−5)=r2−5r=0⇒y′′−5y′=0.
Check: c=0, matching that a root sits at r=0 (no constant term ⇒ zero is a root).
Recall Solution 4.3
y1′=2e2x, y2′=−3e−3x.
W=e2x(−3e−3x)−(2e2x)e−3x=(−3−2)e−x=−5e−x.
Since e−x=0 for all x, W=0 everywhere → linearly independent. Note −5=r2−r1=−3−2, matching the general formula W=(r2−r1)e(r1+r2)x from Wronskian and linear independence.
Goal: combine everything — design behaviour, handle a system-like constraint, reason about signs.
Recall Solution 5.1
"Decays to 0" needs both roots negative. "One twice as fast" means one root is twice the other: pick r1=−1,r2=−2.
(r+1)(r+2)=r2+3r+2=0⇒y′′+3y′+2y=0.
General solution y=C1e−x+C2e−2x; the e−2x mode decays twice as fast as e−x. ✔
Sanity via sign rules: both roots negative ⇔ sum =−b<0 (so b>0) and product =c>0. Here b=3>0,c=2>0. ✔
Recall Solution 5.2
Roots: r2−r−6=(r−3)(r+2)=0⇒r1=3,r2=−2.
y=C1e3x+C2e−2x, y′=3C1e3x−2C2e−2x.
Conditions: C1+C2=A, 3C1−2C2=0⇒C1=32C2.
Then 32C2+C2=A⇒35C2=A⇒C2=53A,C1=52A.
y=52Ae3x+53Ae−2x.
The e3x term blows up unless its coefficient is zero: C1=52A=0⇒A=0.
Interpretation: with r1>0>r2 this is a saddle. Only the exact starting choice A=0 (giving y≡0) lands on the stable direction; any A=0 excites the growing mode. See figure.
Recall Solution 5.3
Characteristic: 3r2−r−2=0. Quadratic formula: r=61±1+24=61±5.
r1=1,r2=−32.
y=C1ex+C2e−2x/3, y′=C1ex−32C2e−2x/3.
At x=0: C1+C2=1, C1−32C2=0⇒C1=32C2.
Then 32C2+C2=1⇒35C2=1⇒C2=53,C1=52.
y=52ex+53e−2x/3.
Recall Self-test recap (cloze)
A distinct root r=0 contributes the solution ==the constant 1==.
Both roots negative ⇔b>0 and ==c>0== (monic).
The Wronskian of er1x,er2x equals ==(r2−r1)e(r1+r2)x==, nonzero iff r1=r2.
From roots r1,r2 the monic characteristic polynomial is ==(r−r1)(r−r2)==.