76.13.5 problem 5

Internal problem ID [17587]
Book : Differential equations. An introduction to modern methods and applications. James Brannan, William E. Boyce. Third edition. Wiley 2015
Section : Chapter 4. Second order linear equations. Section 4.3 (Linear homogeneous equations with constant coefficients). Problems at page 239
Problem number : 5
Date solved : Tuesday, January 28, 2025 at 10:44:36 AM
CAS classification : [[_2nd_order, _missing_x]]

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

Solution by Maple

Time used: 0.000 (sec). Leaf size: 16

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

Solution by Mathematica

Time used: 0.011 (sec). Leaf size: 20

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