Try to solve the following differential equation: $y''-4y=2\tan2x$ I am trying to solve this equation:
$y''-4y=2\tan2x$
the Homogeneous part is:
$$y_h=c_1e^{2x}+c_2e^{-2x}$$
and I get according the formula:
$$C_1'e^{2x}+C_2'e^{-2x}=0$$
$$2C_1'e^{2x}-2C_2'e^{-2x}=2\tan2x$$
my questions is:


*

*if $y_h$ is right?

*how can I find $c_{1}$ , $c_{2}$ ?
thanks

ok let us solve homogeneous part, we have
$y''-4*y=0$
or characteristic equation is $k^2-4=0$ from where $k_1=2$ and $k_2=-2$ , so homegenous solution we have
$y_p(x)=c_1*e^{2*x}+c_2*e^{-2*x}$
$c_1$ and $c_2$ can be found using initial condition, like $y(0)=0$ and $y'(0)=-1$ for example, about $y''-4*y=2*\tan(2x)$
http://tutorial.math.lamar.edu/Classes/DE/VariationofParameters.aspx
use this method, but I have checked wolfram alpha and it has not solution in particular solution in real functions
