BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Particular solutions: the exponential input theorem

The most important inputs, e^(ax), cos ωx, sin ωx and decaying oscillations e^(ax) sin ωx, are all real or imaginary parts of one complex exponential e^(αx). Writing the equation as p(D)y = f(x), the substitution rule p(D)e^(αx) = p(α)e^(αx) gives the exponential input theorem: if p(α) ≠ 0, a particular solution of p(D)y = e^(αx) is e^(αx)/p(α). For 10e^(−x) sin x this gives (5/3)e^(−x)(cos x + sin x) after complexifying. When p(α) = 0, the exponential shift rule p(D)(e^(ax)u) = e^(ax)p(D + a)u shows that xe^(ax)/p′(a) works for a simple root, and x²e^(ax)/p″(a) for a double root.

You need this first

Full reading path (26 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
  20. Complex numbers and complex exponentials (18.03)
  21. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  22. Combining sine and cosine; models for first-order linear equations (18.03)
  23. Second-order linear equations with constant coefficients (18.03)
  24. Complex characteristic roots and damped oscillations (18.03)
  25. Linear operators, the Wronskian and normalized solutions (18.03)
  26. Inhomogeneous equations, particular solutions and stability (18.03)
On this page · 6 sections
  1. Exponential inputs
  2. The substitution rule
  3. The exponential input theorem
  4. The exponential shift rule
  5. When p(a) = 0
  6. Summary

With the structure of the solutions settled, all the work lies in finding one particular solution ypy_p; the next two weeks do it for the most important inputs (transcript, p. 1).

Exponential inputs#

Not all right-hand sides are equally interesting (transcript, p. 1). The important ones are eaxe^{ax} (usually decaying, a<0a < 0), the pure oscillations cos⁡ωx\cos\omega x and sin⁡ωx\sin\omega x (alternating current, or a spring shaken at a fixed frequency), and decaying oscillations eaxcos⁡ωxe^{ax}\cos\omega x, eaxsin⁡ωxe^{ax}\sin\omega x (pp. 1–2). Later, arbitrary functions are built from these (p. 1). All are real or imaginary parts of one complex exponential (p. 2):

One complex exponential
eαx,α=a+iωe^{\alpha x}, \qquad \alpha = a + i\omega
In words

e to the power alpha x, alpha equals a plus i omega

ω=0\omega = 0 gives the real exponential, a=0a = 0 the pure oscillations (p. 2).

Write the equation y′′+Ay′+By=f(x)y'' + Ay' + By = f(x) with the polynomial operator p(D)=D2+AD+Bp(D) = D^2 + AD + B (pp. 2–3):

Polynomial operator form
p(D) y=f(x),p(D)=D2+AD+Bp(D)\,y = f(x), \qquad p(D) = D^2 + AD + B
In words

p(D) y equals f(x), p(D) equals D squared plus capital A D plus capital B

Almost everything below works for polynomials of higher degree too (pp. 2–3).

The substitution rule#

Applying p(D)p(D) to an exponential just substitutes α\alpha for DD (transcript, p. 3):

Substitution rule
p(D) eαx=p(α) eαxp(D)\,e^{\alpha x} = p(\alpha)\,e^{\alpha x}
In words

p(D) e to the power alpha x equals p( alpha ) e to the power alpha x

It is clear for DD and D2D^2, since Deαx=αeαxDe^{\alpha x} = \alpha e^{\alpha x} and D2eαx=α2eαxD^2e^{\alpha x} = \alpha^2e^{\alpha x}, and so by linearity for any p(D)p(D): (D2+AD+B)eαx=eαx(α2+Aα+B)(D^2 + AD + B)e^{\alpha x} = e^{\alpha x}(\alpha^2 + A\alpha + B) (pp. 3–4).

The exponential input theorem#

Theorem (pp. 4–5). If p(α)≠0p(\alpha) \ne 0, a particular solution of p(D)y=eαxp(D)y = e^{\alpha x} is

Exponential input theorem
yp=eαxp(α)y_p = \frac{e^{\alpha x}}{p(\alpha)}
In words

y sub p equals e to the power alpha x over p( alpha )

Proof: p(α)p(\alpha) is a constant and p(D)p(D) is linear, so p(D)eαxp(α)=p(α)eαxp(α)=eαxp(D)\frac{e^{\alpha x}}{p(\alpha)} = \frac{p(\alpha)e^{\alpha x}}{p(\alpha)} = e^{\alpha x} (p. 5). Haynes Miller, who also teaches the course, calls it the most important theorem in it (p. 5). The case p(α)=0p(\alpha) = 0 is excluded for now; it is behind all sorts of catastrophes and many good things too (pp. 5–6), and the next lecture calls it resonance.

Example (pp. 6–9). Find a particular solution of

A decaying oscillation as input
y′′−y′+2y=10 e−xsin⁡xy'' - y' + 2y = 10\,e^{-x}\sin x
In words

y double prime minus y prime plus 2 y equals 10 e to the power minus x sine x

(The transcript reads the middle term as "plus minus y′y'".) The input is the imaginary part of 10 e(−1+i)x10\,e^{(-1 + i)x}, so complexify: solve y~′′−y~′+2y~=10 e(−1+i)x\tilde y'' - \tilde y' + 2\tilde y = 10\,e^{(-1 + i)x} and take the imaginary part (pp. 6–7). With α=−1+i\alpha = -1 + i (pp. 7–8),

Complex particular solution
y~p=10 e(−1+i)x(−1+i)2−(−1+i)+2=10 e(−1+i)x3−3i=53 (1+i) e−x(cos⁡x+isin⁡x)\tilde y_p = \frac{10\,e^{(-1 + i)x}}{(-1 + i)^2 - (-1 + i) + 2} = \frac{10\,e^{(-1 + i)x}}{3 - 3i} = \frac{5}{3}\,(1 + i)\,e^{-x}(\cos x + i\sin x)
In words

y sub p tilde equals 10 e to the power the quantity minus 1 plus i, x, end of power, over the quantity the quantity minus 1 plus i, all squared minus the quantity minus 1 plus i, all plus 2, equals 10 e to the power the quantity minus 1 plus i, x, end of power, over the quantity 3 minus 3 i, equals five thirds the quantity 1 plus i, e to the power minus x the quantity cos x plus i sine x

using 11−i=1+i2\frac{1}{1 - i} = \frac{1 + i}{2}. Most of the work is making the result human enough to take its imaginary part (p. 8):

The real particular solution
yp=53 e−x(cos⁡x+sin⁡x)=523 e−xcos⁡ ⁣(x−π4)y_p = \frac{5}{3}\,e^{-x}(\cos x + \sin x) = \frac{5\sqrt2}{3}\,e^{-x}\cos\!\left(x - \frac{\pi}{4}\right)
In words

y sub p equals five thirds e to the power minus x the quantity cos x plus sine x, equals 5 the square root of 2 over 3, times e to the power minus x cos the quantity x minus pi over 4

the second form from the sine–cosine identity, with a triangle of sides 1 and 1 (pp. 8–9).

The input 10e−xsin⁡x10e^{-x}\sin x and the particular solution (5/3)e−x(cos⁡x+sin⁡x)(5/3)e^{-x}(\cos x + \sin x), computed from the exponential input theorem: a decaying oscillation answered by a smaller, shifted one.

The exponential shift rule#

To handle p(α)=0p(\alpha) = 0, a second rule is needed, for an exponential times another function u(x)u(x) (transcript, p. 9). Renaming α\alpha as aa, still allowed to be complex (p. 9):

Exponential shift rule
p(D) (eaxu)=eax p(D+a) up(D)\,(e^{ax}u) = e^{ax}\,p(D + a)\,u
In words

p(D) (e to the power a x u) equals e to the power a x p of the quantity D plus a, u

Passing eaxe^{ax} to the left of the operator, where it can do no harm, changes DD to D+aD + a; this avoids differentiating products again and again (p. 10). Proof (pp. 10–12). For p(D)=Dp(D) = D it is the product rule: D(eaxu)=eaxDu+aeaxu=eax(D+a)uD(e^{ax}u) = e^{ax}Du + ae^{ax}u = e^{ax}(D + a)u. For D2D^2, do not start differentiating twice; bootstrap: D2(eaxu)=D(eax(D+a)u)=eax(D+a)2uD^2(e^{ax}u) = D\left(e^{ax}(D + a)u\right) = e^{ax}(D + a)^2u, applying the first case to the function (D+a)u(D + a)u. By induction it holds for every power of DD, and by linearity for every p(D)p(D) (pp. 11–12).

When p(a) = 0#

For the input eaxe^{ax} with p(a)=0p(a) = 0 (pp. 13–14):

Exponential input theorem, resonant cases
yp=x eaxp′(a)    if a is a simple root,yp=x2eaxp′′(a)    if a is a double rooty_p = \frac{x\,e^{ax}}{p'(a)} \;\; \text{if } a \text{ is a simple root}, \qquad y_p = \frac{x^2e^{ax}}{p''(a)} \;\; \text{if } a \text{ is a double root}
In words

y sub p equals x e to the power a x over the quantity p prime (a), if a is a simple root, y sub p equals x squared e to the power a x over the quantity p double prime (a), if a is a double root

A quadratic has at most a double root. For a root of higher multiplicity the pattern continues: xx raised to the multiplicity times eaxe^{ax}, over the matching derivative of pp at aa. The lecture also mentions a factorial (p. 14): it appears only when the denominator is written instead as the value at aa of the factor of pp left after removing the powers of D−aD - a, because the matching derivative of pp already contains the factorial of the multiplicity.

Proof for a simple root (pp. 14–16). Then p(D)=(D−a)(D−b)p(D) = (D - a)(D - b) with b≠ab \ne a, and p′(D)=(D−b)+(D−a)p'(D) = (D - b) + (D - a), so p′(a)=a−b≠0p'(a) = a - b \ne 0; a simple root guarantees this (pp. 14–15). (The transcript says b≠Ab \ne A at this point; it means the root aa.) By the shift rule, with the exponential written on the left (pp. 15–16),

The simple-root proof
p(D) eaxxp′(a)=eax p(D+a) xa−b=eax (D+a−b) D xa−b=eax (a−b)a−b=eaxp(D)\,\frac{e^{ax}x}{p'(a)} = \frac{e^{ax}\,p(D + a)\,x}{a - b} = \frac{e^{ax}\,(D + a - b)\,D\,x}{a - b} = \frac{e^{ax}\,(a - b)}{a - b} = e^{ax}
In words

p(D) e to the power a x x over the quantity p prime (a), equals e to the power a x p of the quantity D plus a, x over the quantity a minus b, equals e to the power a x the quantity D plus a minus b, D x over the quantity a minus b, equals e to the power a x the quantity a minus b, over the quantity a minus b, equals e to the power a x

since Dx=1Dx = 1 and D1=0D1 = 0 (p. 16). The double-root case is left as an exercise (p. 16).

Example (pp. 16–17). For y′′−3y′+2y=exy'' - 3y' + 2y = e^x, p(1)=1−3+2=0p(1) = 1 - 3 + 2 = 0, and 1 is a simple root (a double root would mean p(D)=(D−1)2p(D) = (D - 1)^2). With p′(D)=2D−3p'(D) = 2D - 3, p′(1)=−1p'(1) = -1 (p. 17):

Simple-root example
yp=x exp′(1)=−x exy_p = \frac{x\,e^x}{p'(1)} = -x\,e^x
In words

y sub p equals x e to the power x over the quantity p prime (1), equals minus x e to the power x

Worked example

Four inputs

Find a particular solution of (a) y′′+4y=e−xy'' + 4y = e^{-x}; (b) y′′+2y′+2y=cos⁡2xy'' + 2y' + 2y = \cos 2x; (c) y′′−4y=e2xy'' - 4y = e^{2x}; (d) y′′−6y′+9y=e3xy'' - 6y' + 9y = e^{3x}.

(a) A real exponential

p(D)=D2+4p(D) = D^2 + 4, p(−1)=5p(-1) = 5, so yp=15e−xy_p = \frac15 e^{-x}.

(b) A sinusoid

cos⁡2x=Re e2ix\cos 2x = \mathrm{Re}\,e^{2ix} and p(2i)=−4+4i+2=−2+4ip(2i) = -4 + 4i + 2 = -2 + 4i. Then 1−2+4i=−2−4i20\frac{1}{-2 + 4i} = \frac{-2 - 4i}{20}, and the real part of −2−4i20(cos⁡2x+isin⁡2x)\frac{-2 - 4i}{20}(\cos 2x + i\sin 2x) is yp=110(−cos⁡2x+2sin⁡2x)y_p = \frac{1}{10}(-\cos 2x + 2\sin 2x), an oscillation of amplitude 510≈0.224\frac{\sqrt5}{10} \approx 0.224.

(c) A simple root

p(2)=0p(2) = 0, p′(D)=2Dp'(D) = 2D and p′(2)=4p'(2) = 4, so yp=14xe2xy_p = \frac14 xe^{2x}.

(d) A double root

p(D)=(D−3)2p(D) = (D - 3)^2, so 3 is a double root and p′′(3)=2p''(3) = 2: yp=12x2e3xy_p = \frac12 x^2e^{3x}.

Summary#

  • Exponentials, sinusoids and decaying oscillations are all (parts of) eαxe^{\alpha x} with complex α\alpha.
  • Substitution rule: p(D)eαx=p(α)eαxp(D)e^{\alpha x} = p(\alpha)e^{\alpha x}; hence yp=eαx/p(α)y_p = e^{\alpha x}/p(\alpha) when p(α)≠0p(\alpha) \ne 0.
  • Exponential shift rule: p(D)(eaxu)=eaxp(D+a)up(D)(e^{ax}u) = e^{ax}p(D + a)u.
  • If p(a)=0p(a) = 0: yp=xeax/p′(a)y_p = xe^{ax}/p'(a) for a simple root, x2eax/p′′(a)x^2e^{ax}/p''(a) for a double root.

Symbols on this page

Show the 25 symbols used here
α\alpha alpha.
A complex number a + iω, the exponent of the input e^(αx). Say it: “alpha”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ω\omega omega.
The angular frequency of an oscillating input. Say it: “omega”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
a~\tilde a tilde.
A modified version of a quantity (ã, k̃); its meaning is given where it is introduced. Say it: “tilde”.
aa a.
The real part of α; later (after renaming α), the possibly complex exponent of e^(ax). Say it: “a”.
xx x.
The independent variable. Say it: “x”.
yy y.
The solution of p(D)y = f(x). Say it: “y”.
ii i.
The imaginary unit, i² = −1. Say it: “i”.
ee e.
Euler's number, 2.718… Say it: “e”.
ff f.
The input f(x). Say it: “f”.
DD D.
The differentiation operator d/dx. Say it: “D”.
AA A.
The constant coefficient of y′. Say it: “capital A”.
BB B.
The constant coefficient of y. Say it: “capital B”.
bb b.
The other root of p when a is a simple root. Say it: “b”.
pp p.
The characteristic polynomial: p(D) = D² + AD + B as an operator, p(α) as a number. Say it: “p”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
uu u.
Any function u(x) multiplied by e^(ax). Say it: “u”.
y′′y'' y double prime.
The second derivative of y. Say it: “y double prime”.
ypy_{p} y p.
A particular solution. Say it: “y sub p”.
p′p' p prime.
The derivative of the polynomial p, evaluated at a root. Say it: “p prime”.
p′′p'' p double prime.
The second derivative of the polynomial p. Say it: “p double prime”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 22 words used here

New here

polynomial operator.
An operator built as a polynomial in another operator, such as D² + bD + k in the derivative D, acting on a function.

Also used

particular solution.
Any one solution of the full equation, input term included; adding the complementary solution gives all the others. Explained in Inhomogeneous equations, particular solutions and stability.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
alternating current.
Electric current that reverses direction many times a second, usually following a sine curve, as in mains electricity. Explained in Electric power and energy.
frequency.
How often something repeats: the number of cycles, turns or waves each second, measured in hertz. Explained in Circular motion.
linear.
The property that sums and multiples of solutions are again solutions, so the responses to separate inputs simply add. Explained in First-order linear equations and integrating factors.
theorem.
A statement that has been proved true, step by step, from definitions and earlier results. Explained in Limits and continuity.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
resonance.
The large response of an oscillating system when it is pushed at, or close to, its own natural frequency. Explained in Resonance.
complexify.
To replace a real problem by a complex one, such as a cosine by an exponential, whose real or imaginary part gives the answer. Explained in Constant coefficients: steady state, superposition and sinusoidal input.
operator.
A rule that acts on a function, vector or state and turns it into another one, such as 'take the derivative'. Explained in The chain rule and higher derivatives.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
product rule.
The rule for the derivative of a product of two functions: (fg)′ = f′g + fg′. Explained in Circular motion: tangential acceleration and angular acceleration.
induction.
A way to prove a statement for every whole number n: prove it for n = 1, then show that each case implies the next. Explained in The chain rule and higher derivatives.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
factorial.
The product of all the whole numbers from 1 up to n, written n!; for example 4! = 24. Explained in The chain rule and higher derivatives.
real part.
For a complex number a + bi, the ordinary number a. Explained in Differential equations and exp(At).
amplitude.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
sinusoidal.
Shaped like a sine curve: rising and falling smoothly and regularly, with a fixed wavelength or period. Explained in Constant coefficients: steady state, superposition and sinusoidal input.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
arbitrary.
Free to be chosen as one likes; any choice gives a correct result.
hence.
For this reason; as a result of what was just said.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

32 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. A particular solution of y′′+3y′+2y=e2xy'' + 3y' + 2y = e^{2x} is…
  2. The exponential shift rule says p(D)(eaxu)=p(D)(e^{ax}u) = …
  3. For y′′−3y′+2y=exy'' - 3y' + 2y = e^x, where p(1)=0p(1) = 0, a particular solution is…
0 of 3 answered

Flashcards

1 / 3