Non-Homogeneous & Constant-Coefficient ODEs: Root Classification, Euler Links, and Solution Building
Big-Picture Reminders
- Always learn every possible solution method.
- One single substitution will not unlock every differential equation.
- Instructor’s anecdote: a friend kept forcing one trick, succeeded three times, then stalled on the fourth problem – proof that breadth of techniques matters.
- Preview for the day
- Transition from previously covered Bernoulli, homogeneous & linear cases to a new non-homogeneous, higher–order, constant–coefficient setting.
- Strong emphasis on classifying roots (real, repeated, complex) and writing the correct form of the complementary solution (yc).
Anatomy of the Example Non-Homogeneous ODE
- Header in notes: “Between 21–24: non-homogeneous differential equation.”
- Generic layout: a<em>2y′′+a</em>1y′+a0y=g(x)
- Observations made in class:
- First two terms (y′′ and y′) have constant coefficients → no $x$ present, exponent “invisible zero.”
- Last two terms involve y and x, each carrying an exponent of 1.
- Presence of x on the right (or any non-zero forcing g(x)) ⇒ equation is non-homogeneous.
Review: Powers of i & Periodicity
- Key cycle: i0=1, i1=i, i2=−1, i3=−i, i4=1 (cycle length 4)
- Fast exponent test: remainder mod 4 decides the value.
- Example:
- i17 → 17≡1(mod 4) → i17=i.
- i35 → 35≡3(mod 4) → i35=−i.
- Fundamental identity: eix=cosx+isinx.
- Immediate practice question: eiπ/2=cos(π/2)+isin(π/2)=i.
- Derivative chain reminder: dxdsinx=cosx, and dxdcosx=−sinx follow from differentiating eix term-by-term in its Maclaurin series (sometimes referred to as the “Euler function” in lecture).
Constant-Coefficient Homogeneous Theory
- For nth-order ODE a<em>ny(n)+⋯+a</em>1y′+a<em>0y=0 form the characteristic polynomial a</em>nrn+⋯+a<em>1r+a</em>0=0.
- Three root categories and their solution pieces:
- Distinct real roots (r<em>1,…,r</em>k)
- y<em>c=C</em>1er<em>1x+⋯+C</em>kerkx.
- Repeated real root r of multiplicity m
- Contribution: (C<em>1+C</em>2x+⋯+Cmxm−1)erx.
- Complex conjugate pair α±iβ (unrepeated)
- Written once as eαx(C<em>1cosβx+C</em>2sinβx).
- Repeated complex pair: attach the same x,x2,… multipliers as in real-repeated case but wrapped around the sine/cosine block.
- Important vocabulary
- α = real part, β = imaginary part.
Worked Complex-Root Example ((2 \pm i))
- Characteristic factor leads to roots r=2±i.
- Write as α=2, β=1.
- Complementary solution: y<em>c=e2x(C</em>1cosx+C2sinx).
Solving for Constants Using Initial Conditions
- Matrix viewpoint recommended (augmented matrix / row-reduction) for multiple Ci.
- Lecture mini-example (three unknowns):
{<br/>C<em>2+C</em>3amp;=7 <br/>2C<em>2−5C</em>3amp;=0 <br/>4C<em>2+25C</em>3amp;=70<br/> - Student advised to review a short video on Gaussian elimination to speed up the algebra.
Rational Root Theorem Reminder for Factoring Characteristic Polynomials
- For integer coefficients, candidate rational roots are ± divisors of the constant term over divisors of the leading coefficient.
- Instructor’s quick list when constant term is 10: ±1,±2,±5,±10.
- Trial-and-error example: plug in r=2, find it zeros out the polynomial, then factor further.
Mixed Root Set Mega-Example (Book: p.170, Example 8)
- Eleven listed roots:
3, −5, 0 (multiplicity 4), −5 (again), 2+3i, 2−3i - Resulting complementary solution pieces:
- C1e3x (distinct real)
- e−5x(C<em>2+C</em>3x) (repeated real of mult. 2)
- e0x(C<em>4+C</em>5x+C<em>6x2+C</em>7x3)=C<em>4+C</em>5x+C<em>6x2+C</em>7x3 (zero root, mult. 4)
- e2x(C<em>8cos3x+C</em>9sin3x) (complex pair)
- Instructor urges students to copy that full answer to “never forget” how each category appears.
Practical & Philosophical Takeaways
- Method diversity prevents dead-ends; know when each assumption (constant coefficients, linearity, etc.) is valid.
- Verify non-homogeneity before applying superposition/characteristic tricks.
- Imaginary solutions are expected for cubic and higher-degree polynomials → be comfortable switching to sine/cosine form.
- Augmented matrices accelerate the algebra of initial-value matching.
- Regular practice:
- Evaluate eiθ at common angles.
- Compute in for random n.
- Factor polynomials with the Rational Root Theorem.
- Re-write mixed-root solutions until the pattern is automatic.
Suggested Exercises & Resources
- Re-work the “between 21–24” problem counting non-zero forcing terms.
- Textbook p.170 Example 8 (11 roots) – copy solution structure verbatim, then derive it yourself.
- Watch a 5-minute crash video on Gaussian elimination / augmented matrices.
- Optional deep dive: derive sin and cos derivatives straight from the Maclaurin series of eix to reinforce Euler’s formula.