Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

6. Local Stability Analysis

Cinvestav Monterrey

Abstract

This chapter introduces the key concepts and methods involved in performing a stability analysis of steady states for nonlinear dynamical systems. Steady states, or fixed points, are defined as constant solutions to a differential equation that do not change over time. Their stability determines whether nearby solutions will converge or diverge from the steady state. While graphical analysis can assess stability in 1D, a more rigorous analytical approach is required for higher dimensions. The method developed is to linearize the nonlinear dynamics near a steady state, resulting in a linear approximation governing small perturbations from the fixed point. The stability criterion is then derived from the solution to this linearized system---a steady state will be stable only if perturbations decay over time, indicated by the slope of the original function being negative at that point. This technique allows classification of steady state stability across any system dimensionality using analytical mathematics.

Introduction

In the preceding chapters, we introduced basic linear population dynamics models and analyzed how their behavior evolves over time. However, more realistic representations often involve nonlinear differential equations. Attaining a rigorous global understanding of these models necessitates a formal stability analysis of their steady states. A steady state corresponds to a constant solution. For a population, this represents an equilibrium point at which birth and death rates precisely balance. Studying the stability of steady states allows for the classification of long-term dynamical behavior and the discernment of global dynamics arising from local perturbations.

Just as a balance at rest indicates equilibrium but imparts no insight into subsequent motion upon disturbance, steady states alone do not reveal dynamical fate. Their stability determines their attracting or repelling character, with implications for qualitative trajectories that may resemble balls inducted into concavities or convexities. Linearizing functions near steady states permits estimation of the evolution of small deviations, providing local qualitative forecasts. When stability analysis and linearization are combined, they provide qualitative understanding that exceeds model solutions, just as one may predict a ball’s motion from terrain alone despite transients obscuring endpoints. This chapter will introduce the tools to perform local stability analysis of 1-dimensional dynamical models.

Steady States

Consider the univariate ordinary differential equation:

dxdt=f(x),\frac{dx}{dt} = f(x),

wherein f(x)f(x) denotes an arbitrary smooth function. Steady states, or fixed points, for this differential equation represent unchanging constant solutions independent of time (tt).

Let x(t)=xx(t) = x^* represent a steady state. Its derivative with respect to time is null given its lack of time-dependence. Furthermore, by definition it must satisfy Eq. (1). Upon substitution, we obtain:

f(x)=0.f(x) = 0.

Accordingly, the steady states equate to the roots of function f(x)f(x). This provides a method for determining the fixed points of any first-order ordinary differential equation by resolving the relationship f(x)=0f(x^*)=0.

Assessment of Fixed Point Stability via Graphical Analysis

Consider the function f(x)f(x) depicted in Fig. Figure 1. Two roots, denoted x1x_1 and x2x_2, of the equation f(x)=0f(x)=0 are evident. Consequently, these locations define the steady states of the differential equation dx/dt=f(x)dx/dt=f(x).

Graphical depiction of the function f(x) with two roots. This figure illustrates the function f(x) which possesses two roots, denoted by x_1 and x_2. The slope of f(x) is positive in the vicinity of x_1, as depicted by the upward sloping tangent. In contrast, the slope is negative near x_2, as shown by the downward sloping tangent. These slope characteristics determine the qualitative behavior of solutions initialized proximate to the steady states. Specifically, red arrows indicate that perturbations tend to diverge from x_1 while converging towards x_2. Therefore, x_1 represents an unstable fixed point whereas x_2 denotes a stable steady state. This graphical analysis conveys how the slope’s sign at steady state locations qualifies their attracting or repelling nature.

Figure 1:Graphical depiction of the function f(x)f(x) with two roots. This figure illustrates the function f(x)f(x) which possesses two roots, denoted by x1x_1 and x2x_2. The slope of f(x)f(x) is positive in the vicinity of x1x_1, as depicted by the upward sloping tangent. In contrast, the slope is negative near x2x_2, as shown by the downward sloping tangent. These slope characteristics determine the qualitative behavior of solutions initialized proximate to the steady states. Specifically, red arrows indicate that perturbations tend to diverge from x1x_1 while converging towards x2x_2. Therefore, x1x_1 represents an unstable fixed point whereas x2x_2 denotes a stable steady state. This graphical analysis conveys how the slope’s sign at steady state locations qualifies their attracting or repelling nature.

Let us now analyze the stability of the fixed points. Consider x1x_1 and note the positive slope of f(x)f(x) at this location. A positive slope implies that for any initial condition marginally greater than x1x_1, the value of f(x)f(x) will be positive. Accordingly, this yields a positive rate of change for the value of xx. Thus, the solution will move in a progressively greater direction, distancing itself from x1x_1. Similarly, for any initial value slightly less than x1x_1, the slope is such that the rate of change of xx is negative. Consequently, the solution will decrease over time, drifting ever farther from x1x_1. From this analysis, we can see that x1x_1 is unstable as it repels nearby solutions over time.

In contrast, let us examine the stability of the other fixed point, x2x_2. At this location, the slope of f(x)f(x) is negative. Therefore, for any initial condition marginally greater than x2x_2, the value of f(x)f(x) will be negative. This implies the rate of change of xx will also be negative, causing the solution to decrease in value over time and move closer to x2x_2. Similarly, for initial values slightly less than x2x_2, the negative slope indicates the rate of change of xx is positive. Hence, the solution will increment in value, again tending towards x2x_2. We can thus deduce that perturbations from x2x_2 will be attracted back to this fixed point location over time. Consequently, x2x_2 is stable as it attracts solutions.

In summary, this graphical analysis demonstrates that the stability of a fixed point for the differential equation dx/dt=f(x)dx/dt=f(x) is determined solely by the sign of the slope of the function f(x)f(x) evaluated at that fixed point. A positive slope implies perturbations will move further away from the fixed point over time, characterizing it as unstable. In contrast, a negative slope signifies that perturbations will be attracted back to the fixed point location, marking it as stable.

Local Stability Analysis

While the preceding graphical approach provides useful qualitative insights into fixed point stability for univariate systems, it cannot not be readily generalized to higher dimensions. The graphic analysis relies on visualizing the slope of a scalar-valued function, which is only possible for one-dimensional models. However, real-world phenomena often evolve according to multidimensional dynamical systems that cannot be embedded in two-dimensional space for intuitive slope evaluation. Therefore, a more systematic technique is required that permits stability classification of fixed points for differential equations inhabiting abstract dimensionalities. In this section, we develop the method of local stability analysis through linearization. By approximating nonlinear dynamics near steady states via linear functions, this approach furnishes a quantitative framework to assess stability in any dimensional system. These analytical tools supersede qualitative geometric intuitions, instead providing mathematics directly applicable to complexity beyond what may be visualized.

Consider once more the differential equation:

dxdt=f(x).\frac{dx}{dt} = f(x).

We want to analyze the stability of a steady state value xx^*. To do this, we look at an arbitrary solution x(t)x(t) that starts out close to xx^*. For the steady state to be locally stable, we need to show that x(t)x(t) converges to xx^* as time goes to infinity:

limtx(t)=x\lim_{t\to\infty} x(t) = x^*

It’s helpful to define the “distance function” δx(t)\delta x(t):

δx(t)=x(t)x.\delta x(t) = x(t) - x^*.

This tells us how far x(t)x(t) is from the steady state xx^* at any time tt. For our analysis to work, δx(t)\delta x(t) needs to converge to zero as time passes. Hence, we can write the stability condition in terms of δx(t)\delta x(t) as:

limtδx(t)=0.\lim_{t\to\infty} \delta x(t) = 0.

In other words, for xx^* to be stable, any small perturbations need to disappear over long times.

We seek to derive the governing differential equation for the dynamics of δx(t)\delta x(t). It can be readily shown from its definition in Eq. (5) that:

dδx(t)dt=dx(t)dt.\frac{d\delta x(t)}{dt} = \frac{dx(t)}{dt}.

Substituting this expression and Eq. (5) into the original system dynamics in Eq. (3) yields:

dδxdt=f(x+δx).\frac{d\delta x}{dt} = f(x^* + \delta x).

Leveraging the assumption that δx\delta x is small relative to xx^*, we can approximate f(x+δx)f(x^* + \delta x) via a Taylor series expansion truncated after the first order term:

f(x+δx)f(x)+f(x)δx,f(x^* + \delta x) \approx f(x^*) + f'(x^*)\delta x,

where f(x)=df/dxx=xf'(x^*)=d f/d x|_{x=x^*}. Furthermore, since xx^* defines a steady state, f(x)=0f(x^*)=0. Thus, the differential equation for δx\delta x reduces to the following linear form:

dδxdt=f(x)δx.\frac{d\delta x}{dt} = f'(x^*)\delta x.

The solution to this equation takes the form

δx(t)=δx0ef(x)t,\delta x(t) = \delta x_0 e^{f'(x^*) t},

where δx0\delta x_0 denotes the initial perturbation from the steady state xx^*. It is evident from this last equation that a necessary condition for δx(t)\delta x(t) to asymptotically approach zero as tt\to\infty is that f(x)<0f'(x^*)<0. In other words, the steady state xx^* will only exhibit stable behavior if the slope of the function f(x)f(x) is negative when evaluated at x=xx=x^*. In summary, local stability is assured only if perturbations decay over time, which occurs solely when the linearized dynamics represented by f(x)f'(x^*) are negative.

Discussion

In this chapter, we introduced graphical methods and local stability analysis to determine the stability of steady states in univariate nonlinear systems. By linearizing near these states, we confirmed the stability criterion established graphically: a steady state is stable if and only if the derivative of the governing function is negative at that point. While graphical analysis is intuitive, linearization offers a systematic framework that generalizes to higher-dimensional systems where visual representation is impossible. This analytical approach allows us to quantify long-term behavior near equilibria for models of any complexity, providing a foundation for the multi-species and ecosystem models discussed in subsequent chapters.

Exercises

Find the steady states and characterize their stability for the following one-dimensional differential equations:

  1. Find of the fixed points of the following differential equations and classify their stability.

    1. x˙=2x6\dot{x} = 2 x - 6.

    2. x˙=x24\dot{x} = x^2 - 4.

    3. x˙=(x2)2\dot{x} = (x - 2)^2.

    4. x˙=x3+8x\dot{x} = -x^3 + 8x.

    5. x˙=x21\dot{x} = x^2 - 1.

    6. x˙=xcos(x)\dot{x} = x - \cos(x).

    7. x˙=5x225\dot{x} = 5x^2 - 25.

    8. x˙=exsin(x)\dot{x} = e^{-x} \sin(x).

    9. x˙=12cos(x)\dot{x} = 1 - 2 \cos(x).

    10. x˙=(x1)(2x)(x3)\dot{x} = (x-1)(2-x)(x-3).

    11. x˙=9x2\dot{x} = 9 - x^2.

    12. x˙=xln(x+12)\dot{x} = x \ln\left(\frac{x+1}{2}\right).

  2. For every one of the following assertions, find an equation of the form x˙=f(x)\dot{x} = f(x) (with f(x)f(x) a continuous function) that satisfies it. If no example exists, explain why not.

    1. Every real number is a fixed point.

    2. Every integer number is a fixed point, and there are no others.

    3. There are precisely 3 fixed points, and all of them are stable.

    4. There are precisely 3 fixed points, one is stable and the other two are unstable.

    5. There are no fixed points.