73.1.2 problem 1 (ii)

Internal problem ID [19775]
Book : Elementary Differential Equations. By R.L.E. Schwarzenberger. Chapman and Hall. London. First Edition (1969)
Section : Chapter 3. Solutions of first-order equations. Exercises at page 47
Problem number : 1 (ii)
Date solved : Thursday, October 02, 2025 at 04:43:16 PM
CAS classification : [_quadrature]

\begin{align*} x^{\prime }&=b \,{\mathrm e}^{t} \end{align*}

With initial conditions

\begin{align*} x \left (1\right )&=0 \\ \end{align*}
Maple. Time used: 0.033 (sec). Leaf size: 13
ode:=diff(x(t),t) = b*exp(t); 
ic:=[x(1) = 0]; 
dsolve([ode,op(ic)],x(t), singsol=all);
 
\[ x = b \left (-{\mathrm e}+{\mathrm e}^{t}\right ) \]
Mathematica. Time used: 0.006 (sec). Leaf size: 14
ode=D[x[t],t]==b*Exp[t]; 
ic={x[1]==0}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 
\begin{align*} x(t)&\to b \left (e^t-e\right ) \end{align*}
Sympy. Time used: 0.067 (sec). Leaf size: 12
from sympy import * 
t = symbols("t") 
b = symbols("b") 
x = Function("x") 
ode = Eq(-b*exp(t) + Derivative(x(t), t),0) 
ics = {x(1): 0} 
dsolve(ode,func=x(t),ics=ics)
 
\[ x{\left (t \right )} = b e^{t} - e b \]