Solve the equation $$y''+y'=\sec(x).$$ By solving the associated homogenous equation, I get complementary solution is $y_c(x)=A+Be^{-x}$. Then by using the method of variation of parameter, I let $y_p(x)=u_1+u_2e^{-x}$ where $u_1,u_2$ satisfy $$u_1'+u_2' e^{-x}=0, \quad -u_2' e^{-x}=\sec(x).$$ Then I stuck at finding $u_2$ as $u_2^{\prime}=-e^x \sec(x)$ and I have no idea on how to integrate this. Can anyone guide me?

  • $\begingroup$ I've put that equation and the integral into mathematica. Both involve hypergeometric functions. Do you wish to proceed? $\endgroup$
    – muzzlator
    Feb 27, 2013 at 17:13

1 Answer 1



$(y'e^x)'=\dfrac{d\int sec(x)e^xdx}{dx}$

$y'=e^{-x}\int sec(x)e^xdx +Ce^{-x}$

$y=\int e^{-x}\int sec(x)e^xdx dx+ C_1e^{-x}+C_2$

I do not know of any elementary form for the integrals. Wolfram gives an answer


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.