85.7.13 problem 4 (a)

Internal problem ID [22467]
Book : Applied Differential Equations. By Murray R. Spiegel. 3rd edition. 1980. Pearson. ISBN 978-0130400970
Section : Chapter 1. Differential equations in general. A Exercises at page 32
Problem number : 4 (a)
Date solved : Thursday, October 02, 2025 at 08:40:23 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=2 x \end{align*}
Maple. Time used: 0.000 (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,1}]==2*x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to x^2+c_1 \end{align*}
Sympy. Time used: 0.056 (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} \]