84.19.6 problem 12.6

Internal problem ID [22214]
Book : Schaums outline series. Differential Equations By Richard Bronson. 1973. McGraw-Hill Inc. ISBN 0-07-008009-7
Section : Chapter 12. Second order linear homogeneous differential equations with constant coefficients. Solved problems. Page 64
Problem number : 12.6
Date solved : Thursday, October 02, 2025 at 08:36:19 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }-3 y^{\prime }+4 y&=0 \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 28
ode:=diff(diff(y(x),x),x)-3*diff(y(x),x)+4*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{\frac {3 x}{2}} \left (c_1 \sin \left (\frac {\sqrt {7}\, x}{2}\right )+c_2 \cos \left (\frac {\sqrt {7}\, x}{2}\right )\right ) \]
Mathematica. Time used: 0.014 (sec). Leaf size: 42
ode=D[y[x],{x,2}]-3*D[y[x],{x,1}]+4*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to e^{3 x/2} \left (c_2 \cos \left (\frac {\sqrt {7} x}{2}\right )+c_1 \sin \left (\frac {\sqrt {7} x}{2}\right )\right ) \end{align*}
Sympy. Time used: 0.103 (sec). Leaf size: 32
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(4*y(x) - 3*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} \sin {\left (\frac {\sqrt {7} x}{2} \right )} + C_{2} \cos {\left (\frac {\sqrt {7} x}{2} \right )}\right ) e^{\frac {3 x}{2}} \]