Mathematics · Book 3 · Bachelor Year 1

University Mathematics — Year 1

University Mathematics — Year 1 · Bachelor Year 1

5Linear Differential Equations

First met in the High School volume, differential equations are treated here with full proofs and in greater generality: first-order linear equations with variable coefficients (solved completely by the variation-of-constants method) and second-order linear equations with constant coefficients, the model for oscillations. Both cases display the same structure: general solution == one particular solution ++ general solution of the homogeneous equation.

5.1 First-order linear equations

Definition 5.1

Let II be an interval and a,b ⁣:IRa, b \colon I \to \R (or C\C) be continuous. The equation

(E) ⁣:y+a(x)y=b(x),(E)\colon\quad y' + a(x)\,y = b(x),

in the unknown differentiable function y ⁣:IRy \colon I \to \R (or C\C), is a first-order linear differential equation. The equation (H) ⁣:y+a(x)y=0(H)\colon y' + a(x) y = 0 is its homogeneous equation.

Theorem 5.2 (Solving the homogeneous equation)

Let AA be a primitive of aa on II (it exists: Chapter 15). The solutions of (H)(H) on II are exactly the functions

y(x)=λeA(x),λR (or C).y(x) = \lambda\, \eu^{-A(x)}, \qquad \lambda \in \R \text{ (or } \C).

Proof. These functions are solutions: y=λAeA=ayy' = -\lambda A' \eu^{-A} = -a y. Conversely, let yy solve (H)(H) and set z(x)=y(x)eA(x)z(x) = y(x)\, \eu^{A(x)}. Then

z=yeA+yaeA=(y+ay)eA=0,z' = y' \eu^{A} + y\, a\, \eu^{A} = (y' + ay)\, \eu^{A} = 0 ,

so zz is constant on the interval II, say z=λz = \lambda: y=λeAy = \lambda \eu^{-A}. (Note the logic: no solution is lost, because every solution has been written in the announced form.)

Example 5.3 (A homogeneous equation with variable coefficient)

Solve y+(cosx)y=0y' + (\cos x)\,y = 0 on R\R. A primitive of a(x)=cosxa(x) = \cos x is A(x)=sinxA(x) = \sin x, so the solutions are

y(x)=λesinx,λR.y(x) = \lambda\,\eu^{-\sin x}, \qquad \lambda \in \R .

Two readings. Every solution is periodic (period 2π2\pi) and never vanishes unless λ=0\lambda = 0 — the sign of λ\lambda is the sign of yy forever, since an exponential cannot cross zero. And the solution through y(0)=y0y(0) = y_0 is y0esinxy_0\eu^{-\sin x}: exactly one curve of the family through each initial point, the one-dimensional picture of Theorem 5.4 (2).

Theorem 5.4 (Variation of constants; Cauchy problem)

With the notation above:

  1. The solutions of (E)(E) on II are exactly

    y(x)=(λ+x0xb(t)eA(t) ⁣dt)eA(x),λR,y(x) = \Bigl(\lambda + \int_{x_0}^{x} b(t)\, \eu^{A(t)} \dd t \Bigr)\, \eu^{-A(x)}, \qquad \lambda \in \R,

    where x0Ix_0 \in I is fixed. Equivalently: general solution of (H)(H) plus one particular solution of (E)(E).

  2. For every x0Ix_0 \in I and y0y_0, the Cauchy problem(E)(E) and y(x0)=y0y(x_0) = y_0” has exactly one solution on II.

Proof. (1) Following the method named variation of constants, look for solutions of the form y=μ(x)eA(x)y = \mu(x)\, \eu^{-A(x)} with μ\mu differentiable — no generality is lost, since every function on II can be so written (μ=yeA\mu = y\,\eu^{A}). Substituting,

y+ay=μeAμaeA+aμeA=μeA,y' + ay = \mu' \eu^{-A} - \mu a \eu^{-A} + a\mu\eu^{-A} = \mu'\, \eu^{-A},

so yy solves (E)(E) if and only if μ(x)=b(x)eA(x)\mu'(x) = b(x)\,\eu^{A(x)}, if and only if μ(x)=λ+x0xb(t)eA(t) ⁣dt\mu(x) = \lambda + \int_{x_0}^x b(t)\eu^{A(t)}\dd t for some constant λ\lambda (two primitives of the same continuous function on an interval differ by a constant).

(2) In the formula, y(x0)=λeA(x0)y(x_0) = \lambda\,\eu^{-A(x_0)}: the condition y(x0)=y0y(x_0) = y_0 determines λ=y0eA(x0)\lambda = y_0 \eu^{A(x_0)} uniquely.

Example 5.5

Solve y+yx=x2y' + \dfrac{y}{x} = x^2 on I=(0,+)I = \intoo{0}{+\infty}. Here a(x)=1xa(x) = \frac 1x, A(x)=lnxA(x) = \ln x, eA(x)=1x\eu^{-A(x)} = \frac 1x. Homogeneous solutions: λx\frac{\lambda}{x}. Variation of constants: μ(x)=x2x=x3\mu'(x) = x^2 \cdot x = x^3, so μ=x44+λ\mu = \frac{x^4}{4} + \lambda, and

y(x)=x34+λx,λR.y(x) = \frac{x^3}{4} + \frac{\lambda}{x}, \qquad \lambda \in \R .

With the initial condition y(1)=0y(1) = 0: λ=14\lambda = -\frac14. Check: y+yx=3x24λx2+x24+λx2=x2y' + \frac yx = \frac{3x^2}{4} - \frac{\lambda}{x^2} + \frac{x^2}{4} + \frac{\lambda}{x^2} = x^2.

Example 5.6 (Guessing beats integrating)

Solve y+2xy=xy' + 2x\,y = x on R\R. Variation of constants works (A=x2A = x^2, μ=xex2\mu' = x\,\eu^{x^2}, μ=12ex2+λ\mu = \frac12\eu^{x^2} + \lambda), but observing that the constant yp=12y_p = \frac12 solves the equation (0+2x12=x0 + 2x\cdot\frac12 = x) is faster. With the homogeneous solutions λex2\lambda\,\eu^{-x^2}:

y(x)=12+λex2,λR.y(x) = \frac12 + \lambda\,\eu^{-x^2}, \qquad \lambda \in \R .

Every solution converges to 12\frac12 extremely fast as x±x \to \pm\infty: the constant particular solution is an equilibrium that all solutions join. The insight: before launching the general method, spend ten seconds looking for an obvious particular solution (constant, monomial, multiple of the right-hand side); the structure theorem then finishes the job.

Remark 5.7 (Intervals matter)

The theorem lives on an interval where aa and bb are continuous. For y+yx=0y' + \frac yx = 0 on R\R^*, the solutions are λx\frac{\lambda}{x} on (0,+)\intoo{0}{+\infty} and μx\frac{\mu}{x} on (,0)\intoo{-\infty}{0} with independent constants: there is no reason for a single formula to glue across the singularity at 00.

Example 5.8 (A complex right-hand side, two real answers)

Solve yy=cosxy' - y = \cos x and yy=sinxy' - y = \sin x in one stroke. Work in C\C with the right-hand side eix\eu^{\iu x}: trying yp=ceixy_p = c\,\eu^{\iu x} gives c(i1)eix=eixc(\iu - 1)\eu^{\iu x} = \eu^{\iu x}, so

c=1i1=1i2,yp=(1+i)(cosx+isinx)2=sinxcosx2+isinxcosx2.c = \frac1{\iu - 1} = \frac{-1 - \iu}2, \qquad y_p = -\frac{(1 + \iu)(\cos x + \iu\sin x)}2 = \frac{\sin x - \cos x}2 + \iu\,\frac{-\sin x - \cos x}2 .

Since the equation has real coefficients, real and imaginary parts split: sinxcosx2\frac{\sin x - \cos x}2 solves yy=cosxy' - y = \cos x, and sinx+cosx2-\frac{\sin x + \cos x}2 solves yy=sinxy' - y = \sin x (check the first: derivative cosx+sinx2\frac{\cos x + \sin x}2, minus the function, gives cosx\cos x). One complex line replaced two runs of variation of constants — the same economy that Method 5.13 systematizes for second order, and a recurring dividend of Chapter 3.

5.2 Second-order linear equations with constant coefficients

Definition 5.9

Let a,bRa, b \in \R and f ⁣:IRf \colon I \to \R continuous. The equation

(E) ⁣:y+ay+by=f(x)(E)\colon\quad y'' + a\,y' + b\,y = f(x)

is a second-order linear equation with constant coefficients; (H) ⁣:y+ay+by=0(H)\colon y'' + ay' + by = 0 is its homogeneous equation, and χ(r)=r2+ar+b\chi(r) = r^2 + ar + b its characteristic polynomial.

Theorem 5.10 (Homogeneous solutions)

Let Δ=a24b\Delta = a^2 - 4b be the discriminant of χ\chi. The real solutions of (H)(H) on R\R are:

  1. if Δ>0\Delta > 0, with r1r2r_1 \neq r_2 the two real roots:   y=λer1x+μer2x\;y = \lambda\, \eu^{r_1 x} + \mu\, \eu^{r_2 x};
  2. if Δ=0\Delta = 0, with r0r_0 the double root:   y=(λ+μx)er0x\;y = (\lambda + \mu x)\, \eu^{r_0 x};
  3. if Δ<0\Delta < 0, with roots α±iω\alpha \pm \iu\omega (ω>0\omega > 0):   y=eαx(λcosωx+μsinωx)\;y = \eu^{\alpha x} (\lambda \cos\omega x + \mu \sin\omega x);

in each case with (λ,μ)(\lambda, \mu) running over R2\R^2.

Proof. First observe that for rCr \in \C, xerxx \mapsto \eu^{rx} solves (H)(H) if and only if χ(r)=0\chi(r) = 0 (substitute: (r2+ar+b)erx=0(r^2 + ar + b)\eu^{rx} = 0). This is why exponentials are the natural first guess: differentiation acts on erx\eu^{rx} as multiplication by the number rr, so the differential equation becomes the numerical equation χ(r)=0\chi(r) = 0 — the whole analytic problem is compressed into finding the roots of one quadratic.

The key step is a change of unknown that reduces the order. Let rr be a (possibly complex) root of χ\chi and write y=zerxy = z\, \eu^{rx}, which loses no generality. Then

y+ay+by=(z+(2r+a)z+χ(r)z)erx=(z+(2r+a)z)erx,y'' + ay' + by = \bigl(z'' + (2r + a) z' + \chi(r) z\bigr)\eu^{rx} = \bigl(z'' + (2r + a) z'\bigr)\eu^{rx},

so (H)(H) becomes the first-order equation u+(2r+a)u=0u' + (2r + a) u = 0 for u=zu = z'.

Case Δ0\Delta \neq 0: choose r=r1r = r_1; then 2r1+a=r1r22r_1 + a = r_1 - r_2 (since r1+r2=ar_1 + r_2 = -a). By Theorem 5.2, z=ce(r2r1)xz' = c\,\eu^{(r_2 - r_1)x} for some constant cc; integrating on R\R, z=μe(r2r1)x+λz = \mu\, \eu^{(r_2 - r_1)x} + \lambda with μ=cr2r1\mu = \frac{c}{r_2 - r_1}, and therefore y=zer1x=λer1x+μer2xy = z\, \eu^{r_1 x} = \lambda\,\eu^{r_1x} + \mu\,\eu^{r_2x}. When Δ<0\Delta < 0, the roots are α±iω\alpha \pm \iu\omega and the complex solutions are y=c1e(α+iω)x+c2e(αiω)xy = c_1\eu^{(\alpha+\iu\omega)x} + c_2\eu^{(\alpha-\iu\omega)x} with c1,c2Cc_1, c_2 \in \C. Which of these are real-valued? Since e(α+iω)x=e(αiω)x\conj{\eu^{(\alpha+\iu\omega)x}} = \eu^{(\alpha-\iu\omega)x}, the conjugate of yy is c2e(α+iω)x+c1e(αiω)x\conj{c_2}\, \eu^{(\alpha+\iu\omega)x} + \conj{c_1}\,\eu^{(\alpha-\iu\omega)x}, and y=yy = \conj y for all xx forces c2=c1c_2 = \conj{c_1} (the two exponentials are linearly independent: evaluate at two points, or compare at x=0x=0 after dividing by eαx\eu^{\alpha x}). Writing c1=λiμ2c_1 = \frac{\lambda - \iu\mu}2 with λ,μ\lambda, \mu real:

y=2(c1eαx(cosωx+isinωx))=eαx(λcosωx+μsinωx),y = 2\,\Re\Bigl(c_1\,\eu^{\alpha x}(\cos\omega x + \iu\sin\omega x)\Bigr) = \eu^{\alpha x}\bigl(\lambda\cos\omega x + \mu\sin\omega x\bigr),

and conversely every such function is a solution (real part of a complex solution of a real equation): the real solution space is as announced.

Case Δ=0\Delta = 0: r=r0r = r_0, 2r0+a=02r_0 + a = 0, so z=0z'' = 0: z=λ+μxz = \lambda + \mu x and y=(λ+μx)er0xy = (\lambda + \mu x)\eu^{r_0 x}.

Example 5.11 (A Cauchy problem, start to finish)

Solve y3y+2y=0y'' - 3y' + 2y = 0 with y(0)=0y(0) = 0, y(0)=1y'(0) = 1. The characteristic polynomial r23r+2=(r1)(r2)r^2 - 3r + 2 = (r - 1)(r - 2) has the real roots 11 and 22: general solution y=λex+μe2xy = \lambda\eu^{x} + \mu\eu^{2x}. The two conditions give the linear system

λ+μ=0,λ+2μ=1,\lambda + \mu = 0, \qquad \lambda + 2\mu = 1 ,

so μ=1\mu = 1, λ=1\lambda = -1:

y(x)=e2xex.y(x) = \eu^{2x} - \eu^{x} .

Check: y(0)=0y(0) = 0; y=2e2xexy' = 2\eu^{2x} - \eu^x has y(0)=1y'(0) = 1; and y3y+2y=(46+2)e2x+(1+32)ex=0y'' - 3y' + 2y = (4 - 6 + 2)\eu^{2x} + (-1 + 3 - 2)\eu^x = 0. Note the shape of the answer: near -\infty the slow mode ex-\eu^x dominates; near ++\infty the fast mode e2x\eu^{2x} does. Reading solutions as superpositions of modes with different decay or growth rates is the profitable habit — it is how the transient/steady-state split of the weekend problem is organized.

The three regimes of y'' + ay' + by = 0 with decaying solutions: damped oscillation (complex roots), critical return (double root), overdamped decay (two real roots). Which regime occurs is read off the sign of = a2 - 4b alone — before solving anything.
The three regimes of y+ay+by=0y'' + ay' + by = 0 with decaying solutions: damped oscillation (complex roots), critical return (double root), overdamped decay (two real roots). Which regime occurs is read off the sign of Δ=a24b\Delta = a^2 - 4b alone — before solving anything.

Theorem 5.12 (Structure and Cauchy problem)

  1. If ypy_p is one particular solution of (E)(E), the solutions of (E)(E) are exactly yp+yhy_p + y_h, yhy_h running over the solutions of (H)(H).
  2. (Superposition) If y1y_1 solves y+ay+by=f1y'' + ay' + by = f_1 and y2y_2 solves y+ay+by=f2y'' + ay' + by = f_2, then y1+y2y_1 + y_2 solves the equation with right-hand side f1+f2f_1 + f_2.
  3. For all x0Ix_0 \in I and (y0,y0)(y_0, y_0'), the Cauchy problem(E)(E), y(x0)=y0y(x_0) = y_0, y(x0)=y0y'(x_0) = y_0'” has exactly one solution on II. (Existence granted a particular solution; uniqueness in full.)

Proof. (1) yy solves (E)(E) iff yypy - y_p solves (H)(H), by linearity of yy+ay+byy \mapsto y'' + ay' + by. (2) is the same linearity.

(3) By (1) it suffices to prove that the constants (λ,μ)(\lambda, \mu) can always be adjusted, uniquely, to any data (y0,y0)(y_0, y_0'). Translating the variable, assume x0=0x_0 = 0. In case (1) of Theorem 5.10, y=λer1x+μer2xy = \lambda\eu^{r_1x} + \mu\eu^{r_2x} gives

y(0)=λ+μ,y(0)=r1λ+r2μ:y(0) = \lambda + \mu, \qquad y'(0) = r_1\lambda + r_2\mu :

a linear system in (λ,μ)(\lambda, \mu) whose determinant is r2r10r_2 - r_1 \neq 0; solving it explicitly, μ=y0r1y0r2r1\mu = \frac{y_0' - r_1y_0}{r_2 - r_1} and λ=y0μ\lambda = y_0 - \mu: exactly one solution. In case (2), y(0)=λy(0) = \lambda and y(0)=r0λ+μy'(0) = r_0\lambda + \mu: the system is triangular with determinant 11, solved by λ=y0\lambda = y_0, μ=y0r0y0\mu = y_0' - r_0y_0. In case (3), y(0)=λy(0) = \lambda and y(0)=αλ+ωμy'(0) = \alpha\lambda + \omega\mu: determinant ω0\omega \neq 0, solved by λ=y0\lambda = y_0, μ=y0αy0ω\mu = \frac{y_0' - \alpha y_0}\omega. In each case the map (λ,μ)(y(x0),y(x0))(\lambda, \mu) \mapsto (y(x_0), y'(x_0)) is a linear bijection — the language of Chapter 20 will compress this case check into one sentence.

Method 5.13 (Particular solution for f(x)=P(x)eγxf(x) = P(x)\,\eu^{\gamma x})

When the right-hand side is P(x)eγxP(x)\,\eu^{\gamma x} with PP a polynomial and γR\gamma \in \R (this covers polynomials, exponentials, and via complex γ\gamma or superposition, cos\cos and sin\sin): look for a particular solution of the form

yp(x)=xmQ(x)eγx,m=multiplicity of γ as a root of χ (m=0,1 or 2),y_p(x) = x^{m}\, Q(x)\, \eu^{\gamma x}, \qquad m = \text{multiplicity of } \gamma \text{ as a root of } \chi \ (m = 0, 1 \text{ or } 2),

with QQ a polynomial of the same degree as PP, whose coefficients are found by substitution and identification. For f=Kcosωxf = K\cos\omega x (or sin\sin), solve with right-hand side KeiωxK\eu^{\iu\omega x} and take the real (resp. imaginary) part.

Example 5.14 (Superposition in action)

Solve yy=ex+4y'' - y = \eu^{x} + 4 on R\R. Homogeneous: χ(r)=r21\chi(r) = r^2 - 1, roots ±1\pm1, so yh=λex+μexy_h = \lambda\eu^x + \mu\eu^{-x}. Split the right-hand side and treat each piece by the method box. Piece ex\eu^x: here γ=1\gamma = 1 is a simple root of χ\chi, so try y1=cxexy_1 = c\,x\,\eu^x: then y1y1=c(x+2)excxex=2cexy_1'' - y_1 = c(x + 2)\eu^x - cx\eu^x = 2c\,\eu^x, giving c=12c = \frac12. Piece 44: γ=0\gamma = 0 is not a root; the constant y2=4y_2 = -4 works. By superposition (Theorem 5.12 (2)):

y=xex24+λex+μex,(λ,μ)R2.y = \frac{x\,\eu^x}2 - 4 + \lambda\,\eu^x + \mu\,\eu^{-x}, \qquad (\lambda, \mu) \in \R^2 .

Note how the two pieces demanded different shapes (m=1m = 1 versus m=0m = 0): the multiplicity test is applied to each exponent separately, which is the whole point of splitting the right-hand side before guessing.

Example 5.15 (The multiplicity rule at work)

Solve y+y=xy'' + y' = x on R\R. The right-hand side is P(x)e0xP(x)\eu^{0 \cdot x} with P(x)=xP(x) = x, and γ=0\gamma = 0 is a simple root of χ(r)=r2+r=r(r+1)\chi(r) = r^2 + r = r(r + 1): so m=1m = 1, and the correct guess is yp=x(αx+β)=αx2+βxy_p = x\,(\alpha x + \beta) = \alpha x^2 + \beta x, one degree higher than PP. Substituting:

yp+yp=2α+(2αx+β)=2αx+(2α+β),y_p'' + y_p' = 2\alpha + (2\alpha x + \beta) = 2\alpha x + (2\alpha + \beta) ,

and identification with xx gives α=12\alpha = \frac12, β=1\beta = -1: yp=x22xy_p = \frac{x^2}2 - x. General solution: y=x22x+λ+μexy = \frac{x^2}2 - x + \lambda + \mu\,\eu^{-x}. Had we guessed yp=αx+βy_p = \alpha x + \beta (ignoring the multiplicity), substitution would give yp+yp=αy_p'' + y_p' = \alpha, a constant — no choice of α,β\alpha, \beta can match xx, and the failure is structural: constants already solve the homogeneous equation, so they are invisible to the left-hand side. The factor xmx^m exists precisely to climb out of the homogeneous solution space.

Remark 5.16 (The thirty-second insurance policy)

Every solved equation in this chapter ends with a substitution check, and this is not decorative. A differential-equation computation chains many small steps (a primitive, a product rule, two constants), and a single sign error propagates invisibly; substituting the final formula back into the equation catches essentially all of them at the cost of one differentiation. Cultivate the reflex in three layers: check the particular solution alone (the homogeneous part cancels anyway), check the initial conditions on the full solution, and when a parameter is present, check a degenerate value (does the formula for general Ω\Omega reproduce the known answer at Ω=0\Omega = 0?). The habit costs half a minute; it converts “probably right” into “verified”.

Remark 5.17 (Common pitfalls)

  1. Normalize first. The formulas assume the equation reads y+a(x)y=b(x)y' + a(x)y = b(x) — coefficient 11 on yy'. For xy2y=x3xy' - 2y = x^3, divide by xx (on an interval avoiding 00) before identifying aa and bb, as in Exercise 5.2.
  2. One constant per dimension, fixed at the end. The general first-order solution carries one constant, the second-order one two; initial conditions are imposed on the complete solution yp+yhy_p + y_h, never on yhy_h alone — imposing them before adding ypy_p is the most frequent structural error.
  3. Mind the multiplicity. A particular-solution guess that solves the homogeneous equation is invisible to the left-hand side; the factor xmx^m of Method 5.13 is not optional (Example 5.15).
  4. Intervals are part of the answer. Solutions live on intervals where the coefficients are continuous; gluing across a singularity can create spurious constants (Exercise 5.12) or destroy uniqueness. “Solve on R\R^*” means two independent problems.

Example 5.18 (Off-resonance forcing)

Solve y+4y=sinxy'' + 4y = \sin x on R\R. Natural frequency 22, forcing frequency 11: since i\iu is not a root of χ(r)=r2+4\chi(r) = r^2 + 4, the multiplicity is m=0m = 0 and a plain sinusoid suffices. Trying yp=αsinxy_p = \alpha\sin x (no cosine needed: the equation has no yy' term, and sin\sin regenerates sin\sin):

yp+4yp=αsinx+4αsinx=3αsinx,y_p'' + 4y_p = -\alpha\sin x + 4\alpha\sin x = 3\alpha\sin x ,

so α=13\alpha = \frac13 and the general solution is

y=sinx3+λcos2x+μsin2x.y = \frac{\sin x}3 + \lambda\cos 2x + \mu\sin 2x .

Every solution stays bounded: a superposition of two oscillations at the frequencies 11 (forced) and 22 (natural). Compare with the next example, where forcing at the natural frequency changes the answer’s very shape.

Example 5.19 (A forced oscillation)

Solve y+y=cosxy'' + y = \cos x, y(0)=0y(0) = 0, y(0)=0y'(0) = 0.

Homogeneous: χ(r)=r2+1\chi(r) = r^2 + 1, roots ±i\pm\iu: yh=λcosx+μsinxy_h = \lambda\cos x + \mu \sin x.

Particular: right-hand side (eix)\Re(\eu^{\iu x}) with γ=i\gamma = \iu a simple root of χ\chi: try zp=cxeixz_p = c\, x\, \eu^{\iu x} (cCc \in \C). Then zp+zp=c(2i)eixz_p'' + z_p = c\,(2\iu)\eu^{\iu x}, which equals eix\eu^{\iu x} for c=12i=i2c = \frac{1}{2\iu} = -\frac\iu2. So zp=i2x(cosx+isinx)z_p = -\frac{\iu}{2} x (\cos x + \iu \sin x) and yp=(zp)=xsinx2y_p = \Re(z_p) = \frac{x \sin x}{2}.

General solution: y=xsinx2+λcosx+μsinxy = \frac{x\sin x}{2} + \lambda\cos x + \mu\sin x. Conditions: y(0)=λ=0y(0) = \lambda = 0; y=sinx+xcosx2+μcosxy' = \frac{\sin x + x\cos x}{2} + \mu\cos x, so y(0)=μ=0y'(0) = \mu = 0. Answer: y=xsinx2y = \frac{x\sin x}{2} — an oscillation whose amplitude grows linearly: the resonance phenomenon, caused by forcing the system at its natural frequency.

Resonance: the solution y = x x/2 of y'' + y = x oscillates between the lines y = ± x2 (dashed), with ever-growing amplitude.
Resonance: the solution y=xsinx2y = \frac{x \sin x}{2} of y+y=cosxy'' + y = \cos x oscillates between the lines y=±x2y = \pm\frac x2 (dashed), with ever-growing amplitude.

Remark 5.20 (Interlude: linearity is a geometry)

Look back at the shape of every solution set in this chapter: a special solution plus a space of homogeneous solutions with one free constant (first order) or two (second order). The chapters on linear algebra (Chapters 18, 19 and 20) will supply the exact vocabulary: the map L(y)=y+ay+byL(y) = y'' + ay' + by is linear, its homogeneous solutions form the kernel of LL, a vector space whose dimension equals the order of the equation — that is the honest content of “one constant per order” — and the solution set of L(y)=fL(y) = f is an affine subspace, a translate of the kernel. Even the Cauchy map (λ,μ)(y(x0),y(x0))(\lambda, \mu) \mapsto (y(x_0), y'(x_0)) of Theorem 5.12 is a linear bijection between two planes, i.e. an invertible 2×22 \times 2 system (Chapter 21). Nothing in this chapter will need to be redone — it will only need to be renamed, and the renaming is the best possible warm-up for linear algebra: every abstract definition there has already earned its living here.

Remark 5.21 (Where this chapter is used)

The structure theorem — solutions of (E)(E) form “a particular solution plus the solutions of (H)(H)” — is the first appearance of a pattern that Chapters 18 and 20 will name: the solution set of (H)(H) is the kernel of the linear map yy+ay+byy \mapsto y'' + ay' + by, and the solution set of (E)(E) is an affine translate of it. The characteristic polynomial reappears as the characteristic polynomial of a matrix in Chapter 21: a second-order equation is a 2×22 \times 2 first-order system in disguise, a viewpoint the Year 2 volume systematizes. The integrals demanded by variation of constants are supplied by Chapter 15, and the weekend problem below — the driven damped oscillator — is the model case for every oscillation question in the sciences, from circuits to suspension bridges.

5.3 Exercises

Exercise 5.1

Solve on R\R:   y+2y=e3x\;y' + 2y = \eu^{3x}; then the Cauchy problem y(0)=1y(0) = 1.

Solution

Solution of Exercise 5.1.

Homogeneous: yh=λe2xy_h = \lambda\,\eu^{-2x}. Particular: try yp=ce3xy_p = c\,\eu^{3x} (33 is not a root of r+2r + 2): 3c+2c=13c + 2c = 1, c=15c = \frac15. General solution: y=e3x5+λe2xy = \frac{\eu^{3x}}{5} + \lambda\,\eu^{-2x}. With y(0)=1y(0) = 1: 15+λ=1\frac15 + \lambda = 1, λ=45\lambda = \frac45, so y=e3x+4e2x5y = \frac{\eu^{3x} + 4\,\eu^{-2x}}{5}.

Exercise 5.2

Solve on (0,+)\intoo{0}{+\infty}:   xy2y=x3\;x y' - 2y = x^3 (put the equation in the normalized form first).

Solution

Solution of Exercise 5.2.

On (0,+)\intoo{0}{+\infty}, divide by xx: y2xy=x2y' - \frac{2}{x}\,y = x^2. Here A(x)=2lnxA(x) = -2\ln x, eA(x)=x2\eu^{-A(x)} = x^2: homogeneous solutions λx2\lambda x^2. Variation of constants: μ(x)=x2x2=1\mu'(x) = x^2 \cdot x^{-2} = 1, so μ=x+λ\mu = x + \lambda and

y(x)=x3+λx2,λR.y(x) = x^3 + \lambda x^2, \qquad \lambda \in \R .

Check: x(3x2+2λx)2(x3+λx2)=x3x(3x^2 + 2\lambda x) - 2(x^3 + \lambda x^2) = x^3.

Exercise 5.3

Solve on R\R, giving the real general solution:   y3y+2y=0\;y'' - 3y' + 2y = 0;   y+4y+4y=0\;y'' + 4y' + 4y = 0;   y2y+5y=0\;y'' - 2y' + 5y = 0.

Solution

Solution of Exercise 5.3.

y3y+2y=0y'' - 3y' + 2y = 0: roots 11 and 22;   y=λex+μe2x\;y = \lambda\,\eu^{x} + \mu\,\eu^{2x}.

y+4y+4y=0y'' + 4y' + 4y = 0: double root 2-2;   y=(λ+μx)e2x\;y = (\lambda + \mu x)\,\eu^{-2x}.

y2y+5y=0y'' - 2y' + 5y = 0: roots 1±2i1 \pm 2\iu;   y=ex(λcos2x+μsin2x)\;y = \eu^{x}(\lambda\cos 2x + \mu\sin 2x).

Exercise 5.4

Solve yy=x2y'' - y = x^2 on R\R, then the Cauchy problem y(0)=0y(0) = 0, y(0)=1y'(0) = 1.

Solution

Solution of Exercise 5.4.

Homogeneous: roots ±1\pm 1, yh=λex+μexy_h = \lambda\,\eu^x + \mu\,\eu^{-x}. Particular with polynomial right-hand side (γ=0\gamma = 0 not a root): yp=ax2+bx+cy_p = ax^2 + bx + c; substituting, 2a(ax2+bx+c)=x22a - (ax^2 + bx + c) = x^2 gives a=1a = -1, b=0b = 0, c=2a=2c = 2a = -2: yp=x22y_p = -x^2 - 2. General solution y=x22+λex+μexy = -x^2 - 2 + \lambda\eu^x + \mu\eu^{-x}.

Cauchy: y(0)=2+λ+μ=0y(0) = -2 + \lambda + \mu = 0 and y(0)=λμ=1y'(0) = \lambda - \mu = 1: λ=32\lambda = \frac32, μ=12\mu = \frac12. So y=x22+3ex+ex2y = -x^2 - 2 + \frac{3\eu^x + \eu^{-x}}{2}.

Exercise 5.5 ★★

Solve on (π2,π2)\intoo{-\frac\pi2}{\frac\pi2}:   y+ytanx=sin2x\;y' + y\tan x = \sin 2x.

Solution

Solution of Exercise 5.5.

a(x)=tanxa(x) = \tan x, A(x)=ln(cosx)A(x) = -\ln(\cos x) (valid: cos>0\cos > 0 on the interval), eA=cosx\eu^{-A} = \cos x: homogeneous solutions λcosx\lambda\cos x. Variation of constants: μ(x)=sin2x1cosx=2sinx\mu'(x) = \sin 2x \cdot \frac{1}{\cos x} = 2\sin x, so μ=2cosx+λ\mu = -2\cos x + \lambda and

y(x)=2cos2x+λcosx.y(x) = -2\cos^2 x + \lambda \cos x .

Check: y=4cosxsinxλsinxy' = 4\cos x \sin x - \lambda\sin x and ytanx=2cosxsinx+λsinxy\tan x = -2\cos x\sin x + \lambda \sin x; their sum is 2cosxsinx=sin2x2\cos x\sin x = \sin 2x, as required.

Exercise 5.6 ★★

Solve y4y+3y=(2x+1)exy'' - 4y' + 3y = (2x + 1)\,\eu^{x} on R\R. (Mind the multiplicity: is 11 a root of the characteristic polynomial?)

Solution

Solution of Exercise 5.6.

χ(r)=r24r+3=(r1)(r3)\chi(r) = r^2 - 4r + 3 = (r-1)(r-3): γ=1\gamma = 1 is a simple root (m=1m = 1). Try yp=x(ax+b)exy_p = x(ax + b)\,\eu^x. With u=ax2+bxu = ax^2 + bx,

yp4yp+3yp=(u+(24)u+χ(1)u)ex=(2a2(2ax+b))ex.y_p'' - 4y_p' + 3y_p = \bigl(u'' + (2 - 4)u' + \chi(1) u\bigr)\eu^x = \bigl(2a - 2(2ax + b)\bigr)\eu^x .

Identify with (2x+1)ex(2x + 1)\eu^x: 4a=2-4a = 2 and 2a2b=12a - 2b = 1, so a=12a = -\frac12, b=1b = -1. General solution:

y=(x22+x)ex+λex+μe3x,(λ,μ)R2.y = -\Bigl(\frac{x^2}{2} + x\Bigr)\eu^{x} + \lambda\,\eu^{x} + \mu\,\eu^{3x}, \qquad (\lambda, \mu) \in \R^2 .

Exercise 5.7 ★★

Solve y+4y=sin2x+xy'' + 4y = \sin 2x + x on R\R (superposition; treat each right-hand side separately).

Solution

Solution of Exercise 5.7.

Homogeneous: yh=λcos2x+μsin2xy_h = \lambda\cos 2x + \mu\sin 2x.

Right-hand side xx (γ=0\gamma = 0 not a root): y1=ax+by_1 = ax + b with 4(ax+b)=x4(ax + b) = x: y1=x4y_1 = \frac x4.

Right-hand side sin2x=(e2ix)\sin 2x = \Im(\eu^{2\iu x}), 2i2\iu simple root of r2+4r^2 + 4: try z=cxe2ixz = c\,x\,\eu^{2\iu x}; then z+4z=4ice2ixz'' + 4z = 4\iu c\,\eu^{2\iu x}, equal to e2ix\eu^{2\iu x} for c=14i=i4c = \frac{1}{4\iu} = -\frac{\iu}{4}. So z=ix4(cos2x+isin2x)z = -\frac{\iu x}{4}(\cos 2x + \iu \sin 2x) and y2=(z)=xcos2x4y_2 = \Im(z) = -\frac{x\cos 2x}{4}.

By superposition:

y=x4xcos2x4+λcos2x+μsin2x.y = \frac{x}{4} - \frac{x\cos 2x}{4} + \lambda\cos 2x + \mu\sin 2x .

Exercise 5.8 ★★

A cup of coffee at temperature T0=80T_0 = 80\,^\circC sits in a room at 2020\,^\circC. Newton’s law of cooling states T=k(T20)T' = -k\,(T - 20) with k>0k > 0. Solve for T(t)T(t), and given that the coffee is at 5050\,^\circC after 1010 minutes, find when it reaches 2525\,^\circC.

Solution

Solution of Exercise 5.8.

The equation T+kT=20kT' + kT = 20k has constant particular solution 2020 and homogeneous solutions λekt\lambda\eu^{-kt}: T(t)=20+λektT(t) = 20 + \lambda\,\eu^{-kt}, and T(0)=80T(0) = 80 gives λ=60\lambda = 60:

T(t)=20+60ekt.T(t) = 20 + 60\,\eu^{-kt} .

T(10)=50T(10) = 50: e10k=12\eu^{-10k} = \frac12, so k=ln210k = \frac{\ln 2}{10}. Then T(t)=25T(t) = 25 requires ekt=560=112\eu^{-kt} = \frac{5}{60} = \frac{1}{12}, i.e.

t=ln12k=10ln12ln235.8 minutes.t = \frac{\ln 12}{k} = 10\,\frac{\ln 12}{\ln 2} \approx 35.8 \text{ minutes.}

Exercise 5.9 ★★★

(Damped oscillator) For ε0\varepsilon \geq 0, consider y+2εy+y=0y'' + 2\varepsilon y' + y = 0.

  1. Solve for ε[0,1)\varepsilon \in \intco{0}{1}, ε=1\varepsilon = 1, and ε>1\varepsilon > 1.
  2. Show that for ε>0\varepsilon > 0 every solution tends to 00 at ++\infty, and that for ε=0\varepsilon = 0 the nonzero solutions do not.
  3. For ε(0,1)\varepsilon \in \intoo{0}{1}, show that the zeros of a nonzero solution are regularly spaced, with gap π1ε2\frac{\pi}{\sqrt{1 - \varepsilon^2}}.
Solution

Solution of Exercise 5.9.

  1. χ(r)=r2+2εr+1\chi(r) = r^2 + 2\varepsilon r + 1, Δ=4(ε21)\Delta = 4(\varepsilon^2 - 1). For ε[0,1)\varepsilon \in \intco{0}{1}: roots ε±i1ε2-\varepsilon \pm \iu\sqrt{1 - \varepsilon^2}, so y=eεt(λcosωt+μsinωt)y = \eu^{-\varepsilon t}\bigl(\lambda\cos\omega t + \mu\sin\omega t\bigr) with ω=1ε2\omega = \sqrt{1 - \varepsilon^2}. For ε=1\varepsilon = 1: double root 1-1, y=(λ+μt)ety = (\lambda + \mu t)\,\eu^{-t}. For ε>1\varepsilon > 1: real roots r±=ε±ε21r_\pm = -\varepsilon \pm \sqrt{\varepsilon^2 - 1}, both <0< 0, and y=λer+t+μerty = \lambda\eu^{r_+t} + \mu\eu^{r_-t}.
  2. For ε(0,1)\varepsilon \in \intoo{0}{1}: yeεt(λ+μ)0\abs y \leq \eu^{-\varepsilon t}(\abs\lambda + \abs\mu) \to 0. For ε=1\varepsilon = 1: (λ+μt)et0(\lambda + \mu t)\eu^{-t} \to 0 (exponential beats polynomial, Proposition 4.6). For ε>1\varepsilon > 1: both exponentials decay since r±<0r_\pm < 0 (indeed ε21<ε\sqrt{\varepsilon^2 - 1} < \varepsilon). For ε=0\varepsilon = 0: y=λcost+μsinty = \lambda\cos t + \mu\sin t has constant amplitude λ2+μ20\sqrt{\lambda^2 + \mu^2} \neq 0 unless y=0y = 0.
  3. Write λcosωt+μsinωt=Rcos(ωtφ)\lambda\cos\omega t + \mu\sin\omega t = R\cos(\omega t - \varphi) with R=λ2+μ2>0R = \sqrt{\lambda^2 + \mu^2} > 0. The zeros of yy are those of cos(ωtφ)\cos(\omega t - \varphi) (the factor eεt\eu^{-\varepsilon t} never vanishes): ωtφπ2(modπ)\omega t - \varphi \equiv \frac\pi2 \pmod \pi, an arithmetic progression with gap πω=π1ε2\frac{\pi}{\omega} = \frac{\pi}{\sqrt{1 - \varepsilon^2}}.

Exercise 5.10 ★★★

Find all functions f ⁣:RRf \colon \R \to \R, twice differentiable, such that

x,yR,f(x+y)+f(xy)=2f(x)f(y),\forall x, y \in \R, \qquad f(x + y) + f(x - y) = 2 f(x) f(y),

with f(0)0f(0) \ne 0 and ff not constant. Hint: fix yy, differentiate twice with respect to xx at 00; show f(0)=1f(0) = 1 and f=cff'' = c f for some constant cc; then solve according to the sign of cc and check which solutions satisfy the functional equation.

Solution

Solution of Exercise 5.10.

Set x=y=0x = y = 0: 2f(0)=2f(0)22f(0) = 2f(0)^2, and f(0)0f(0) \neq 0 gives f(0)=1f(0) = 1. Fix xx and differentiate the equation twice with respect to yy:

f(x+y)+f(xy)=2f(x)f(y).f''(x+y) + f''(x-y) = 2 f(x) f''(y) .

Setting y=0y = 0:   2f(x)=2f(x)f(0)\;2f''(x) = 2 f(x) f''(0), that is

f(x)=cf(x),c=f(0).f''(x) = c\,f(x), \qquad c = f''(0).

Case c=ω2>0c = \omega^2 > 0: f(x)=λcoshωx+μsinhωxf(x) = \lambda\cosh\omega x + \mu\sinh\omega x; f(0)=1f(0) = 1 gives λ=1\lambda = 1. Plugging into the functional equation and using the addition formulas (Proposition 4.18), the equation forces μ=0\mu = 0 (compare the coefficients of sinhωxsinhωy\sinh\omega x \sinh\omega y or evaluate at x=yx = y): f=coshωxf = \cosh\omega x, which does satisfy cosh(x+y)+cosh(xy)=2coshxcoshy\cosh(x+y) + \cosh(x-y) = 2\cosh x\cosh y.

Case c=ω2<0c = -\omega^2 < 0: similarly f(x)=cosωxf(x) = \cos\omega x (ω0\omega \neq 0), which satisfies the equation.

Case c=0c = 0: ff affine with f(0)=1f(0) = 1: f(x)=1+μxf(x) = 1 + \mu x; the equation forces μ=0\mu = 0, excluded (ff not constant).

Conclusion: the solutions are f(x)=cosωxf(x) = \cos\omega x and f(x)=coshωxf(x) = \cosh\omega x, ω>0\omega > 0.

Exercise 5.11 ★★

(Euler equation) Solve x2yxy+y=0x^2 y'' - x y' + y = 0 on (0,+)\intoo{0}{+\infty}. Hint: set z(t)=y(et)z(t) = y(\eu^t), i.e. substitute x=etx = \eu^t, and show that zz satisfies a linear equation with constant coefficients.

Solution

Solution of Exercise 5.11.

Set z(t)=y(et)z(t) = y(\eu^t), so that y(x)=z(lnx)y(x) = z(\ln x) for x>0x > 0. Then

y(x)=z(lnx)x,y(x)=z(lnx)z(lnx)x2,y'(x) = \frac{z'(\ln x)}x, \qquad y''(x) = \frac{z''(\ln x) - z'(\ln x)}{x^2} ,

and substituting into the equation:

x2yxy+y=(zz)z+z=z2z+z=0.x^2y'' - xy' + y = \bigl(z'' - z'\bigr) - z' + z = z'' - 2z' + z = 0 .

Characteristic polynomial (r1)2(r - 1)^2: double root 11, so z(t)=(λ+μt)etz(t) = (\lambda + \mu t)\,\eu^t and, back in the variable x=etx = \eu^t:

y(x)=(λ+μlnx)x,λ,μR.y(x) = (\lambda + \mu\ln x)\,x, \qquad \lambda, \mu \in \R .

Exercise 5.12 ★★★

Consider the equation xy=2yx\,y' = 2y on the whole real line, in the unknown differentiable function y ⁣:RRy \colon \R \to \R.

  1. Solve on (0,+)\intoo{0}{+\infty} and on (,0)\intoo{-\infty}{0}.
  2. Show that for any constants a,bRa, b \in \R, the function equal to ax2ax^2 for x0x \geq 0 and to bx2bx^2 for x<0x < 0 is differentiable on R\R and solves the equation everywhere.
  3. Conclude that the solution set on R\R is a two-parameter family, and explain why this does not contradict the uniqueness in Theorem 5.4.
Solution

Solution of Exercise 5.12.

  1. In normalized form y2xy=0y' - \frac2x\,y = 0 on each interval: A(x)=2lnxA(x) = -2\ln\abs x, so the solutions are y=ax2y = a x^2 on (0,+)\intoo0{+\infty} and y=bx2y = b x^2 on (,0)\intoo{-\infty}0, with independent constants (Theorem 5.2).
  2. Let y=ax2y = ax^2 for x0x \geq 0 and bx2bx^2 for x<0x < 0. On each open half-line yy is differentiable with xy=2yxy' = 2y. At 00: the difference quotients y(h)y(0)h=ah\frac{y(h) - y(0)}h = ah or bhbh tend to 00, so y(0)=0y'(0) = 0 exists, and the equation at x=0x = 0 reads 0y(0)=2y(0)=00 \cdot y'(0) = 2y(0) = 0: satisfied. So yy solves the equation on all of R\R.
  3. The solutions on R\R are exactly these glued functions: a two-parameter family for a first-order equation. There is no contradiction with Theorem 5.4, whose hypotheses fail here: written as y+a(x)y=0y' + a(x)y = 0, the coefficient a(x)=2xa(x) = -\frac2x is not continuous at 00 — indeed not defined — so R\R is not an interval on which the theorem applies. The singularity at 00 disconnects the two half-lines, and the value y(0)=0y(0) = 0 is forced, carrying no information across. Every Cauchy datum at x00x_0 \neq 0 determines the solution only on the half-line containing x0x_0.

5.4 Problem: The driven damped oscillator

Problem 5.1

One equation governs a mass on a spring in a viscous medium, the charge in an RLC circuit, and a building swaying in the wind:

(EΩ) ⁣:x+2λx+ω02x=Acos(Ωt),(E_\Omega)\colon\quad x'' + 2\lambda x' + \omega_0^2\,x = A\cos(\Omega t),

with λ0\lambda \geq 0 the damping, ω0>0\omega_0 > 0 the natural frequency, and A>0A > 0, Ω>0\Omega > 0 the amplitude and frequency of the forcing. This problem extracts its complete behavior: the decay of transients, the unique periodic steady state, the resonance curve and its sharpness (the quality factor), the beats of the undamped case, and the energy balance that sustains the oscillation. Unless stated otherwise, 0<λ<ω00 < \lambda < \omega_0 (underdamped regime) and we write ωd=ω02λ2\omega_d = \sqrt{\omega_0^2 - \lambda^2}.

Part I — The free oscillator. Here A=0A = 0.

  1. Solve the homogeneous equation (H)(H) for 0<λ<ω00 < \lambda < \omega_0, and for λ=0\lambda = 0. (The regimes λω0\lambda \geq \omega_0 were treated in Exercise 5.9; quote them.)
  2. Show that for every λ>0\lambda > 0, all solutions of (H)(H) tend to 00 at ++\infty — in all three regimes.
  3. Define the energy E(t)=12x(t)2+12ω02x(t)2\mathcal E(t) = \frac12 x'(t)^2 + \frac12\omega_0^2\,x(t)^2 along a solution of (H)(H). Show E(t)=2λx(t)20\mathcal E'(t) = -2\lambda\,x'(t)^2 \leq 0, and deduce (without solving anything) that the Cauchy problem(H)(H), x(t0)=x(t0)=0x(t_0) = x'(t_0) = 0” has only the zero solution, for every λ0\lambda \geq 0.
  4. For 0<λ<ω00 < \lambda < \omega_0, write the nonzero solution as x(t)=Reλtcos(ωdtφ)x(t) = R\,\eu^{-\lambda t}\cos(\omega_d t - \varphi) and let Td=2πωdT_d = \frac{2\pi}{\omega_d} be the pseudo-period. Show that x(t+Td)=eλTdx(t)x(t + T_d) = \eu^{-\lambda T_d}\,x(t): each swing is the previous one shrunk by the constant factor eδ\eu^{-\delta}, δ=2πλωd\delta = \frac{2\pi\lambda}{\omega_d} (the logarithmic decrement). Compute δ\delta for ω0=1\omega_0 = 1, λ=0.1\lambda = 0.1.
  5. Define the quality factor Q=ω02λQ = \dfrac{\omega_0}{2\lambda}. Show that after the time 1λ\frac1\lambda (one amplitude e\eu-folding), the oscillator has completed ωd2πλ\frac{\omega_d}{2\pi\lambda} pseudo-periods, which for weak damping (λω0\lambda \ll \omega_0) is approximately Qπ\frac Q\pi: the quality factor counts, up to π\pi, the oscillations survived before the amplitude decays by e\eu.

Part II — The steady state. Now A>0A > 0 and λ>0\lambda > 0.

  1. Look for a particular solution as the real part of zeiΩtz\,\eu^{\iu\Omega t} with zCz \in \C (Method 5.13). Show that this works with

    z=Aω02Ω2+2iλΩ.z = \frac{A}{\omega_0^2 - \Omega^2 + 2\iu\lambda\Omega} .
  2. Deduce the steady state in amplitude–phase form: xp(t)=R(Ω)cos(Ωtφ(Ω))x_p(t) = R(\Omega)\cos\bigl(\Omega t - \varphi(\Omega)\bigr) with

    R(Ω)=A(ω02Ω2)2+4λ2Ω2,tanφ=2λΩω02Ω2,φ(0,π).R(\Omega) = \frac{A}{\sqrt{(\omega_0^2 - \Omega^2)^2 + 4\lambda^2\Omega^2}}, \qquad \tan\varphi = \frac{2\lambda\Omega}{\omega_0^2 - \Omega^2}, \quad \varphi \in \intoo0\pi .
  3. Interpret the two extreme regimes: compute the limits of RR and φ\varphi as Ω0+\Omega \to 0^+ (quasi-static response A/ω02A/\omega_0^2, phase 00) and as Ω+\Omega \to +\infty (RA/Ω20R \sim A/\Omega^2 \to 0, phase π\to \pi: the mass moves opposite to a too-fast forcing).
  4. Show that every solution of (EΩ)(E_\Omega) is xpx_p plus a solution of (H)(H), hence converges to the steady state xpx_p as t+t \to +\infty, whatever the initial conditions: after the transient dies, the oscillator has no memory of how it started.
  5. Show that xpx_p is the only periodic solution of (EΩ)(E_\Omega).
  6. Work one Cauchy problem to the end: for x+2x+2x=costx'' + 2x' + 2x = \cos t with x(0)=x(0)=0x(0) = x'(0) = 0, show that the solution is

    x(t)=cost+2sint5etcost+3sint5,x(t) = \frac{\cos t + 2\sin t}5 - \eu^{-t}\,\frac{\cos t + 3\sin t}5 ,

    and identify transient and steady parts.

Part III — The resonance curve. Study of ΩR(Ω)\Omega \mapsto R(\Omega) on (0,+)\intoo0{+\infty}.

  1. Setting u=Ω2u = \Omega^2 and g(u)=(ω02u)2+4λ2ug(u) = (\omega_0^2 - u)^2 + 4\lambda^2 u, show: if 2λ2<ω022\lambda^2 < \omega_0^2, then RR attains a strict maximum at the resonance frequency Ωr=ω022λ2\Omega_r = \sqrt{\omega_0^2 - 2\lambda^2}, with

    Rmax=R(Ωr)=A2λω02λ2.R_{\max} = R(\Omega_r) = \frac{A}{2\lambda\sqrt{\omega_0^2 - \lambda^2}} .
  2. Show that RmaxR(0)=Q(1λ2ω02)1/2Q\dfrac{R_{\max}}{R(0)} = Q\,\bigl(1 - \tfrac{\lambda^2}{\omega_0^2}\bigr)^{-1/2} \geq Q: at resonance, the forcing is amplified by (essentially) the quality factor.
  3. Prove that the velocity amplitude V(Ω)=ΩR(Ω)V(\Omega) = \Omega\,R(\Omega) is maximal exactly at Ω=ω0\Omega = \omega_0 (not at Ωr\Omega_r), and that the phase there is φ(ω0)=π2\varphi(\omega_0) = \frac\pi2: at Ω=ω0\Omega = \omega_0 the velocity is exactly in phase with the force.
  4. (Bandwidth) Solve g(u)=2g(ur)g(u) = 2\,g(u_r) exactly, where ur=ω022λ2u_r = \omega_0^2 - 2\lambda^2, and deduce that the two frequencies Ω±\Omega_\pm where R=Rmax/2R = R_{\max}/\sqrt2 satisfy Ω+2Ω2=4λω02λ2\Omega_+^2 - \Omega_-^2 = 4\lambda\sqrt{\omega_0^2 - \lambda^2}; conclude that for weak damping the bandwidth is Ω+Ω2λ\Omega_+ - \Omega_- \approx 2\lambda, i.e. Qω0Ω+ΩQ \approx \frac{\omega_0}{\Omega_+ - \Omega_-}: sharp resonance peaks are high-QQ systems.
  5. Numerical portrait for ω0=1\omega_0 = 1, λ=0.05\lambda = 0.05 (Q=10Q = 10), A=1A = 1: compute Ωr\Omega_r, RmaxR_{\max}, the static response R(0)R(0), and the approximate bandwidth.
  6. Show that if 2λ2ω022\lambda^2 \geq \omega_0^2, then RR is strictly decreasing on (0,+)\intoo0{+\infty}: heavily damped systems have no resonance peak at all.

Part IV — No damping: beats and resonance. Here λ=0\lambda = 0.

  1. For Ωω0\Omega \neq \omega_0, find the general solution of x+ω02x=Acos(Ωt)x'' + \omega_0^2 x = A\cos(\Omega t).
  2. Solve the Cauchy problem x(0)=x(0)=0x(0) = x'(0) = 0 and transform the answer into the product form

    x(t)=2Aω02Ω2sin((ω0Ω)t2)sin((ω0+Ω)t2).x(t) = \frac{2A}{\omega_0^2 - \Omega^2}\, \sin\Bigl(\frac{(\omega_0 - \Omega)t}2\Bigr) \sin\Bigl(\frac{(\omega_0 + \Omega)t}2\Bigr) .
  3. For Ω\Omega close to ω0\omega_0, read the product as a fast oscillation at frequency ω0+Ω2\frac{\omega_0 + \Omega}2 modulated by a slow envelope at frequency ω0Ω2\frac{\abs{\omega_0 - \Omega}}2: the beats. Give the period of the envelope and the maximal amplitude, and note how both blow up as Ωω0\Omega \to \omega_0.
  4. Fix tt and let Ωω0\Omega \to \omega_0 in question 19’s formula: show the limit is

    x(t)=Atsin(ω0t)2ω0,x_\infty(t) = \frac{A\,t\,\sin(\omega_0 t)}{2\omega_0} ,

    and check directly that xx_\infty solves the resonant equation x+ω02x=Acos(ω0t)x'' + \omega_0^2 x = A\cos(\omega_0 t) with x(0)=x(0)=0x(0) = x'(0) = 0 (compare Example 5.19): resonance is the limit of ever-slower, ever-larger beats.

  5. Contrast the two fates of resonance: linear growth At2ω0\frac{At}{2\omega_0} without damping, versus saturation at RmaxQAω02R_{\max} \approx Q\,\frac{A}{\omega_0^2} with weak damping. In one sentence: what physical mechanism converts the first into the second?

Part V — Energy balance and synthesis.

  1. In the steady state of Part II, compute the average over one period 2πΩ\frac{2\pi}\Omega of (a) the power injected by the forcing, Pin(t)=Acos(Ωt)xp(t)P_{\mathrm{in}}(t) = A\cos(\Omega t) \cdot x_p'(t), and (b) the power dissipated by the damping, Pdiss(t)=2λxp(t)2P_{\mathrm{diss}}(t) = 2\lambda\,x_p'(t)^2. Show both averages equal λR2Ω2\lambda\,R^2\Omega^2: the forcing feeds in exactly what the damping burns — this is why the steady state is steady.
  2. Where exactly did the problem use: (i) the structure theorem Theorem 5.12; (ii) the complex exponential method; (iii) a real-variable function study in the style of Chapter 4? One sentence each.
  3. Synthesis: describe the full behavior map of (EΩ)(E_\Omega) — free versus forced, damped versus undamped, the role of QQ as the single dimensionless dial tuning peak height, bandwidth and transient lifetime — and mention where the story continues: first-order 2×22 \times 2 systems (Chapter 21 and the Year 2 volume) and the decomposition of a general periodic forcing into sinusoids (Fourier series, in the Year 3 volume), for which this problem’s sinusoidal case is the fundamental building block.
Solution

Solution of Problem 5.1.

1. χ(r)=r2+2λr+ω02\chi(r) = r^2 + 2\lambda r + \omega_0^2, Δ=4(λ2ω02)<0\Delta = 4(\lambda^2 - \omega_0^2) < 0 for 0<λ<ω00 < \lambda < \omega_0: roots λ±iωd-\lambda \pm \iu\omega_d, so by Theorem 5.10

x(t)=eλt(λ1cosωdt+μ1sinωdt),(λ1,μ1)R2.x(t) = \eu^{-\lambda t}\bigl(\lambda_1\cos\omega_d t + \mu_1\sin\omega_d t\bigr), \qquad (\lambda_1, \mu_1) \in \R^2 .

For λ=0\lambda = 0: x=λ1cosω0t+μ1sinω0tx = \lambda_1\cos\omega_0 t + \mu_1\sin\omega_0 t. The critical (λ=ω0\lambda = \omega_0) and overdamped (λ>ω0\lambda > \omega_0) regimes are those of Exercise 5.9 (after rescaling time): (λ1+μ1t)eλt(\lambda_1 + \mu_1 t)\eu^{-\lambda t}, resp. combinations of er±t\eu^{r_\pm t} with r±=λ±λ2ω02r_\pm = -\lambda \pm \sqrt{\lambda^2 - \omega_0^2}.

2. Underdamped: xeλt(λ1+μ1)0\abs x \leq \eu^{-\lambda t}(\abs{\lambda_1} + \abs{\mu_1}) \to 0. Critical: (λ1+μ1t)eλt0(\lambda_1 + \mu_1 t)\eu^{-\lambda t} \to 0 since exponentials beat polynomials (Proposition 4.6). Overdamped: r<r+=λ+λ2ω02<0r_- < r_+ = -\lambda + \sqrt{\lambda^2 - \omega_0^2} < 0 because λ2ω02<λ\sqrt{\lambda^2 - \omega_0^2} < \lambda; both exponentials decay.

3. Along a solution of (H)(H), using x=2λxω02xx'' = -2\lambda x' - \omega_0^2 x:

E(t)=xx+ω02xx=x(2λxω02x)+ω02xx=2λx20.\mathcal E'(t) = x'x'' + \omega_0^2 x x' = x'\bigl(-2\lambda x' - \omega_0^2 x\bigr) + \omega_0^2 xx' = -2\lambda\,x'^2 \leq 0 .

If x(t0)=x(t0)=0x(t_0) = x'(t_0) = 0 then E(t0)=0\mathcal E(t_0) = 0; E\mathcal E is nonnegative and nonincreasing, so E0\mathcal E \equiv 0 on [t0,+)\intco{t_0}{+\infty}, forcing x0x \equiv 0 there; for tt0t \leq t_0, run the same argument on x~(t)=x(2t0t)\tilde x(t) = x(2t_0 - t), which solves the equation with damping λ-\lambda but still has E~(t0)=0\tilde{\mathcal E}(t_0) = 0 and E~=+2λx~20\tilde{\mathcal E}' = +2\lambda\tilde x'^2 \geq 0 with E~0\tilde{\mathcal E} \geq 0; nonnegative, nondecreasing and zero at the right end of (,t0]\intoc{-\infty}{t_0} means zero throughout. So x0x \equiv 0 on R\R — an energy proof of uniqueness, valid for all λ0\lambda \geq 0.

4. x(t+Td)=ReλteλTdcos(ωdt+2πφ)=eλTdx(t)x(t + T_d) = R\,\eu^{-\lambda t}\eu^{-\lambda T_d}\cos(\omega_d t + 2\pi - \varphi) = \eu^{-\lambda T_d}x(t). The shrink factor per pseudo-period is eδ\eu^{-\delta} with δ=λTd=2πλωd\delta = \lambda T_d = \frac{2\pi\lambda}{\omega_d}. For ω0=1\omega_0 = 1, λ=0.1\lambda = 0.1: ωd=0.99=0.99499\omega_d = \sqrt{0.99} = 0.99499, so δ=0.628320.99499=0.6315\delta = \frac{0.62832}{0.99499} = 0.6315: each swing keeps e0.6353%\eu^{-0.63} \approx 53\% of its amplitude.

5. The amplitude factor is eλt\eu^{-\lambda t}, which decays by e\eu over t=1λt = \frac1\lambda. That interval contains 1/λTd=ωd2πλ\frac{1/\lambda}{T_d} = \frac{\omega_d}{2\pi\lambda} pseudo-periods. For λω0\lambda \ll \omega_0, ωdω0\omega_d \approx \omega_0 and this is ω02πλ=Qπ\approx \frac{\omega_0}{2\pi\lambda} = \frac Q\pi. A Q=300Q = 300 guitar string rings for about a hundred periods; a Q=1Q = 1 door damper does not complete one.

6. Substituting zeiΩtz\,\eu^{\iu\Omega t} into the left-hand side gives z(Ω2+2iλΩ+ω02)eiΩtz\,(-\Omega^2 + 2\iu\lambda\Omega + \omega_0^2)\,\eu^{\iu\Omega t}, which equals AeiΩtA\,\eu^{\iu\Omega t} exactly for z=Aω02Ω2+2iλΩz = \frac{A}{\omega_0^2 - \Omega^2 + 2\iu\lambda\Omega} (the denominator is nonzero: its imaginary part is 2λΩ>02\lambda\Omega > 0). Since the coefficients are real, the real part xp=(zeiΩt)x_p = \Re\bigl(z\eu^{\iu\Omega t}\bigr) solves the equation with right-hand side (AeiΩt)=AcosΩt\Re\bigl(A\eu^{\iu\Omega t}\bigr) = A\cos\Omega t.

7. Write ω02Ω2+2iλΩ=Deiφ\omega_0^2 - \Omega^2 + 2\iu\lambda\Omega = \sqrt{D}\,\eu^{\iu\varphi} with D=(ω02Ω2)2+4λ2Ω2D = (\omega_0^2 - \Omega^2)^2 + 4\lambda^2\Omega^2 and φ(0,π)\varphi \in \intoo0\pi (the imaginary part 2λΩ2\lambda\Omega is positive), so tanφ=2λΩω02Ω2\tan\varphi = \frac{2\lambda\Omega}{\omega_0^2 - \Omega^2}. Then z=ADeiφz = \frac{A}{\sqrt D}\eu^{-\iu\varphi} and

xp(t)=(ADei(Ωtφ))=Rcos(Ωtφ),R=AD.x_p(t) = \Re\Bigl(\frac A{\sqrt D}\,\eu^{\iu(\Omega t - \varphi)}\Bigr) = R\cos(\Omega t - \varphi), \qquad R = \frac A{\sqrt D} .

8. As Ω0+\Omega \to 0^+: Dω04D \to \omega_0^4, so RA/ω02R \to A/\omega_0^2 and tanφ0+\tan\varphi \to 0^+ with φ(0,π2)\varphi \in \intoo0{\frac\pi2}: φ0\varphi \to 0. The mass follows the force quasi-statically, displaced by force/stiffness. As Ω+\Omega \to +\infty: DΩ4D \sim \Omega^4, so RA/Ω20R \sim A/\Omega^2 \to 0, and φπ\varphi \to \pi (the complex number ω02Ω2+2iλΩ\omega_0^2 - \Omega^2 + 2\iu\lambda\Omega goes to the second quadrant with argument π\to \pi): the mass barely moves, and in opposition of phase — inertia dominates.

9. By Theorem 5.12 (1), every solution is x=xp+xhx = x_p + x_h with xhx_h solving (H)(H); by question 2, xh(t)0x_h(t) \to 0, so x(t)xp(t)0x(t) - x_p(t) \to 0: all solutions converge to the same steady state. The initial conditions only shape the transient.

10. If xx is a periodic solution, xxp=xhx - x_p = x_h is a periodic solution of (H)(H) which tends to 00 at ++\infty; a periodic function with limit 00 is identically 00 (its values on one period repeat forever, so every value is a limit of a subsequence tending to 00). Hence x=xpx = x_p.

11. Here λ=1\lambda = 1, ω02=2\omega_0^2 = 2, Ω=1\Omega = 1, A=1A = 1: z=121+2i=12i5z = \frac1{2 - 1 + 2\iu} = \frac{1 - 2\iu}5, so

xp=((12i)(cost+isint)5)=cost+2sint5.x_p = \Re\Bigl(\frac{(1 - 2\iu)(\cos t + \iu\sin t)}5\Bigr) = \frac{\cos t + 2\sin t}5 .

Homogeneous: roots of r2+2r+2r^2 + 2r + 2 are 1±i-1 \pm \iu: xh=et(Ccost+Ssint)x_h = \eu^{-t}(C\cos t + S\sin t). Conditions: x(0)=15+C=0x(0) = \frac15 + C = 0 gives C=15C = -\frac15; differentiating, x(0)=25C+S=0x'(0) = \frac25 - C + S = 0 gives S=C25=35S = C - \frac25 = -\frac35. Hence

x(t)=cost+2sint5steadyetcost+3sint5transient,x(t) = \underbrace{\frac{\cos t + 2\sin t}5}_{\text{steady}} - \underbrace{\eu^{-t}\,\frac{\cos t + 3\sin t}5}_{\text{transient}} ,

the transient dying like et\eu^{-t}.

12. Expanding, g(u)=u22(ω022λ2)u+ω04=(uur)2+g(ur)g(u) = u^2 - 2(\omega_0^2 - 2\lambda^2)u + \omega_0^4 = (u - u_r)^2 + g(u_r) with ur=ω022λ2u_r = \omega_0^2 - 2\lambda^2 and

g(ur)=ω04ur2=(ω02ur)(ω02+ur)=2λ2(2ω022λ2)=4λ2(ω02λ2).g(u_r) = \omega_0^4 - u_r^2 = (\omega_0^2 - u_r)(\omega_0^2 + u_r) = 2\lambda^2\bigl(2\omega_0^2 - 2\lambda^2\bigr) = 4\lambda^2(\omega_0^2 - \lambda^2) .

If 2λ2<ω022\lambda^2 < \omega_0^2, then ur>0u_r > 0 is an admissible squared frequency: gg has a strict minimum there, so R=A/gR = A/\sqrt g has a strict maximum at Ωr=ur=ω022λ2\Omega_r = \sqrt{u_r} = \sqrt{\omega_0^2 - 2\lambda^2}, with Rmax=A/g(ur)=A2λω02λ2R_{\max} = A/\sqrt{g(u_r)} = \frac{A}{2\lambda\sqrt{\omega_0^2 - \lambda^2}}.

13. R(0)=A/ω02R(0) = A/\omega_0^2, so

RmaxR(0)=ω022λω02λ2=ω02λω0ω02λ2=Q(1λ2ω02)1/2Q.\frac{R_{\max}}{R(0)} = \frac{\omega_0^2}{2\lambda\sqrt{\omega_0^2 - \lambda^2}} = \frac{\omega_0}{2\lambda}\cdot \frac{\omega_0}{\sqrt{\omega_0^2 - \lambda^2}} = Q\,\Bigl(1 - \frac{\lambda^2}{\omega_0^2}\Bigr)^{-1/2} \geq Q .

For weak damping the correction factor is close to 11: resonance multiplies the static displacement by essentially QQ.

14. V(Ω)2=A2ug(u)V(\Omega)^2 = \frac{A^2 u}{g(u)} with u=Ω2u = \Omega^2. Its derivative has the sign of g(u)ug(u)=(ω02u)2+4λ2uu(2(uω02)+4λ2)=(ω02u)2+2u(ω02u)=(ω02u)(ω02+u)g(u) - u\,g'(u) = (\omega_0^2 - u)^2 + 4\lambda^2 u - u\bigl(2(u - \omega_0^2) + 4\lambda^2\bigr) = (\omega_0^2 - u)^2 + 2u(\omega_0^2 - u) = (\omega_0^2 - u)(\omega_0^2 + u), positive for u<ω02u < \omega_0^2 and negative beyond: strict maximum exactly at Ω=ω0\Omega = \omega_0, for every damping. There tanφ\tan\varphi blows up with φ(0,π)\varphi \in \intoo0\pi: φ=π2\varphi = \frac\pi2, and xp(t)=RΩsin(Ωtπ2)=RΩcos(Ωt)x_p'(t) = -R\Omega\sin(\Omega t - \frac\pi2) = R\Omega\cos(\Omega t) is exactly in phase with the force: optimal power transfer.

15. R=Rmax/2    g(u)=2g(ur)    (uur)2=g(ur)=4λ2(ω02λ2)R = R_{\max}/\sqrt2 \iff g(u) = 2g(u_r) \iff (u - u_r)^2 = g(u_r) = 4\lambda^2(\omega_0^2 - \lambda^2), giving

u±=ur±2λω02λ2,Ω+2Ω2=4λω02λ2.u_\pm = u_r \pm 2\lambda\sqrt{\omega_0^2 - \lambda^2}, \qquad \Omega_+^2 - \Omega_-^2 = 4\lambda\sqrt{\omega_0^2 - \lambda^2} .

Then Ω+Ω=Ω+2Ω2Ω++Ω\Omega_+ - \Omega_- = \frac{\Omega_+^2 - \Omega_-^2}{\Omega_+ + \Omega_-}, and for λω0\lambda \ll \omega_0 both Ω±ω0\Omega_\pm \approx \omega_0: Ω+Ω4λω02ω0=2λ\Omega_+ - \Omega_- \approx \frac{4\lambda\omega_0}{2\omega_0} = 2\lambda, so ω0Ω+Ωω02λ=Q\frac{\omega_0}{\Omega_+ - \Omega_-} \approx \frac{\omega_0}{2\lambda} = Q. Measuring a resonance peak’s width measures its quality factor.

16. Q=10Q = 10; Ωr=12(0.05)2=0.995=0.9975\Omega_r = \sqrt{1 - 2(0.05)^2} = \sqrt{0.995} = 0.9975; Rmax=12×0.0510.0025=10.1×0.99875=10.01R_{\max} = \frac1{2 \times 0.05 \sqrt{1 - 0.0025}} = \frac1{0.1 \times 0.99875} = 10.01; static response R(0)=1R(0) = 1; bandwidth 2λ=0.1\approx 2\lambda = 0.1. A tall thin spike of height Q\approx Q over a plateau of height 11.

17. If 2λ2ω022\lambda^2 \geq \omega_0^2 then ur0u_r \leq 0 and g(u)=2(uur)>0g'(u) = 2(u - u_r) > 0 for all u>0u > 0: gg increases strictly on (0,+)\intoo0{+\infty}, so R=A/gR = A/\sqrt g decreases strictly from R(0)=A/ω02R(0) = A/\omega_0^2: the response is largest at zero frequency and there is no peak.

18. γ=iΩ\gamma = \iu\Omega is not a root of r2+ω02r^2 + \omega_0^2 (as Ωω0\Omega \neq \omega_0), so Method 5.13 with m=0m = 0 gives xp=AcosΩtω02Ω2x_p = \frac{A\cos\Omega t}{\omega_0^2 - \Omega^2} (substitute and check: Ω2+ω02-\Omega^2 + \omega_0^2 times the cosine). General solution:

x(t)=AcosΩtω02Ω2+λ1cosω0t+μ1sinω0t.x(t) = \frac{A\cos\Omega t}{\omega_0^2 - \Omega^2} + \lambda_1\cos\omega_0 t + \mu_1\sin\omega_0 t .

19. x(0)=0x(0) = 0 forces λ1=Aω02Ω2\lambda_1 = -\frac A{\omega_0^2 - \Omega^2}, and x(0)=0x'(0) = 0 forces μ1=0\mu_1 = 0:

x(t)=Aω02Ω2(cosΩtcosω0t)=2Aω02Ω2sin((ω0Ω)t2)sin((ω0+Ω)t2),x(t) = \frac{A}{\omega_0^2 - \Omega^2}\, \bigl(\cos\Omega t - \cos\omega_0 t\bigr) = \frac{2A}{\omega_0^2 - \Omega^2}\, \sin\Bigl(\frac{(\omega_0 - \Omega)t}2\Bigr) \sin\Bigl(\frac{(\omega_0 + \Omega)t}2\Bigr) ,

by the product formula cosacosb=2sinba2sinb+a2\cos a - \cos b = 2\sin\frac{b - a}2\sin\frac{b + a}2 applied with a=Ωta = \Omega t, b=ω0tb = \omega_0 t.

20. For Ω\Omega near ω0\omega_0, the second sine oscillates at the fast frequency ω0+Ω2ω0\frac{\omega_0 + \Omega}2 \approx \omega_0, while the first is a slow envelope of frequency ω0Ω2\frac{\abs{\omega_0 - \Omega}}2: the amplitude of the fast oscillation waxes and wanes with envelope period 2πω0Ω\frac{2\pi}{\abs{\omega_0 - \Omega}} (two beats per envelope period), reaching maxima 2Aω02Ω2\frac{2A}{\abs{\omega_0^2 - \Omega^2}}. As Ωω0\Omega \to \omega_0, the beats become both slower (period \to \infty) and taller (amplitude \to \infty).

21. Fix tt. As Ωω0\Omega \to \omega_0:

2Aω02Ω2sin((ω0Ω)t2)=2Aω0+Ωsin((ω0Ω)t2)ω0Ω2A2ω0t2=At2ω0,\frac{2A}{\omega_0^2 - \Omega^2}\sin\Bigl(\frac{(\omega_0 - \Omega)t}2\Bigr) = \frac{2A}{\omega_0 + \Omega}\cdot \frac{\sin\bigl(\frac{(\omega_0 - \Omega)t}2\bigr)} {\omega_0 - \Omega} \longrightarrow \frac{2A}{2\omega_0}\cdot\frac t2 = \frac{At}{2\omega_0} ,

while sin((ω0+Ω)t2)sin(ω0t)\sin\bigl(\frac{(\omega_0 + \Omega)t}2\bigr) \to \sin(\omega_0 t): the limit is x(t)=Atsinω0t2ω0x_\infty(t) = \frac{At\sin\omega_0 t}{2\omega_0}. Direct check: with C=A2ω0C = \frac A{2\omega_0}, x=Ctsinω0tx_\infty = Ct\sin\omega_0 t has x=2Cω0cosω0tCω02tsinω0tx_\infty'' = 2C\omega_0\cos\omega_0 t - C\omega_0^2 t \sin\omega_0 t, so x+ω02x=2Cω0cosω0t=Acosω0tx_\infty'' + \omega_0^2 x_\infty = 2C\omega_0\cos\omega_0 t = A\cos\omega_0 t, with x(0)=0x_\infty(0) = 0 and x(0)=Csin0+Cω00cos0=0x_\infty'(0) = C\sin 0 + C\omega_0 \cdot 0 \cdot \cos 0 = 0 — for ω0=A=1\omega_0 = A = 1 this is exactly Example 5.19. Resonance is the degeneration of beats: the first swell of the envelope, stretched to infinite length.

22. Without damping the resonant amplitude grows linearly and without bound; with damping λ>0\lambda > 0 the growth saturates at RmaxQAω02R_{\max} \approx Q\,\frac A{\omega_0^2}. The mechanism: dissipation removes energy at a rate growing with the amplitude (question 23), so the build-up stops exactly when the damping burns energy as fast as the forcing supplies it.

23. With xp=RΩsin(Ωtφ)x_p' = -R\Omega\sin(\Omega t - \varphi), over a period the averages cos2=sin2=12\langle\cos^2\rangle = \langle\sin^2\rangle = \frac12 and sincos=0\langle\sin\cos\rangle = 0 give:

Pdiss=2λR2Ω2sin2(Ωtφ)=λR2Ω2;\langle P_{\mathrm{diss}}\rangle = 2\lambda\,R^2\Omega^2\,\langle\sin^2(\Omega t - \varphi)\rangle = \lambda R^2\Omega^2 ;

and expanding sin(Ωtφ)=sinΩtcosφcosΩtsinφ\sin(\Omega t - \varphi) = \sin\Omega t\cos\varphi - \cos\Omega t\sin\varphi:

Pin=ARΩcosΩtsin(Ωtφ)=ARΩsinφ2.\langle P_{\mathrm{in}}\rangle = -AR\Omega\,\bigl\langle\cos\Omega t\,\sin(\Omega t - \varphi)\bigr\rangle = AR\Omega\,\frac{\sin\varphi}2 .

Since sinφ=2λΩD=2λΩRA\sin\varphi = \frac{2\lambda\Omega}{\sqrt D} = \frac{2\lambda\Omega R}A, this is ARΩ22λΩRA=λR2Ω2\frac{AR\Omega}2 \cdot \frac{2\lambda\Omega R}A = \lambda R^2\Omega^2: injected and dissipated powers balance exactly — the defining property of a steady regime.

24. (i) The structure theorem split every solution into steady state plus transient (questions 9–11) and reduced uniqueness to the homogeneous problem. (ii) The complex method turned the search for a particular solution into one division of complex numbers (question 6), with amplitude and phase read off a modulus and an argument. (iii) The resonance curve is a pure function study — a quadratic in u=Ω2u = \Omega^2, its minimum, its level sets — in the style of Chapter 4 (questions 12–17).

25. Free and damped: decaying pseudo-oscillations, lifetime 1λ\frac1\lambda, about Qπ\frac Q\pi swings. Forced and damped: transients die, and a unique sinusoidal steady state survives at the forcing frequency, with amplitude peaking near ω0\omega_0 (height Q×\approx Q \times static, width ω0Q\approx \frac{\omega_0}Q) and phase sweeping from 00 to π\pi through π2\frac\pi2 at ω0\omega_0. Free and undamped: perpetual oscillation. Forced and undamped: beats, degenerating into linearly growing resonance at exact tuning. One dimensionless number, Q=ω02λQ = \frac{\omega_0}{2\lambda}, tunes everything — peak height, bandwidth, and transient lifetime are three readings of the same dial. The sequel: rewriting x+2λx+ω02xx'' + 2\lambda x' + \omega_0^2x as a first-order system opens the matrix methods of Chapter 21 and the Year 2 volume, and decomposing an arbitrary periodic forcing into sinusoids (Fourier series, Year 3 volume) makes this problem’s single-frequency analysis the universal building block: solve for each frequency, superpose.