71.2.1 problem 1

Internal problem ID [14333]
Book : Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section : Chapter 1. Introduction. Exercises 1.3, page 27
Problem number : 1
Date solved : Tuesday, January 28, 2025 at 06:26:49 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }-2 y x&=0 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x)-2*x*y(x)=0,y(x), singsol=all)
 
\[ y = {\mathrm e}^{x^{2}} c_{1} \]

Solution by Mathematica

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

DSolve[D[y[x],x]-2*x*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 e^{x^2} \\ y(x)\to 0 \\ \end{align*}