Internal problem ID [58]
Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.5. Linear first order equations. Page 56
Problem number: 5.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {2 y+y^{\prime } x=3 x} \] With initial conditions \begin {align*} [y \left (1\right ) = 5] \end {align*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 11
dsolve([2*y(x)+x*diff(y(x),x) = 3*x,y(1) = 5],y(x), singsol=all)
\[ y \left (x \right ) = x +\frac {4}{x^{2}} \]
✓ Solution by Mathematica
Time used: 0.022 (sec). Leaf size: 12
DSolve[{2*y[x]+x*y'[x] == 3*x,y[1]==5},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {4}{x^2}+x \]