8.7.8 problem 8

Internal problem ID [814]
Book : Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section : Section 5.1, second order linear equations. Page 299
Problem number : 8
Date solved : Wednesday, February 05, 2025 at 04:29:44 AM
CAS classification : [[_2nd_order, _missing_x]]

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

With initial conditions

\begin{align*} y \left (0\right )&=4\\ y^{\prime }\left (0\right )&=-2 \end{align*}

Solution by Maple

Time used: 0.007 (sec). Leaf size: 12

dsolve([diff(y(x),x$2)-3*diff(y(x),x)=0,y(0) = 4, D(y)(0) = -2],y(x), singsol=all)
 
\[ y = \frac {14}{3}-\frac {2 \,{\mathrm e}^{3 x}}{3} \]

Solution by Mathematica

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

DSolve[{D[y[x],{x,2}]-3*D[y[x],x]==0,{y[0]==4,Derivative[1][y][0] ==-2}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\frac {2}{3} \left (e^{3 x}-7\right ) \]