When you have eliminated the impossible, whatever remains, however improbable, must be the truth, Sherlock Holmes.
We are exploring the stability of solutions to second-order linear differential equation with constant coefficients which take the standard form:of the form: $y'' + Ay' + By = f(t)$ where:
Understanding the stability of such equations is crucial in various fields like mechanical engineering, electrical engineering, and physics, as it helps predict the long-term behavior of dynamic systems, determining whether they will settle into a steady state, exhibit sustained oscillations, or experience unbounded growth.
The general solution to an inhomogeneous differential equation consists of two distinct components:
Therefore, the general solution is the sum of both parts: $y(t) = y_p(t) + y_c(t) = y_p(t) + c_1y_1(t) + c_2y_2(t)$ where:
To analyze system stability, we focus entirely on the complementary solution $y_c(t)$ because it governs how the system behaves over time independent of ongoing external forces.
Solving the Homogeneous Equation
To find the complementary solution $y_c(t)$, we solve the homogeneous equation: $y'' + Ay' + By = 0$.
Assuming a solution of the form $y(t) = e^{rt}$, where r is a constant, we substitute this into the homogeneous equation and gives us the characteristic equation: $r^2e^{rt}+ Are^{rt} + Be^{rt} = 0$.
Dividing by $e^{rt}$ (since an exponential function is never zero), we get the characteristic equation: $r^2 + Ar + B = 0$
The roots of this quadratic equation ($r_1$ and $r_2$) determine the form of the complementary solution. The behavior of the complementary solution and thus, the stability of the ODE depends on these roots.
Let’s examine the different types of characteristic roots and their corresponding solutions:
Distinct Real Roots ($r_1 \neq r_2$):$y_c(t) = c_1e^{r_1t} + c_2e^{r_2t}$. The solution is stable if both $r_1 < 0$ and $r_2 < 0$
Repeated Real Roots ($r = r_1 = r_2$): $y_c(t) = (c_1 + c_2t)e^{rt}$. The solution is stable if r < 0.
Complex Roots ($r = \alpha \pm \beta i$): $y_c(t) = ^{\alpha t}(c_1\cos(\beta t) + c_2\sin(\beta t))$. The solution is stable if $\alpha < 0$.
Where:
| Characteristic roots | Solutions | Stability Condition |
|---|---|---|
| ($r_1 \neq r_2$ (distinct real roots) | $y_c(t) = c_1e^{r_1t} + c_2e^{r_2t}$ | $r_1 < 0$ and $r_2 < 0$ |
| $r = r_1 = r_2$ (repeated real root) | $(c_1 + c_2t)e^{rt}$ | $r < 0$ |
| $r = \alpha \pm \beta i$ (complex roots) | $e^{\alpha t}(c_1\cos(\beta t) + c_2\sin(\beta t))$ | $\alpha < 0$ |
In this context, stability refers to the behavior of the complementary solution $y_c(t)$ as time t approaches infinity ($t \to \infty$). Specifically, we want to know if the expression $c_1y_1 + c_2y_2$ vanishes over time for any initial conditions.
Core Rule of Thumb: The second-order system $y'' + Ay' + By = f(t)$ is stable if and only if all characteristic roots have negative real parts.
Distinct real roots $r_1$ and $r_2$. The complementary solution for distinct real roots is: $y_c(t) = C_1e^{r_1t}+C_2e^{r_2t}$.
For the solution to decay exponentially to zero as $t \to \infty$, both exponential terms must tend to zero. This occurs if both roots $r_1$ and $r_2$ are negative. Therefore, the ODE is stable if both characteristic roots are negative.
If either root $r_1$ or $r_2$ is positive, the corresponding exponential term will grow exponentially, leading to an unstable solution.
Repeated real root $r_1 = r_2 = t$. When the characteristic equation has a repeated real root $r_1 = r_2 = t$, the complementary solution takes the form: $y_c(t) = (C_1+C_2t)e^{rt}$.
In this case, the solution is stable if r < 0 because $e^{rt} \to 0$ (decays exponentially). The polynomial term ($C_1+C_2t$) may grow with t, but since it’s multiplied by a decaying exponential, the overall solution still approaches zero.
If r = 0, the solution becomes $y_c(t) = (C_1+C_2t)$, which does not decay to zero unless $C_1 = C_2 = 0$, so it’s unstable, too.
If r > 0, the exponential term grows exponentially, leading to instability.
Complex Roots $r = \alpha \pm \beta i$. When the characteristic roots are complex, the complementary solution is of the form: $e^{\alpha t}(c_1\cos(\beta t) + c_2\sin(\beta t))$. Here, the oscillatory terms cos(bt) and sin(bt) are multiplied by the exponential factor $e^{\alpha t}$. The exponential term dictates the amplitude of the oscillations.
The behavior of the solution depends on the real part $\alpha$. If $\alpha \lt 0$, the exponential term $e^{\alpha t}$ decays, causing the oscillations to diminish over time, and the solution is stable.
The oscillatory terms cos(βt) and sin(βt) are bounded between −1 and 1, so the exponential term dictates the overall behavior.
If $\alpha = 0$, the solution oscillates indefinitely without decaying, the amplitude remains constant, leading to sustained oscillations (this is a case of marginal stability).
If $\alpha \gt 0$, the exponential term grows, the oscillations increase in amplitude, making the solution unstable.
To summarize, the second-order $y'' + Ay' + By = f(t)$ is stable if the characteristic roots have negative real parts.
In physical systems, understanding the concept of stability is crucial for predicting how physical systems behave over time. It refers to the system’s response to initial disturbances or external forces and whether the system returns to equilibrium or diverges as time progresses.
Physical systems often exhibit two primary behaviors in response to stimuli:
Stability means that any initial oscillations or displacements due to an external force or displacement will eventually die out, allowing the system to return to equilibrium. This happens when the damping force, represented by the dashpot (b), is sufficient to counteract the effects of any initial energy input, such as an external force or displacement.
An equation modeling a damped harmonic oscillator (e.g., a mass attached to a spring and a friction-inducing dashpot) is: $my'' + by' + ky = F(t)$ where: m: Mass; b: Damping coefficient (dashpot friction); k: Spring constant; F(t): External driving force.
The characteristic equation is $mr^2 + br + k = 0$. The roots of the characteristic equation, r, determine the system’s behavior. We analyze the discriminant$\Delta = b^2 - 4mk$.
Stability analysis:
In an electrical circuit, stability implies that initial voltage spikes or current surges will eventually fade, allowing the circuit to reach a safe, steady operating state. The stability of an electrical circuit is influenced by factors such as the nature of the circuit (e.g., resistive, inductive, or capacitive), the level of damping (e.g., due to resistors, inductors, or capacitors), and the operating conditions.
An RLC circuit is governed by: $Lq'' + Rq' + \frac{1}{C}q = E(t)$ where L: Inductance; R: Resistance (acts as electrical damping); C: Capacitance; q(t): Charge; E(t): External voltage source.
Consider the homogeneous equation (E(t) = 0): $Lq'' + Rq' + \frac{1}{C}q = 0$. Assuming a solution $q(t) = e^{rt}$, we substitute into the homogeneous equation: $L(r^2e^{rt}) + R(re^{rt}) + \frac{1}{C}e^{rt} = 0$. Divide both sides by $e^{rt}$. Characteristic Equation: $Lr^2 + Rr + \frac{1}{C} = 0$. Its roots determine the behaviour of the system, we analyze the discriminant: $D = R^2 -\frac{4L}{C}$:
Stability Analysis