7.6 problem 6

Internal problem ID [1066]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 2, First order equations. Exact equations. Integrating factors. Section 2.6 Page 91
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {5 y x +2 y+5+2 y^{\prime } x=0} \end {gather*}

Solution by Maple

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

dsolve((5*x*y(x)+2*y(x)+5)+(2*x)*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y \relax (x ) = -\frac {1}{x}+\frac {{\mathrm e}^{-\frac {5 x}{2}} c_{1}}{x} \]

Solution by Mathematica

Time used: 0.039 (sec). Leaf size: 21

DSolve[(5*x*y[x]+2*y[x]+5)+(2*x)*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

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