2.7 problem Problem 7

Internal problem ID [10822]

Book: Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section: Chapter 2, DIFFERENTIAL EQUATIONS OF THE SECOND ORDER AND HIGHER. Problems page 172
Problem number: Problem 7.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_x], _Liouville, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

\[ \boxed {y^{\prime \prime }+\frac {2 {y^{\prime }}^{2}}{1-y}=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.1 (sec). Leaf size: 19

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

\begin{align*} y(x)\to 1-\frac {1}{c_1 (x+c_2)} \\ \end{align*}