2.24 problem 24

Internal problem ID [910]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 2, First order equations. Linear first order. Section 2.1 Page 41
Problem number: 24.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y^{\prime } x^{2}+3 y x -{\mathrm e}^{x}=0} \end {gather*}

Solution by Maple

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

dsolve(x^2*diff(y(x),x) +3*x*y(x)=exp(x),y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[x^2*y'[x] +3*x*y[x]==Exp[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {e^x (x-1)+c_1}{x^3} \\ \end{align*}