84.15.1 problem 8.1

Internal problem ID [22173]
Book : Schaums outline series. Differential Equations By Richard Bronson. 1973. McGraw-Hill Inc. ISBN 0-07-008009-7
Section : Chapter 8. Linear first-order differential equations. Solved problems. Page 33
Problem number : 8.1
Date solved : Thursday, October 02, 2025 at 08:33:22 PM
CAS classification : [_quadrature]

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