3.2 problem 1 (B)

Internal problem ID [12296]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.1, page 40
Problem number: 1 (B).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }=x -1} \]

Solution by Maple

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

dsolve(diff(y(x),x)=x-1,y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[y'[x]==x-1,y[x],x,IncludeSingularSolutions -> True]
 

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