Processing math: 100%
Skip to main content

Section 5.3 More Nonlinear Mechanics

The equation for the nonlinear pendulum with damping is

d2θdt2+bmdθdt+gLsinθ=0.

As a system, we can model the pendulum as

dθdt=vdvdt=−bmv−gLsinθ.

This system is not Hamiltonian since

∂v∂θ=0,

but

−∂∂v(−bmv−gLsinθ)=bm≠0.

We shall have to invent new techniques to analyze such systems.

Subsection 5.3.1 The Nonlinear Pendulum and Damping

To find the nullclines of the nonlinear pendulum, let

dθdt=v=0dvdt=−bmv−gLsinθ=0.

The θ-nullcline is v=0, while the v-nullcline is

v=−mgbLsinθ.

It follows that the equilibrium solutions for the nonlinear pendulum occur at

(θ,v)=(0,0),(±π,0),(±2π,0),….

This makes sense since the pendulum should not move if the bob is initially hanging downward (θ=2πn) or is at the very top or the very bottom of a swing (θ=(2n+1)π). Since our first goal is to determine the nature of each equilibrium solution, we will compute the Jacobian of the system (5.3.1)–(5.3.2). This is just

(01−(g/L)cosθ−b/m).

At the equilibrium solutions (θ,v)=(0,0),(±2π,0),(±4π,0),…, the pendulum is hanging downward, and the Jacobian matrix becomes

J1=(01−g/L−b/m).

On the other hand, if (θ,v)=(±π,0),(±3π,0),(±5π,0),…, the pendulum is at the top of its swing, and the Jacobian matrix is

J2=(01g/L−b/m).

We will first examine the case where the pendulum is hanging downward. The characteristic polynomial of J1 is

λ2+bmλ+gL.

Thus, the eigenvalues of J1 are

λ=−b2m±√(b2m)2−gL.

We can analyze the nature of these eigenvalues by examining the sign of

Δ=(b2m)2−gL.
  • If Δ<0, the eigenvalues of the Jacobian are complex. Since the real part of (5.3.3) is negative, these equilibrium solutions are spiral sinks.
  • If Δ>0, we have two distinct real eigenvalues. Since
    (b2m)2−gL<(b2m)2,
    we know that
    (b2m)>√(b2m)2−gL.
    Thus, both of our eigenvalues must be negative. Therefore, we have a nodal sink.
  • If Δ=0, we have a single real negative eigenvalue. Thus, we also have a sink.

Consequently, if we assume that b is small, then Δ<0 and we will only have spiral sinks (Figure 5.3.1).

solution curves for the damped pendulum on a direction field of slope arrows
Figure 5.3.1. Nullclines of the damped pendulum

Now let us consider the type of equilibrium solutions that we will obtain when the pendulum is standing upright. These solutions will occur at (θ,v)=(±π,0),(±3π,0),(±5π,0),…. The characteristic polynomial of the Jacobian matrix J2 at these points is

λ2+bmλ−gL;

hence, the eigenvalues of J2 are

λ=−b2m±√(b2m)2+gL.

Furthermore, we have distinct real eigenvalues since

(b2m)2+gL>0.

In fact, the eigenvalues will have opposite sign

λ1=−b2m+√(b2m)2+gL>0λ2=−b2m−√(b2m)2+gL<0.

Thus, the equilibrium solutions are saddles.

Subsection 5.3.2 Lyapunov Functions

The function

H(θ,v)=12v2−gLcosθ

is a Hamiltonian function for the ideal pendulum

dθdt=vdvdt=−gLsinθ,

since dH/dt=0. However, if b>0, then our system

dθdt=vdvdt=−bmv−gLsinθ.

has damping and

dHdt=∂H∂θdθdt+∂H∂vdvdt=(gLsinθ)v+v(−bmv−gLsinθ)=−bmv2≤0.

Thus, H is decreasing whenever v≠0. Hence, solution curves in the θv-plane cross the level sets of H moving from larger to smaller H values.

We can now devise a strategy for sketching the phase plane of the damped pendulum. If b/m and v are both small, the value of H decreases slowly along the solutions (Figure 5.3.1).

The function H in the case of the damped pendulum is an example of a Lyapunov function. Specifically, a function L(x,y) is called a Lyapunov function for the system

dxdt=f(x,y)dydt=g(x,y)

if for every solution of the system, (x(t),y(t)), that is not an equilibrium solution of the system,

dLdt≤0,

with strict inequality except possible for a discrete set of ts.

As an example, let us return to the damped harmonic oscillator

dydt=vdvdt=−qy−pv.

If p=0, then

H(y,v)=12v2+q2y2

is a Hamiltonian function for our system. Recall that we also call H the energy function of the system. However, if p>0 and (y(t),v(t)) is a solution for our system, we have

dHdt(y,v)=∂H∂ydydt+∂H∂vdydt=(qy)v+v(−qy−pv)=−pv2≤0.

Consequently, H(y(t),v(t)) decreases at a nonzero rate (except when v=0), and H is a Lyapunov function. The level sets of H are ellipses in the yv-plane. As H decreases, the energy dissipates and the ellipses become spiral sinks.

It is easy to see that the system

dxdt=y+αx(x2+y2)dydt=−x+αy(x2+y2)

has an equilibrium solution at the origin no matter what the value of α is. The Jacobian of this system is

J=(3αx2+αy21+2αxy−1+2αxyαx2+3αy2).

Since our equilibrium solution is the origin,

J=(01−10)

and the linearization of our system at the origin is

dxdt=ydydt=−x.

Since the eigenvalues of

J=(01−10),

are ±i, the linearization has a center at the origin. The phase plane consists of circles about the origin (Figure 5.3.2). Notice that the linearization does not depend on α.

a closed circular solution curve on a direction field of slope arrows
Figure 5.3.2. Solution curves for the linearization.

Now let us consider what happens to system (5.3.5)–(5.3.6) if we consider different values of α. If α=5, the situation is quite different than the linearization of our system. A solution curve spirals out from the origin as t→∞ (Figure 5.3.3). As t→−∞, the solution curve spirals back into the origin, but it seems to stop before actually reaching the origin. If α=−5 on the other hand, we seem to have the opposite behavior with the solution curves spiraling into the origin as t→∞. As before, the solutions do not seem to reach the origin (Figure 5.3.4).

a solution curve with a downward trajectory on a direction field of slope arrows
Figure 5.3.3. Solution curves α=5.
a solution curve with a upward trajectory on a direction field of slope arrows
Figure 5.3.4. Solution curves for α=−5.

Suppose that (x(t),y(t)) is a solution to the nonlinear system. The function

r(t)=√x(t)2+y(t)2

is the distance of a point on the solution curve to the origin in the xy-plane. To see how r changes as t→±∞, we can compute the derivative of r. Actually, it is easier to work with the equation r(t)2=x(t)2+y(t)2. Thus,

ddtr2=ddt(x(t)2+y(t)2)=2xdxdt+2ydydt=2x(y+αx(x2+y2))+2y(−x+αy(x2+y2))=2α(x2+y2)2=2αr4.

Since (r2)′=2rr′, we have

r′=αr3

for r≠0.

Equation (5.3.7) is separable, and it is quite easy to determine the solution as

r(t)=1√C−2αt.

However, we do not need to know this solution to determine the nature of the equilibrium solution at the origin. If α>0 and t→−∞, equation (5.3.7) tells us that r(t)→0. Thus, any solution to the system (5.3.5)–(5.3.6) we have a spiral sink at the origin if α=−5. Even though linearization fails to tell us the nature of the equilibrium solution at the origin, we were able to determine the nature of the equilibrium solution with further analysis.

We will now try to exploit what we have learned from our last example and from Hamiltonian systems to see if it is possible to analyze more general systems. If we consider solutions, (x(t),y(t)), of the system

dxdt=f(x,y)dydt=g(x,y),

we might ask how a function V(x,y) varies along the solution curve. We already have an answer if our system is Hamiltonian, and V is the corresponding Hamiltonian function. In this case dV/dt=0. In general, we know that

dVdt(x(t),y(t))=∂V∂xdxdt+∂V∂ydydt=∂V∂xf(x,y)+∂V∂yg(x,y).

Thus, if we let

˙V=∂V∂xf(x,y)+∂V∂yg(x,y),

we know that

dVdt(x(t),y(t))=˙V(x(t),y(t)).

Thus, V is increasing along a solution curve if ˙V(x,y)>0 and decreasing along a solution curve if ˙V(x,y)<0. Our example suggests that we can determine this information without finding the solution.

Recall that the gradient of a function V:R2→R is

∇V=(∂V∂x,∂V∂y).

If

F(x,y)=(f(x,y)g(x,y)),

then

˙V=∇V⋅F,

is the directional derivative of V in the direction of F.

Let us use this new information about V to obtain information about equilibrium solutions of our system. We do know that V(x,y) graphs as a surface in R3 and

V(x,y)=constant

gives the contour lines or level curves of the surface in the xy-plane. 31  We also know that the gradient of V points in the direction that V is increasing the fastest and that the gradient is orthogonal to the level curves of V. Thus, if ˙V(x,y)>0, we know that V is increasing in the direction of the vector field F and the elevation of the solution curve through (x,y) in R3 is increasing. That is, the solution curve is traveling uphill. Similarly, if ˙V(x,y)<0, we know that the solution curve at (x,y) is going downhill. 32 

See Figures 1 and 2 in John Polking, Albert Boggess, and David Arnold. {\it Differential Equations}. Prentice Hall, Upper Saddle River, NJ, 2001, p. 611.
The argument that we have made here also works in higher dimensions.

Now suppose that V is a real-valued function defined on a set S in the xy-plane, where the point x0=(x0,y0) is in S. We say that V is positive definite if V(x)>0 for all x in S, where x≠x0, and V is positive semidefinite if V(x)≥0. Similarly, we say that V is negative definite and negative semidefinite if V(x)<0 and V(x)≤0, respectively.

For example, if we consider the system for a harmonic oscillator

y′=vv′=−kmy−bmv,

then the energy function,

E(y,v)=12mv2+12ky2,

is positive definite.

Recall our example,

dxdt=y+αx(x2+y2)dydt=−x+αy(x2+y2).

The function V(x,y)=x2+y2 is positive definite on R2, with an isolated minimum at the origin. We can compute

˙V=∂V∂x(x,y)f(x,y)+∂V∂y(x,y)g(x,y)=2x(y+αx(x2+y2))+2y(−x+αy(x2+y2))=2α(x2+y2)2.

If α<0, then Ë™V is negative definite on R2. Theorem 5.3.5 tells us that the origin is a stable equilibrium point.

The function V in Theorem 5.3.5 is called a Lyapunov function. If we compare Theorem 1 to using linearization to determine stability of an equilibrium solution, we will find that we can apply this result where linearization fails. Also, Lyapunov functions are defined on a domain U, where linearization only tells us what happens on a small neighborhood around the equilibrium solution. Unfortunately, there are no general ways of finding Lyapunov functions.

Subsection 5.3.3 Gradient Systems

Let S be a real-valued function on the xy-plane. The gradient of S is

∇S=(∂S∂x,∂S∂y).

The system

dxdt=f(x,y)dydt=g(x,y)

is a gradient system if

f(x,y)=∂S∂xg(x,y)=∂S∂y.

For example, the system

dxdt=x−x3dydt=−y

is a gradient system, where

S(x,y)=x22−x44−y22+8.

Now, let us see what happens on the solution curves of this gradient system. If (x(t),y(t)) is a solution curve,

dSdt=∂S∂xdxdt+∂S∂ydydt=(x−x3)2+y2≥0.

Thus, S increases at the point on the solution curve where the gradient of S is nonzero. That is, S increases at every point on the solution curve except at the equilibrium points.

In general, suppose that

dxdt=∂S∂xdydt=∂S∂y

is a gradient system. Since

dSdt(x(t),y(t))=∂S∂xdxdt+∂S∂ydydt=(∂S∂x)2+(∂S∂y)2≥0,

we know that S increases on every solution to the system except at the critical points of S(x(t),y(t)).

Let us see what this means in terms of the linearization of the system. The Jacobian matrix of (f,g) is

J=(fxfygxgy)=(SxxSxySyxSyy).

Since Sxy=Syx, the matrix J must have the form

J=(αββγ),

where α=Sxx, β=Sxy, and γ=Syy. The characteristic polynomial of J is

λ2−(α+γ)λ+αγ−β2.

Therefore, the eigenvalues are

λ=12(α+β)±12√(α−γ)2+4β2.

Since we have real eigenvalues, a gradient system can have no spiral sources, spiral sinks, or centers.

For example, x2+y2 is a Lyapunov function for the system

dxdt=−x+ydydt=−x−y.

However, the origin is a spiral sink, so this system cannot be a gradient system.

Subsection 5.3.4 Important Lessons

  • The equation for the nonlinear pendulum with damping
    dθdt=vdvdt=−bmv−gLsinθ.
    can be analyzed by examining dH/dt, where H is the Hamiltonian function for the ideal pendulum. The function H for this system is an example of a Lyapunov function.
  • Let V be a real-valued function defined on a set S in the xy-plane such that the point x0=(x0,y0) is in S and V(x0)=0.

    • We say that V is positive definite if V(x)>0 for all x in S, where x≠x0.
    • We say that V is positive semidefinite if V(x)≥0 for all x in S.
    • We say that V is negative definite if V(x)<0 for all x in S, where x≠x0.
    • We say that V is negative semidefinite if V(x)≤0 for all x in S.
  • Suppose that the system

    dxdt=f(x,y)dydt=g(x,y)

    has an equilibrium solution at (x0,y0). Let V be a continuously differentiable function defined on a neighborhood U of (x0,y0) that is positive definite with minimum at (x0,y0).

    1. If ˙V is negative semidefinite on U, then (x0,y0) is a stable equilibrium solution. That is, any solution that starts near the equilibrium solution will stay near the equilibrium solution.
    2. If ˙V is negative definite on U, then (x0,y0) is an asymptotically stable equilibrium solution or a sink.

    We can use these results to analyze the behavior of equilibrium solutions where linearization fails. The function V is called a Lyapunov function. We have no general methods for finding Lyapunov functions.

  • The system
    dxdt=f(x,y)dydt=g(x,y)
    is a gradient system if
    f(x,y)=∂S∂xg(x,y)=∂S∂y,
    where S is a real-valued function on the xy-plane. Since
    dSdt(x(t),y(t))=(∂S∂x)2+(∂S∂y)2≥0,
    S increases on every solution to the system except at the critical points of S(x(t),y(t)). Since the eigenvalues of a gradient system are real, a gradient system has no spiral sources, spiral sinks, or centers.

Exercises 5.3.5 Exercises