58.1.2 problem 2

Internal problem ID [9073]
Book : Second order enumerated odes
Section : section 1
Problem number : 2
Date solved : Monday, January 27, 2025 at 05:31:58 PM
CAS classification : [[_2nd_order, _quadrature]]

\begin{align*} {y^{\prime \prime }}^{2}&=0 \end{align*}

Solution by Maple

Time used: 0.022 (sec). Leaf size: 9

dsolve(diff(y(x),x$2)^2=0,y(x), singsol=all)
 
\[ y = c_{1} x +c_{2} \]

Solution by Mathematica

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

DSolve[(D[y[x],{x,2}])^2==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to c_2 x+c_1 \]