6.2 problem 2

Internal problem ID [4300]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 8, Ordinary differential equations. Section 6. SECOND-ORDER LINEAR EQUATIONSWITH CONSTANT COEFFICIENTS AND RIGHT-HAND SIDE NOT ZERO. page 422
Problem number: 2.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }-4 y^{\prime }+4 y-16=0} \end {gather*}

Solution by Maple

Time used: 0.0 (sec). Leaf size: 19

dsolve(diff(y(x),x$2)-4*diff(y(x),x)+4*y(x)=16,y(x), singsol=all)
 

\[ y \relax (x ) = c_{2} {\mathrm e}^{2 x}+x \,{\mathrm e}^{2 x} c_{1}+4 \]

Solution by Mathematica

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

DSolve[y''[x]-4*y'[x]+4*y[x]==16,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 4+e^{2 x} (c_2 x+c_1) \\ \end{align*}