Complex and repeated roots
When the characteristic equation of ay’’ + by’ + cy = 0 has complex roots, or one root twice, there are not two real exponentials to build every solution from. What takes their place, and why is nothing missed?
Where you are 5 in Second-order linear equations
Why this exists
Constant-coefficient equations solved a y'' + b y' + c y = 0 when b^2 - 4ac > 0: the two real roots r_1 \ne r_2 give e^{r_1x} and e^{r_2x}, and every solution is a combination of them. Two cases remain. When b^2 - 4ac < 0 the roots are a conjugate pair \alpha \pm \beta i (Complex roots come in pairs) and no real exponential solves; yet y'' + y = 0 is solved by \cos x. When b^2 - 4ac = 0 there is one root and one exponential, and a second-order equation needs two independent solutions.
This lesson gives the complex exponential a meaning through Euler’s formula, proved from the series of The common Maclaurin series, reads off the oscillating solutions e^{\alpha x}\cos\beta x and e^{\alpha x}\sin\beta x, finds the second solution x\,e^{r_1x} for a double root, and proves that in both cases every solution has been found. The recurrence a_{n+2} = p\,a_{n+1} + q\,a_n has the same double-root story with n\,r^n (Two-term recurrences with a repeated root). Throughout, y is a real function of x, or of t when the variable is time.
Definition
In plain words: a complex exponential is a real exponential times a point turning around the unit circle.
For real \theta, the series \displaystyle \sum_{k=0}^{\infty} \frac{(i\theta)^k}{k!} is the Maclaurin series of e^x evaluated at i\theta; Result 1 shows it converges to \cos\theta + i\sin\theta, and its sum is written e^{i\theta}. For a complex number r = \alpha + \beta i and real x, define
A complex-valued function of x is y = u + iv with u and v real functions, its real and imaginary parts; it is differentiable when u and v are, with y' = u' + iv'. The conjugate of z = p + qi is \bar{z} = p - qi.
For real a \ne 0, b, c, the characteristic equation a r^2 + b r + c = 0 has a double root \displaystyle r_1 = -\frac{b}{2a} when b^2 - 4ac = 0, and a complex pair r = \alpha \pm \beta i when b^2 - 4ac < 0, where
Intuition
As x grows, e^{i\beta x} runs around the unit circle at angular speed \beta (Polar form of a complex number), and e^{\alpha x} stretches or shrinks it, so e^{(\alpha + \beta i)x} traces a spiral. Its shadow on the real axis is e^{\alpha x}\cos\beta x: an oscillation of period \displaystyle \frac{2\pi}{\beta} inside the envelope \pm e^{\alpha x} (Figure 1). Differentiating the spiral multiplies it by r, exactly as for a real exponential, so the characteristic equation still decides which r solve.
The double root comes from a limit. If p(r) = a r^2 + b r + c, then L[e^{rx}] = p(r)\,e^{rx} for every real r, where L[y] = a y'' + b y' + c y. Differentiating in r brings down a factor x:
A double root has p(r_1) = p'(r_1) = 0, so x\,e^{r_1x} solves (Exercise 20 checks this directly).
Results
1. Euler’s formula. For every real \theta the series \displaystyle \sum_{k=0}^{\infty} \frac{(i\theta)^k}{k!} converges, and
So the definition of e^{rx} agrees with this series when \alpha = 0 and x = 1, and \left|e^{rx}\right| = e^{\alpha x}.
2. Derivative. For every complex r, \left(e^{rx}\right)' = r\,e^{rx} and \overline{e^{rx}} = e^{\bar{r}x}. Hence L[e^{rx}] = p(r)\,e^{rx}, and e^{rx} solves a y'' + b y' + c y = 0 exactly when p(r) = 0.
3. Real and imaginary parts. Let a, b, c be real. If y = u + iv solves a y'' + b y' + c y = 0 on an interval, so do u and v.
4. Complex roots. Let b^2 - 4ac < 0, with roots \alpha \pm \beta i.
- (a) e^{\alpha x}\cos\beta x and e^{\alpha x}\sin\beta x solve, with Wronskian \beta\,e^{2\alpha x}.
- (b) Every solution on an open interval K is the restriction to K of y = e^{\alpha x}(c_1\cos\beta x + c_2\sin\beta x) for exactly one pair c_1, c_2.
- (c) Every initial value problem y(x_0) = k_0, y'(x_0) = k_1 has exactly one solution, defined on \mathbb{R}.
- (d) If (c_1, c_2) \ne (0, 0), then y = R\,e^{\alpha x}\cos(\beta x - \delta) with \displaystyle R = \sqrt{c_1^2 + c_2^2}, \displaystyle \cos\delta = \frac{c_1}{R}, \displaystyle \sin\delta = \frac{c_2}{R}.
5. Repeated root. Let b^2 - 4ac = 0, with double root r_1.
- (a) e^{r_1x} and x\,e^{r_1x} solve, with Wronskian e^{2r_1x}.
- (b) Every solution on an open interval K is the restriction to K of y = (c_1 + c_2x)\,e^{r_1x} for exactly one pair c_1, c_2.
- (c) Every initial value problem has exactly one solution, defined on \mathbb{R}.
With Result 5 of Constant-coefficient equations, every case is settled:
| b^2 - 4ac | roots | general solution |
|---|---|---|
| > 0 | r_1 \ne r_2 real | c_1e^{r_1x} + c_2e^{r_2x} |
| = 0 | r_1 twice | (c_1 + c_2x)\,e^{r_1x} |
| < 0 | \alpha \pm \beta i | e^{\alpha x}(c_1\cos\beta x + c_2\sin\beta x) |
Why it is true
Result 1. The powers i^k run through 1, i, -1, -i, so (i\theta)^{2j} = (-1)^j\theta^{2j} and (i\theta)^{2j+1} = i\,(-1)^j\theta^{2j+1}. The partial sum through k = 2n + 1 is therefore
These are partial sums of the Maclaurin series of \cos\theta and \sin\theta, which converge to \cos\theta and \sin\theta for every real \theta (The common Maclaurin series). Also S_{2n} differs from S_{2n+1} by a term of size \displaystyle \frac{|\theta|^{2n+1}}{(2n+1)!} \to 0. So all partial sums converge to \cos\theta + i\sin\theta. Finally \displaystyle \left|e^{rx}\right| = e^{\alpha x}\sqrt{\cos^2\beta x + \sin^2\beta x} = e^{\alpha x}. \square
That the full series \displaystyle \sum \frac{z^k}{k!} converges for every complex z and satisfies e^{z + w} = e^z e^w, so that it equals e^{rx} as defined here, is proved in The complex exponential and logarithm; nothing below uses it.
Result 2. Write C = \cos\beta x, S = \sin\beta x. By the product rule on real and imaginary parts,
since i(C + iS) = -S + iC. Also \overline{e^{rx}} = e^{\alpha x}\big(\cos(-\beta x) + i\sin(-\beta x)\big) = e^{\bar{r}x}. A complex constant c satisfies (c\,y)' = c\,y' (expand both sides into real and imaginary parts), so (e^{rx})'' = r^2e^{rx} and L[e^{rx}] = p(r)\,e^{rx}, which is 0 exactly when p(r) = 0 because \left|e^{rx}\right| \ne 0. \square
Result 3. Since a, b, c are real, L[u + iv] = L[u] + i\,L[v] with L[u] and L[v] real. A complex number is 0 only when both its parts are, so L[u] = L[v] = 0. \square
Results 4 and 5. One substitution proves both. Let \displaystyle \alpha = -\frac{b}{2a} and write y = e^{\alpha x}z on K, so z = e^{-\alpha x}y is twice differentiable exactly when y is. Then y' = e^{\alpha x}(z' + \alpha z) and y'' = e^{\alpha x}(z'' + 2\alpha z' + \alpha^2z), so
Here 2a\alpha + b = 0 and \displaystyle a\alpha^2 + b\alpha + c = \frac{4ac - b^2}{4a}. Dividing by a\,e^{\alpha x}, y solves on K exactly when z'' + D\,z = 0 on K, with \displaystyle D = \frac{4ac - b^2}{4a^2}.
Repeated root (D = 0, \alpha = r_1). Then z'' = 0, so z' = c_2 and (z - c_2x)' = 0 by the mean value theorem, twice: z = c_1 + c_2x and y = (c_1 + c_2x)\,e^{r_1x}.
Complex roots (D = \beta^2 > 0). Fix x_0 \in K and put
which solves w'' + \beta^2w = 0 with w(x_0) = w'(x_0) = 0. The quantity E = (w')^2 + \beta^2w^2 has E' = 2w'(w'' + \beta^2w) = 0, so E = E(x_0) = 0 on K and w = 0. Expanding \cos\beta(x - x_0) and \sin\beta(x - x_0) by the angle-addition formulas, z = c_1\cos\beta x + c_2\sin\beta x.
In both cases every such function solves on \mathbb{R}, since every step reverses. For the Wronskians, W(fg, fh) = f^2\,W(g, h) (the terms ff'gh cancel), with W(\cos\beta x, \sin\beta x) = \beta and W(1, x) = 1. Neither \beta\,e^{2\alpha x} nor e^{2r_1x} is ever 0, so the two conditions at x_0 determine c_1, c_2 uniquely (Cramer's rule), which gives uniqueness of the pair and (c). Part (d) is Combining a sine and a cosine into one wave with the factor e^{\alpha x} carried along. \square
The proof never used Euler’s formula: it shows that the functions Euler’s formula suggests are all there is. For a double root the factoring argument of Constant-coefficient equations also works.
Worked examples
Two real solutions from one complex one
Solve y'' - 2y' + 5y = 0, y(0) = 2, y'(0) = -4.
SolutionThe characteristic equation r^2 - 2r + 5 = (r - 1)^2 + 4 = 0 has roots 1 \pm 2i. By Result 2, e^{(1 + 2i)x} = e^{x}\cos 2x + i\,e^{x}\sin 2x solves, and by Result 3 so do its parts. Check one: for u = e^{x}\cos 2x, u' = e^{x}(\cos 2x - 2\sin 2x) and u'' = e^{x}(-3\cos 2x - 4\sin 2x), so
By Result 4,
Then y(0) = c_1 = 2, and y' = e^{x}\big((c_1 + 2c_2)\cos 2x + (c_2 - 2c_1)\sin 2x\big) gives c_1 + 2c_2 = -4, so c_2 = -3:
A double root and its one zero
Solve 9y'' - 12y' + 4y = 0, y(0) = 3, y'(0) = 1, and find the largest value of the solution.
SolutionHere 9r^2 - 12r + 4 = (3r - 2)^2, a double root \displaystyle \frac{2}{3}. By Result 5, y = (c_1 + c_2x)\,e^{2x/3}, with y(0) = c_1 = 3 and \displaystyle y'(0) = \frac{2}{3}c_1 + c_2 = 1, so c_2 = -1:
Its derivative is y' = e^{2x/3}\left(-1 + \tfrac{2}{3}(3 - x)\right) = e^{2x/3}\left(1 - \tfrac{2x}{3}\right), positive for \displaystyle x < \frac{3}{2} and negative after. So the largest value is
The solution has its one zero at x = 3 and tends to -\infty as x \to \infty; as x \to -\infty it tends to 0.
Zeros, envelope and quasi-period
Solve y'' + 2y' + 10y = 0, y(0) = 1, y'(0) = 2. Find all zeros on [0, \infty) and compare successive maxima.
SolutionThe roots of r^2 + 2r + 10 = (r + 1)^2 + 9 are -1 \pm 3i, so y = e^{-x}(c_1\cos 3x + c_2\sin 3x). Then c_1 = 1 and y'(0) = -c_1 + 3c_2 = 2, so c_2 = 1. By Result 4(d), with \displaystyle R = \sqrt{2} and \displaystyle \delta = \frac{\pi}{4},
It vanishes where \displaystyle 3x - \frac{\pi}{4} = \frac{\pi}{2} + k\pi, that is at \displaystyle x = \frac{\pi}{4} + \frac{k\pi}{3}; on [0, \infty) these are k = 0, 1, 2, \dots, spaced \displaystyle \frac{\pi}{3} apart (Figure 1).
The solution is not periodic, but \displaystyle y\left(x + \frac{2\pi}{3}\right) = e^{-2\pi/3}\,y(x) for every x, because the cosine has period \displaystyle \frac{2\pi}{3}. So \displaystyle \frac{2\pi}{3} is a quasi-period: each maximum is e^{-2\pi/3} \approx 0.1231 times the one before. The first is where y' = e^{-x}(2\cos 3x - 4\sin 3x) = 0, at \displaystyle x = \frac{1}{3}\arctan\frac{1}{2} \approx 0.1545, with value \approx 1.1495. The graph touches the envelope \displaystyle \sqrt{2}\,e^{-x} at \displaystyle x = \frac{\pi}{12} \approx 0.2618, after the maximum, where both curves fall at the same rate.
Leah tunes a door closer
At the courthouse, Leah adjusts the hydraulic closer on a heavy door. With \theta(t) the opening angle in radians, t seconds after release, the closer makes
with the damping \gamma \ge 0 set by a valve. Which \gamma gives a repeated root? Opened to \theta = 1.2 and released from rest, does the door reach the frame (\theta = 0), and when is it within 0.01 radians of closed, for \gamma = 2, that value, and \gamma = 5?
SolutionThe characteristic equation r^2 + \gamma r + 4 = 0 has a double root when \gamma^2 = 16, so \gamma = 4, with root -2. By Result 5, \theta = (c_1 + c_2t)\,e^{-2t} with c_1 = 1.2 and -2c_1 + c_2 = 0:
This is positive for every t \ge 0, so the door never reaches the frame. It is within 0.01 when \displaystyle (1 + 2t)\,e^{-2t} \le \frac{1}{120}, and the left side decreases for t > 0; solving numerically, from t \approx 3.42 seconds on.
For \gamma = 2 the roots are \displaystyle -1 \pm \sqrt{3}\,i, and the initial conditions give
which is \displaystyle \frac{2.4}{\sqrt{3}}\,e^{-t}\cos\left(\sqrt{3}\,t - \frac{\pi}{6}\right). It reaches 0 at \displaystyle t = \frac{2\pi}{3\sqrt{3}} \approx 1.21 seconds. The derivative, itself a solution with value 0 and slope -4.8 at t = 0, is \displaystyle \theta' = -\frac{4.8}{\sqrt{3}}\,e^{-t}\sin\sqrt{3}\,t, so the door hits the frame at about 0.716 radians per second: it slams.
For \gamma = 5 the roots are -1 and -4, and \theta = 1.6\,e^{-t} - 0.4\,e^{-4t}, which stays positive and is within 0.01 only from t \approx 5.08 seconds. The repeated root is the smallest damping that never slams (Figure 2), and it settles sooner than the heavier damping.
One equation, three behaviors
For which k does the solution of y'' + 2y' + ky = 0, y(0) = 0, y'(0) = 1 vanish at x = \pi?
SolutionThe roots of r^2 + 2r + k = 0 are \displaystyle -1 \pm \sqrt{1 - k}. For k < 1 they are real and distinct, the solution is \displaystyle \frac{e^{r_1x} - e^{r_2x}}{r_1 - r_2}, and e^{(r_1 - r_2)x} = 1 only at x = 0. For k = 1 the solution is x\,e^{-x}, again zero only at 0. For k > 1 the roots are -1 \pm \beta i with \displaystyle \beta = \sqrt{k - 1}, and Result 4 gives
which vanishes at \pi exactly when \beta is a positive integer n. So k = 1 + n^2: k = 2, 5, 10, 17, \dots
A short proof: counting zeros
Prove that if b^2 - 4ac < 0, every solution of a y'' + b y' + c y = 0 other than 0 has infinitely many zeros, consecutive ones exactly \displaystyle \frac{\pi}{\beta} apart, while if b^2 - 4ac = 0 it has at most one zero.
SolutionIf b^2 - 4ac < 0, Result 4 writes the solution as R\,e^{\alpha x}\cos(\beta x - \delta) with R > 0. Since R\,e^{\alpha x} > 0, the zeros are the x with \displaystyle \beta x - \delta = \frac{\pi}{2} + k\pi for an integer k, that is \displaystyle x = \frac{\delta + \pi/2 + k\pi}{\beta}: one for each integer, consecutive ones \displaystyle \frac{\pi}{\beta} apart. If b^2 - 4ac = 0, Result 5 writes it as (c_1 + c_2x)\,e^{r_1x} with c_1, c_2 not both 0, and c_1 + c_2x = 0 has at most one root. \square
Boundaries
- Results 3 and 4 need real coefficients. By Result 2, e^{ix} solves y' = iy, but its real part \cos x does not, since (\cos x)' = -\sin x. With complex coefficients the roots need not come in conjugate pairs.
- Results 4 and 5 need constant coefficients. For y'' + p(x)\,y' + q(x)\,y = 0 there is no characteristic equation, and x\,y_1 is not in general a second solution; reduction of order (Example 5 of Constant-coefficient equations) is the general replacement.
- Higher order is stated, not proved, here. For a_ny^{(n)} + \dots + a_0y = 0 a root of multiplicity m contributes x^je^{rx} for j = 0, \dots, m - 1 (with e^{\alpha x}\cos\beta x and e^{\alpha x}\sin\beta x for complex pairs); the second-order proof does not cover it. It is proved by factoring the operator, as in Coddington, An Introduction to Ordinary Differential Equations, Chapter 2.
- A nearly double root behaves like a double root on bounded intervals. As r_2 \to r_1, the solution \displaystyle \frac{e^{r_2x} - e^{r_1x}}{r_2 - r_1} tends to x\,e^{r_1x} for each x, while the separate exponentials become almost dependent.
Where this goes next
Undetermined coefficients finds particular solutions for forcing such as e^{\alpha x}\cos\beta x; when the forcing matches a characteristic root, the extra factor x of Result 5 returns. Springs, damping and resonance names the three cases underdamped, critically damped and overdamped, as in Leah’s door, and finds amplitude and phase as in Simple harmonic motion. Linear systems of differential equations meets complex eigenvalues, whose real and imaginary parts give real solutions just as in Result 3 (compare Complex eigenvalues and rotation-scaling matrices). The Laplace transform handles all three cases at once through partial fractions. In the discrete analogue a double root gives n\,r^n (Two-term recurrences with a repeated root), and complex roots give r^n\cos n\theta through De Moivre’s theorem.
Exercises
Complex roots
- Find the general solution of y'' + 6y' + 34y = 0.
- Solve y'' + 25y = 0, y(0) = -1, y'(0) = 10, and find the amplitude of the solution.
- Solve 2y'' + 2y' + 5y = 0, y(0) = 0, y'(0) = 3.
- Solve y'' - 4y' + 8y = 0, \displaystyle y\left(\frac{\pi}{4}\right) = 1, \displaystyle y'\left(\frac{\pi}{4}\right) = 0.
- Write y = e^{-x}(3\cos 2x - 4\sin 2x) as R\,e^{\alpha x}\cos(\beta x - \delta), find the equation y'' + by' + cy = 0 it solves, and find its first positive zero.
- Find an equation y'' + by' + cy = 0 that \displaystyle e^{x/2}\cos\frac{\sqrt{3}\,x}{2} solves, and the distance between consecutive zeros of its nonzero solutions.
Repeated roots
- Find the general solution of y'' + 10y' + 25y = 0.
- Solve 4y'' + 4y' + y = 0, y(0) = 2, y'(0) = 0.
- Solve 16y'' - 8y' + y = 0, y(2) = 0, y'(2) = 1.
- For which s does the solution of y'' + 8y' + 16y = 0, y(0) = 1, y'(0) = s, have a zero at some x > 0? Find it.
- Compute W(e^{rx}, x\,e^{rx}) directly, and check it against Abel’s identity for y'' - 2ry' + r^2y = 0.
The three cases and the courthouse
- For which real k does y'' + ky' + 4y = 0 have (a) oscillating solutions, (b) a repeated root, (c) every solution tending to 0 as x \to \infty?
- Jasmine’s door at the courthouse satisfies \theta'' + \gamma\theta' + 9\theta = 0. Find the \gamma that gives a repeated root. With that \gamma, \theta(0) = 0.5 and \theta'(0) = 2 (a push), find the widest angle reached and when.
- Jasmine’s door with \gamma = 2 is released from rest at \theta(0) = 1.5. When does it first reach \theta = 0?
Euler’s formula
- Expand (\cos\theta + i\sin\theta)^3 and use e^{3i\theta} = \left(e^{i\theta}\right)^3 (De Moivre’s theorem) to express \cos 3\theta in \cos\theta and \sin 3\theta in \sin\theta.
- Find the real and imaginary parts of e^{(-2 + 4i)x}, the equation y'' + by' + cy = 0 they solve, and their Wronskian.
- Write e^{i\pi}, e^{i\pi/2} and e^{2 + i\pi/3} in the form p + qi.
Proofs
- Prove that every solution of a y'' + b y' + c y = 0 (a \ne 0) tends to 0 as x \to \infty if and only if a, b, c are all nonzero and of the same sign.
- Let b^2 - 4ac < 0 with roots r_1, r_2 = \alpha \pm \beta i. Prove that y = c_1e^{r_1x} + c_2e^{r_2x} with complex c_1, c_2 is real for every real x if and only if c_2 = \bar{c}_1, and that then y = e^{\alpha x}(A\cos\beta x + B\sin\beta x) with A = 2\operatorname{Re}c_1, B = -2\operatorname{Im}c_1.
- With p(r) = a r^2 + b r + c, prove L[x\,e^{rx}] = \big(p'(r) + x\,p(r)\big)\,e^{rx} for real r by direct computation, and conclude that x\,e^{rx} solves exactly when r is a double root.
- Let r_1 be a double root. Prove that L[x^2e^{r_1x}] = 2a\,e^{r_1x}, so x^2e^{r_1x} is not a solution.
- Let b^2 - 4ac < 0 and let y_1, y_2 be linearly independent solutions. Prove that between two consecutive zeros of y_1 there is exactly one zero of y_2.
Answers
- y = e^{-3x}(c_1\cos 5x + c_2\sin 5x): the roots of (r + 3)^2 + 25 = 0 are -3 \pm 5i.
- y = -\cos 5x + 2\sin 5x, amplitude \displaystyle \sqrt{5}. The roots are \pm 5i, c_1 = -1 and 5c_2 = 10.
- \displaystyle y = 2e^{-x/2}\sin\frac{3x}{2}. The roots are \displaystyle \frac{-2 \pm 6i}{4} = -\frac{1}{2} \pm \frac{3}{2}i; c_1 = 0 and \displaystyle \frac{3}{2}c_2 = 3.
- y = e^{2x - \pi/2}(\sin 2x + \cos 2x). The roots are 2 \pm 2i; centered at \displaystyle \frac{\pi}{4}, y = e^{2(x - \pi/4)}\big(A\cos 2(x - \tfrac{\pi}{4}) + B\sin 2(x - \tfrac{\pi}{4})\big) with A = 1 and 2A + 2B = 0, and \displaystyle \cos(2x - \frac{\pi}{2}) = \sin 2x, \displaystyle \sin(2x - \frac{\pi}{2}) = -\cos 2x.
- y = 5e^{-x}\cos(2x - \delta) with \displaystyle \delta = -\arctan\frac{4}{3} \approx -0.9273; it solves y'' + 2y' + 5y = 0 (roots -1 \pm 2i); the first positive zero is where \displaystyle \tan 2x = \frac{3}{4}, \displaystyle x = \frac{1}{2}\arctan\frac{3}{4} \approx 0.3218.
- y'' - y' + y = 0: the roots \displaystyle \frac{1}{2} \pm \frac{\sqrt{3}}{2}i give \displaystyle \left(r - \frac{1}{2}\right)^2 + \frac{3}{4} = r^2 - r + 1. Zeros are \displaystyle \frac{\pi}{\beta} = \frac{2\pi}{\sqrt{3}} \approx 3.628 apart (Example 6).
- y = (c_1 + c_2x)\,e^{-5x}, since r^2 + 10r + 25 = (r + 5)^2.
- y = (2 + x)\,e^{-x/2}. The double root is \displaystyle -\frac{1}{2}; c_1 = 2 and \displaystyle -\frac{1}{2}c_1 + c_2 = 0.
- y = (x - 2)\,e^{(x - 2)/4}. The double root is \displaystyle \frac{1}{4}; with y = \big(A + B(x - 2)\big)e^{(x - 2)/4}, A = 0 and B = 1.
- Exactly for s < -4, at \displaystyle x = -\frac{1}{s + 4}. Here y = \big(1 + (s + 4)\,x\big)\,e^{-4x}.
- W = e^{rx}\big(e^{rx} + rx\,e^{rx}\big) - r\,e^{rx}\cdot x\,e^{rx} = e^{2rx}. Abel: p = -2r, so W(x) = W(0)\,e^{2rx} = e^{2rx}.
- (a) -4 < k < 4, where k^2 - 16 < 0. (b) k = \pm 4. (c) k > 0: complex roots have real part \displaystyle -\frac{k}{2}, the double root -2 for k = 4 is negative, and for k > 4 both real roots are negative (product 4, sum -k); k = 0 gives bounded oscillation and k < 0 growth.
- \gamma = 6. Then \theta = (0.5 + 3.5t)\,e^{-3t} and \theta' = (2 - 10.5t)\,e^{-3t}, so the widest angle is at \displaystyle t = \frac{4}{21} \approx 0.1905 seconds, \displaystyle \theta = \frac{7}{6}\,e^{-4/7} \approx 0.659 radians.
- \displaystyle t = \frac{\pi - \arctan 2\sqrt{2}}{2\sqrt{2}} \approx 0.676 seconds. The roots are \displaystyle -1 \pm 2\sqrt{2}\,i, \displaystyle \theta = 1.5\,e^{-t}\big(\cos 2\sqrt{2}\,t + \tfrac{1}{2\sqrt{2}}\sin 2\sqrt{2}\,t\big), which first vanishes where \displaystyle \tan 2\sqrt{2}\,t = -2\sqrt{2} with \displaystyle \frac{\pi}{2} < 2\sqrt{2}\,t < \pi.
- \cos 3\theta = 4\cos^3\theta - 3\cos\theta and \sin 3\theta = 3\sin\theta - 4\sin^3\theta. The real part of the cube is \cos^3\theta - 3\cos\theta\sin^2\theta and the imaginary part 3\cos^2\theta\sin\theta - \sin^3\theta; then use \sin^2\theta = 1 - \cos^2\theta and \cos^2\theta = 1 - \sin^2\theta.
- e^{-2x}\cos 4x and e^{-2x}\sin 4x; they solve y'' + 4y' + 20y = 0, from (r + 2)^2 + 16; Wronskian 4e^{-4x} by Result 4(a).
- e^{i\pi} = -1, e^{i\pi/2} = i, \displaystyle e^{2 + i\pi/3} = \frac{e^2}{2} + \frac{\sqrt{3}\,e^2}{2}\,i.
- Dividing by a changes nothing, so take a = 1; the claim is that all solutions tend to 0 exactly when b > 0 and c > 0. If b^2 < 4c (so c > 0), the solutions are R\,e^{\alpha x}\cos(\beta x - \delta) with \displaystyle \alpha = -\frac{b}{2}; all tend to 0 when \alpha < 0, and if \alpha \ge 0 then e^{\alpha x}\cos\beta x equals e^{\alpha x} \ge 1 at \displaystyle x = \frac{2\pi k}{\beta}. If b^2 = 4c, the solutions (c_1 + c_2x)\,e^{-bx/2} all tend to 0 exactly when b > 0, and then \displaystyle c = \frac{b^2}{4} > 0. If b^2 > 4c, all tend to 0 exactly when r_1, r_2 < 0 (test e^{r_1x} and e^{r_2x}), that is when r_1 + r_2 = -b < 0 and r_1r_2 = c > 0. \square
- y is real exactly when y = \bar{y} = \bar{c}_1e^{r_2x} + \bar{c}_2e^{r_1x} (Result 2). If d_1e^{r_1x} + d_2e^{r_2x} = 0 for all x, differentiating and setting x = 0 gives d_1 + d_2 = 0 and r_1d_1 + r_2d_2 = 0, with determinant r_2 - r_1 \ne 0, so d_1 = d_2 = 0. Applied to y - \bar{y} this gives c_1 = \bar{c}_2. Then y = 2\operatorname{Re}(c_1e^{r_1x}), and with \displaystyle c_1 = \frac{A - iB}{2} the real part of (A - iB)(\cos\beta x + i\sin\beta x) is A\cos\beta x + B\sin\beta x. \square
- With y = x\,e^{rx}, y' = (1 + rx)\,e^{rx} and y'' = (2r + r^2x)\,e^{rx}, so L[y] = e^{rx}\big(2ar + b + x(ar^2 + br + c)\big), which is \big(p'(r) + x\,p(r)\big)\,e^{rx}. This is 0 for all x exactly when p(r) = p'(r) = 0, that is when r is a double root of p. \square
- With y = x^2e^{rx}, y' = (2x + rx^2)\,e^{rx} and y'' = (2 + 4rx + r^2x^2)\,e^{rx}, so L[y] = \big(p''(r) + 2x\,p'(r) + x^2p(r)\big)\,e^{rx} with p'' = 2a. At a double root p(r_1) = p'(r_1) = 0, leaving 2a\,e^{r_1x} \ne 0. \square
- Write y_j = R_j\,e^{\alpha x}\cos(\beta x - \delta_j) by Result 4(d). If \delta_2 - \delta_1 were a multiple of \pi, then \cos(\beta x - \delta_2) = \pm\cos(\beta x - \delta_1) and the solutions would be dependent; so it is not. The zeros of y_j are \displaystyle x = \frac{\delta_j + \pi/2 + k\pi}{\beta}, so the zeros of y_2 are those of y_1 shifted by \displaystyle \frac{\delta_2 - \delta_1}{\beta}, which is not a multiple of \displaystyle \frac{\pi}{\beta}. Every open interval between consecutive zeros of y_1 has length \displaystyle \frac{\pi}{\beta}, and a grid of spacing \displaystyle \frac{\pi}{\beta} that avoids its endpoints puts exactly one point in it. \square