49.3.7 problem 3

Internal problem ID [7607]
Book : An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section : Chapter 1. Introduction– Linear equations of First Order. Page 45
Problem number : 3
Date solved : Monday, January 27, 2025 at 03:07:21 PM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

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

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