78.1.1 problem 1 (a)

Internal problem ID [17985]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 1. The Nature of Differential Equations. Separable Equations. Section 2. Problems at page 9
Problem number : 1 (a)
Date solved : Monday, March 31, 2025 at 04:53:10 PM
CAS classification : [_quadrature]

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

Maple. Time used: 0.001 (sec). Leaf size: 9
ode:=diff(y(x),x) = 2*x; 
dsolve(ode,y(x), singsol=all);
 
\[ y = x^{2}+c_1 \]
Mathematica. Time used: 0.002 (sec). Leaf size: 11
ode=D[y[x],x]==2*x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to x^2+c_1 \]
Sympy. Time used: 0.097 (sec). Leaf size: 7
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-2*x + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + x^{2} \]