1.17 problem 9

Internal problem ID [885]

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: 9.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-{| y|}=1} \] With initial conditions \begin {align*} [y \left (0\right ) = 0] \end {align*}

Solution by Maple

Time used: 0.172 (sec). Leaf size: 19

dsolve([diff(y(x),x) = abs(y(x))+1,y(0) = 0],y(x), singsol=all)
 

\begin{align*} y \left (x \right ) &= {\mathrm e}^{x}-1 \\ y \left (x \right ) &= 1-{\mathrm e}^{-x} \\ \end{align*}

Solution by Mathematica

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

DSolve[{y'[x] ==Abs[y[x]]+1,{y[0]==0}},y[x],x,IncludeSingularSolutions -> True]
 

{}