The given equation can be written as:
(4D2 -8D+8)y = ex secx
complementary equation is:
4D2 -8D+8=0
D=4+4i,4-4i
Since they are complex roots, general solution is
y= e4x (acos4x + bsin4x)
Particular solution by variation of parameters:
Let z=e4x cos4x and u= e4x sin4x
Wronskian(z,u) =∣ e 4 x c o s 4 x e 4 x s i n 4 x 4 e 4 x c o s 4 x − 4 e 4 x s i n 4 x 4 e 4 x s i n 4 x + 4 e 4 x c o s 4 x ∣ \begin{vmatrix}
e^{4x}cos4x & e^{4x}sin4x \\
4e^{4x}cos4x - 4e^{4x}sin4x & 4e^{4x}sin4x + 4e^{4x}cos4x
\end{vmatrix} ∣ ∣ e 4 x cos 4 x 4 e 4 x cos 4 x − 4 e 4 x s in 4 x e 4 x s in 4 x 4 e 4 x s in 4 x + 4 e 4 x cos 4 x ∣ ∣
=4e4x (sin2 4x+cos2 4x)=4e4x
Particular solution is
=-z(∫ ( u / W ) d t + u ( ∫ ( z / W ) d t \int (u/W) dt+u(\int(z/W)dt ∫ ( u / W ) d t + u ( ∫ ( z / W ) d t
= -e4x cos4x (∫ ( e 4 x s i n 4 x / 4 e 4 x ) \int (e^{4x}sin4x/4e^{4x}) ∫ ( e 4 x s in 4 x /4 e 4 x ) + e 4 x s i n 4 x ( ∫ ( e 4 x c o s 4 x / 4 e 4 x ) +e^{4x}sin4x (\int(e^{4x}cos4x /4e^{4x}) + e 4 x s in 4 x ( ∫ ( e 4 x cos 4 x /4 e 4 x )
=− e 4 x c o s 4 x ( − c o s 4 x / 16 ) + e 4 x s i n 4 x ( s i n 4 x / 16 ) + c -e^{4x}cos4x (-cos4x/16) + e^{4x}sin4x (sin4x/16)+c − e 4 x cos 4 x ( − cos 4 x /16 ) + e 4 x s in 4 x ( s in 4 x /16 ) + c
So the solution is
y=
e4x (acos4x + bsin4x)+ − e 4 x c o s 4 x ( − c o s 4 x / 16 ) + e 4 x s i n 4 x ( s i n 4 x / 16 ) + c -e^{4x}cos4x (-cos4x/16) + e^{4x}sin4x (sin4x/16)+c − e 4 x cos 4 x ( − cos 4 x /16 ) + e 4 x s in 4 x ( s in 4 x /16 ) + c