1.2 problem 1(b)

Internal problem ID [5353]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Section 1.2 THE NATURE OF SOLUTIONS. Page 9
Problem number: 1(b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y \relax (x ) = c_{1} x^{2} \]

Solution by Mathematica

Time used: 0.026 (sec). Leaf size: 16

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

\begin{align*} y(x)\to c_1 x^2 \\ y(x)\to 0 \\ \end{align*}