Annihilator method explained

In mathematics, the annihilator method is a procedure used to find a particular solution to certain types of non-homogeneous ordinary differential equations (ODE's). It is similar to the method of undetermined coefficients, but instead of guessing the particular solution in the method of undetermined coefficients, the particular solution is determined systematically in this technique. The phrase undetermined coefficients can also be used to refer to the step in the annihilator method in which the coefficients are calculated.

The annihilator method is used as follows. Given the ODE

P(D)y=f(x)

, find another differential operator

A(D)

such that

A(D)f(x)=0

. This operator is called the annihilator, hence the name of the method. Applying

A(D)

to both sides of the ODE gives a homogeneous ODE

(A(D)P(D))y=0

for which we find a solution basis

\{y1,\ldots,yn\}

as before. Then the original inhomogeneous ODE is used to construct a system of equations restricting the coefficients of the linear combination to satisfy the ODE.

This method is not as general as variation of parameters in the sense that an annihilator does not always exist.

Annihilator table

f(x) A(D)

anxn+an-1xn-1++a1x+a0

Dn+1

ek

D-k

xn.ek

(D-k)n+1

\cos(bx)  or  \sin(bx)

D2+b2

xn\cos(bx)  or  xn\sin(bx)

(D2+b2)n+1

ea\cos(bx)  or  ea\sin(bx)

(D-a)2+b2=D2-2aD+a2+b2

xnea\cos(bx)  or  xnea\sin(bx)

\left[(D-a)2+b2\right]n+1=\left[D2-2aD+a2+b2\right]n+1

anxn++a1x+a0+b1

\pmc1x
e

++bk

\mpckx
e

Dn+1(D\mpc1)..(D\pmck)

Where

n

is in the natural numbers, and

k,b,a,c1,,ck

are in the real numbers.

If

f(x)

consists of the sum of the expressions given in the table, the annihilator is the product of the corresponding annihilators.

Example

Given

y''-4y'+5y=\sin(kx)

,

P(D)=D2-4D+5

.The simplest annihilator of

\sin(kx)

is

A(D)=D2+k2

. The zeros of

A(z)P(z)

are

\{2+i,2-i,ik,-ik\}

, so the solution basis of

A(D)P(D)

is

\{y1,y2,y3,y

(2+i)x
4\}=\{e

,e(2-i)x,eikx,e-ikx\}.

Setting

y=c1y1+c2y2+c3y3+c4y4

we find

\begin{align} \sin(kx)&=P(D)y\\[8pt] &=P(D)(c1y1+c2y2+c3y3+c4y4)\\[8pt] &=c1P(D)y1+c2P(D)y2+c3P(D)y3+c4P(D)y4\\[8pt] &

2-4ik+5)y
=0+0+c
3+c
2+4ik+5)y
4

\\[8pt] &

2+4ik+5)(\cos(kx)-i\sin(kx)) \end{align}
=c
4(-k

giving the system

2+4ik+5)c
i=(k
4
2-4ik-5)c
0=(k
4

which has solutions

c
3=i{2(k
2+4ik-5)}
,
c
4=i{2(-k
2+4ik+5)}

giving the solution set

\begin{align} y&=c1y1+c2y

2+i{2(k
2+4ik-5)}y
3+i{2(-k
2+4ik+5)}y

4\\[8pt] &=c1y1+c2y

2+4k\cos(kx)-(k2-5)\sin(kx)
(k2+4ik-5)(k2-4ik-5)

\\[8pt] &=c1y1+c2y

2+4k\cos(kx)+(5-k2)\sin(kx)
k4+6k2+25

. \end{align}

This solution can be broken down into the homogeneous and nonhomogeneous parts. In particular,

yp=

4k\cos(kx)+(5-k2)\sin(kx)
k4+6k2+25
is a particular integral for the nonhomogeneous differential equation, and

yc=c1y1+c2y2

is a complementary solution to the corresponding homogeneous equation. The values of

c1

and

c2

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

y1=e(2+i)x

and

y2=e(2-i)x

can be further rewritten using Euler's formula:

e(2+i)x=e2xeix=e2x(\cosx+i\sinx)

e(2-i)x=e2xe-ix=e2x(\cosx-i\sinx)

Then

c1y1+c2y2=

2x
c
1e

(\cosx+i\sinx)+c2e2x(\cosx-i\sinx)=(c1+c2)e2x\cosx+i(c1-c2)e2x\sinx

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

yc=e2x(c1\cosx+c2\sinx)