44.6.7 problem 7

Internal problem ID [7151]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 2. First order differential equations. Section 2.3 Linear equations. Exercises 2.3 at page 63
Problem number : 7
Date solved : Tuesday, February 04, 2025 at 12:40:14 AM
CAS classification : [_linear]

\begin{align*} y^{\prime } x^{2}+y x&=1 \end{align*}

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 14

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