40.14.7 problem 28

Internal problem ID [6778]
Book : Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section : Chapter 19. Linear equations with variable coefficients (Misc. types). Supplemetary problems. Page 132
Problem number : 28
Date solved : Sunday, March 30, 2025 at 11:22:24 AM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_y_y1]]

\begin{align*} y y^{\prime \prime }&={y^{\prime }}^{2} \left (1-y^{\prime } \cos \left (y\right )+y y^{\prime } \sin \left (y\right )\right ) \end{align*}

Maple. Time used: 0.072 (sec). Leaf size: 22
ode:=y(x)*diff(diff(y(x),x),x) = diff(y(x),x)^2*(1-diff(y(x),x)*cos(y(x))+y(x)*diff(y(x),x)*sin(y(x))); 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= c_1 \\ \sin \left (y\right )+c_1 \ln \left (y\right )-x -c_2 &= 0 \\ \end{align*}
Mathematica. Time used: 0.46 (sec). Leaf size: 63
ode=y[x]*D[y[x],{x,2}]==D[y[x],x]^2*(1-D[y[x],x]*Cos[y[x]]+y[x]*D[y[x],x]*Sin[y[x]] ); 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to \text {InverseFunction}[\sin (\text {$\#$1})+c_1 \log (\text {$\#$1})\&][x+c_2] \\ y(x)\to \text {InverseFunction}[\sin (\text {$\#$1})-c_1 \log (\text {$\#$1})\&][x+c_2] \\ y(x)\to \text {InverseFunction}[\sin (\text {$\#$1})+c_1 \log (\text {$\#$1})\&][x+c_2] \\ \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((-y(x)*sin(y(x))*Derivative(y(x), x) + cos(y(x))*Derivative(y(x), x) - 1)*Derivative(y(x), x)**2 + y(x)*Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out