1.6 problem 3(a)

Internal problem ID [874]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 1, Introduction. Section 1.2 Page 14
Problem number: 3(a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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