50.9.12 problem 1(l)

Internal problem ID [7948]
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(l)
Date solved : Monday, January 27, 2025 at 03:33:40 PM
CAS classification : [[_2nd_order, _missing_x]]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.022 (sec). Leaf size: 34

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