45 Equilibrium and transient
Many of the natural and constructed objects and systems that we encounter—buildings, bridges, airplanes, the orbits of satellites, heating systems, birds in flight, and so on—are more fully understood if seen as dynamical systems. That may seem strange; a building does not move (we hope!), an airplane stays in steady flight, the seasons have been steady in their progression for as long as records have been kept. And yet … a building might be shaken and even destroyed by an earthquake, airplanes require pilots and control systems for steady flight. Even satellites in far Earth orbit can drift from their desired positions and attitudes and require control corrections.
A system is said to be in steady state when it stays put, unchanging. Another term often used to express such constancy is equilibrium which occurs when the various forces or processes acting on the system balance out. In the language of dynamical systems, the equilibrium state of a system is called a fixed point. Mathematically, this is a coordinate in the state space where all the right-hand sides of the differential equations equal zero. For a two-dimensional system with dynamics \[\partial_t x = f(x, y)\\\partial_t y = g(x,y)\ ,\] a fixed point will be a particular value for the state which we will write as \((x^\star, y^\star)\) where both \(f(x^\star, y^\star) = 0\) and \(g(x^\star, y^\star) = 0\).
An important vocabulary word in dynamics is transient. In everyday speech, this means something like “just passing through.” it is the same in dynamics: that part of the trajectory which precedes stable, fixed behavior such as at a fixed point. Transients occur whenever a dynamical system has an initial state not on a stable, fixed state. They are also common in systems that are disrupted by some external force, for example in the recovery of an electrical power distribution grid after a disturbance such as an ice storm. After a sharp bang, the ringing in your ears is a transient. When you stand up too suddenly, the “stars” you see are a transient due to diminished blood flow. Turn on an oven? The transient is the warming up until the oven reaches the temperature setting.
Although transients are … Well, transient, they can be very important. Key to the Wright Brothers success was their recognition that air turbulence elicits transients in attitude and that aircraft need control systems that can work fast enough for the craft to survive the transient. If you have driven a car with a broken suspension, you will know that it can be hard to control after the transient caused by hitting a bump in the road.
Small disturbances often elicit transients that decay away exponentially. Such transients, like all exponentially decaying processes, can be characterized by a half life: the time it takes the transient to shrink to half its original value. (Not all transients decay exponentially, but that is a story for another course.)
In this chapter, we will study the quantitative response to dynamical systems with a fixed point when the state is perturbed by some outside force. Our focus will be on linear or linearized dynamical functions, which are generally an excellent description of dynamics near a fixed point.
45.1 One state variable
Linear systems with one state variable have simple dynamics: \[\partial_t y = k y\] which has a fixed point at \(y^\star = 0\). Even dynamics like \(\partial_t x = k x + b\) can be easily transformed into this simple form; the fixed point is \(x^\star = - b/a\) and defining \(y \equiv x - x^\star\) gives the \(\partial_t y = k y\) form.
The solution is also simple: \(y(t) = y_0\ e^{kt}\), where \(y_0\) is the initial condition on \(y\). If the parameter \(k < 0\), the dynamics are exponential decay to the fixed point. If \(0 < k\), the dynamics are exponential growth away from the fixed point.
45.2 Two state variables
If the state variables \(x\) and \(y\) are measured with respect to a fixed point, the differential equation of the linear or linearized system is: \[\begin{eqnarray} \partial_t x & = a x + b y\\ \partial_t y & = c x + d y\ .\\ \end{eqnarray}\]
Exponentials are an important form of ansatz for linear differential equations. To show why, let’s review the solution to \(\partial_t x = k x\), but assume that all we know is that the solution is an exponential function of time: \(x(t) = A e^{\lambda t}\) and that we don’t yet know the parameters \(A\) or \(\lambda\). As usual for an ansatz, we plug it into both sides of the differential equation, giving \[\partial_t A e^{\lambda t} = k A e^{\lambda t}\ \ \implies \lambda A e^{\lambda t} = k A e^{\lambda t}\ \ \implies \lambda = k\ .\] Now we know the value of \(\lambda\).
What about \(A\)? Evaluate the solution at \(t=0\). This gives \(x(0) = A e^{\lambda 0} = A\). So we know \(A\) is the initial condition \(x(0)\) (which we usually abbreviate \(x_0\)).
We will try the same approach with the two-state variable system, but we will start with a special case where some of the parameters \(a, b, c\), and \(d\) are zero.
\[\text{Simplification:}\ \ \ \ \ \begin{array}{l}\partial_t x = \cancel{ax} + b y\\\partial_t y =\ c x + \cancel{dy}\end{array}\ .\]
In the spirit of exponential ansatze, we might try \[x(t) \equiv C e^{\lambda_1 t} \ \ \text{and}\ \ \ y(t) \equiv D e^{\lambda_2 t}\ .\]
But this is unnecessary complexity. To see why plug the ansatze in to the first differential equation to get \[\lambda_1 C e^{\lambda_1 t} = b D e^{\lambda_2 t}\ .\] This can be true only if \(\lambda_1 \neq \lambda_2\) because exponentials with different half-lives cannot be proportional to one another.
If \(x(t)\) and \(y(t)\) are proportional to one another, then we hardly need to keep track of both. In fact, we need just one differential equation in \(x(t)\). To turn the system of differential equations into a single differential equation we will take the derivative with respect to time of both sides of the top equation, giving: \[\partial_{tt} x = b\, \partial_{t\ }y\\ \partial_{t\ } y = c\, x \] Substitute in the value for \(\partial_t y\) from the bottom equation to get a single, second-order differential equation: \[ \partial_{tt} x = b\, c\, x\ .\]
Plug in the usual ansatz, \(x(t) = A e^{\lambda t}\) to get \[\lambda^2 A e^{\lambda t} = b\,c\, A e^{\lambda t}\ \ \ \implies\ \ \ \ \lambda = \pm \sqrt{\strut b\,c}\] The \(\pm\) is the interesting part here. If, say, \(b=1\) and \(c=1\), there are two values for \(\lambda\) that will be consistent with the differential equation: \(\lambda_1 = 1\) and \(\lambda_2 = -1\). Either of these will produce a solution that satisfies the differential equation: \(x_1(t) = A e^{\lambda_1 t}\) or \(x_2(t) = B e^{\lambda_2 t}\). So which of the two possibilities is it?
Since everything about the differential equation is linear, any linear combination of the two possibilities will also satisfy the equation. So we can conclude that \[x(t) = A e^{\lambda_1 t} + B e^{\lambda_2 t}\ .\]
Since \(\lambda_2 = -1\), we know that the \(B e^{\lambda_2 t}\) component of the linear combination will decay to zero. That is, \(B e^{\lambda_2 t}\) is the transient part of the solution.
What are \(A\) and \(B\)? That depends on the initial condition. Evaluate both sides of the solution equation at \(t=0\) to get \[x(0) = A e^{\lambda_1 0}+ B e^{\lambda_2 t} = A + B\ .\] At this point, you need to look back at the original system of equations. There are two state variables \(x\) and \(y\) and therefore we need to specify two components of the initial condition. If \(x(0)\) is interpreted as the initial position, then following the example of the pendulum we can look to the velocity \(\partial_t x\) as the second component of the initial condition. From \(x(t)\) we can easily calculate the velocity: \[\partial_t x(t) = \lambda_1 A e^{\lambda_1 t} + \lambda_2 B e^{\lambda_2 t}\ .\] Again, evaluate this at \(t=0\) to get a second equation for the initial condition the pair \[\begin{array}{c}\partial_t x(0) = \lambda_1 A + \lambda_2 B\\x(0) = \ \ A \ \ + \ B\\\end{array}\ \ \ \ \implies\ \ \ \ \left[\begin{array}{c}\lambda_1 \ \ \ \ \ \lambda_2\\1 \ \ \ \ \ \ 1\end{array}\right] \left[\begin{array}{c}A\\ B\end{array}\right] = \left[\begin{array}{c}\partial_t x(0)\\ x(0)\end{array}\right] .\] From Block 5, we know how to solve such matrix equations. So, given the initial values \(x(0)\) and \(\partial_t x(0)\)—position and velocity—we can find an exact, quantitative solution to the differential equation.
The method we used to solve the simplified problem also works for the original problem \[\begin{array}{c}\partial_t x = ax + b y \\ \partial_t y = c x + dy\end{array}\ .\]
Step 1: Differentiate with respect to \(t\) both sides of the top equation, giving
\[\begin{array}{c}\partial_{tt} x = a\, \partial_t x + b\, \partial_t y\\ \ \ \ \partial_t y = c x \ \ \ \ \ \ \ + dy\ \ \ \ \ \ \ \ \end{array}\ .\] Step 2: Use the second equation to substitute for \(\partial_t\, y\) in the top equation, giving \[\partial_{tt} x = a \partial_t x + b\left(\strut c x + dy\right) = a\, \partial_t x + b\, c\, x + b\, d\, y\] Step 3: One more substitution. From the original top equation, we know \[y = \frac{\partial_t x - a x}{b}\ .\] Plug this in for \(y\) in the result from Step 2, giving \[\partial_{tt} x = a\, \partial_t x + b\, c\, x + b\, d\, \frac{\partial_t x - a x}{b} = \left(\strut a + d\right)\ \partial_t x + \left(\strut b c - a d\right)\] Step 4: Use the ansatz \(x(t) = e^{\lambda t}\). This produces \[\lambda^2 e^{\lambda t}= (a + d) \lambda e^{\lambda t}+ \left(\strut bc - ad\right)e^{\lambda t} \ \ \ \implies\ \ \ \lambda^2 = (a + d) \lambda + \left(\strut bc - ad\right)\] which can be solved for \(\lambda\): \[\lambda = \frac{1}{2}\left(a + d\right) \pm \frac{1}{2}\sqrt{\left(a - d\right)^2 - 4 b c}\] Again, the \(\pm\) is the interesting bit here. There are two simple solutions that satisfy the differential equation: \(x_1(t) = e^{\lambda_1 t}\) and \(x_2(t) = e^{\lambda_2 t}\). In addition, any linear combination \(A e^{\lambda_ t} + B e^{\lambda_2 t}\) of these simple solutions will satisfy the differential equations. Once we know \(\lambda_1\) and \(\lambda_2\), the situation is identical to the simplified version. Again, knowing the initial condition \(x(0)\) and \(\partial_t x(0)\) allows us to find the coefficients in the linear combination by solving the matrix equation \[\left[\begin{array}{c}\lambda_1 \ \ \ \lambda_2\\1 \ \ \ \ \ 1\end{array}\right] \left[\begin{array}{c}A\\ B\end{array}\right] = \left[\begin{array}{c}\partial_tx(0)\\ x(0)\end{array}\right] .\]