The only way to learn mathematics is to do mathematics, Paul Halmos.
Definition. A differential equation is an equation that involves one or more dependent variables, their derivatives with respect to one or more independent variables, and the independent variables themselves, e.g., $\frac{dy}{dx} = 3x +5y, y’ + y = 4xcos(2x), \frac{dy}{dx} = x^2y+y, etc.$
It involves (e.g., $\frac{dy}{dx} = 3x +5y$):
Definition. A first-order linear ordinary differential equation is an ordinary differential equation (ODE) involving an unknown function y(x), its first derivative y′, and functions of the independent variable x, which can be written in the general form:: a(x)y' + b(x)y = c(x) where:
These equations are termed “linear” because the unknown function y and its derivative y’ appear to the first power and are not multiplied together or composed in any nonlinear way.
If the function c(x)=0 for all x in the interval of interest, the equation simplifies to: a(x)y’ + b(x)y = 0. Such an equation is called a homogeneous linear differential equation.
The Existence and Uniqueness Theorem provides crucial insight into the behavior of solutions to first-order differential equations ODEs. It states that if:
Then, the differential equation y' = f(x, y) has a unique solution to the initial value problem through the point (x0, y0), meaning that it satisfies the initial condition y(x0) = y0.
This theorem ensures that under these conditions, the solution exists and is unique near x = x0.
A second-order linear homogeneous differential equation ODE with constant coefficients is a differential equation of the form: y'' + Ay' + By = 0, where A and B are constants.
To solve this ODE, we seek two linearly independent solutions y1(t) and y2(t). The general solution is then a linear combination of these solutions: $c_1y_1 + c_2y_2$ where c1 and c2 are two arbitrary constants determined by initial conditions. The key to solving the ODE is the characteristic equation, whose roots determine the behavior of the solutions.
A first-order linear inhomogeneous differential equation is an equation of the form: y’ + ky = q(t). Our goal is to solve this differential equation and understand how it relates to the general theorem on solving inhomogeneous linear differential equations, particularly in terms of finding the complementary and particular solutions.
We start with the first-order linear inhomogeneous differential equation: y’ + ky = q(t) where:
Step 1: Solving the Homogeneous Equation
The homogeneous equation corresponding to the given differential equation is obtained by setting the inhomogeneous term q(t) = 0: y’ + ky = 0. This equation describes the system’s behavior without any external forcing.
Solving the Homogeneous Equation. y’ + ky = 0 ↭ $\frac{dy}{dt} = -ky$ ⇒[To solve this, we separate variables:] $\frac{dy}{y}=-kdt$⇒[Integrating both sides:] $\int \frac{dy}{y} = \int -kdt$ ↭ ln|y| = -kt + C’ where C’ is the constant of integration.
Exponentiating both sides: |y| = eC’e-kt = C’’e-kt where C’’ = eC’ ↭ y = ±C’’e-kt = Ce-kt where C = ± C’’ (which can be any nonzero real constant). Thus, the complementary solution is: yc = Ce-kt and C is an arbitrary constant determined by initial conditions.
Step 2: Solving the Inhomogeneous Equation
To find a particular solution yp to the inhomogeneous equation: y’ + ky = q(t), we can use the method of integrating factors.
We multiply both sides of the equation by the integrating factor μ(t) = $e^{\int kdt} = e^{kt}$: ekt·y’ + ekt·ky = ekt·q(t)
This simplifies the left-hand side to: $\frac{d}{dt}(e^{kt}·y)=e^{kt}q(t)$.
Now, integrate both sides with respect to t: $e^{kt}·y = \int e^{kt}q(t)dt$.
Thus, the particular solution is: yp(t) = $e^{-kt}\int e^{kt}q(t)dt$
Step 3: Writing the General Solution
The general solution to the linear inhomogeneous differential equation of the form is the sum of the complementary and particular solution: y = yp + yc where:
y(t) = yp + yc = $e^{-kt}\int e^{kt}q(t)dt + Ce^{-kt}$
This aligns with the general theorem on solving linear inhomogeneous differential equations, which states that:
According to the theorem on linear inhomogeneous equations, the general solution consists of:
The total solution is a sum of the particular and complementary solutions, just as the theorem suggests. y(t) = yp + yc = $e^{-kt}\int e^{kt}q(t)dt + Ce^{-kt}$
Behaviour as t → ∞. Understanding the long-term behavior of the solution helps in interpreting the physical implications.
Case 1. When k > 0, the term $Ce^{-kt}$, representing the complementary solution (or transient part), decays to zero as t → ∞, $\lim_{t \to ∞}y_c(t) = \lim_{t \to ∞}Ce^{-kt} = 0$. The solution y(t) approaches the particular solution yp(t), representing a steady-state, which depends on q(t). This reflects the physical idea that over time, the system stabilizes and the transient effects (due to initial conditions) disappear or diminish.
Case 2. When k < 0, the term $Ce^{-kt}$ in the complementary solution grows exponentially as t → ∞ (since -kt becomes positive) $\lim_{t \to ∞}y_c(t) = \lim_{t \to ∞}Ce^{-kt} = ∞$ (if C > 0), causing the solution y(t) to grow without bound and making the above analysis irrelevant as the exponentially growing complementary solution (transient part) dominates, making the particular solution yp(t) negligible in comparison. Physically, the system exhibits unbounded growth or instability. The external forcing q(t) has little effect on the long-term behavior.
Step 1: Solve the Homogeneous Equation. The homogeneous equation is obtained by setting the right-hand side to zero: y’ + 2y = 0.
Separate Variables: $\frac{dy}{dt} = -2y ⇒ \frac{dy}{y} = -2dt$
Integrate both sides: $\int \frac{dy}{y} = \int-2dt ⇒ ln|y| = -2t + C'$
Solve for y: $|y| = e^{-2t+C’} = C’’e^{-2t}$ where C’’ = eC’. $y = ± C’’e^{-2t} = Ce^{-2t}$ where C = ±C’’(an arbitrary constant).
Complementary Solution: $y_c(t) = Ce^{-2t}$
Step 2: Find a Particular Solution
We will use the method of integrating factors to find a particular solution yp(t).
Compute the Integrating Factor: $μ(t) = e^{\int 2dt} = e^{2t}$
Multiply Both Sides: $e^{2t}y’ + 2e^{2t}y = e^{2t}e^{3t}$
Simplify Left-Hand Side: $\frac{d}{dt}(e^{2t}y) = e^{5t}$
Integrate both sides: $e^{2t}y = \int e^{5t}dt + C ↭ e^{2t}y = \frac{1}{5}e^{5t} + C$
Solve for yp(t). Ignoring the constant C (it will be accounted for in the complementary solution): yp(t) = $e^{-2t}\frac{1}{5}e^{5t} = \frac{1}{5}e^{3t}$
Step 3: Write the General Solution
y(t) = yc(t) + yp(t) = $Ce^{-2t} + \frac{1}{5}e^{3t}$
Step 4: Analysis of the solution
Step 1: Solve the Homogeneous Equation. Write the Homogeneous Equation: y’ + 2ty = 0.
Separate Variables: $\frac{dy}{dt} = -2ty ⇒ \frac{dy}{y} = -2tdt$
Integrate both sides: $\int \frac{dy}{y} = \int-2tdt ⇒ ln|y| = -t^2 + C'$
Solve for y: $|y| = e^{-t^2+C’} = C’’e^{-t^2}$ where C’’ = eC’. $y = ± C’’e^{-t^2} = Ce^{-t^2}$ where C = ±C’'.
Complementary Solution: $y_c(t) = Ce^{-t^2}$
Step 2: Find a Particular Solution. We will use the method of integrating factors.
Compute the Integrating Factor: $μ(t) = e^{\int 2tdt} = e^{t^2}$
Multiply Both Sides: $e^{-t^2}y’ + 2e^{-t^2}y = e^{t^2}4t$
Simplify Left-Hand Side: $\frac{d}{dt}(e^{t^2}·y) = e^{t^2}4t$
Integrate both sides: $e^{2t}y = \int 4te^{t^2}dt + C ↭ e^{t^2}y = 2e^{t^2} + C$
Let u = t2 ⇒ du = 2tdt, $tdt = \frac{du}{2}, \int 4te^{t^2}dt = \int 4·\frac{du}{2}·e^u = \int 2e^udu = 2e^u + C = 2e^{t^2} + C$
Solve for yp(t). Ignoring the constant C (it will be accounted for in the complementary solution). Subtract $2e^{t^2}$ from both sides $(e^{t^2}y -2e^{t^2}) = C ↭ e^{t^2}(y-2) = C ↭[\text{Divide both sides by } e^{t^2}] y - 2 = C·e^{-t^2}↭ y = 2 + C·e^{-t^2}$. Since $C·e^{-t^2}$ is already part of the complementary solution, we can set C = 0 and take as the particular solution: yp(t) = 2.
Step 3: Write the General Solution
y(t) = yc(t) + yp(t) = $C·e^{-t^2} + 2$ where C is a constant determined by initial or boundary conditions.
Step 4. Analysis of the Solution
We are exploring the stability of solutions to second-order linear differential equation with constant coefficients 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 or exhibit unbounded growth or sustained oscillations.
The general solution to the inhomogeneous differential equation consists of two parts:
Therefore, the general solution is: y = yp + yc = yp + c1y1 + c2y2 where:
To analyze stability, we focus on the complementary solution yc(t) because it determines how the system responds over time without external forcing.
Solving the Homogeneous Equation
To find the complementary solution yc(t), we solve the homogeneous equation: y′′ +Ay’ +By = 0.
Assuming a solution of the form y(t) = ert, where r is a constant, we substitute into the homogeneous equation and gives us the characteristic equation: $r^2e^{rt}+ Are^{rt} + Be^{rt} = 0↭ [\text{Dividing by } e^{rt} ≠ 0] r^2 + Ar + B = 0$.
The roots of this quadratic equation, denoted as r1, r2, or simply r, 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:
Where:
Characteristic roots | Solutions | Stability Condition |
---|---|---|
r₁ ≠ r₂ (distinct real roots) | C₁e^{r₁t}+C₂e^{r₂t} | r₁< 0, r₂< 0 |
r = r₁ = r₂ (repeated real root) | (C₁+C₂t)e^{rt} | r< 0 |
r = a ± bi (complex roots) | e^{at}(C₁cos(bt)+C₂sin(bt)) | a < 0 |
In this context, stability refers to the behavior of the complementary solution yc(t) as time t approaches infinity (t→ ∞). Specifically, we are interested in the question: When does the term c1y1 + c2y2 goes to zero as t goes to infinity (t→ ∞) ∀c1, c2 (for any values of c1 and c2)?↭$\lim_{t \to ∞}y_c(t) = 0~ ∀c_1,c_2$.
Distinct real roots r1 and r2. 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→∞, both exponential terms must tend to zero. This occurs if both roots r1 and r2 are negative. Therefore, the ODE is stable if both characteristic roots are negative.
If either root r1 > 0 or r2 > 0 is positive, the corresponding exponential term will grow exponentially, leading to an unstable solution.
Repeated real root r1 = r2 = r. When the characteristic equation has a repeated real root r1 = r2 = r, the complementary solution takes the form: $y_c = (C_1+C_2t)e^{rt}$.
In this case, the solution is stable if r < 0 because ert→ 0 (decays exponentially) and the term t·ert also approaches zero. The polynomial term (c1 + c2t) 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 yc(t) = C1 + C2t, which does not decay to zero unless C1 = C2 = 0, so it’s unstable.
If r > 0, the exponential term grows exponentially, leading to instability.
Complex Roots r = α± βi. When the characteristic roots are complex, the complementary solution is of the form: $y_c(t) = e^{at}(C_1cos(bt)+C_2sin(bt))$. Here, the oscillatory terms cos(bt) and sin(bt) are multiplied by the exponential factor eat. The exponential term dictates the amplitude of the oscillations.
The behavior of the solution depends on the real part a. If a < 0, the exponential term eat 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 α = 0, the solution oscillates indefinitely without decaying, the amplitude remains constant, leading to sustained oscillations (this is a case of marginal stability).
If α > 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 dashpot) is: my’’ + by’ + ky = F(t) where: m: Mass; b: Damping coefficient (dashpot); k: Spring constant; F(t): External force.
Characteristic equation: mr2 + br + k = 0. The roots of the characteristic equation, r, determine the system’s behavior. We analyze the discriminant D = b2 -4mk.
Stability analysis:
In electrical circuits, stability implies that any fluctuations in voltage or current will eventually stabilize, and the circuit will reach a 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; 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) = ert, we substitute into the homogeneous equation: $Lq(r^2e^{rt}) + R(re^{rt}) + \frac{1}{C}e^{rt} = 0$. Divide both sides by ert.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