74.1.10 problem 17

Internal problem ID [15711]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number : 17
Date solved : Thursday, March 13, 2025 at 06:15:56 AM
CAS classification : [_quadrature]

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

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