7.8.26 problem 39

Internal problem ID [240]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 2. Linear Equations of Higher Order. Section 2.1 (Introduction. Second order linear equations). Problems at page 111
Problem number : 39
Date solved : Tuesday, March 04, 2025 at 11:06:06 AM
CAS classification : [[_2nd_order, _missing_x]]

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

Maple. Time used: 0.003 (sec). Leaf size: 14
ode:=4*diff(diff(y(x),x),x)+4*diff(y(x),x)+y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{-\frac {x}{2}} \left (c_2 x +c_1 \right ) \]
Mathematica. Time used: 0.014 (sec). Leaf size: 20
ode=4*D[y[x],{x,2}]+4*D[y[x],x]+y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to e^{-x/2} (c_2 x+c_1) \]
Sympy. Time used: 0.150 (sec). Leaf size: 12
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(y(x) + 4*Derivative(y(x), x) + 4*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^{- \frac {x}{2}} \]