15.9.6 problem 20

Internal problem ID [3063]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 17, page 78
Problem number : 20
Date solved : Sunday, March 30, 2025 at 01:17:48 AM
CAS classification : [[_2nd_order, _missing_x]]

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

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