Differential EquationsNonlinear Systems in the Phase Plane5 of 5
Nonlinear Systems in the Phase Plane · 5

The Pendulum and Conservative Systems

We want to understand the full motion of the pendulum θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0, including high swings and full loops over the top, where the small-angle approximation sin⁡(θ)≈θ\sin(\pos{\theta}) \approx \pos{\theta} no longer holds and we cannot solve for θ(t)\pos{\theta}(t) in terms of elementary functions.

The Pendulum and Frictionless Landscapes
θ\htmlClass{lc-blue}{\theta}
θ′′+sin⁡(θ)=0\htmlClass{lc-orange}{\theta''} + \sin(\htmlClass{lc-blue}{\theta}) = 0

Any second-order differential equation with no velocity term x′\vel{x'} (no friction) and no time tt pushing the system has the form

x′′+g(x)\displaystyle \accel{x''} + g(\pos{x}) =0\displaystyle = 0

Instead of asking where the system is at time tt, we ask how fast it is moving (v=x′\vel{v} = \vel{x'}) when it passes through position x\pos{x}, just like a marble trading height for speed on a frictionless track.

1

Conservation of Energy

To eliminate time tt from x′′+g(x)=0\accel{x''} + g(\pos{x}) = 0, we want an equation that links position x\pos{x} and velocity v=x′\vel{v} = \vel{x'} directly.

Deriving Conservation of Energy
x′′+g(x)=0\htmlClass{lc-orange}{x''} + g(\htmlClass{lc-blue}{x}) = 0

Multiplying the differential equation by velocity x′\vel{x'} turns both terms into time derivatives that we can integrate right away:

Multiply by x′:x′x′′+g(x)x′=0Rewrite by the chain rule (v=x′, V′(x)=g(x)):ddt[12v2+V(x)]=0Integrate with respect to t:12v2⏟kinetic energy+V(x)⏟potential energy∫g(x)dx=E⏟total energy\displaystyle \begin{aligned} &\text{Multiply by } \vel{x'}\text{:} \\ &\quad \vel{x'}\accel{x''} + g(\pos{x})\vel{x'} = 0 \\[8pt] &\text{Rewrite by the chain rule } \\ &(\vel{v} = \vel{x'},\ \pot{V'(x)} = g(\pos{x}))\text{:} \\ &\quad \oper{\frac{d}{dt}}\left[\vel{\frac{1}{2}v^2} + \pot{V(x)}\right] = 0 \\[8pt] &\text{Integrate with respect to } t\text{:} \\ &\quad \underbrace{\vel{\frac{1}{2}v^2}}_{\text{kinetic energy}} + \underbrace{\pot{V(x)}}_{\substack{\text{potential energy} \\ \oper{\int} g(\pos{x})\,dx}} = \underbrace{E}_{\text{total energy}} \end{aligned}

You can also reach the same result by writing acceleration as x′′=v dvdx\accel{x''} = \vel{v}\,\frac{d\vel{v}}{d\pos{x}}, separating variables as v dv=−g(x) dx\vel{v}\,d\vel{v} = -g(\pos{x})\,d\pos{x}, and integrating both sides.

2

From Potential Landscape to Phase Portrait

Once we have the potential curve V(x)=∫g(x) dx\pot{V(x)} = \oper{\int} g(\pos{x})\,dx, we can draw the trajectories in the (x,v)(\pos{x}, \vel{v}) phase plane directly from the hills and valleys of V(x)\pot{V(x)}. Let's build the phase portrait for the nonlinear system

x′′+x−x3\displaystyle \accel{x''} + \pos{x} - \pos{x}^3 =0\displaystyle = 0
From Potential Landscape to Phase Portrait
x′′+x−x3=0\htmlClass{lc-orange}{x''} + \htmlClass{lc-blue}{x} - \htmlClass{lc-blue}{x}^3 = 0
V\htmlClass{lc-green}{V}
x\htmlClass{lc-blue}{x}
−1-1
11
v\htmlClass{lc-pink}{v}
x\htmlClass{lc-blue}{x}
Text solution
Integrate g(x)g(\pos{x}) to find the potential landscape Integrating g(x)=x−x3g(\pos{x}) = \pos{x} - \pos{x}^3 gives the curve of hills and valleys that the marble rolls on, where we can set the integration constant to zero so V(0)=0\pot{V(0)} = 0.
V(x)\displaystyle \pot{V(x)} =∫(x−x3) dx\displaystyle = \oper{\int} (\pos{x} - \pos{x}^3)\,dx =12x2−14x4\displaystyle = \pot{\frac{1}{2}x^2 - \frac{1}{4}x^4}
Solve for the vertical energy gap E−V(x)E - \pot{V(x)} Moving V(x)\pot{V(x)} to the right side of the energy equation shows that kinetic energy 12v2\vel{\frac{1}{2}v^2} equals the vertical gap between the flat horizontal line EE and the curve V(x)\pot{V(x)}.
12v2\displaystyle \vel{\frac{1}{2}v^2} =E−V(x)\displaystyle = E - \pot{V(x)} =E−(12x2−14x4)\displaystyle = E - \left(\pot{\frac{1}{2}x^2 - \frac{1}{4}x^4}\right)
Line up flat spots of V(x)\pot{V(x)} with equilibria on the x\pos{x}-axis Where the slope V′(x)=x−x3=x(1−x2)\pot{V'(x)} = \pos{x} - \pos{x}^3 = \pos{x}(1 - \pos{x}^2) is zero and v=0\vel{v} = 0, the valley bottom at x=0\pos{x} = 0 lines up with a center and the two hilltops at x=±1\pos{x} = \pm 1 line up with saddle points.
Center: (0,0)Saddles: (−1,0), (1,0)\displaystyle \begin{aligned} &\text{Center: }(0, 0) \\ &\text{Saddles: }(-1, 0),\ (1, 0) \end{aligned}
Read the phase curves from the height of the energy line EE For 0<E<140 < E < \frac{1}{4} the marble rolls back and forth between the valley walls along closed loops where E−V(x)≥0E - \pot{V(x)} \ge 0, while at the hilltop height E=V(±1)=12−14=14E = \pot{V(\pm 1)} = \frac{1}{2} - \frac{1}{4} = \frac{1}{4} the trajectory forms the separatrix connecting the two saddles.
12v2+12x2−14x4\displaystyle \vel{\frac{1}{2}v^2} + \pot{\frac{1}{2}x^2 - \frac{1}{4}x^4} =14(separatrix)\displaystyle = \frac{1}{4} \quad (\text{separatrix})

Try dragging the energy line EE up and down on V(x)=12x2−14x4\pot{V(x)} = \pot{\frac{1}{2}x^2 - \frac{1}{4}x^4} to see how the vertical gap E−V(x)E - \pot{V(x)} traces out the closed loops and the separatrix at E=14E = \frac{1}{4} in the phase plane below.

At every energy height, the vertical gap between the energy line and the landscape sets the marble's speed and draws its path in the phase plane below.
3

The Phase Portrait of the Pendulum

Now we can return to the nonlinear pendulum θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0 and see how small swings, tipping from straight up, and continuous spinning all appear on the same phase portrait.

The Phase Portrait of the Pendulum
θ′′+sin⁡(θ)=0\htmlClass{lc-orange}{\theta''} + \sin(\htmlClass{lc-blue}{\theta}) = 0
V\htmlClass{lc-green}{V}
11
−1-1
θ\htmlClass{lc-blue}{\theta}
−π-\pi
00
π\pi
2π2\pi
Text solution
Integrate sin⁡(θ)\sin(\pos{\theta}) to get the periodic potential wave Integrating g(θ)=sin⁡(θ)g(\pos{\theta}) = \sin(\pos{\theta}) gives an upside-down cosine wave with valleys of height −1-1 where the pendulum hangs straight down (θ=0,±2π,…\pos{\theta} = 0, \pm 2\pi, \dots) and peaks of height +1+1 where it balances straight up (θ=±π,±3π,…\pos{\theta} = \pm\pi, \pm 3\pi, \dots).
V(θ)\displaystyle \pot{V(\theta)} =∫sin⁡(θ) dθ\displaystyle = \oper{\int} \sin(\pos{\theta})\,d\theta =−cos⁡(θ),12v2−cos⁡(θ)\displaystyle = \pot{-\cos(\theta)}, \qquad \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} =E\displaystyle = E
Low energy stays inside the valleys (−1<E<1-1 < E < 1) When the energy line cuts across the valleys, the pendulum swings back and forth between two turning angles where v=0\vel{v} = 0, tracing closed ovals around (2nπ,0)(2n\pi, 0) that become nearly circular right at the bottom where −cos⁡(θ)\pot{-\cos(\theta)} is nearly a parabola.
−1<12v2−cos⁡(θ)<1(back-and-forth swings)\displaystyle -1 < \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} < 1 \quad (\text{back-and-forth swings})
Touch the upright peaks along the separatrix (E=1E = 1) When the energy line is at the peak height V(±π)=−cos⁡(±π)=1\pot{V(\pm\pi)} = \pot{-\cos(\pm\pi)} = 1, the trajectories connect neighboring upright saddle points ((2n+1)π,0)((2n+1)\pi, 0), showing a pendulum that tips from straight up, swings fast through the bottom, and slows to a stop straight up again.
12v2−cos⁡(θ)\displaystyle \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} =1(separatrix)\displaystyle = 1 \quad (\text{separatrix})
Raise energy above the peaks for nonstop spinning (E>1E > 1) When E>1E > 1, the gap E−(−cos⁡θ)E - (\pot{-\cos\theta}) stays positive everywhere, so v\vel{v} never hits zero and the pendulum spins over the top forever along wavy curves above or below the separatrices.
12v2−cos⁡(θ)>1(over-the-top rotation)\displaystyle \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} > 1 \quad (\text{over-the-top rotation})

Try varying the starting angle and initial push to see how raising the energy EE on V(θ)=−cos⁡(θ)\pot{V(\theta)} = \pot{-\cos(\theta)} shifts the trajectory from closed ovals inside the valleys (E<1E < 1), onto the separatrix (E=1E = 1), and into wavy spinning curves (E>1E > 1).

Whether the pendulum rocks back and forth, slows to a stop straight up, or spins forever over the top depends on whether its energy line sits below, on, or above the peaks.
4

Calculating Threshold Speeds and Turning Angles

We can also use the energy equation 12v2−cos⁡(θ)=E\vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} = E to compute the exact push v0\vel{v_0} needed at the bottom θ=0\pos{\theta} = 0 to send the pendulum over the top, or the maximum angle θmax⁡\pos{\theta_{\max}} it reaches when a smaller push isn't enough.

Calculating Threshold Speeds and Turning Angles
12v2−cos⁡(θ)=Ev0=  ?\begin{aligned} \htmlClass{lc-pink}{\tfrac{1}{2}v^2} \htmlClass{lc-green}{- \cos(\theta)} &= E\\ \htmlClass{lc-pink}{v_0} &= \;? \end{aligned}
v0\htmlClass{lc-pink}{v_0}
Text solution
Find the threshold velocity from θ=0\pos{\theta} = 0 to loop over the top at θ=π\pos{\theta} = \pi Evaluate total energy EE at the starting state (θ,v)=(0,v0)(\pos{\theta}, \vel{v}) = (0, \vel{v_0}) and set it greater than the upright peak height V(π)=−cos⁡(π)=1\pot{V(\pi)} = \pot{-\cos(\pi)} = 1.
E=12v02−cos⁡(0)=12v02−1>1  ⟹  12v02>2  ⟹  v0>2\displaystyle \begin{aligned} E &= \vel{\frac{1}{2}v_0^2} \pot{- \cos(0)} = \vel{\frac{1}{2}v_0^2} - 1 > 1 \\[4pt] &\implies \vel{\frac{1}{2}v_0^2} > 2 \implies \vel{v_0} > 2 \end{aligned}
Find the total energy for a smaller push v0=1\vel{v_0} = 1 at θ=0\pos{\theta} = 0 Substitute the initial condition (θ,v)=(0,1)(\pos{\theta}, \vel{v}) = (0, 1) into the energy equation to find the constant energy EE for the entire swing.
E\displaystyle E =12(1)2−cos⁡(0)\displaystyle = \vel{\frac{1}{2}(1)^2} \pot{- \cos(0)} =12−1\displaystyle = \frac{1}{2} - 1 =−12\displaystyle = -\frac{1}{2}
Set v=0\vel{v} = 0 at the turnaround point to solve for θmax⁡\pos{\theta_{\max}} At the highest angle θmax⁡\pos{\theta_{\max}} the pendulum stops for an instant before swinging back, so setting v=0\vel{v} = 0 in 12v2−cos⁡(θ)=−12\vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} = -\frac{1}{2} gives the turning angle.
0−cos⁡(θmax⁡)=−12  ⟹  cos⁡(θmax⁡)=12  ⟹  θmax⁡=π3\displaystyle \begin{aligned} 0 \pot{- \cos(\pos{\theta_{\max}})} &= -\frac{1}{2} \\[4pt] \implies \cos(\pos{\theta_{\max}}) &= \frac{1}{2} \\[4pt] \implies \pos{\theta_{\max}} &= \frac{\pi}{3} \end{aligned}
5

Why Conserved Energy Guarantees True Centers

When we linearize a nonlinear system with the Jacobian matrix, a trace of zero and a positive determinant (purely imaginary eigenvalues) is a borderline case: tiny nonlinear terms can normally nudge the loops into slow inward or outward spirals. Writing θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0 as θ′=v, v′=−sin⁡(θ)\vel{\theta'} = \vel{v},\ \accel{v'} = -\sin(\pos{\theta}) gives J(θ,v)=[01−cos⁡(θ)0]\oper{J}(\pos{\theta}, \vel{v}) = \begin{bmatrix} 0 & 1 \\ -\cos(\pos{\theta}) & 0 \end{bmatrix}. Let's see why conserved energy settles this borderline case at the valleys.

Why Conserved Energy Guarantees True Centers
θ′′+sin⁡(θ)=0J=  ?\begin{aligned} \htmlClass{lc-orange}{\theta''} + \sin(\htmlClass{lc-blue}{\theta}) &= 0\\ \htmlClass{lc-violet}{J} &= \;? \end{aligned}
v\htmlClass{lc-pink}{v}
θ\htmlClass{lc-blue}{\theta}

At an upright hilltop (π,0)(\pi, 0), the Jacobian determinant is negative, so nonlinear terms cannot change the saddle shape and this already proves a true saddle:

J(π,0)=[01−cos⁡(π)0]=[0110],det⁡J=−1<0  ⟹  saddle point\displaystyle \begin{aligned} \oper{J}(\pi, 0) &= \begin{bmatrix} 0 & 1 \\ -\cos(\pi) & 0 \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}, \\[4pt] \det \oper{J} &= -1 < 0 \implies \text{saddle point} \end{aligned}

At a downward valley (0,0)(0, 0), the Jacobian is on the borderline tr⁡J=0\operatorname{tr} \oper{J} = 0:

J(0,0)=[01−cos⁡(0)0]=[01−10],tr⁡J=0, det⁡J=1>0  ⟹  eigenvalues ±i\displaystyle \begin{aligned} \oper{J}(0, 0) &= \begin{bmatrix} 0 & 1 \\ -\cos(0) & 0 \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}, \\[4pt] \operatorname{tr} \oper{J} &= 0,\ \det \oper{J} = 1 > 0 \\ &\implies \text{eigenvalues }\pm i \end{aligned}
θ\htmlClass{lc-blue}{\theta}
v\htmlClass{lc-pink}{v}
θ0\htmlClass{lc-blue}{\theta_0}
E would have to dropE \text{ would have to drop}
θ\htmlClass{lc-blue}{\theta}
v\htmlClass{lc-pink}{v}
θ0\htmlClass{lc-blue}{\theta_0}
E=12v2−cos⁡(θ)E = \htmlClass{lc-pink}{\tfrac{1}{2}v^2} \htmlClass{lc-green}{- \cos(\theta)}

Conservation of energy closes the loop. A trajectory cannot spiral inward or outward because that would change its energy EE; instead, it has to follow a closed level curve of E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} and return to the exact same point (θ0,0)(\pos{\theta_0}, 0) where it started.

6

The Damped Pendulum and Sinking Energy

When we add pivot friction or air resistance bθ′b\vel{\theta'} (with b>0b > 0) to get the damped pendulum

θ′′+bθ′+sin⁡(θ)\displaystyle \accel{\theta''} + b\vel{\theta'} + \sin(\pos{\theta}) =0\displaystyle = 0

energy is no longer constant, so we want to find the rate of change dEdt\frac{\oper{d}E}{\oper{d}t} of the undamped energy E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} to see how the phase portrait changes.

The Damped Pendulum and Sinking Energy
θ′′+bθ′+sin⁡(θ)=0\htmlClass{lc-orange}{\theta''} + b\htmlClass{lc-pink}{\theta'} + \sin(\htmlClass{lc-blue}{\theta}) = 0
b>0b > 0
dEdt=  ?\dfrac{\htmlClass{lc-violet}{d}E}{\htmlClass{lc-violet}{d}t} = \;?
Text solution
Differentiate the energy function E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} with respect to time Applying the chain rule and factoring out v=θ′\vel{v} = \vel{\theta'} groups the left side of the undamped equation together.
dEdt\displaystyle \frac{\oper{d}E}{\oper{d}t} =vθ′′+sin⁡(θ)θ′\displaystyle = \vel{v}\accel{\theta''} + \sin(\pos{\theta})\vel{\theta'} =v(θ′′+sin⁡(θ))\displaystyle = \vel{v}\bigl(\accel{\theta''} + \sin(\pos{\theta})\bigr)
Substitute θ′′+sin⁡(θ)=−bθ′=−bv\accel{\theta''} + \sin(\pos{\theta}) = -b\vel{\theta'} = -b\vel{v} from the damped equation Because b>0b > 0 and v2≥0\vel{v^2} \ge 0, the time derivative of energy is negative whenever the pendulum is moving, so the energy line steadily drops.
dEdt=v(−bv)=−bv2≤0(Lyapunov function:trajectories movedownhill on E)\displaystyle \begin{aligned} \frac{\oper{d}E}{\oper{d}t} &= \vel{v}(-b\vel{v}) \\ &= -b\vel{v^2} \le 0 \\[4pt] &\quad (\text{Lyapunov function:} \\ &\quad \text{trajectories move} \\ &\quad \text{downhill on } E) \end{aligned}
Check the Jacobian at the valley equilibria with the −bv-b\vel{v} damping term In the first-order system θ′=v, v′=−sin⁡(θ)−bv\vel{\theta'} = \vel{v},\ \accel{v'} = -\sin(\pos{\theta}) - b\vel{v}, the bottom-right entry of the Jacobian becomes −b-b, giving a negative trace that gives the eigenvalues negative real parts so the valleys become stable spirals (or stable nodes for large bb).
J(0,0)=[01−1−b],tr⁡J=−b<0, det⁡J=1>0\displaystyle \begin{aligned} \oper{J}(0, 0) &= \begin{bmatrix} 0 & 1 \\ -1 & -b \end{bmatrix}, \\[4pt] \operatorname{tr} \oper{J} &= -b < 0,\ \det \oper{J} = 1 > 0 \end{aligned}

Watch how the energy line drops down the V(θ)=−cos⁡(θ)\pot{V(\theta)} = \pot{-\cos(\theta)} wave whenever the pendulum moves (v≠0\vel{v} \neq 0), pausing only for an instant at turning points (v=0\vel{v} = 0) before trapping the pendulum in a valley once EE falls below 11.

As friction drains energy whenever the pendulum moves, the horizontal energy line sinks down the wave until it drops below the hilltops, trapping the pendulum in whichever valley it has reached.

Key concepts

When you see a second-order autonomous equation, look first for a velocity term x′\vel{x'}. If there is no x′\vel{x'} term and no tt, the system is conservative (x′′+g(x)=0\accel{x''} + g(\pos{x}) = 0, such as x′′+x−x3=0\accel{x''} + \pos{x} - \pos{x}^3 = 0 or θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0): integrate g(x)g(\pos{x}) to get the potential curve V(x)=∫g(x) dx\pot{V(x)} = \oper{\int} g(\pos{x})\,dx and write the conserved total energy

12v2+V(x)\displaystyle \vel{\frac{1}{2}v^2} + \pot{V(x)} =E\displaystyle = E

Reading 12v2=E−V(x)\vel{\frac{1}{2}v^2} = E - \pot{V(x)} as the vertical gap below the horizontal line EE gives both the phase portrait and any speed or turning-point calculation in one step:

Valleys of V(x)\pot{V(x)} (V′(x)=0, V′′(x)>0\pot{V'(x)} = 0,\ \pot{V''(x)} > 0) are true centers

For θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0, the valley at θ=0\pos{\theta} = 0 has J(0,0)=[01−10]\oper{J}(0,0) = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix} with tr⁡J=0,det⁡J=1>0\operatorname{tr} \oper{J} = 0, \det \oper{J} = 1 > 0. Don't stop at the Jacobian: use the closed level curves of E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} to prove (0,0)(0,0) is a true nonlinear center. (At a hilltop like θ=π\pos{\theta} = \pi, det⁡J=−1<0\det \oper{J} = -1 < 0 already guarantees a saddle without needing EE.)

Turning points (v=0\vel{v} = 0) and escape thresholds (E>VpeakE > \pot{V_{\text{peak}}})

Plug the initial state (x0,v0)(\pos{x_0}, \vel{v_0}) into 12v2+V(x)=E\vel{\frac{1}{2}v^2} + \pot{V(x)} = E to find EE. Set v=0\vel{v} = 0 to find a turning point V(xmax⁡)=E\pot{V(\pos{x_{\max}})} = E, or set E=V(xpeak)E = \pot{V(\pos{x_{\text{peak}}})} to write the separatrix and find the threshold push needed to make it over a hilltop (for the pendulum from θ=0\pos{\theta} = 0, 12v02−1>1  ⟹  v0>2\vel{\frac{1}{2}v_0^2} - 1 > 1 \implies \vel{v_0} > 2).

When not to set EE constant

If the equation has a damping term bx′b\vel{x'} with b>0b > 0 (such as θ′′+bθ′+sin⁡(θ)=0\accel{\theta''} + b\vel{\theta'} + \sin(\pos{\theta}) = 0), energy is not conserved. Keep the same formula E=12v2+V(x)E = \vel{\frac{1}{2}v^2} + \pot{V(x)} as a Lyapunov function, but differentiate it along the trajectory to get dEdt=v(−bv)=−bv2≤0\frac{\oper{d}E}{\oper{d}t} = \vel{v}(-b\vel{v}) = -b\vel{v^2} \le 0: for the pendulum, the energy line drops until EE falls below the hilltops and the trajectory settles into a valley bottom.

7

Practice

1

For the conservative system x′′+4x3=0\accel{x''} + 4\pos{x}^3 = 0, find the potential energy V(x)\pot{V(x)} (with V(0)=0\pot{V(0)} = 0) and write the total energy equation. If the marble starts at x(0)=1\pos{x}(0) = 1 with velocity x′(0)=2\vel{x'}(0) = 2, what is its speed ∣v∣|\vel{v}| when it passes through x=0\pos{x} = 0?

Integrate g(x)=4x3g(\pos{x}) = 4\pos{x}^3 to find V(x)\pot{V(x)}, plug (x,v)=(1,2)(\pos{x}, \vel{v}) = (1, 2) into 12v2+V(x)=E\vel{\frac{1}{2}v^2} + \pot{V(x)} = E to find the constant energy EE, and keep that same EE at x=0\pos{x} = 0.

Integrate g(x)=4x3with V(0)=0:V(x)=∫4x3 dx=x4Write the totalenergy equation:12v2+x4=EFind E at the start (x,v)=(1,2):E=12(2)2+(1)4=2+1=3Set x=0 with E=3:12v2+04=3  ⟹  v2=6  ⟹  ∣v∣=6\displaystyle \begin{aligned} &\text{Integrate } g(\pos{x}) = 4\pos{x}^3 \\ &\text{with } \pot{V(0)} = 0\text{:} \\ &\quad \pot{V(x)} = \oper{\int} 4\pos{x}^3\,dx = \pot{x^4} \\[8pt] &\text{Write the total} \\ &\text{energy equation:} \\ &\quad \vel{\frac{1}{2}v^2} + \pot{x^4} = E \\[8pt] &\text{Find } E \text{ at the start } \\ &(\pos{x}, \vel{v}) = (1, 2)\text{:} \\ &\quad E = \vel{\frac{1}{2}(2)^2} + \pot{(1)^4} = 2 + 1 = 3 \\[8pt] &\text{Set } \pos{x} = 0 \text{ with } E = 3\text{:} \\ &\quad \vel{\frac{1}{2}v^2} + \pot{0^4} = 3 \\ &\qquad \implies \vel{v^2} = 6 \implies |\vel{v}| = \sqrt{6} \end{aligned}
(Watch out for the 12\vel{\frac{1}{2}} on kinetic energy: dropping 12\vel{\frac{1}{2}} to write v2+x4=E\vel{v^2} + \pot{x^4} = E gives E=5E = 5 and the wrong speed 5\sqrt{5}, and forgetting to multiply by 22 when solving 12v2=3\vel{\frac{1}{2}v^2} = 3 gives the wrong speed 3\sqrt{3}.)
∣v∣=6|v| = \sqrt{6}
2

Consider the system x′′−x+x3=0\accel{x''} - \pos{x} + \pos{x}^3 = 0. Find the potential energy V(x)\pot{V(x)} with V(0)=0\pot{V(0)} = 0, find all equilibrium points in the (x,v)(\pos{x}, \vel{v}) phase plane, classify each equilibrium as a saddle point or a true nonlinear center, and explain why the Jacobian alone cannot prove that the centers are true centers.

Read g(x)=−x+x3g(\pos{x}) = -\pos{x} + \pos{x}^3 directly from x′′+g(x)=0\accel{x''} + g(\pos{x}) = 0 without flipping its sign; equilibria sit on the x\pos{x}-axis (v=0\vel{v} = 0) where V′(x)=g(x)=0\pot{V'(x)} = g(\pos{x}) = 0.

Integrate g(x)=−x+x3with V(0)=0:V(x)=∫(−x+x3) dx=−12x2+14x4Set v=0 and g(x)=x(x2−1)=0:Equilibria=(0,0), (−1,0), (1,0)Write the Jacobian for x′=v, v′=x−x3:J(x,v)=[011−3x20]Evaluate at the hilltop (0,0):J(0,0)=[0110],det⁡J=−1<0  ⟹  (0,0) is a saddle pointEvaluate at the valleys (±1,0):J(±1,0)=[01−20],tr⁡J=0, det⁡J=2>0\displaystyle \begin{aligned} &\text{Integrate } g(\pos{x}) = -\pos{x} + \pos{x}^3 \\ &\text{with } \pot{V(0)} = 0\text{:} \\ &\quad \pot{V(x)} = \oper{\int} (-\pos{x} + \pos{x}^3)\,dx \\ &\qquad = \pot{-\frac{1}{2}x^2 + \frac{1}{4}x^4} \\[8pt] &\text{Set } \vel{v} = 0 \text{ and } \\ &g(\pos{x}) = \pos{x}(\pos{x}^2 - 1) = 0\text{:} \\ &\quad \text{Equilibria} = (0, 0),\ (-1, 0),\ (1, 0) \\[8pt] &\text{Write the Jacobian for } \\ &\vel{x'} = \vel{v},\ \accel{v'} = \pos{x} - \pos{x}^3\text{:} \\ &\quad \oper{J}(\pos{x}, \vel{v}) = \begin{bmatrix} 0 & 1 \\ 1 - 3\pos{x}^2 & 0 \end{bmatrix} \\[8pt] &\text{Evaluate at the hilltop } (0, 0)\text{:} \\ &\quad \oper{J}(0, 0) = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}, \\ &\quad \det \oper{J} = -1 < 0 \\ &\qquad \implies (0, 0) \text{ is a saddle point} \\[8pt] &\text{Evaluate at the valleys } (\pm 1, 0)\text{:} \\ &\quad \oper{J}(\pm 1, 0) = \begin{bmatrix} 0 & 1 \\ -2 & 0 \end{bmatrix}, \\ &\quad \operatorname{tr} \oper{J} = 0,\ \det \oper{J} = 2 > 0 \end{aligned}
(Be careful not to flip the sign of g(x)=−x+x3g(\pos{x}) = -\pos{x} + \pos{x}^3 or write +g′(x)+g'(\pos{x}) in the bottom-left of J\oper{J}: doing so gives V(x)=12x2−14x4\pot{V(x)} = \pot{\frac{1}{2}x^2 - \frac{1}{4}x^4} and det⁡J(0,0)=+1\det \oper{J}(0,0) = +1, which swaps hills and valleys and misclassifies (0,0)(0, 0) as a center and (±1,0)(\pm 1, 0) as saddles.)
At (−1,0)(-1, 0) and (1,0)(1, 0), the Jacobian has tr⁡J=0\operatorname{tr} \oper{J} = 0 and purely imaginary eigenvalues ±i2\pm i\sqrt{2}. Linearization alone cannot rule out nonlinear terms pushing the orbits into slow inward or outward spirals. Because the system is conservative, however, trajectories must stay on closed level curves of E=12v2−12x2+14x4E = \vel{\frac{1}{2}v^2} \pot{- \frac{1}{2}x^2 + \frac{1}{4}x^4} around each valley bottom, proving (−1,0)(-1, 0) and (1,0)(1, 0) are true nonlinear centers.
3

The nonlinear pendulum θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0 is released from θ(0)=π3\pos{\theta}(0) = \tfrac{\pi}{3} with an outward angular velocity of v(0)=1\vel{v}(0) = 1. Find the total energy E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)}, the maximum angle θmax⁡\pos{\theta_{\max}} the pendulum reaches before turning around, and the maximum speed it reaches as it swings back through the bottom θ=0\pos{\theta} = 0.

Find EE at (π3,1)(\tfrac{\pi}{3}, 1) using E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)}; then set v=0\vel{v} = 0 at θmax⁡\pos{\theta_{\max}}, and evaluate V(0)=−cos⁡(0)\pot{V(0)} = \pot{-\cos(0)} at the bottom θ=0\pos{\theta} = 0.

Find E at (θ,v)=(π3,1):E=12(1)2−cos⁡(π3)=12−12=0Set v=0 at theturning point θmax⁡:0−cos⁡(θmax⁡)=0  ⟹  cos⁡(θmax⁡)=0  ⟹  θmax⁡=π2Set θ=0 at the bottomof the swing:12vmax⁡2−cos⁡(0)=0  ⟹  12vmax⁡2−1=0  ⟹  vmax⁡=2\displaystyle \begin{aligned} &\text{Find } E \text{ at } (\pos{\theta}, \vel{v}) = (\tfrac{\pi}{3}, 1)\text{:} \\ &\quad E = \vel{\frac{1}{2}(1)^2} \pot{- \cos\left(\frac{\pi}{3}\right)} \\ &\qquad = \frac{1}{2} - \frac{1}{2} = 0 \\[8pt] &\text{Set } \vel{v} = 0 \text{ at the} \\ &\text{turning point } \pos{\theta_{\max}}\text{:} \\ &\quad 0 \pot{- \cos(\pos{\theta_{\max}})} = 0 \\ &\qquad \implies \cos(\pos{\theta_{\max}}) = 0 \\ &\qquad \implies \pos{\theta_{\max}} = \frac{\pi}{2} \\[8pt] &\text{Set } \pos{\theta} = 0 \text{ at the bottom} \\ &\text{of the swing:} \\ &\quad \vel{\frac{1}{2}v_{\max}^2} \pot{- \cos(0)} = 0 \\ &\qquad \implies \vel{\frac{1}{2}v_{\max}^2} - 1 = 0 \\ &\qquad \implies \vel{v_{\max}} = \sqrt{2} \end{aligned}
(Don't assume the potential energy at θ=0\pos{\theta} = 0 is zero: −cos⁡(0)=−1\pot{-\cos(0)} = -1, whereas plugging in 00 for the potential term gives 12vmax⁡2=0\vel{\frac{1}{2}v_{\max}^2} = 0 and the wrong speed vmax⁡=0\vel{v_{\max}} = 0.)
E=0,θmax⁡=π2,vmax⁡=2E = 0,\quad \theta_{\max} = \frac{\pi}{2},\quad v_{\max} = \sqrt{2}
4

For the conservative system x′′+x−x3=0\accel{x''} + \pos{x} - \pos{x}^3 = 0 with potential energy V(x)=12x2−14x4\pot{V(x)} = \pot{\frac{1}{2}x^2 - \frac{1}{4}x^4}, find the energy EE on the separatrix, write the equation of the separatrix in the (x,v)(\pos{x}, \vel{v}) phase plane, and find the threshold initial velocity v0>0\vel{v_0} > 0 from x(0)=0\pos{x}(0) = 0 needed for the marble to make it over the hilltop at x=1\pos{x} = 1.

The separatrix passes through the hilltop equilibria at x=±1\pos{x} = \pm 1 with v=0\vel{v} = 0; find the hilltop height V(1)\pot{V(1)} and set the initial energy at (0,v0)(0, \vel{v_0}) greater than that height.

Find the energy at thehilltops x=±1:E=V(±1)=12(±1)2−14(±1)4=14Write the separatrix equationwith E=14:12v2+12x2−14x4=14Find starting energy at (0,v0)and set E>14:12v02+V(0)=12v02>14  ⟹  v02>12  ⟹  v0>12\displaystyle \begin{aligned} &\text{Find the energy at the} \\ &\text{hilltops } \pos{x} = \pm 1\text{:} \\ &\quad E = \pot{V(\pm 1)} \\ &\qquad = \pot{\frac{1}{2}(\pm 1)^2 - \frac{1}{4}(\pm 1)^4} = \frac{1}{4} \\[8pt] &\text{Write the separatrix equation} \\ &\text{with } E = \tfrac{1}{4}\text{:} \\ &\quad \vel{\frac{1}{2}v^2} + \pot{\frac{1}{2}x^2 - \frac{1}{4}x^4} = \frac{1}{4} \\[8pt] &\text{Find starting energy at } (0, \vel{v_0}) \\ &\text{and set } E > \tfrac{1}{4}\text{:} \\ &\quad \vel{\frac{1}{2}v_0^2} + \pot{V(0)} = \vel{\frac{1}{2}v_0^2} > \frac{1}{4} \\ &\qquad \implies \vel{v_0^2} > \frac{1}{2} \implies \vel{v_0} > \frac{1}{\sqrt{2}} \end{aligned}
(Make sure you set 12v02\vel{\frac{1}{2}v_0^2} equal to the hilltop height V(1)=14\pot{V(1)} = \frac{1}{4} rather than the hilltop coordinate x=1\pos{x} = 1, which gives the wrong threshold v0=2\vel{v_0} = \sqrt{2}; also remember to multiply 14\frac{1}{4} by 22 before taking the square root, or you get the wrong threshold v0=12\vel{v_0} = \frac{1}{2}.)
v0=12v_0 = \frac{1}{\sqrt{2}}
5

Suppose the undamped pendulum θ′′+sin⁡(θ)=0\accel{\theta''} + \sin(\pos{\theta}) = 0 is pushed from the bottom θ(0)=0\pos{\theta}(0) = 0 with initial angular velocity v(0)=3\vel{v}(0) = 3. Show that it loops continuously over the top and find its minimum speed as it passes through the upright peaks θ=(2n+1)π\pos{\theta} = (2n + 1)\pi. Then suppose friction is added so that θ′′+bθ′+sin⁡(θ)=0\accel{\theta''} + b\vel{\theta'} + \sin(\pos{\theta}) = 0 with b>0b > 0: find dEdt\tfrac{\oper{d}E}{\oper{d}t} for E=12v2−cos⁡(θ)E = \vel{\frac{1}{2}v^2} \pot{- \cos(\theta)} and describe what happens to the trajectory from the same initial push.

Compare the initial energy EE at (0,3)(0, 3) with the peak height V(π)=−cos⁡(π)=1\pot{V(\pi)} = \pot{-\cos(\pi)} = 1; then differentiate EE with respect to tt and substitute θ′′+sin⁡(θ)=−bv\accel{\theta''} + \sin(\pos{\theta}) = -b\vel{v}.

Find initial energy at (θ,v)=(0,3):E=12(3)2−cos⁡(0)=92−1=72Compare E with peakheight V(π)=1:72>1  ⟹  loops continuouslyover the topFind vmin⁡ at peaks θ=(2n+1)πwhere −cos⁡(θ)=+1:12vmin⁡2+1=72  ⟹  12vmin⁡2=52  ⟹  vmin⁡=5Differentiate E with damping θ′′+sin⁡(θ)=−bv:dEdt=v(θ′′+sin⁡θ)=v(−bv)=−bv2≤0\displaystyle \begin{aligned} &\text{Find initial energy at } \\ &(\pos{\theta}, \vel{v}) = (0, 3)\text{:} \\ &\quad E = \vel{\frac{1}{2}(3)^2} \pot{- \cos(0)} = \frac{9}{2} - 1 = \frac{7}{2} \\[8pt] &\text{Compare } E \text{ with peak} \\ &\text{height } \pot{V(\pi)} = 1\text{:} \\ &\quad \frac{7}{2} > 1 \implies \text{loops continuously} \\ &\qquad \text{over the top} \\[8pt] &\text{Find } \vel{v_{\min}} \text{ at peaks } \pos{\theta} = (2n+1)\pi \\ &\text{where } \pot{-\cos(\theta)} = +1\text{:} \\ &\quad \vel{\frac{1}{2}v_{\min}^2} + 1 = \frac{7}{2} \\ &\qquad \implies \vel{\frac{1}{2}v_{\min}^2} = \frac{5}{2} \\ &\qquad \implies \vel{v_{\min}} = \sqrt{5} \\[8pt] &\text{Differentiate } E \text{ with damping } \\ &\accel{\theta''} + \sin(\pos{\theta}) = -b\vel{v}\text{:} \\ &\quad \frac{\oper{d}E}{\oper{d}t} = \vel{v}(\accel{\theta''} + \sin\pos{\theta}) \\ &\qquad = \vel{v}(-b\vel{v}) = -b\vel{v^2} \le 0 \end{aligned}
(Watch the sign of −cos⁡(θ)\pot{-\cos(\theta)} at both ends: forgetting −cos⁡(0)=−1\pot{-\cos(0)} = -1 at the start gives E=92E = \frac{9}{2} and the wrong peak speed 7\sqrt{7}, while writing −cos⁡(π)=−1\pot{-\cos(\pi)} = -1 instead of +1+1 at the peak gives 12vmin⁡2−1=72\vel{\frac{1}{2}v_{\min}^2} - 1 = \frac{7}{2} and the wrong speed 33.)
For the undamped pendulum, vmin⁡=5\vel{v_{\min}} = \sqrt{5}. With damping b>0b > 0, dEdt=−bv2≤0\frac{\oper{d}E}{\oper{d}t} = -b\vel{v^2} \le 0 drains energy whenever v≠0\vel{v} \neq 0, so the energy line drops from 72\frac{7}{2}. After looping over a finite number of upright peaks, EE falls below 11, trapping the pendulum in a valley where it settles to rest at a downward equilibrium (2nπ,0)(2n\pi, 0).