Solve $y'' - 2\tan x \cdot y' - (a^2+1)y = e^x \cdot \sec x$.
Akshit Bhardwaj, AIR 12, 2025
Comparing it with
We have $P = -2\tan x$ $\quad Q = -a^2-1$ $\quad R = e^x\sec x$
Now, let
Thus we can re-write the equation in normal form with general solution $y = Uv$ where
$\Rightarrow$ Equation (1) can be written as
Now, solving for $v$, let general soln be $v = v_c + v_p$ where $v_c \equiv$ complementary function & $v_p \equiv$ particular integral Complementary Function Auxiliary equation $\equiv m^2 - a^2 = 0$
$\Rightarrow m = \pm a$
Particular integral
If $F(a)\neq 0$ $\quad (F(D) = D^2 - a^2)$
If $F(a) = 0$
$\Rightarrow 1 - a^2 = 0$ when $\boxed{a=1}$ or $\boxed{a=-1}$
then $v_p = \dfrac{1}{(D-1)(D+1)}e^x$
if $a^2 \neq 1$
Or
if $a^2 = 1$ General solution
if $a^2\neq 1$
OR
if $a^2 = 1$