Second-Order Homogeneous Differential Equations
The auxiliary equation and the three cases for its roots: real distinct, repeated, and complex.
Second-order homogeneous equations
A second-order linear homogeneous differential equation with constant coefficients has the form
$$a\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0$$
Trying a solution $y=e^{mx}$ gives $\dfrac{dy}{dx}=me^{mx}$ and $\dfrac{d^2y}{dx^2}=m^2e^{mx}$. Substituting and dividing by $e^{mx}$ (never zero) gives the auxiliary equation:
$$am^2+bm+c=0$$
Let $m_1,m_2$ be the roots of the auxiliary equation.
Two distinct real roots $m_1\neq m_2$: $\;y=Ae^{m_1x}+Be^{m_2x}$.
Repeated real root $m_1=m_2=m$: $\;y=(A+Bx)e^{mx}$.
Complex conjugate roots $m=p\pm qi$: $\;y=e^{px}(A\cos qx+B\sin qx)$.
Auxiliary equation: $m^2+3m-10=0 \Rightarrow (m+5)(m-2)=0 \Rightarrow m=-5,2$.
General solution: $y=Ae^{-5x}+Be^{2x}$.
Auxiliary equation: $m^2-6m+25=0 \Rightarrow m=\dfrac{6\pm\sqrt{36-100}}2=3\pm4i$.
General solution: $y=e^{3x}(A\cos4x+B\sin4x)$.
Exam-style questions
Question 1 4 marks
Find the general solution to $\dfrac{d^2y}{dx^2}+8\dfrac{dy}{dx}+16y=0$.
$m^2+8m+16=0\Rightarrow(m+4)^2=0\Rightarrow m=-4$ (repeated). (M1, A1)
$y=(A+Bx)e^{-4x}$. (A1, A1)
Question 2 5 marks
Find the general solution to $\dfrac{d^2y}{dx^2}-2\dfrac{dy}{dx}+5y=0$.
Auxiliary equation: $m^2-2m+5=0$. (M1)
$m=\dfrac{2\pm\sqrt{4-20}}2=\dfrac{2\pm4i}2=1\pm2i$. (M1, A1)
Since the roots are complex, $p=1,q=2$, so the general solution is $y=e^x(A\cos2x+B\sin2x)$. (A1, A1)