26.1.6 problem 3.a

Internal problem ID [4246]
Book : Differential equations with applications and historial notes, George F. Simmons. Second edition. 1971
Section : Chapter 2, section 7, page 37
Problem number : 3.a
Date solved : Monday, January 27, 2025 at 08:44:18 AM
CAS classification : [[_homogeneous, `class C`], _Riccati]

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

Solution by Maple

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

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

Solution by Mathematica

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

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