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, including high swings and full loops over the top, where the small-angle approximation sin(θ)≈θ no longer holds and we cannot solve for θ(t) in terms of elementary functions.
The Pendulum and Frictionless Landscapes
Any second-order differential equation with no velocity term x′ (no friction) and no time t pushing the system has the form
x′′+g(x)=0
Instead of asking where the system is at time t, we ask how fast it is moving (v=x′) when it passes through position x, just like a marble trading height for speed on a frictionless track.
1
Conservation of Energy
To eliminate time t from x′′+g(x)=0, we want an equation that links position x and velocity v=x′ directly.
Deriving Conservation of Energy
Multiplying the differential equation by velocity 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)):dtd[21v2+V(x)]=0Integrate with respect to t:kinetic energy21v2+potential energy∫g(x)dxV(x)=total energyE
You can also reach the same result by writing acceleration as x′′=vdxdv, separating variables as vdv=−g(x)dx, and integrating both sides.
2
From Potential Landscape to Phase Portrait
Once we have the potential curve V(x)=∫g(x)dx, we can draw the trajectories in the (x,v) phase plane directly from the hills and valleys of V(x). Let's build the phase portrait for the nonlinear system
x′′+x−x3=0
From Potential Landscape to Phase Portrait
Text solution
Integrate g(x) to find the potential landscape Integrating g(x)=x−x3 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.
V(x)=∫(x−x3)dx=21x2−41x4
Solve for the vertical energy gap E−V(x) Moving V(x) to the right side of the energy equation shows that kinetic energy 21v2 equals the vertical gap between the flat horizontal line E and the curve V(x).
21v2=E−V(x)=E−(21x2−41x4)
Line up flat spots of V(x) with equilibria on the x-axis Where the slope V′(x)=x−x3=x(1−x2) is zero and v=0, the valley bottom at x=0 lines up with a center and the two hilltops at x=±1 line up with saddle points.
Center: (0,0)Saddles: (−1,0),(1,0)
Read the phase curves from the height of the energy line E For 0<E<41 the marble rolls back and forth between the valley walls along closed loops where E−V(x)≥0, while at the hilltop height E=V(±1)=21−41=41 the trajectory forms the separatrix connecting the two saddles.
21v2+21x2−41x4=41(separatrix)
Try dragging the energy line E up and down on V(x)=21x2−41x4 to see how the vertical gap E−V(x) traces out the closed loops and the separatrix at E=41 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 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
Text solution
Integrate sin(θ) to get the periodic potential wave Integrating g(θ)=sin(θ) gives an upside-down cosine wave with valleys of height −1 where the pendulum hangs straight down (θ=0,±2π,…) and peaks of height +1 where it balances straight up (θ=±π,±3π,…).
V(θ)=∫sin(θ)dθ=−cos(θ),21v2−cos(θ)=E
Low energy stays inside the valleys (−1<E<1) When the energy line cuts across the valleys, the pendulum swings back and forth between two turning angles where v=0, tracing closed ovals around (2nπ,0) that become nearly circular right at the bottom where −cos(θ) is nearly a parabola.
−1<21v2−cos(θ)<1(back-and-forth swings)
Touch the upright peaks along the separatrix (E=1) When the energy line is at the peak height V(±π)=−cos(±π)=1, the trajectories connect neighboring upright saddle points ((2n+1)π,0), showing a pendulum that tips from straight up, swings fast through the bottom, and slows to a stop straight up again.
21v2−cos(θ)=1(separatrix)
Raise energy above the peaks for nonstop spinning (E>1) When E>1, the gap E−(−cosθ) stays positive everywhere, so v never hits zero and the pendulum spins over the top forever along wavy curves above or below the separatrices.
21v2−cos(θ)>1(over-the-top rotation)
Try varying the starting angle and initial push to see how raising the energy E on V(θ)=−cos(θ) shifts the trajectory from closed ovals inside the valleys (E<1), onto the separatrix (E=1), and into wavy spinning curves (E>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 21v2−cos(θ)=E to compute the exact push v0 needed at the bottom θ=0 to send the pendulum over the top, or the maximum angle θmax it reaches when a smaller push isn't enough.
Calculating Threshold Speeds and Turning Angles
Text solution
Find the threshold velocity from θ=0 to loop over the top at θ=π Evaluate total energy E at the starting state (θ,v)=(0,v0) and set it greater than the upright peak height V(π)=−cos(π)=1.
E=21v02−cos(0)=21v02−1>1⟹21v02>2⟹v0>2
Find the total energy for a smaller push v0=1 at θ=0 Substitute the initial condition (θ,v)=(0,1) into the energy equation to find the constant energy E for the entire swing.
E=21(1)2−cos(0)=21−1=−21
Set v=0 at the turnaround point to solve for θmax At the highest angle θmax the pendulum stops for an instant before swinging back, so setting v=0 in 21v2−cos(θ)=−21 gives the turning angle.
0−cos(θmax)⟹cos(θmax)⟹θmax=−21=21=3π
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 as θ′=v,v′=−sin(θ) gives J(θ,v)=[0−cos(θ)10]. Let's see why conserved energy settles this borderline case at the valleys.
Why Conserved Energy Guarantees True Centers
At an upright hilltop (π,0), the Jacobian determinant is negative, so nonlinear terms cannot change the saddle shape and this already proves a true saddle:
Conservation of energy closes the loop. A trajectory cannot spiral inward or outward because that would change its energy E; instead, it has to follow a closed level curve of E=21v2−cos(θ) and return to the exact same point (θ0,0) where it started.
6
The Damped Pendulum and Sinking Energy
When we add pivot friction or air resistance bθ′ (with b>0) to get the damped pendulum
θ′′+bθ′+sin(θ)=0
energy is no longer constant, so we want to find the rate of change dtdE of the undamped energy E=21v2−cos(θ) to see how the phase portrait changes.
The Damped Pendulum and Sinking Energy
Text solution
Differentiate the energy function E=21v2−cos(θ) with respect to time Applying the chain rule and factoring out v=θ′ groups the left side of the undamped equation together.
dtdE=vθ′′+sin(θ)θ′=v(θ′′+sin(θ))
Substitute θ′′+sin(θ)=−bθ′=−bv from the damped equation Because b>0 and v2≥0, the time derivative of energy is negative whenever the pendulum is moving, so the energy line steadily drops.
dtdE=v(−bv)=−bv2≤0(Lyapunov function:trajectories movedownhill on E)
Check the Jacobian at the valley equilibria with the −bv damping term In the first-order system θ′=v,v′=−sin(θ)−bv, the bottom-right entry of the Jacobian becomes −b, giving a negative trace that gives the eigenvalues negative real parts so the valleys become stable spirals (or stable nodes for large b).
J(0,0)trJ=[0−11−b],=−b<0,detJ=1>0
Watch how the energy line drops down the V(θ)=−cos(θ) wave whenever the pendulum moves (v=0), pausing only for an instant at turning points (v=0) before trapping the pendulum in a valley once E falls below 1.
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′. If there is no x′ term and no t, the system is conservative (x′′+g(x)=0, such as x′′+x−x3=0 or θ′′+sin(θ)=0): integrate g(x) to get the potential curve V(x)=∫g(x)dx and write the conserved total energy
21v2+V(x)=E
Reading 21v2=E−V(x) as the vertical gap below the horizontal line E gives both the phase portrait and any speed or turning-point calculation in one step:
Valleys of V(x) (V′(x)=0,V′′(x)>0) are true centers
For θ′′+sin(θ)=0, the valley at θ=0 has J(0,0)=[0−110] with trJ=0,detJ=1>0. Don't stop at the Jacobian: use the closed level curves of E=21v2−cos(θ) to prove (0,0) is a true nonlinear center. (At a hilltop like θ=π,detJ=−1<0 already guarantees a saddle without needing E.)
Turning points (v=0) and escape thresholds (E>Vpeak)
Plug the initial state (x0,v0) into 21v2+V(x)=E to find E. Set v=0 to find a turning point V(xmax)=E, or set E=V(xpeak) to write the separatrix and find the threshold push needed to make it over a hilltop (for the pendulum from θ=0,21v02−1>1⟹v0>2).
When not to set E constant
If the equation has a damping term bx′ with b>0 (such as θ′′+bθ′+sin(θ)=0), energy is not conserved. Keep the same formula E=21v2+V(x) as a Lyapunov function, but differentiate it along the trajectory to get dtdE=v(−bv)=−bv2≤0: for the pendulum, the energy line drops until E falls below the hilltops and the trajectory settles into a valley bottom.
7
Practice
1
For the conservative system x′′+4x3=0, find the potential energy V(x) (with V(0)=0) and write the total energy equation. If the marble starts at x(0)=1 with velocity x′(0)=2, what is its speed ∣v∣ when it passes through x=0?
Integrate g(x)=4x3 to find V(x), plug (x,v)=(1,2) into 21v2+V(x)=E to find the constant energy E, and keep that same E at x=0.
Integrate g(x)=4x3with V(0)=0:V(x)=∫4x3dx=x4Write the totalenergy equation:21v2+x4=EFind E at the start (x,v)=(1,2):E=21(2)2+(1)4=2+1=3Set x=0 with E=3:21v2+04=3⟹v2=6⟹∣v∣=6
(Watch out for the 21 on kinetic energy: dropping 21 to write v2+x4=E gives E=5 and the wrong speed 5, and forgetting to multiply by 2 when solving 21v2=3 gives the wrong speed 3.)
∣v∣=6
2
Consider the system x′′−x+x3=0. Find the potential energy V(x) with V(0)=0, find all equilibrium points in the (x,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+x3 directly from x′′+g(x)=0 without flipping its sign; equilibria sit on the x-axis (v=0) where V′(x)=g(x)=0.
Integrate g(x)=−x+x3with V(0)=0:V(x)=∫(−x+x3)dx=−21x2+41x4Set 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)=[01−3x210]Evaluate at the hilltop (0,0):J(0,0)=[0110],detJ=−1<0⟹(0,0) is a saddle pointEvaluate at the valleys (±1,0):J(±1,0)=[0−210],trJ=0,detJ=2>0
(Be careful not to flip the sign of g(x)=−x+x3 or write +g′(x) in the bottom-left of J: doing so gives V(x)=21x2−41x4 and detJ(0,0)=+1, which swaps hills and valleys and misclassifies (0,0) as a center and (±1,0) as saddles.)
At (−1,0) and (1,0), the Jacobian has trJ=0 and purely imaginary eigenvalues ±i2. 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=21v2−21x2+41x4 around each valley bottom, proving (−1,0) and (1,0) are true nonlinear centers.
3
The nonlinear pendulum θ′′+sin(θ)=0 is released from θ(0)=3π with an outward angular velocity of v(0)=1. Find the total energy E=21v2−cos(θ), the maximum angle θmax the pendulum reaches before turning around, and the maximum speed it reaches as it swings back through the bottom θ=0.
Find E at (3π,1) using E=21v2−cos(θ); then set v=0 at θmax, and evaluate V(0)=−cos(0) at the bottom θ=0.
Find E at (θ,v)=(3π,1):E=21(1)2−cos(3π)=21−21=0Set v=0 at theturning point θmax:0−cos(θmax)=0⟹cos(θmax)=0⟹θmax=2πSet θ=0 at the bottomof the swing:21vmax2−cos(0)=0⟹21vmax2−1=0⟹vmax=2
(Don't assume the potential energy at θ=0 is zero: −cos(0)=−1, whereas plugging in 0 for the potential term gives 21vmax2=0 and the wrong speed vmax=0.)
E=0,θmax=2π,vmax=2
4
For the conservative system x′′+x−x3=0 with potential energy V(x)=21x2−41x4, find the energy E on the separatrix, write the equation of the separatrix in the (x,v) phase plane, and find the threshold initial velocity v0>0 from x(0)=0 needed for the marble to make it over the hilltop at x=1.
The separatrix passes through the hilltop equilibria at x=±1 with v=0; find the hilltop height V(1) and set the initial energy at (0,v0) greater than that height.
Find the energy at thehilltops x=±1:E=V(±1)=21(±1)2−41(±1)4=41Write the separatrix equationwith E=41:21v2+21x2−41x4=41Find starting energy at (0,v0)and set E>41:21v02+V(0)=21v02>41⟹v02>21⟹v0>21
(Make sure you set 21v02 equal to the hilltop height V(1)=41 rather than the hilltop coordinate x=1, which gives the wrong threshold v0=2; also remember to multiply 41 by 2 before taking the square root, or you get the wrong threshold v0=21.)
v0=21
5
Suppose the undamped pendulum θ′′+sin(θ)=0 is pushed from the bottom θ(0)=0 with initial angular velocity 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)π. Then suppose friction is added so that θ′′+bθ′+sin(θ)=0 with b>0: find dtdE for E=21v2−cos(θ) and describe what happens to the trajectory from the same initial push.
Watch the sign of −cos(θ) at both ends: forgetting −cos(0)=−1 at the start gives E=29 and the wrong peak speed 7.Watch the sign of −cos(θ) at both ends: writing −cos(π)=−1 instead of +1 at the peak gives 21vmin2−1=27 and the wrong speed 3.
Compare the initial energy E at (0,3) with the peak height V(π)=−cos(π)=1; then differentiate E with respect to t and substitute θ′′+sin(θ)=−bv.
Find initial energy at (θ,v)=(0,3):E=21(3)2−cos(0)=29−1=27Compare E with peakheight V(π)=1:27>1⟹loops continuouslyover the topFind vmin at peaks θ=(2n+1)πwhere −cos(θ)=+1:21vmin2+1=27⟹21vmin2=25⟹vmin=5Differentiate E with damping θ′′+sin(θ)=−bv:dtdE=v(θ′′+sinθ)=v(−bv)=−bv2≤0
(Watch the sign of −cos(θ) at both ends: forgetting −cos(0)=−1 at the start gives E=29 and the wrong peak speed 7, while writing −cos(π)=−1 instead of +1 at the peak gives 21vmin2−1=27 and the wrong speed 3.)
For the undamped pendulum, vmin=5. With damping b>0,dtdE=−bv2≤0 drains energy whenever v=0, so the energy line drops from 27. After looping over a finite number of upright peaks, E falls below 1, trapping the pendulum in a valley where it settles to rest at a downward equilibrium (2nπ,0).