WHY does homogeneous + linear let us add solutions? Because the operator
L[y]=any(n)+⋯+a0y is linear: L[c1y1+c2y2]=c1L[y1]+c2L[y2].
If L[y1]=0 and L[y2]=0, then any combination is also 0. So the general solution is a
linear combination of independent basic solutions — and an n-th order equation needs
==n==" independent ones.
Step 1 — Guess y=erx.Why this step? Only exponentials reproduce themselves under differentiation, so they're the natural candidate to make the combination cancel.
Step 2 — Differentiate:y′=rerx, y′′=r2erx.
Step 3 — Substitute:ar2erx+brerx+cerx=0⇒erx(ar2+br+c)=0.Why this step? Factor out the common erx to isolate the algebra.
Step 4 — Divide by erx (never zero):ar2+br+c=0
the characteristic equation. Solve it with the quadratic formula r=2a−b±b2−4ac.
The discriminantΔ=b2−4ac splits everything into 3 cases.
If r is a double root then ar2+br+c=a(r−r0)2, so the operator factors as
a(D−r0)2y=0 where D=dxd. Solving (D−r0)u=0 gives u=c2er0x, then
(D−r0)y=u is a first-order linear ODE whose solution is y=(c1+c2x)er0x. The factor
x appears because the integrating factor cancels the exponential and leaves a constant to
integrate, producing a linear-in-x term. That's why — not a magic rule.
With r=α±iβ, solutions are e(α+iβ)x and e(α−iβ)x.
These are complex; but the ODE has real coefficients, so we want real solutions. Take
real and imaginary parts: eαxcosβx and eαxsinβx — both are
solutions and they are independent. (This is Euler's formula doing all the work.)
Imagine a swing. The rule for how it moves only involves the swing's position, its speed, and how
fast its speed changes — all multiplied by fixed numbers. We bet the answer looks like a special
number e raised to a power, because that's the one shape that stays the same when you measure how
fast it changes. Plugging the bet in turns the hard "rate of change" question into an easy
"solve a number puzzle" (ar2+br+c=0). If the puzzle gives two normal numbers → two stretchy
exponential curves. If it gives one repeated number → you sneak in an extra x. If it gives
"imaginary" numbers → the swing actually wiggles, so you get waves (sin and cos), maybe fading away.
Dekho, jab humein aisi ODE milti hai jaise ay′′+by′+cy=0 jisme saare coefficients constant
hain, to seedha trick hai: hum guess karte hain ki solution y=erx hoga. Kyun? Kyunki sirf
exponential function aisa hai jiska derivative khud ka hi scaled version hota hai. Jaise hi yeh
plug karte ho, erx common nikal kar cancel ho jaata hai, aur bachta hai ek simple polynomial
ar2+br+c=0 — isko characteristic equation kehte hain. Matlab calculus ka tough problem
ek easy algebra problem ban gaya.
Ab roots ke teen cases hain. Agar do alag real roots mile (Δ>0), to answer hai
c1er1x+c2er2x. Agar ek hi root repeat ho (Δ=0), to sirf erx likhne se ek
solution kam pad jaata hai, isliye ek extra x multiply karke xerx lete hain —
(c1+c2x)erx. Aur agar roots complex ho (α±iβ), to Euler formula use karke
eαx(c1cosβx+c2sinβx) milta hai, jisme α batata hai growth ya decay
aur β batata hai oscillation kitni tez hai.
Yeh matter kyun karta hai? Physics mein spring, pendulum, electrical circuits — sab isi tarah
ke equations dete hain. α<0 ho to oscillation dheere dheere mar jaata hai (damping),
α=0 ho to pure wave chalti rehti hai. Toh ek hi formula trick se tum predict kar sakte ho
ki system spread karega, shaant hoga, ya hilta rahega.
Sabse common galti: repeated root pe c1erx+c2erx likh dena — yeh galat hai kyunki yeh ek
hi constant ban jaata hai. Hamesha yaad rakho: "Different, Double, Dizzy" — alag roots,
double root mein x daalo, aur complex mein sin-cos aata hai.