1.6 problem 6

Internal problem ID [6297]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }-x -1=0} \end {gather*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 12

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to \frac {x^2}{2}+x+c_1 \\ \end{align*}