1.32 problem 39

1.32.1 Solving as quadrature ode
1.32.2 Maple step by step solution

Internal problem ID [14075]
Internal file name [OUTPUT/13756_Saturday_March_02_2024_02_49_17_PM_9163696/index.tex]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number: 39.
ODE order: 1.
ODE degree: 1.

The type(s) of ODE detected by this program : "quadrature"

Maple gives the following as the ode type

[_quadrature]

\[ \boxed {y^{\prime }=x \,{\mathrm e}^{-x}} \]

1.32.1 Solving as quadrature ode

Integrating both sides gives \begin {align*} y &= \int { x \,{\mathrm e}^{-x}\,\mathop {\mathrm {d}x}}\\ &= -\left (x +1\right ) {\mathrm e}^{-x}+c_{1} \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= -\left (x +1\right ) {\mathrm e}^{-x}+c_{1} \\ \end{align*}

Figure 47: Slope field plot

Verification of solutions

\[ y = -\left (x +1\right ) {\mathrm e}^{-x}+c_{1} \] Verified OK.

1.32.2 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime }=x \,{\mathrm e}^{-x} \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int y^{\prime }d x =\int x \,{\mathrm e}^{-x}d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & y=-\left (x +1\right ) {\mathrm e}^{-x}+c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=-x \,{\mathrm e}^{-x}-{\mathrm e}^{-x}+c_{1} \end {array} \]

Maple trace

`Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
<- quadrature successful`
 

Solution by Maple

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

dsolve(diff(y(x),x)=x*exp(-x),y(x), singsol=all)
 

\[ y \left (x \right ) = \left (-x -1\right ) {\mathrm e}^{-x}+c_{1} \]

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 18

DSolve[y'[x]==x*Exp[-x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -e^{-x} (x+1)+c_1 \]