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]
Solve \begin {gather*} \boxed {y^{\prime }-{| y|}-1=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 0] \end {align*}
✓ Solution by Maple
Time used: 0.141 (sec). Leaf size: 19
dsolve([diff(y(x),x) = abs(y(x))+1,y(0) = 0],y(x), singsol=all)
\begin{align*} y \relax (x ) = {\mathrm e}^{x}-1 \\ y \relax (x ) = 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]
{}