12.2.16 problem 16

Internal problem ID [1552]
Book : Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section : Chapter 2, First order equations. Linear first order. Section 2.1 Page 41
Problem number : 16
Date solved : Monday, January 27, 2025 at 04:59:46 AM
CAS classification : [_linear]

\begin{align*} y^{\prime }+\frac {y}{x}&=\frac {7}{x^{2}}+3 \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 19

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

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 24

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