Skip to main content

Section 3.1 Linear DEs with Constant Coefficients

Definition 3.1.1.

Let \(a(t)\text{,}\) \(b(t)\text{,}\) \(c(t)\) and \(f(t)\) be functions. A second order linear differential equation is an equation of the form
\begin{equation*} a(t) \frac{d^2y}{dt^2} + b(t) \frac{dy}{dt} + c(t) y = f(t)\text{.} \end{equation*}
As with the first order case, this is called homogeneous if \(f(t) = 0\text{.}\)

Definition 3.1.2.

A second order linear differential operator is an operator of the form.
\begin{equation*} L = a(t) \frac{d^2}{dt^2} + b(t) \frac{d}{dt} + c(t)\text{.} \end{equation*}
In operator notation, a second order linear differential equation is \(Ly = f(t)\text{.}\) The principles of linearity and superposition defined for first order equation in Section 2.6 still hold for higher-order linear equations.
General second order equations are usually impossible to solve with direct methods; I will focus almost exclusively on second order linear differential equations in this course. Even though, however, present substantial challenge in general. I need to restrict even further, to the simplest case where the coefficient functions are constant.

Definition 3.1.3.

Let \(a,b,c \in \RR\text{.}\) A second order constant coefficient linear operator has the form
\begin{equation*} L = a \frac{d^2}{dt^2} + b \frac{d}{dt} + c\text{.} \end{equation*}
The corresponding homogeneous equation is \(Ly=0\) and the corresponding non-homogeneous equation is \(Ly=f(t)\text{.}\) o avoid writing a lengthy name over and over again, I’ll write SOCCLDE for a second order constant coefficient linear differential equation. Note that though the coefficients of the linear equation are constant, the function in the non-homogenous equation, \(f(t)\text{,}\) does not need to be a constant.
Second order constant coefficient linear differential equations, even with their very restricted form, are quite important for applied mathematics. They give models to understand both harmonic motion and alternating current electric curcuits, among other applications. I’m going to start with harmonic motion and use that application to explain and motivate the those theory of SOCCLDEs. Harmonic motion (in one dimension) can describe a variety of phenomena: an object attached to a spring, a pendulum or swing, a shock in a bicycle or car, a string on a musical instrument, the sway of structures in wind, a trampoline, a drum, etc.

Subsection 3.1.1 Harmonic Motion

I want to consider a system with one dimension of movement described by a function \(y(t)\) (in the following, usually just written \(y\)). In harmonic motion, the system has some rest state where there are no forces; by convention, the rest state will always be at \(y=0\) and will be a steady state of the system. If the system is disturbed from its rest, there is an elastic force that wants to return the system to its rest state. Hooke’s Law gives the elastic for: \(F = -ky(t)\text{.}\) Then, using Newton’s first law, I can write this force as \(F = ma = m \frac{d^2 y}{dt^2}\text{.}\) Equating these two expressions for the elastic force produces a differential equation.
\begin{align*} F \amp = -k y\\ F \amp = ma = m \frac{d^2 y}{dt^2} \\ -ky \amp = m \frac{d^2 y}{dt^2} \\ m\frac{d^2 y}{dt^2} + k y \amp = 0 \end{align*}
This is homogeneous SOCCLDE with \(a=m\text{,}\) \(b=0\) and \(c=k\text{.}\) If there are no other forces involved, this is the simplest possible situation for harmomic motion and there are two solutions.
\begin{align*} y_1(t) \amp = \sin \left( \sqrt{\frac{k}{m}} t \right) \\ y_2(t) \amp = \cos \left( \sqrt{\frac{k}{m}} t \right) \end{align*}
Since I know these two homogeneous solution, I can use superposition to produce a general solution by taking any linear combination of these two solutions. For any two numbers \(A,B \in \RR\text{,}\) this is the general solution:
\begin{equation*} y(t) = A \sin \left( \sqrt{\frac{k}{m}} t \right) + B \cos \left( \sqrt{\frac{k}{m}} t \right)\text{.} \end{equation*}
As an aside: if I want, If a sine and cosine function share the same period, I can express the sums of the two trig functions as a single way. There is a relatively obscure but useful trig identity that show how to accomplish this.
This identity shows me that combinations of sine and cosine, at least when they share a period, are still just a single sinusoidal wve wave. This is very useful for the general solution to simple harmonic motion: even the linear combination will still produce the expected behaviour of sinusoidal oscillations.
Hooke’s Law is the starting point for understanding harmonic motion. However, these SOCCLDEs have no \(b\) term. I should wonder: what could \(b\) be? This \(b\) is a coefficient of the first derivative, the velocity of the system. Velocity causes friction in the system, and the greater the velocity the greater the friction. Hooke’s law was an idealization which ignored friction; by adding in a non-zero \(b\) coefficient, I account for friction in the harmonic system. Again, I will set up Hooke’s law as a force quation using Newton’s laws of motion, but now include a friction term.
\begin{align*} F \amp = -k y - b \frac{dy}{dt}\\ F \amp = m \frac{d^2 y}{dt^2} \\ m \frac{d^2 y}{dt^2} \amp = -k y - b \frac{dy}{dt}\\ m\frac{d^2 y}{dt^2} + b \frac{dy}{dt} + k y \amp = 0 \end{align*}
Harmonic systems with friction are called damped harmonic systems; systems without friction are undamped. The solution to the undamped system was never ending sinusoidal oscillation. This makes sense from the perspective of conservation of energy: without friction to remove energy from the system, the oscillations will continue for ever. Frication removes energy, so I that friction should cause the oscillations to eventually slow down. I expect the solutions to show decay in the amplitude of the sine wave.
Having used friction to interpret the constant \(b\text{,}\) the only piece that remains to interpret is the function \(f(t)\) in a non-homogeneous SOCCLDe. In the harmonic motion intepretation so far, all these terms in the equation are terms of force. If the equation is to make any sense, \(f(t)\) must also be a force. However, \(f(t)\) doesn’t directly relate to the position at all: the dependent variable \(y\) doesn’t show up. Therefore, \(f(t)\) must be a force which is not dependent on the current position, velocity or acceleration of the system. The only option is an external form on the system. In this way, homogenous equations represent a system free of external forces and non-homogeneous equations represent a system under the influence of an external force.

Subsection 3.1.2 Alternating Current Circuits

Before moving on to actual solution techinques, I want to talk about the second major interpretations of SOCCLDEs: alternating current circuits. The DE that will result is exactly the same as that for harmonic motion, but the interpretation of each of the coefficients is quite different. Instead of a position function \(y(t)\text{,}\) the system describes a charge function \(q(t)\text{;}\) the movement of that charge will be the alternating current. In this system, there are four components to a circuit: resistors, capacitors, inductors and an external electro-motive force. Let me describe these each in turn.
  • Resistors allow for energy leaving the system and they represent the resistance to energy flow. The resistance is written \(R\) and measured in ohms. It acts like friction in the mechanical system in that it wants to slow down the flow of current. Resistance will result in a decrease in current over time, if there is no external forcing. Resistors represent the devices powered by the circuit, whatever those devices are. As the parallel of friction, resistance should show up as the coefficient of \(\frac{dq}{dt}\text{.}\)
  • Capacitors are storage devices for electrical energy in electric fields. They have a measurement \(c\) called capacitance, which has units of farads (coloumbs per volt). They stabilize alternating current flow; as such, they can be see as controlling the natural way in which current flows. Thise idea (up to a reciprocal) aligns with the idea of spring constant, which represented the stiffness of the spring and controlled the natural behaviour of the harmonic system (before friction and external forces). As the analogue of the spring constant, capacitance should show up as the coefficient of \(q(t)\text{.}\)
  • Inductors are storage devices for electrical energy in a magnetic field. They have a measurement \(L\) called inductance, which has units of henrys. Inductors block alternating current; as such, they represent the difficulty of moving charge through the system. In the harmonic system, the difficulty of moving the object was its mass (indeed, a simple definition of mass is a measure of how difficult it is to move an object). As the analogue of the mass, inductance should show up as the coefficient of \(\frac{d^2 q}{dt^2}\)
  • Electromotive forces are external forces to the system, from batteries or generators. They are written \(E(t)\) and have units of volts. Like the forces that add movement to a harmonic system, these electromotive forces add charge to a circuit. Matching up most directly with the harmonic system, the electromotive force should be the non-homogeneous function in a non-homogeneous DE.
  • To give a complete account of the units, charge is written \(q\) and measured in coloumbs. The movement of charge is current, represented by the derivative \(\frac{dq}{dt}\text{.}\) The SOCCLDE that models an alternating current is
    \begin{equation*} L \frac{d^2 q}{dt^2} + R \frac{dq}{dt} + \frac{1}{c} q = E(t)\text{.} \end{equation*}
    If there is no resistance and no electromotive force, the solution is sinusoidal oscillation as before (hence alternating current). Under resistance, where there is energy leaving the system, I expect damped oscillations.
The parallel of harmonic motion/alternating currents is a great example of a common occurence in applied mathematics and the study of differential equations: the same differential equation can describe a variety of seemingly unrelated systems. I find it quite fascinating to think of alternating currents as an electro-magnetic analogue of springs. Since alternating current is so ubiquitous in the world, this mental model of what is going on with electricity gives me a handle on the strange system of power plants, wires, and devices that affect so much of my life.

Subsection 3.1.3 Solving SOCCLDEs

Now that I have described the two most important interpretations, I need to move on to actually solving SOCCLDEs. I’ll make heavy use of the differential operator notation, so let me remind you of the general form of the second order constant coefficient operator.
\begin{equation*} L = a \frac{d^2}{dt^2} + b \frac{d}{dt} + c\text{.} \end{equation*}
Then the DE that I am trying to solve is
\begin{equation*} Ly = f(t) \end{equation*}
for some (probably continuous) \(f(t)\text{.}\) How do I even start? One common strategy in DEs is to look at easier but similar equations and see if the type of solutions from the easier case can extend. The easier case, here, is first-order linear equations. In particular, the homogeneous constant-coefficient first order case, \(\frac{dy}{dt} = \alpha y\text{,}\) is just the standard percentage growth equation. The solution is an exponential function \(y = e^{\alpha t}\text{.}\) Therefore, I’m going to guess that exponential functions might also solve the second-order case, at least for homogeneous equations. I will simply assume that the solution to \(Ly =0\) has the form \(y = e^{r t}\) for some \(r \in \RR\text{.}\) If there is such a solution, what must \(r\) be? To find out, I’ll put the assumed formed into the DE and investigate. This is also a common strategy for DEs: assume (hopefully with some justification) that the solution must have a particular form, then put that form into the differential equation and see what the details must be.
I’ll calculate the derivative of the proposed solution so that I can calculate the action of the differential operator.
\begin{align*} \frac{d}{dt} e^{r t} \amp = r e^{r t}\\ \frac{d^2}{dt^2} e^{r t} \amp = r^2 e^{r t}\\ L e^{r t} \amp = a r^2 e^{rt} + br e^{rt} + ce^{rt} = e^{rt} (ar^2 + br + c) \end{align*}
If \(Ly = 0\text{,}\) then the differential equation equation is only satisfied if \(ar^2 + br + c = 0\text{,}\) since \(e^{rt}\) is not the constant zero function. This is an accomplishment: I’ve turned a differential equation into an algebraic equation.

Definition 3.1.5.

This equation is called the characteristic equation of the SOCCLDE.
The characteristic equation has two roots (with a possible repeated root).
\begin{equation*} r = \frac{-b \pm \sqrt{b^2-4ac}}{2a} \end{equation*}
Recall that the term \(b^2 -4ac\) in a quadratic is called the discriminant; the sign of the discriminat controls the roots of the quadratic. There are three cases.
  1. \(b^2 -4ac > 0 \implies\) two real roots.
  2. \(b^2 -4ac = 0 \implies\) one real repeated root.
  3. \(b^2 -4ac \lt 0 \implies\) two complex roots. This is one of the few places where I will need the material from Section 1.5.

Subsection 3.1.4 Case 1: Two Real Roots

In this case, the solutions are real exponential functions \(e^{r_1 t}\) and \(e^{r_2 t}\text{.}\) Since the roots are distinct, these are linearly independent solutions (neither exponential function is a multiple of the other). I can simply check that they satisfy the DE.
\begin{equation*} L e^{rt} = e^{rt} ( ar^2 + br+ c) = 0 \end{equation*}
Since I expect two linearly indepedent solutions to a linear equation, the are no other solutions. The general solution is a superposition (linear combination) of the two solutions.
\begin{equation*} y= Ae^{r_1 t} + Be^{r_2t} \end{equation*}
The behaviour is exponential growth or decay, depending on whether \(r_1\) and \(r_2\) are positive or negative.
Let me return to harmonic motion. In a harmonic system, the spring constnat \(k\text{,}\) the coefficient of friction \(b\) and the mass \(m\) are all positive numbers: all the constant coefficients in the DE are positive. Looking at the general form of the characteristic equation again, if \(a\text{,}\) \(b\) and \(c\) are positive, I can determine the sign of the roots. In the solution given by the quadratic forumla
\begin{equation*} \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \end{equation*}
since the discriminant is positive, I can make the following calculation.
\begin{equation*} \sqrt{b^2 - 4ac} \leq \sqrt{b^2} = b \end{equation*}
The numerator of the fraction is obviously negative if I choose negative for the \(\pm\text{.}\) However, if I choose positive, then the term I am adding to \(-b\text{,}\) by the above inequatliy, is less than \(b\text{;}\) I am not adding enough to make the numerator positive. Therefore, in both cases, the numerator is negative. The denominator is \(2a\) and I assumed all the coefficients were positive, so the whole fraction must be negative. Therefore, for harmonic motion (and equivalently for alternating circuit), if there are real roots, they must be negative. This implies that both solutions are exponential decay. This means that the harmonic system will decay to equilibrium with no oscillations. The discriminant condition is \(b^2 > 4ac\) and recall that \(b\) was the coefficient of friction. The case of two real roots only happens if \(b\) is large enough (larger than \(4ac\)). Exponential decay is the behaviour that results from a surplus of friction. There is too much friction even to have oscillations: the system only displays exponential decay to equilibrium. These situations are called overdamped harmonic systems.

Example 3.1.6.

I’ll start with a simple example.
\begin{equation*} y^{\prime\prime} - y = 0 \end{equation*}
The characteristic equation is is \(r^2 -1=0\) which has roots \(r = \pm 1\text{.}\) The solutions are \(y=e^t\) and \(y=e^{-t}\text{.}\) The general solution is \(y=Ae^t + Be^{-t}\text{.}\) Initial conditions of \(y(0) = 1\) and \(y^\prime(0) = 0\text{,}\) produce a system of two equations for \(A\) and \(B\text{,}\) (Since there are two unknowns in the general form, two initial conditions are required for a specific solution.) In this case, the system is \(A+B=1\) and \(A-B=0\text{,}\) which is solved by \(A = B = \frac{1}{2}\text{.}\) The final solution is \(\frac{1}{2} e^t + \frac{1}{2} e^{-t}\text{.}\) This is just the exponential definition of \(\cosh t\text{!}\) Indeed, I could have prediced this solution if I tried to interpret the original DE. What does this DE ask? It asks: what function returns to itself after two derivatives? The hyperbolic functions are the unique functions that have this behaviour, so they must be the solutions to this DE. (Hyperbolic sine is also a solution for a different set of initial condition.)
I could have made different choices for the initial linearly independent solutions by taking \(y_1 = \cosh t\) and \(y_2 = \sinh t\text{.}\) The linearily independent solutions are not unique. This can be expressed nicely in linear algebra language. The solution space for this DE is the span of two functions. Such a solution space may have many bases: many choices of two functions which span the space. The set \(\{e^t, e^{-t}\}\) is one basis for the solution space. The set \(\{\cosh t, \sinh t\}\) is another basis for the solution space.

Subsection 3.1.5 Case 2: Repeated Real Roots

If the characteristic equation factors as \((r-\alpha)^2\text{,}\) then \(r\) is a repeated real root (with value \(\frac{-b}{2a}\)). The result is only one exponential solution: \(e^{rt}\text{.}\) This is a problem, since I expect two linearly independent solutions.
The solution to this problem is a bit strange, but turns out to be a common trick for linear equations: multiply by the independent variable. The second solution is \(te^{rt}\text{.}\) I can demonstrate that this work by puting \(t e^{rt}\) into the DE, simply verifying that it is a solution. (The fact that \(r = \frac{-b}{2a}\) is necessary here; I use it in the second last line of the algebra.)
\begin{align*} y \amp = te^{rt}\\ y^\prime \amp = rte^{rt} + e^{rt}\\ y^{\prime\prime} \amp = r^2 t e^{rt} + 2re^{rt}\\ a y^{\prime\prime} + a y^\prime + yc \amp = a (r^2 t e^{rt} + 2 re^{rt}) + b (rte^{rt} + e^{rt} ) + cte^{rt}\\ \amp = e^{rt} (ar^2 t + 2ar + brt + b + ct )\\ \amp = e^{rt} ( t(ar^2 + br + c) + 2ar + b)\\ \amp = e^{rt} ( t \cdot 0 + 2a \frac{-b}{2a} + b ) = 0 \end{align*}
(Now there are two linearly indepedent solutions: \(y_1 = e^{rt}\) and \(y_2 = te^{rt}\text{.}\) I already understand the first, since it is similar to the case of two distinct real roots. For harmonic systems where the coefficients are all positive, , \(r - \frac{-b}{2a} \lt 0\text{.}\) Therefore, as before, the first solution is exponential decay. The second solution is also exponential decay, since asymptotically the \(e^{-rt}\) dominates over \(t\text{.}\) However, it allows for one oscillation before decay.
The situation of repeated roots happens when \(b^2 = 4ac\text{,}\) so that the \(\pm\) disappears from the solutions to the quadratic. For harmonic systems, this only happens if the friction is exactly \(b = \sqrt{4ac}\) (since this leads to \(b^2 - 4ac = 0\text{.}\) This is the exact friction that allows for this one oscillation before exponential decay. These systems are called critically damped. This is the tipping point for friction: there is exactly enough friction to result in exponential decay.

Example 3.1.7.

\begin{equation*} y^{\prime\prime} -2y^\prime + y = 0 \end{equation*}
The characteristic equation is \(r^2 = 2r + 1 = (r-1)^2\text{.}\) The solutions are \(y = e^t\) and \(y=te^t\text{,}\) so the general solution is \(y= Ae^t + Bte^t\text{.}\) If \(y(0) = 1\) and \(y^\prime(0) = 0\text{,}\) if I substitute the initial values and solve the associated system, I can calculate that \(A=1\) and \(B=-1\) for a specific solution of \(e^t - te^t\text{.}\)

Subsection 3.1.6 Case 3: Complex Roots

The roots are complex numbers when \(b^2 - 4ac \lt 0\text{.}\) Here is where I need a little bit of arithmetic for complex numbers to understand the solutions (as well as the use of Euler’s formula). I can factor \(\imath\) out of the square root to get a real root.
\begin{equation*} r = \frac{-b \pm \sqrt{b^2-4ac}}{2a} = \frac{-b}{2a} \pm \imath \frac{\sqrt{4ac-b^2}}{2a} \end{equation*}
The roots are a pair of complex numbers \(x \pm y \imath\) with the real part \(x = \frac{-b}{2a}\) and imaginary part \(y = \frac{ \sqrt{4ac-b^2}}{2a}\text{.}\) They are a conjugate pair (each is the conjugate of the other). This is expected behaviour: the complex roots to a real quadratic always come as a conjugate pair. To write this more succinctly, I’ll define two new constants.
\begin{align*} \amp \alpha = \frac{-b}{2a} \amp \amp \beta = \frac{\sqrt{4ac-b^2}}{2a} \end{align*}
Then the complex roots are described via these constants: \(\alpha \pm \imath \beta\text{.}\) The solutions to the DE are
\begin{equation*} e^{(\alpha \pm \imath \beta)t} = e^{\alpha t} e^{\pm \imath \beta t}\text{.} \end{equation*}
What do these complex functions means? The \(e^{\alpha t}\) term is fine, it is just a real exponential. The complex exponential is understood through Euler’s formula (Proposition 1.5.4 in Section 1.5).
\begin{equation*} e^{\alpha t} e^{\pm \imath \beta t} = e^{\alpha t} ( \cos (\beta t) \pm \imath \sin (\beta t)) \end{equation*}
These solutions are still problematic because they involve complex numbers. I am trying to solve a real system with real coefficient and I want real solutions. To find them, I need to take clever linear combinations (over \(\CC\text{!}\)) of the two solutions.
\begin{align*} \frac{1}{2} e^{\alpha t}(\cos \beta t + \imath \sin \beta t) + \frac{1}{2} e^{\alpha t}(\cos \beta t - \imath \sin \beta t) \amp = e^{\alpha t} \cos \beta t\\ \frac{1}{2\imath } e^{\alpha t}(\cos \beta t + \imath \sin \beta t) - \frac{1}{2\imath} e^{\alpha t}(\cos \beta t - \imath \sin \beta t) \amp = e^{\alpha t} \sin \beta \end{align*}
On the basis of these linear combinations, I conclude that the following two functions are the linearly independent real solutions.
\begin{align*} \amp y_1 = e^{\alpha t} \sin \beta t \amp \amp y_2 = e^{\alpha t} \cos \beta t \end{align*}
The general, real-valued solutions are linear combinations of the two linearly independent solutions.
\begin{equation*} y = A e^{\alpha t} \sin \beta t + B e^{\alpha t} \cos \beta t \end{equation*}
The complex numbers, via Euler’s formula, product sine and cosine instead of exponential growth or decay. In a harmonic system, this behaviour happens when \(b^2 \lt 4ac\text{,}\) that is, when friction is small enough. If there is some friction, but not too much, harmonic systems have the oscillations that we expect. The real exponential term will be decay (\(\alpha \lt 0\) in harmonic systems since all the coefficient are positive). The total result is oscillations with exponentially declining amplitude. Such harmonic systems are called underdamped.

Example 3.1.8.

I’ll go back to the very first example of simple, frictionless harmonic motion.
\begin{equation*} y^{\prime \prime} + y = 0 \end{equation*}
The characteristic equation is \(r^2 +1\) which has roots \(\pm \imath\text{.}\) Therefore \(\alpha = 0\) and \(\beta = 1\text{,}\) so the solutions are \(\cos t\) and \(\sin t\text{,}\) with the general solution of \(A \cos t + B \sin t\text{.}\) If \(y(0) = 1\) and \(y^\prime(0) = 0\text{,}\) substitution into the equation gives \(A=1\) and \(B=0\) for \(y = \cos t\) as the unique solution.

Example 3.1.9.

\begin{equation*} y^{\prime \prime} - 2y^\prime + 5y = 0 \end{equation*}
I write the characteristic equation.
\begin{equation*} r^2 + 2r + 5 = 0 \end{equation*}
I find the roots.
\begin{equation*} r = \frac{2}{2} \pm \frac{\sqrt{4-20}}{2} = 1 \pm \frac{\sqrt{-16}}{2} = 1 \pm \imath 2 \end{equation*}
I can identify the two pieces of the complex roots.
\begin{align*} \alpha \amp = 1 \amp \amp \beta = 2 \end{align*}
Then I can write the general solution.
\begin{equation*} y = A e^t \cos 2t + B e^t \sin 2t \end{equation*}
Now I’ll impose initial condition of \(y(0) = 4\) and \(y^\prime(0) = 6\text{.}\) If I put these into the general equation, I get a system of two linear equations. The solution of that system is \(A = 4\) and \(B = 1\text{,}\) which leads to a specific solution to the initial value problem.
\begin{equation*} y = 4e^t \cos 2t + e^t \sin 2t \end{equation*}

Example 3.1.10.

\begin{equation*} y^{\prime \prime} + 3y^\prime + 4y = 0 \end{equation*}
I write the characteristic equation.
\begin{equation*} r^2 + 3r + 4 = 0 \end{equation*}
I solve the characteristic equation.
\begin{equation*} r = \frac{-3}{2} \pm \frac{\sqrt{9-16}}{2} = \frac{-3}{2} \pm \frac{\sqrt{-7}}{2} = \frac{-3}{2} \pm \imath \sqrt{7} \end{equation*}
The two parts of the complex number are \(\alpha = \frac{-3}{2}\) and \(\beta = \sqrt{7}\text{.}\) This lets me write the general solution.
\begin{equation*} y = A e^{-\frac{3t}{2}} \cos \sqrt{7}t + B e^{-\frac{3t}{2}} \sin \sqrt{7}t \end{equation*}
If I am given initial conditions of \(y(0) = 2\) and \(y^\prime(0) = 2\text{,}\) then I can put those into the general form to get a system of two equations. The solution of the system is \(A = 2\) and \(B = \frac{5}{\sqrt{7}}\text{.}\) This gives a specific solution to the initial value problem.
\begin{equation*} y = 2e^{-\frac{3t}{2}} \cos \sqrt{7} t + \frac{5}{\sqrt{7}} e^{-\frac{3t}{2}} \sin \sqrt{7} t \end{equation*}