1.19 problem 19

Internal problem ID [7600]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 19.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, class C], _Riccati]

Solve \begin {gather*} \boxed {y^{\prime }-\left (x +y\right )^{2}=0} \end {gather*}

Solution by Maple

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

dsolve(diff(y(x),x) - (y(x) + x)^2=0,y(x), singsol=all)
 

\[ y \relax (x ) = -x -\tan \left (c_{1}-x \right ) \]

Solution by Mathematica

Time used: 0.739 (sec). Leaf size: 14

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

\begin{align*} y(x)\to -x+\tan (x+c_1) \\ \end{align*}