84.18.11 problem 10.19

Internal problem ID [22208]
Book : Schaums outline series. Differential Equations By Richard Bronson. 1973. McGraw-Hill Inc. ISBN 0-07-008009-7
Section : Chapter 10. Linear differential equations. General remarks. Supplementary problems
Problem number : 10.19
Date solved : Thursday, October 02, 2025 at 08:36:13 PM
CAS classification : [_quadrature]

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

With initial conditions

\begin{align*} y \left (0\right )&=0 \\ \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 5
ode:=diff(y(x),x)-2*y(x) = 0; 
ic:=[y(0) = 0]; 
dsolve([ode,op(ic)],y(x), singsol=all);
 
\[ y = 0 \]
Mathematica. Time used: 0.001 (sec). Leaf size: 6
ode=D[y[x],{x,1}]-2*y[x]==0; 
ic={y[0]==0}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to 0 \end{align*}
Sympy. Time used: 0.062 (sec). Leaf size: 3
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-2*y(x) + Derivative(y(x), x),0) 
ics = {y(0): 0} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = 0 \]