82.12.1 problem Ex. 1

Internal problem ID [18766]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Examples on chapter II at page 29
Problem number : Ex. 1
Date solved : Tuesday, January 28, 2025 at 12:15:41 PM
CAS classification : [[_homogeneous, `class C`], _dAlembert]

\begin{align*} \left (x +y\right )^{2} y^{\prime }&=a^{2} \end{align*}

Solution by Maple

Time used: 0.020 (sec). Leaf size: 24

dsolve((x+y(x))^2*diff(y(x),x)=a^2,y(x), singsol=all)
 
\[ y \left (x \right ) = a \operatorname {RootOf}\left (\tan \left (\textit {\_Z} \right ) a -\textit {\_Z} a +c_{1} -x \right )-c_{1} \]

Solution by Mathematica

Time used: 0.112 (sec). Leaf size: 21

DSolve[(x+y[x])^2*D[y[x],x]==a^2,y[x],x,IncludeSingularSolutions -> True]
 
\[ \text {Solve}\left [y(x)-a \arctan \left (\frac {y(x)+x}{a}\right )=c_1,y(x)\right ] \]