Internal problem ID [4957]
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]
\[ \boxed {y^{\prime }-\frac {y}{x}=1+2 x} \]
✓ 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 \left (x \right ) = \left (2 x +\ln \left (x \right )+c_{1} \right ) x \]
✓ Solution by Mathematica
Time used: 0.025 (sec). Leaf size: 15
DSolve[y'[x]==y[x]/x+2*x+1,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x (2 x+\log (x)+c_1) \]