Second-order linear differential equations
Introduced| English | Meaning |
|---|---|
| second-order | Describes a differential equation that contains a second derivative. |
| complementary function/ˌkɒmplɪˈmentəri ˈfʌŋkʃn/ | The general solution of the equation with the right-hand side replaced by zero. |
| particular integral/pəˈtɪkjʊlə ˈɪntɪɡrəl/ | Any one solution of the full differential equation, added to the complementary function. |
| auxiliary equation/ɔːkˈsɪlɪəri ɪˈkweɪʒn/ | The quadratic am² + bm + c = 0 obtained by trying y = e^(mx) in ay″ + by′ + cy = 0. |
| damping/ˈdæmpɪŋ/ | The reduction of oscillation amplitude caused by energy transfer out of the oscillating system. |
The bridge that twisted itself apart, 7 November 1940
- On 7 November 1940, the new Tacoma Narrows Bridge in Washington State twisted in a 64 km/h wind until its deck broke and fell into the water. Engineers model motion like this with second-order 二阶 differential equations, which involve $\dfrac{d^2y}{dx^2}$.
- FP2 solves $a\dfrac{d^2y}{dx^2} + b\dfrac{dy}{dx} + cy = f(x)$ in two parts: a complementary function 补函数 and a particular integral 特解.
The auxiliary equation
- For $ay'' + by' + cy = 0$, try $y = e^{mx}$. This gives the auxiliary equation 特征方程 $am^2 + bm + c = 0$.
- Two real roots $m_1, m_2$ give $y = Ae^{m_1x} + Be^{m_2x}$: $y'' - 3y' + 2y = 0$ has $m = 1, 2$, so $y = Ae^x + Be^{2x}$.
Find the complementary function of $y'' - y' - 6y = 0$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$m^2 - m - 6 = (m - 3)(m + 2) = 0$.
Repeated and complex roots
- A repeated root $m$ gives $y = (A + Bx)e^{mx}$: $y'' + 4y' + 4y = 0$ has $m = -2$, so $y = (A + Bx)e^{-2x}$.
- Complex roots $p \pm qi$ give $y = e^{px}(A\cos qx + B\sin qx)$: $y'' + 2y' + 5y = 0$ has $m = -1 \pm 2i$ — an oscillation that dies away.
Second-order linear differential equations
For y double prime+ay prime+by=f(x), solve the auxiliary quadratic for the homogeneous part
Compare the model with the worked case and explain one change.
Find the general solution of $y'' - 6y' + 9y = 0$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$(m - 3)^2 = 0$ is a repeated root; $Ae^{3x} + Be^{3x}$ is really only one constant.
The equation $y'' + 2y' + 10y = 0$ has solutions that oscillate and die away.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$m = -1 \pm 3i$: $e^{-x}(A\cos 3x + B\sin 3x)$.
Worked example: a forced equation
Solve $\dfrac{d^2y}{dx^2} - 3\dfrac{dy}{dx} + 2y = 4x$, given $y = 5$ and $\dfrac{dy}{dx} = 3$ when $x = 0$.
- Complementary function: $m^2 - 3m + 2 = 0$ gives $m = 1, 2$, so $y_c = Ae^x + Be^{2x}$.
- Particular integral: try $y = px + q$, so $y' = p$, $y'' = 0$: $-3p + 2px + 2q = 4x$. Then $p = 2$ and $q = 3$, so $y_p = 2x + 3$.
- Conditions: $y = Ae^x + Be^{2x} + 2x + 3$. At $x = 0$: $A + B = 2$ and $A + 2B + 2 = 3$, so $B = -1$, $A = 3$: $y = 3e^x - e^{2x} + 2x + 3$.
Find the constant particular integral of $y'' - 3y' + 2y = 10$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Try $y = \lambda$: $2\lambda = 10$.
Choosing the particular integral
- Copy the form of $f(x)$: for $f(x) = 5$ try $\lambda$; for $f(x) = 3x^2$ try $px^2 + qx + r$; for $f(x) = e^{3x}$ try $\lambda e^{3x}$; for $\sin 2x$ try $p\cos 2x + q\sin 2x$.
- The general solution is $y = y_c + y_p$. Only then use the conditions to find $A$ and $B$.
Match each right-hand side (for $y'' + y' - 2y$) to its trial function.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Copy the form, including all lower powers or both trig functions.
Simple harmonic motion
- $\dfrac{d^2x}{dt^2} + 9x = 0$ has $m = \pm 3i$, so $x = A\cos 3t + B\sin 3t$: a spring that oscillates for ever with period $\tfrac{2\pi}{3}$.
- Adding a $\dfrac{dx}{dt}$ term (friction) gives complex roots with negative real part, so the oscillation shrinks — this is damping 阻尼.
$\dfrac{d^2x}{dt^2} + 16x = 0$. Find the period of the motion, to 3 s.f.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$x = A\cos 4t + B\sin 4t$, period $\tfrac{2\pi}{4} = 1.57$.
A trial function that is already in the complementary function. For $y'' - 3y' + 2y = e^x$, trying $\lambda e^x$ gives $\lambda - 3\lambda + 2\lambda = 0$, never $e^x$, because $e^x$ already solves the left side. Try $\lambda xe^x$ instead.
Solve the auxiliary equation for the complementary function: two real roots, a repeated root $(A + Bx)e^{mx}$, or complex roots $e^{px}(A\cos qx + B\sin qx)$. Find a particular integral that copies $f(x)$ (times $x$ if it clashes), add them, and only then use the two conditions.
Solve $\dfrac{d^2y}{dx^2} + 4y = 8x$, given $y = 0$ and $\dfrac{dy}{dx} = 4$ when $x = 0$.
CF, PI, then conditions.