73.11.14 problem 17.3 (b)

Internal problem ID [15249]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 17. Second order Homogeneous equations with constant coefficients. Additional exercises page 334
Problem number : 17.3 (b)
Date solved : Thursday, March 13, 2025 at 05:50:44 AM
CAS classification : [[_2nd_order, _missing_x]]

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

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