28.1.107 problem 130

Internal problem ID [4413]
Book : Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section : Chapter 2. First-Order and Simple Higher-Order Differential Equations. Page 78
Problem number : 130
Date solved : Monday, January 27, 2025 at 09:15:13 AM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

\begin{align*} x {y^{\prime }}^{2}-2 y^{\prime } y+4 x&=0 \end{align*}

Solution by Maple

Time used: 0.044 (sec). Leaf size: 30

dsolve(x*diff(y(x),x)^2-2*y(x)*diff(y(x),x)+4*x=0,y(x), singsol=all)
 
\begin{align*} y \left (x \right ) &= -2 x \\ y \left (x \right ) &= 2 x \\ y \left (x \right ) &= \frac {4 c_{1}^{2}+x^{2}}{2 c_{1}} \\ \end{align*}

Solution by Mathematica

Time used: 0.276 (sec). Leaf size: 43

DSolve[x*D[y[x],x]^2-2*y[x]*D[y[x],x]+4*x==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to -2 x \cosh (-\log (x)+c_1) \\ y(x)\to -2 x \cosh (\log (x)+c_1) \\ y(x)\to -2 x \\ y(x)\to 2 x \\ \end{align*}