15.18.18 problem 18

Internal problem ID [3261]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 35, page 157
Problem number : 18
Date solved : Monday, January 27, 2025 at 07:29:40 AM
CAS classification : [[_2nd_order, _missing_y], [_2nd_order, _reducible, _mu_y_y1]]

\begin{align*} \left (x^{2}+1\right ) y^{\prime \prime }+1+{y^{\prime }}^{2}&=0 \end{align*}

Solution by Maple

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

dsolve((1+x^2)*diff(y(x),x$2)+1+diff(y(x),x)^2=0,y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {\ln \left (c_{1} x -1\right ) c_{1}^{2}+c_{1}^{2} c_{2} +c_{1} x +\ln \left (c_{1} x -1\right )}{c_{1}^{2}} \]

Solution by Mathematica

Time used: 7.241 (sec). Leaf size: 33

DSolve[(1+x^2)*D[y[x],{x,2}]+1+D[y[x],x]^2==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -x \cot (c_1)+\csc ^2(c_1) \log (-x \sin (c_1)-\cos (c_1))+c_2 \]