34.14.7 problem 28

Internal problem ID [8064]
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 : Tuesday, September 30, 2025 at 05:15:01 PM
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.247 (sec). Leaf size: 147
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}\left [\int _1^{\text {$\#$1}}\frac {c_1-\int _1^{K[2]}(K[1] \sin (K[1])-\cos (K[1]))dK[1]}{K[2]}dK[2]\&\right ][x+c_2]\\ y(x)&\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {-c_1-\int _1^{K[2]}(K[1] \sin (K[1])-\cos (K[1]))dK[1]}{K[2]}dK[2]\&\right ][x+c_2]\\ y(x)&\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {c_1-\int _1^{K[2]}(K[1] \sin (K[1])-\cos (K[1]))dK[1]}{K[2]}dK[2]\&\right ][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