1.8 problem HW 1 problem 14

Internal problem ID [7036]

Book: Selected problems from homeworks from different courses
Section: Math 2520, summer 2021. Differential Equations and Linear Algebra. Normandale college, Bloomington, Minnesota
Problem number: HW 1 problem 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y x +x^{2} y^{\prime }=1} \]

Solution by Maple

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

dsolve((x*y(x)-1)+x^2*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\ln \left (x \right )+c_{1}}{x} \]

Solution by Mathematica

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

DSolve[(x*y[x]-1)+x^2*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {\log (x)+c_1}{x} \]