Differential-Equations · Unit 13 · Video 1 · Interactive Practice

The Exponential Input Theorem: y_p = e^(αx)/p(α)

IKey Formulas

FormulaNameWhat it says
p(D)=D2+AD+Bp(D) = D^2 + AD + BOperator formy′′+Ay′+By=f(x)y'' + Ay' + By = f(x) becomes p(D) y=f(x)p(D)\,y = f(x)
p(D) eαx=p(α) eαxp(D)\,e^{\alpha x} = p(\alpha)\,e^{\alpha x}Substitution ruleOn an exponential, p(D)p(D) only multiplies by the number p(α)p(\alpha)
yp=eαxp(α)y_p = \dfrac{e^{\alpha x}}{p(\alpha)},  p(α)≠0\ p(\alpha) \neq 0Exponential Input TheoremA particular solution of p(D) y=eαxp(D)\,y = e^{\alpha x}, for real or complex α\alpha
e(a+iω)x=eax(cos⁡ωx+isin⁡ωx)e^{(a+i\omega)x} = e^{ax}(\cos\omega x + i\sin\omega x)Complexifyingeaxcos⁡ωxe^{ax}\cos\omega x and eaxsin⁡ωxe^{ax}\sin\omega x are its real and imaginary parts

Key Insight: Exponentials, sines, cosines and decaying oscillations are all eαxe^{\alpha x} with α=a+iω\alpha = a + i\omega. Solve the complex equation with eαx/p(α)e^{\alpha x}/p(\alpha), then take the real or imaginary part that matches the input.

IIVisualization 1 — Where α Sits Decides the Response

For y′′−y′+2y=10 Im⁡eαxy'' - y' + 2y = 10\,\operatorname{Im} e^{\alpha x}, every α\alpha off the characteristic roots gives yp=Im⁡(10eαx/p(α))y_p = \operatorname{Im}\big(10e^{\alpha x}/p(\alpha)\big).

💡 Challenge: move α\alpha toward a characteristic root 12±72i\tfrac12 \pm \tfrac{\sqrt7}{2}i. The gain 10/∣p(α)∣10/|p(\alpha)| grows without bound, and at the root itself the theorem has no answer: that is the case of the next video.

IIIVisualization 2 — The Video Example in Three Steps

Complexify, apply the theorem, take the imaginary part: y′′−y′+2y=10e−xsin⁡xy'' - y' + 2y = 10e^{-x}\sin x.

Step 1 — Complexify
e(−1+i)x=e−x(cos⁡x+isin⁡x)e^{(-1+i)x} = e^{-x}(\cos x + i\sin x)
10e−xsin⁡x=Im⁡(10e(−1+i)x)10e^{-x}\sin x = \operatorname{Im}\big(10e^{(-1+i)x}\big)
y~′′−y~′+2y~=10e(−1+i)x\tilde y'' - \tilde y' + 2\tilde y = 10e^{(-1+i)x}

IVQuiz Questions

Problem 1 · A Real Exponential Input

Given: y′′+3y′+2y=e2xy'' + 3y' + 2y = e^{2x} — find a particular solution.

✅ Correct! p(2)=4+6+2=12≠0p(2) = 4 + 6 + 2 = 12 \neq 0, so yp=e2x/12y_p = e^{2x}/12.
❌ Not quite. The substitution rule says p(D)e2x=12e2xp(D)e^{2x} = 12e^{2x}, so to get back exactly e2xe^{2x} you divide by 1212, not multiply.
❌ Check p(2)p(2). p(D)=D2+3D+2p(D) = D^2 + 3D + 2, so p(2)=22+3⋅2+2p(2) = 2^2 + 3\cdot2 + 2; the first term is 44, not 22.
❌ Not quite. Substitute α=2\alpha = 2 for DD in p(D)=D2+3D+2p(D) = D^2 + 3D + 2 and divide e2xe^{2x} by that number.
Show solution

Here p(D)=D2+3D+2p(D) = D^2 + 3D + 2 and α=2\alpha = 2:

p(2)=4+6+2=12≠0,p(2) = 4 + 6 + 2 = 12 \neq 0,

so the Exponential Input Theorem gives yp=e2x12y_p = \dfrac{e^{2x}}{12}.

Check: yp′′+3yp′+2yp=4+6+212e2x=e2xy_p'' + 3y_p' + 2y_p = \dfrac{4 + 6 + 2}{12}e^{2x} = e^{2x} ✓

Problem 2 · A Pure Oscillation

Given: y′′+4y=cos⁡xy'' + 4y = \cos x — find a particular solution by complexifying.

✅ Correct! p(i)=i2+4=3p(i) = i^2 + 4 = 3, so y~p=eix/3\tilde y_p = e^{ix}/3 and its real part is 13cos⁡x\tfrac13\cos x.
❌ Watch i2i^2. i2=−1i^2 = -1, so p(i)=−1+4=3p(i) = -1 + 4 = 3, not 55.
❌ Wrong part. cos⁡x=Re⁡ eix\cos x = \operatorname{Re}\, e^{ix}, so the answer is the real part of y~p\tilde y_p, not the imaginary part.
❌ Not quite. The D2D^2 term contributes i2=−1i^2 = -1 to p(i)p(i); dividing by 44 ignores it.
❌ Not quite. Write cos⁡x=Re⁡ eix\cos x = \operatorname{Re}\, e^{ix} and evaluate p(i)p(i).
Show solution

Complexify: cos⁡x=Re⁡ eix\cos x = \operatorname{Re}\, e^{ix}, so solve y~′′+4y~=eix\tilde y'' + 4\tilde y = e^{ix} with α=i\alpha = i.

Apply the theorem: p(i)=i2+4=3p(i) = i^2 + 4 = 3, so y~p=eix3=cos⁡x+isin⁡x3\tilde y_p = \dfrac{e^{ix}}{3} = \dfrac{\cos x + i\sin x}{3}.

Take the real part: yp=13cos⁡xy_p = \tfrac13\cos x.

Check: −13cos⁡x+43cos⁡x=cos⁡x-\tfrac13\cos x + \tfrac43\cos x = \cos x ✓

Problem 3 · Dividing by a Purely Imaginary Number

Given: y′′+y′+y=cos⁡xy'' + y' + y = \cos x — find a particular solution.

✅ Correct! p(i)=−1+i+1=ip(i) = -1 + i + 1 = i, and eix/i=−i eix=sin⁡x−icos⁡xe^{ix}/i = -i\,e^{ix} = \sin x - i\cos x, whose real part is sin⁡x\sin x.
❌ Check p(i)p(i). p(i)=i2+i+1=ip(i) = i^2 + i + 1 = i, not 11; dividing by ii turns cosine into sine.
❌ Sign of 1/i1/i. 1i=ii2=−i\dfrac1i = \dfrac{i}{i^2} = -i, not +i+i.
❌ Not quite. Compute p(i)p(i) for p(D)=D2+D+1p(D) = D^2 + D + 1, divide eixe^{ix} by it, then take the real part.
Show solution

Complexify: cos⁡x=Re⁡ eix\cos x = \operatorname{Re}\, e^{ix}, α=i\alpha = i, and p(i)=i2+i+1=i≠0p(i) = i^2 + i + 1 = i \neq 0.

y~p=eixi=−i (cos⁡x+isin⁡x)=sin⁡x−icos⁡x.\tilde y_p = \frac{e^{ix}}{i} = -i\,(\cos x + i\sin x) = \sin x - i\cos x.

The real part is yp=sin⁡xy_p = \sin x.

Check: (−sin⁡x)+cos⁡x+sin⁡x=cos⁡x(-\sin x) + \cos x + \sin x = \cos x ✓

Problem 4 · When Does the Theorem Apply?

Given: y′′+2y′+2y=e−xcos⁡xy'' + 2y' + 2y = e^{-x}\cos x — which statement is true?

✅ Correct! −1±i-1 \pm i are the characteristic roots of r2+2r+2=0r^2 + 2r + 2 = 0, so p(−1+i)=0p(-1+i) = 0 and eαx/p(α)e^{\alpha x}/p(\alpha) divides by zero.
❌ Compute p(−1+i)p(-1+i) first. (−1+i)2+2(−1+i)+2=−2i−2+2i+2=0(-1+i)^2 + 2(-1+i) + 2 = -2i - 2 + 2i + 2 = 0: there is nothing to divide by.
❌ Too strong. A particular solution exists; only this formula fails. The input is a solution of the homogeneous equation, the case the next video handles.
❌ Not quite. Evaluate p(α)p(\alpha) at α=−1+i\alpha = -1 + i before dividing.
Show solution

Complexify: e−xcos⁡x=Re⁡ e(−1+i)xe^{-x}\cos x = \operatorname{Re}\, e^{(-1+i)x}, so α=−1+i\alpha = -1 + i and p(D)=D2+2D+2p(D) = D^2 + 2D + 2.

p(−1+i)=(1−2i+i2)+(−2+2i)+2=−2i+0+2i=0.p(-1+i) = (1 - 2i + i^2) + (-2 + 2i) + 2 = -2i + 0 + 2i = 0.

So α\alpha is a root of the characteristic equation r2+2r+2=0r^2 + 2r + 2 = 0 (roots −1±i-1 \pm i), the formula eαx/p(α)e^{\alpha x}/p(\alpha) divides by zero, and the theorem cannot be used. A particular solution still exists; it needs the formula for p(α)=0p(\alpha) = 0.

Solved: 0 / 4