5.3 problem 3

Internal problem ID [7296]

Book: Own collection of miscellaneous problems
Section: section 5.0
Problem number: 3.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

dsolve(diff(y(x),x$2)+2*cot(x)*diff(y(x),x)-y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \csc \left (x \right ) \left (c_{2} x +c_{1} \right ) \]

Solution by Mathematica

Time used: 0.058 (sec). Leaf size: 15

DSolve[y''[x]+2*Cot[x]*y'[x]-y[x]==0,y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\[ y(x)\to (c_2 x+c_1) \csc (x) \]