11.26 problem 49

Internal problem ID [244]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 5.5, Nonhomogeneous equations and undetermined coefficients Page 351
Problem number: 49.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }-4 y^{\prime }+4 y-2 \,{\mathrm e}^{2 x}=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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