38.3.2 problem 8

Internal problem ID [8269]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 1. Introduction to differential equations. Review problems at page 34
Problem number : 8
Date solved : Tuesday, September 30, 2025 at 05:21:09 PM
CAS classification : [_quadrature]

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