2.2.5.4 ✓ Maple. Time used: 0.002 (sec). Leaf size: 14
ode:=diff(diff(x(t),t),t)-4*diff(x(t),t)+4*x(t) = 0;
dsolve(ode,x(t), singsol=all);
\begin{align*} x = {\mathrm e}^{2 t} \left (c_2 t +c_1 \right ) \end{align*}
Maple trace
Methods for second order ODEs:
--- Trying classification methods ---
trying a quadrature
checking if the LODE has constant coefficients
<- constant coefficients successful
Maple step by step
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \frac {d^{2}}{d t^{2}}x \left (t \right )-4 \frac {d}{d t}x \left (t \right )+4 x \left (t \right )=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & \frac {d^{2}}{d t^{2}}x \left (t \right ) \\ \bullet & {} & \textrm {Characteristic polynomial of ODE}\hspace {3pt} \\ {} & {} & r^{2}-4 r +4=0 \\ \bullet & {} & \textrm {Factor the characteristic polynomial}\hspace {3pt} \\ {} & {} & \left (r -2\right )^{2}=0 \\ \bullet & {} & \textrm {Root of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =2 \\ \bullet & {} & \textrm {1st solution of the ODE}\hspace {3pt} \\ {} & {} & x_{1}\left (t \right )={\mathrm e}^{2 t} \\ \bullet & {} & \textrm {Repeated root, multiply}\hspace {3pt} x_{1}\left (t \right )\hspace {3pt}\textrm {by}\hspace {3pt} t \hspace {3pt}\textrm {to ensure linear independence}\hspace {3pt} \\ {} & {} & x_{2}\left (t \right )=t \,{\mathrm e}^{2 t} \\ \bullet & {} & \textrm {General solution of the ODE}\hspace {3pt} \\ {} & {} & x \left (t \right )=\mathit {C1} x_{1}\left (t \right )+\mathit {C2} x_{2}\left (t \right ) \\ \bullet & {} & \textrm {Substitute in solutions}\hspace {3pt} \\ {} & {} & x \left (t \right )=\mathit {C1} \,{\mathrm e}^{2 t}+\mathit {C2} t \,{\mathrm e}^{2 t} \end {array} \]