Internal problem ID [4449]
Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson
2018.
Section: Chapter 2, First order differential equations. Section 2.3, Linear equations. Exercises. page
54
Problem number: 8.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {y^{\prime }-\frac {y}{x}-2 x -1=0} \end {gather*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve(diff(y(x),x)=y(x)/x+2*x+1,y(x), singsol=all)
\[ y \relax (x ) = \left (2 x +\ln \relax (x )+c_{1}\right ) x \]
✓ Solution by Mathematica
Time used: 0.039 (sec). Leaf size: 15
DSolve[y'[x]==y[x]/x+2*x+1,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to x (2 x+\log (x)+c_1) \\ \end{align*}