6.22 problem 22

Internal problem ID [2008]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 10, page 41
Problem number: 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {2 y-y x +y^{\prime } x=3} \] With initial conditions \begin {align*} [y \left (1\right ) = 1] \end {align*}

Solution by Maple

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

dsolve([(2*y(x)-x*y(x)-3)+x*diff(y(x),x)=0,y(1) = 1],y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[{(2*y[x]-x*y[x]-3)+x*y'[x]==0,{y[1]==1}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {7 e^x-3 e (x+1)}{e x^2} \]