44.4.19 problem 6 (a)

Internal problem ID [7032]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 2. First order differential equations. Section 2.1 Solution curves without a solution. Exercises 2.1 at page 44
Problem number : 6 (a)
Date solved : Monday, January 27, 2025 at 02:41:37 PM
CAS classification : [[_linear, `class A`]]

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

With initial conditions

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

Solution by Maple

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

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

Solution by Mathematica

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

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