4.6.13Ordinary Differential Equations

Case 3 - complex conjugate roots — Euler's formula connection

1,726 words8 min readdifficulty · medium2 backlinks

Topic: Second-order linear homogeneous ODE with constant coefficients, when the characteristic equation has a complex conjugate pair of roots.

We study: ay+by+cy=0,a,b,cR, a0ay'' + by' + cy = 0, \qquad a,b,c \in \mathbb{R},\ a\neq 0

with characteristic equation am2+bm+c=0am^2 + bm + c = 0.


The setup — WHAT case is this?

From the quadratic formula: m=b±b24ac2a=b2aα±i4acb22aβm = \frac{-b \pm \sqrt{b^2-4ac}}{2a} = \underbrace{\frac{-b}{2a}}_{\alpha} \pm i\,\underbrace{\frac{\sqrt{4ac-b^2}}{2a}}_{\beta}

So α=b2a\alpha = -\dfrac{b}{2a} and β=4acb22a>0\beta = \dfrac{\sqrt{4ac-b^2}}{2a}>0 (since Δ<0\Delta<0 makes 4acb2>04ac-b^2>0).


The problem with complex solutions

Mechanically, the exponential method still gives two solutions: y1=e(α+iβ)x,y2=e(αiβ)x.y_1 = e^{(\alpha+i\beta)x}, \qquad y_2 = e^{(\alpha-i\beta)x}.

But these are complex-valued. For a real-world ODE we want real solutions. HOW do we extract them? This is where Euler's formula rescues us.


Deriving Euler's formula from scratch

eiθ=n=0(iθ)nn!=inθnn!e^{i\theta} = \sum_{n=0}^\infty \frac{(i\theta)^n}{n!} = \sum \frac{i^n\theta^n}{n!}

Split into even n=2kn=2k (real, i2k=(1)ki^{2k}=(-1)^k) and odd n=2k+1n=2k+1 (imaginary, i2k+1=(1)kii^{2k+1}=(-1)^k i):

eiθ=k=0(1)kθ2k(2k)!=cosθ+ik=0(1)kθ2k+1(2k+1)!=sinθe^{i\theta} = \underbrace{\sum_{k=0}^\infty \frac{(-1)^k\theta^{2k}}{(2k)!}}_{=\cos\theta} + i\underbrace{\sum_{k=0}^\infty \frac{(-1)^k\theta^{2k+1}}{(2k+1)!}}_{=\sin\theta}


From complex to real general solution

Write each complex solution using Euler. Since e(α±iβ)x=eαxe±iβxe^{(\alpha\pm i\beta)x}=e^{\alpha x}e^{\pm i\beta x}:

y1=eαx(cosβx+isinβx),y2=eαx(cosβxisinβx).y_1 = e^{\alpha x}\big(\cos\beta x + i\sin\beta x\big), \qquad y_2 = e^{\alpha x}\big(\cos\beta x - i\sin\beta x\big).

Build two real solutions (these are themselves solutions by superposition):

u=12(y1+y2)=eαxcosβxu = \tfrac{1}{2}(y_1+y_2) = e^{\alpha x}\cos\beta x v=12i(y1y2)=eαxsinβxv = \tfrac{1}{2i}(y_1-y_2) = e^{\alpha x}\sin\beta x

These are real, non-proportional (linearly independent — check the Wronskian below), so they form a basis.

Figure — Case 3 -  complex conjugate roots — Euler's formula connection

Linear independence (Wronskian check)


Worked examples


Common mistakes (Steel-man + fix)


Flashcards

What condition on Δ=b24ac\Delta=b^2-4ac gives Case 3?
Δ<0\Delta<0 (negative discriminant) → complex conjugate roots.
Why must complex roots of a real-coefficient quadratic come in conjugate pairs?
Real coefficients commute with conjugation, so if α+iβ\alpha+i\beta is a root, conjugating the equation shows αiβ\alpha-i\beta is too.
State Euler's formula.
eiθ=cosθ+isinθe^{i\theta}=\cos\theta+i\sin\theta.
For roots m=α±iβm=\alpha\pm i\beta, write the real general solution.
y=eαx(C1cosβx+C2sinβx)y=e^{\alpha x}(C_1\cos\beta x+C_2\sin\beta x).
In y=eαx(C1cosβx+C2sinβx)y=e^{\alpha x}(C_1\cos\beta x+C_2\sin\beta x), what does α\alpha control?
The growth/decay envelope eαxe^{\alpha x} (amplitude over time).
What does β\beta control?
The oscillation frequency; period =2π/β=2\pi/\beta.
How do you get real solutions from e(α±iβ)xe^{(\alpha\pm i\beta)x}?
Take u=12(y1+y2)=eαxcosβxu=\frac12(y_1+y_2)=e^{\alpha x}\cos\beta x and v=12i(y1y2)=eαxsinβxv=\frac{1}{2i}(y_1-y_2)=e^{\alpha x}\sin\beta x by superposition.
Solve y+9y=0y''+9y=0.
m=±3im=\pm3i, y=C1cos3x+C2sin3xy=C_1\cos3x+C_2\sin3x.
Roots of y+2y+5y=0y''+2y'+5y=0 and solution?
m=1±2im=-1\pm2i; y=ex(C1cos2x+C2sin2x)y=e^{-x}(C_1\cos2x+C_2\sin2x).
Why is eiβx=1|e^{i\beta x}|=1?
cos2+sin2=1\cos^2+\sin^2=1; it's a rotation on the unit circle, not a scaling.
What is the Wronskian of eαxcosβxe^{\alpha x}\cos\beta x and eαxsinβxe^{\alpha x}\sin\beta x?
W=βe2αx0W=\beta e^{2\alpha x}\neq0, confirming independence.
α=0\alpha=0 physically means?
Undamped pure oscillation (simple harmonic motion).

Recall Feynman: explain to a 12-year-old

Imagine a swing. If you push it once and let go, it swings back and forth — that's the cos\cos and sin\sin part. Now if the swing has friction, each swing gets a little smaller until it stops — that shrinking is the eαxe^{\alpha x} part (with α\alpha negative). The math gives "complex" answers that look scary with an ii, but Euler's magic trick turns ii-stuff into ordinary waves: eiθe^{i\theta} is just a spinning arrow on a clock whose shadow makes sine and cosine. So complex roots = a wave (sine/cosine) wrapped inside a growing or shrinking envelope. No imaginary numbers actually survive in the final real answer.

Connections

Concept Map

gives

discriminant

Delta < 0

force pairing

exponential method

complex-valued problem

powers of i cycle

rewrite

superposition

enables

yields

ay'' + by' + cy = 0

Characteristic am^2+bm+c=0

Delta = b^2 - 4ac

Complex roots alpha ± i beta

Real coefficients a,b,c

Complex solutions e^ alpha±ibeta x

Need real solutions

Maclaurin series of e^i theta

Euler e^i theta = cos + i sin

Linear recombination cancels i

y = e^ alpha x C1 cos beta x + C2 sin beta x

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, jab humara second-order ODE ay+by+cy=0ay''+by'+cy=0 ka characteristic equation am2+bm+c=0am^2+bm+c=0 solve karte hain aur discriminant b24acb^2-4ac negative aa jaaye, tab roots real nahi milte — wo aate hain complex conjugate pair mein: m=α±iβm=\alpha\pm i\beta. Real coefficients hone ki wajah se ye hamesha jodi mein hi aate hain. Problem ye hai ki e(α+iβ)xe^{(\alpha+i\beta)x} to complex function hai, par hume real-world solution chahiye. Yahin Euler's formula ka jaadu kaam aata hai: eiθ=cosθ+isinθe^{i\theta}=\cos\theta+i\sin\theta.

Euler use karke dono complex solutions ko mix (superposition) karke hum do real solutions nikaalte hain: eαxcosβxe^{\alpha x}\cos\beta x aur eαxsinβxe^{\alpha x}\sin\beta x. Isliye final general solution banta hai y=eαx(C1cosβx+C2sinβx)y=e^{\alpha x}(C_1\cos\beta x+C_2\sin\beta x). Simple mantra: Alpha = Amplitude, Beta = Beat. Matlab α\alpha (real part) decide karta hai amplitude badhegi ya ghategi — eαxe^{\alpha x} envelope; aur β\beta (imaginary part) decide karta hai kitni tezi se wave oscillate karega.

Physical example samjho: spring ya RLC circuit. Agar α<0\alpha<0, oscillation dheere-dheere chhoti hoti jaati hai — damped oscillation. Agar α=0\alpha=0, pure simple harmonic motion (jaise bina friction ka swing). Agar α>0\alpha>0, oscillation badhti jaati hai. Yaad rakho: eiβx=1|e^{i\beta x}|=1 hamesha — yani β\beta kabhi amplitude ko scale nahi karta, sirf ghumata (rotate) hai unit circle pe.

Exam tip: pehle Δ<0\Delta<0 confirm karo, phir α=b/2a\alpha=-b/2a aur β=4acb2/(2a)\beta=\sqrt{4ac-b^2}/(2a) likho, aur seedha formula laga do. Common galti — eαxe^{\alpha x} bhool jaana jab α0\alpha\neq0. Isse bilkul mat chhodna!

Go deeper — visual, from zero

Test yourself — Ordinary Differential Equations

Connections