2.20 problem 20

Internal problem ID [4460]

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: 20.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 18

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

\[ y \left (x \right ) = \frac {3 x^{2}}{5}-\frac {x}{2}+\frac {9}{10 x^{3}} \]

Solution by Mathematica

Time used: 0.028 (sec). Leaf size: 23

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

\begin{align*} y(x)\to \frac {(6 x-5) x^4+9}{10 x^3} \\ \end{align*}