10.9.7 problem 7

Internal problem ID [1309]
Book : Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section : Chapter 3, Second order linear equations, 3.4 Repeated roots, reduction of order , page 172
Problem number : 7
Date solved : Tuesday, March 04, 2025 at 12:28:47 PM
CAS classification : [[_2nd_order, _missing_x]]

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

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