5.23 problem 8

Internal problem ID [11431]

Book: A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag, NY. 2015.
Section: Chapter 1, First order differential equations. Section 1.4.1. Integrating factors. Exercises page 41
Problem number: 8.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {x^{\prime }-\left (t +x\right )^{2}=0} \]

Solution by Maple

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

dsolve(diff(x(t),t)=(t+x(t))^2,x(t), singsol=all)
 

\[ x \left (t \right ) = -t -\tan \left (-t +c_{1} \right ) \]

Solution by Mathematica

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

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

\[ x(t)\to -t+\tan (t+c_1) \]