Mathematics: Applications and Interpretation · Topic 5: Calculus
AHL5.18 — Second order differential equations
Mathematics: Applications and Interpretation · SL / HL · syllabus-mapped notes
AIAHL5.18.1
Second order equations as coupled systems
Rewriting $\tfrac{d^2x}{dt^2}=f(x,\tfrac{dx}{dt},t)$ and using Euler's method.
Full note — freeA second order equation $\dfrac{d^2x}{dt^2}=f\!\left(x,\dfrac{dx}{dt},t\right)$ is solved by first writing it as two coupled first order equations. Let $y=\dfrac{dx}{dt}$: $$\frac{dx}{dt}=y,\qquad \frac{dy}{dt}=f(x,y,t)$$ Then apply Euler's method to the pair, exactly as for any coupled system, using a spreadsheet to generate values. Worked example. $\dfrac{d^2x}{dt^2}=-x$, $x(0)=1$, $x'(0)=0$, $h=0.1$. Set up and take one step. Let $y=x'$: $\dfrac{dx}{dt}=y$, $\dfrac{dy}{dt}=-x$, with $x_0=1,\,y_0=0$. $x_1=1+0.1(0)=1$, $y_1=0+0.1(-1)=-0.1$ at $t=0.1$. You need two initial conditions for a second order equation: a value of $x$ and of its derivative $\dfrac{dx}{dt}$.
AIAHL5.18.2
Exact solutions and the phase portrait method
Damped equations $\tfrac{d^2x}{dt^2}+a\tfrac{dx}{dt}+bx=0$ via eigenvalues.
The linear damped equation $\dfrac{d^2x}{dt^2}+a\dfrac{dx}{dt}+bx=0$ can be solved exactly by the eigenvalue method of AHL5.17. Writing $y=\dfrac{dx}{dt}$ gives $$\frac{d}{dt}\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}0&1\\-b&-a\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}$$ Find the eigenvalues of this matrix; for real distinct eigenvalues, form the exact solution $Ae^{\lambda_1 t}\mathbf{v}_1+Be^{\lambda_2 t}\mathbf{v}_2$. The same system can be studied with a phase …
