7.2.19 problem 21

Internal problem ID [37]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Section 1.3. Problems at page 27
Problem number : 21
Date solved : Friday, February 07, 2025 at 08:12:36 AM
CAS classification : [[_linear, `class A`]]

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

With initial conditions

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

Solution by Maple

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

dsolve([diff(y(x),x)=x+y(x),y(0) = 0],y(x), singsol=all)
 
\[ y = {\mathrm e}^{x}-x -1 \]

Solution by Mathematica

Time used: 0.022 (sec). Leaf size: 13

DSolve[{D[y[x],x]==x+y[x],{y[0]==0}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -x+e^x-1 \]