Entering second order linear constant coefficient ode solverThis is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above \(A=1, B=2, C=1\). Let the solution be \(x=e^{\lambda t}\). Substituting this into the ODE gives
Since exponential function is never zero, then dividing Eq(2) throughout by \(e^{\lambda t}\) gives
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form. Using the quadratic formula the roots are
Substituting \(A=1, B=2, C=1\) into the above gives
Hence this is the case of a double root \(\lambda _{1,2} = 1\). Therefore the solution is
Applying the initial conditions \([x \left (0\right ) = 0, x^{\prime }\left (0\right ) = 1]\), the solution becomes
| | |
| \(x = t \,{\mathrm e}^{-t}\) | Direction field |