NARROW DISPLAY WARNING
You are most likely using a tablet or mobile device in portrait orientation. This website is best viewed using a typical computer screen with the browser window maximized.
Viewing this website in portrait orientation can cause problems with equations being longer than the screen width (you can scroll to the right), images being poorly sized, and the font size of maths text being much smaller than regular text. If your only option is a tablet or mobile device, your viewing experience will be better if you view this website in landscape orientation. You might need to refresh the page to fix any problems after rotating.
Sometimes the solutions to differential equations were guessed by mathematicians. There is no derivation. For the ODE $ay''+by'+cy=0$ someone guessed a solution $y(x)=e^{rx}$ then tried to figure out what value $r$ needed to be to solve the differential equation. The result of plugging in $e^{rx}$ for $y(x)$ is $e^{rx}(ar^{2}+br+c)=0$. The polynomial $ar^{2}+br+c$ is called the characteristic polynomial and solving for the roots gives the values of $r$ to solve the ODE.
One of three cases for the characteristic polynomial is a repeated real root.
\begin{equation} ay''+by'+cy=0 \qquad y(x)=e^{rx} \end{equation} \begin{equation} e^{rx}(ar^{2}+br+c)=0 \qquad ae^{rx}(r-r_{1})(r-r_{2})=0 \end{equation}Where $r_{1}$ and $r_{2}$ are the roots of the characteristic polynomial. When $r_{1} = r_{2}$, the solutions to the ODE are,
\begin{equation} y_{1}(x)=e^{r_{1}x}=e^{r_{2}x} \qquad y_{2}(x)=xe^{r_{1}x}=xe^{r_{2}x} \end{equation}The general solution is,
\begin{equation} y(x)=c_{1}e^{r_{1}x}+c_{2}xe^{r_{1}x}=c_{1}e^{r_{2}x}+c_{2}xe^{r_{2}x} \end{equation}Find the general solution to the ODE.
\begin{equation} y'' - 8y' + 16y = 0 \end{equation}Solve the initial value problem.
\begin{equation} y'' - 2y' + y = 0 \qquad y(0) = 2 \qquad y'(0)=-1 \end{equation}Solve the IVP for a mass spring damper system.
\begin{equation} z'' + 6z' + 9z = 0 \qquad z(0) = 3 \qquad z'(0) = -2 \end{equation}