30.6 problem Ex 6

Internal problem ID [10276]

Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section: Chapter VIII, Linear differential equations of the second order. Article 53. Change of dependent variable. Page 125
Problem number: Ex 6.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

\[ \boxed {y^{\prime \prime }-2 y^{\prime } \tan \left (x \right )-\left (a^{2}+1\right ) y=0} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 21

dsolve(diff(y(x),x$2)-2*tan(x)*diff(y(x),x)-(a^2+1)*y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} \sec \left (x \right ) \sinh \left (a x \right )+c_{2} \sec \left (x \right ) \cosh \left (a x \right ) \]

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 32

DSolve[y''[x]-2*Tan[x]*y'[x]-(a^2+1)*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \sec (x) \left (c_1 e^{-a x}+\frac {c_2 e^{a x}}{2 a}\right ) \\ \end{align*}