11.14 problem 40

Internal problem ID [5405]

Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section: Chapter 16. Linear equations with constant coefficients (Short methods). Supplemetary problems. Page 107
Problem number: 40.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {y^{\prime \prime }+5 y^{\prime }+6 y={\mathrm e}^{-2 x} \sec \left (x \right )^{2} \left (1+2 \tan \left (x \right )\right )} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 69

dsolve(diff(y(x),x$2)+5*diff(y(x),x)+6*y(x)=exp(-2*x)*sec(x)^2*(1+2*tan(x)),y(x), singsol=all)
 

\[ y = {\mathrm e}^{-2 x} c_{2} +c_{1} {\mathrm e}^{-3 x}+\frac {2 \,{\mathrm e}^{-2 x} \left (\left (\tan \left (x \right )^{2}+\tan \left (x \right )-2\right ) {\mathrm e}^{2 i x}+\frac {\tan \left (x \right ) \left ({\mathrm e}^{4 i x}+1\right ) \left (\tan \left (x \right )+1\right )}{2}\right )}{{\mathrm e}^{4 i x}+2 \,{\mathrm e}^{2 i x}+1} \]

Solution by Mathematica

Time used: 0.147 (sec). Leaf size: 26

DSolve[y''[x]+5*y'[x]+6*y[x]==Exp[-2*x]*Sec[x]^2*(1+2*Tan[x]),y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{-3 x} \left (e^x \tan (x)+c_2 e^x+c_1\right ) \]