50.9.10 problem 1(j)

Internal problem ID [7946]
Book : Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section : Chapter 2. Second-Order Linear Equations. Section 2.1. Linear Equations with Constant Coefficients. Page 62
Problem number : 1(j)
Date solved : Monday, January 27, 2025 at 03:33:35 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }-6 y^{\prime }+25 y&=0 \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 22

dsolve(diff(y(x),x$2)-6*diff(y(x),x)+25*y(x)=0,y(x), singsol=all)
 
\[ y = {\mathrm e}^{3 x} \left (c_{1} \sin \left (4 x \right )+c_{2} \cos \left (4 x \right )\right ) \]

Solution by Mathematica

Time used: 0.019 (sec). Leaf size: 26

DSolve[D[y[x],{x,2}]-6*D[y[x],x]+25*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to e^{3 x} (c_2 \cos (4 x)+c_1 \sin (4 x)) \]