12.1.17 problem 9

Internal problem ID [1535]
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
Date solved : Monday, January 27, 2025 at 04:59:10 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&={| y|}+1 \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=0 \end{align*}

Solution by Maple

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

dsolve([diff(y(x),x) = abs(y(x))+1,y(0) = 0],y(x), singsol=all)
 
\begin{align*} y &= {\mathrm e}^{x}-1 \\ y &= 1-{\mathrm e}^{-x} \\ \end{align*}

Solution by Mathematica

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

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

{}