20.3.22 problem Problem 22

Internal problem ID [3631]
Book : Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section : Chapter 1, First-Order Differential Equations. Section 1.6, First-Order Linear Differential Equations. page 59
Problem number : Problem 22
Date solved : Monday, January 27, 2025 at 07:47:56 AM
CAS classification : [[_2nd_order, _missing_y]]

\begin{align*} y^{\prime \prime }+\frac {y^{\prime }}{x}&=9 x \end{align*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 13

dsolve(diff(y(x),x$2)+1/x*diff(y(x),x)=9*x,y(x), singsol=all)
 
\[ y \left (x \right ) = x^{3}+\ln \left (x \right ) c_{1} +c_{2} \]

Solution by Mathematica

Time used: 0.033 (sec). Leaf size: 16

DSolve[D[y[x],{x,2}]+1/x*D[y[x],x]==9*x,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x^3+c_1 \log (x)+c_2 \]