7.8 problem 8

Internal problem ID [164]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 5.1, second order linear equations. Page 299
Problem number: 8.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_x]]

Solve \begin {gather*} \boxed {y^{\prime \prime }-3 y^{\prime }=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 4, y^{\prime }\relax (0) = -2] \end {align*}

Solution by Maple

Time used: 0.015 (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 \relax (x ) = \frac {14}{3}-\frac {2 \,{\mathrm e}^{3 x}}{3} \]

Solution by Mathematica

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

DSolve[{y''[x]-3*y'[x]==0,{y[0]==4,y'[0]==-2}},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {2}{3} \left (e^{3 x}-7\right ) \\ \end{align*}