73.10.17 problem 15.6 (d)

Internal problem ID [15241]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 15. General solutions to Homogeneous linear differential equations. Additional exercises page 294
Problem number : 15.6 (d)
Date solved : Monday, March 31, 2025 at 01:32:09 PM
CAS classification : [[_2nd_order, _missing_x]]

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

With initial conditions

\begin{align*} y \left (0\right )&=1\\ y^{\prime }\left (0\right )&=0 \end{align*}

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