2.5 problem 5

Internal problem ID [891]

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: 5.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime } x^{2}+y=0} \end {gather*}

Solution by Maple

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

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

\[ y \relax (x ) = c_{1} {\mathrm e}^{\frac {1}{x}} \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 18

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

\begin{align*} y(x)\to c_1 e^{\frac {1}{x}} \\ y(x)\to 0 \\ \end{align*}