3.24 problem 1024

Internal problem ID [9359]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 2, linear second order
Problem number: 1024.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.157 (sec). Leaf size: 30

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

\[ y \left (x \right ) = c_{1} \sec \left (x \right )+c_{2} \sec \left (x \right ) \left (i \cos \left (x \right ) \sin \left (x \right )+\ln \left (\cos \left (x \right )+i \sin \left (x \right )\right )\right ) \]

Solution by Mathematica

Time used: 0.501 (sec). Leaf size: 46

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

\[ y(x)\to c_2 \sec (x) \arctan \left (\frac {\cos (x)}{\sqrt {\sin ^2(x)}-1}\right )-\frac {1}{2} c_2 \sqrt {\sin ^2(x)}+c_1 \sec (x) \]