2.19 problem 16 (iv)

Internal problem ID [12598]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Exercises section 1.3 page 47
Problem number: 16 (iv).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }=-t^{2}+2} \]

Solution by Maple

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

dsolve(diff(y(t),t)=2-t^2,y(t), singsol=all)
 

\[ y \left (t \right ) = -\frac {1}{3} t^{3}+2 t +c_{1} \]

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 18

DSolve[y'[t]==2-t^2,y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to -\frac {t^3}{3}+2 t+c_1 \]