2.20 problem 20

Internal problem ID [4461]

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]

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

Solution by Maple

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

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

\[ y \relax (x ) = \frac {6 x^{5}-5 x^{4}+9}{10 x^{3}} \]

Solution by Mathematica

Time used: 0.029 (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*}