Annihilator table
| f(x) | A(D) |
 |  |
 |  |
 |  |
 |  |
 |  |
 |  |
 | ![{\displaystyle \left[(D-a)^{2}+b^{2}\right]^{k+1}=\left[D^{2}-2aD+a^{2}+b^{2}\right]^{k+1}\!}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/fa04f3c99a9abd825a523d2536573af79c9d1982.svg) |
 |  |
Where
is in the natural numbers, and
are in the real numbers.
If
consists of the sum of the expressions given in the table, the annihilator is the product of the corresponding annihilators.
Example
Given
,
.
The simplest annihilator of
is
. The zeros of
are
, so the solution basis of
is 
Setting
we find
![{\displaystyle {\begin{aligned}\sin(kx)&=P(D)y\\[8pt]&=P(D)(c_{1}y_{1}+c_{2}y_{2}+c_{3}y_{3}+c_{4}y_{4})\\[8pt]&=c_{1}P(D)y_{1}+c_{2}P(D)y_{2}+c_{3}P(D)y_{3}+c_{4}P(D)y_{4}\\[8pt]&=0+0+c_{3}(-k^{2}-4ik+5)y_{3}+c_{4}(-k^{2}+4ik+5)y_{4}\\[8pt]&=c_{3}(-k^{2}-4ik+5)(\cos(kx)+i\sin(kx))+c_{4}(-k^{2}+4ik+5)(\cos(kx)-i\sin(kx))\end{aligned}}}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/1717700f7827bf9540c79cf81506777593436924.svg)
giving the system


which has solutions
, 
giving the solution set
![{\displaystyle {\begin{aligned}y&=c_{1}y_{1}+c_{2}y_{2}+{\frac {i}{2(k^{2}+4ik-5)}}y_{3}+{\frac {i}{2(-k^{2}+4ik+5)}}y_{4}\\[8pt]&=c_{1}y_{1}+c_{2}y_{2}+{\frac {4k\cos(kx)-(k^{2}-5)\sin(kx)}{(k^{2}+4ik-5)(k^{2}-4ik-5)}}\\[8pt]&=c_{1}y_{1}+c_{2}y_{2}+{\frac {4k\cos(kx)+(5-k^{2})\sin(kx)}{k^{4}+6k^{2}+25}}.\end{aligned}}}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/b05508bcdbe76c7f5874fa6b508ac763585efa85.svg)
This solution can be broken down into the homogeneous and nonhomogeneous parts. In particular,
is a particular integral for the nonhomogeneous differential equation, and
is a complementary solution to the corresponding homogeneous equation. The values of
and
are determined usually through a set of initial conditions. Since this is a second-order equation, two such conditions are necessary to determine these values.
The fundamental solutions
and
can be further rewritten using Euler's formula:


Then
, and a suitable reassignment of the constants gives a simpler and more understandable form of the complementary solution,
.