The given equation in its symbolic form is (D2 + a2 )y = cosec ax
Thus, the auxiliary equation becomes D2 + a2 = 0 i.e. D = ±ia
∴ C.F. = (c1cos ax + c2sin ax)
For P.I = 1/D2 + a2 cosec ax
= 1/D2 -(-a2) cos ec ax
= 1/(D + ia)(D - ia)cosec ax
= 1/2ia(1/D -ia - 1/D + ia) cosec ax(By partial Fractions)
On the same lines, changing i to –i, we get
1/D + ia cosec ax = e-iax[log(sin ax/a) + ix]
Using (1) and (2),
Hence the complete solution is
y = (c1 cos ax + c2 sin ax) + 1/a (log(sin ax)/a sin ax - x cos ax)