1.65 problem 65

Internal problem ID [6356]

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

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

Solve \begin {gather*} \boxed {y^{2} y^{\prime \prime }=0} \end {gather*}

Solution by Maple

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

dsolve(y(x)^2*diff(y(x),x$2)=0,y(x), singsol=all)
 

\begin{align*} y \relax (x ) = 0 \\ y \relax (x ) = c_{1} x +c_{2} \\ \end{align*}

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 17

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

\begin{align*} y(x)\to 0 \\ y(x)\to c_2 x+c_1 \\ \end{align*}