# The Method of Annihilators Examples 1

On The Method of Annihilators page, we looked at an alternative way to solve higher order nonhomogeneous differential equations with constant coefficients apart from the method of undetermined coefficients. Consider a differential equation of the form:

(1)The procedure for solving this differential equation was straightforward. Like always, we first solved the corresponding homogeneous differential equation. We then rewrote the differential equation in terms of differential operators, and determined a differential operator $M(D)$ which annihilated $g(t)$, that is, $M(D)(g(t)) = 0$. We then apply this annihilator to both sides of the differential equation to get:

(2)The result is a new differential equation that is now homogeneous. In solving this differential equation - we obtain a general solution for which we throw away terms that are linear combinations of the solution to the original corresponding homogeneous differential equation. We then have obtained a form for the particular solution $Y(t)$. We then differentiate $Y(t)$ as many times as necessary and plug it into the original differential equation and solve for the coefficients.

Lastly, as usual, we obtain the general solution to our higher order differential equation as:

(3)We will now look at an example of applying the method of annihilators to a higher order differential equation.

## Example 1

**Solve the differential equation $\frac{\partial^4 y}{\partial t^4} - 2 \frac{\partial^2 y}{\partial t} + y = e^t + \sin t$ using the method of annihilators.**

The corresponding homogeneous differential equation is $\frac{\partial^4 y}{\partial t^4} - 2 \frac{\partial^2 y}{\partial t} + y$ and the characteristic equation is $r^4 - 2r^2 + 1 = (r^2 - 1)^2 = (r + 1)^2(r - 1)^2 = 0$. Therefore the characteristic equation has two distinct roots $r_1 = 1$ and $r_2 = -1$ - each with multiplicity $2$, and so the general solution to the corresponding homogeneous differential equation is:

(4)We now rewrite our differential equation in terms of differential operators as:

(5)The differential operator $(D - 1)$ annihilates $e^t$ since $(D - 1)(e^t) = D(e^t) - e^t = e^t - e^t = 0$. The differential operator $(D^2 + 1)$ annihilates $\sin t$ since $(D^2 + 1)(\sin t) = D^2(\sin t) + \sin t = -\sin t + \sin t = 0$. Applying the operator $(D^2 + 1)(D - 1)$ to both sides of the differential equation above gives us:

(6)The roots to the characteristic polynomial of the differential equation above are $r_1 = i$, $r_2 = -i$, $r_3 = -1$ (with multiplicity $2$), $r_4 = 1$ (with multiplicity $3$), and so the general solution to the differential equation above is:

(7)The terms $Re^{-t}$, $Ste^{-t}$, $Ue^{t}$, and $Vte^{t}$ are all contained in the linear combination of the corresponding homogeneous differential from the beginning of this example. Therefore, we discard them to get:

(8)We now need to differentiate $Y(t)$ four times to get:

(9)Plugging this into the original differential equation gives us:

(13)From the equation above, we see that $P = \frac{1}{4}$, $Q = 0$, and $W = \frac{1}{8}$. Therefore a particular solution to our differential equation is:

(14)The general solution to our original differential equation is therefore:

(15)