myPhysicsLab Double Pendulum (2024)

previousnext

  • Sim
  • Graph
  • Time Graph
  • Multi Graph


This is a simulation of a double pendulum. For large motions it is a chaotic system,but for small motions it is a simple linear system.

You can change parameters in the simulation such as mass, gravity, and length of rods.You can drag the pendulum with your mouse to change the starting position.

The math behind the simulation is shown below. Also available:source code,documentation andhow to customize.

For small angles, a pendulum behaves like alinear system (seeSimple Pendulum).When the angles are small in the Double Pendulum, the system behaves like the linearDouble Spring.In the graph, you can see similarLissajous curvesbeing generated. This is because the motion is determined by simple sine and cosinefunctions.

For large angles, the pendulum is non-linear and the phase graph becomes much morecomplex. You can see this by dragging one of the masses to a larger angle and lettinggo.

We regard the pendulum rods as being massless and rigid. We regard the pendulummasses as being point masses. The derivation of the equations of motion is shown below,using the direct Newtonian method.

Kinematics of the Double Pendulum

myPhysicsLab Double Pendulum (2)

Kinematics means the relations of the parts of the device, without regard to forces.In kinematics we are only trying to find expressions for the position, velocity, andacceleration in terms of the variables that specify the state of the device.

  • x = horizontal position of pendulum mass
  • y = vertical position of pendulum mass
  • θ = angle of pendulum (0 = vertical downwards, counter-clockwise is positive)
  • L = length of rod (constant)

We place the origin at the pivot point of the upper pendulum. We regardy as increasing upwards. We indicate the upper pendulum by subscript 1,and the lower by subscript 2. Begin by using simple trigonometry to write expressionsfor the positions x1, y1, x2, y2 in terms of the angles θ1, θ2.

x1 = L1 sin θ1

y1 = −L1 cos θ1

x2 = x1 + L2 sin θ2

y2 = y1L2 cos θ2

The velocity is the derivative with respect to time of the position.

x1' = θ1' L1 cos θ1

y1' = θ1' L1 sin θ1

x2' = x1' + θ2' L2 cos θ2

y2' = y1' + θ2' L2 sin θ2

The acceleration is the second derivative.

x1'' = −θ1'2 L1 sin θ1 + θ1'' L1 cos θ1(1)
y1'' = θ1'2 L1 cos θ1 + θ1'' L1 sin θ1(2)
x2'' = x1'' − θ2'2 L2 sin θ2 + θ2'' L2 cos θ2(3)
y2'' = y1'' + θ2'2 L2 cos θ2 + θ2'' L2 sin θ2(4)

Forces in the Double Pendulum

myPhysicsLab Double Pendulum (3)
upper mass

myPhysicsLab Double Pendulum (4)
lower mass

We treat the two pendulum masses as point particles. Begin by drawing the free bodydiagram for the upper mass and writing an expression for the net force acting on it.Define these variables:

  • T = tension in the rod
  • m = mass of pendulum
  • g = gravitational constant

The forces on the upper pendulum mass are the tension in the upper rod T1,the tension in the lower rod T2, and gravity m1 g. We writeseparate equations for the horizontal and vertical forces, since they can be treatedindependently. The net force on the mass is the sum of these. Here we show the netforce and use Newton's law F = m a.

m1 x1'' = −T1 sin θ1 + T2 sin θ2(5)
m1 y1'' = T1 cos θ1T2 cos θ2m1 g(6)

For the lower pendulum, the forces are the tension in the lower rod T2, andgravity m2 g.

m2 x2'' = −T2 sin θ2(7)
m2 y2'' = T2 cos θ2m2 g(8)

In relating these equations to the diagrams, keep in mind that in the examplediagram θ1 is positive and θ2 is negative, because of the conventionthat a counter-clockwise angle is positive.

Direct Method for Finding Equations of Motion

Now we do some algebraic manipulations with the goal of finding expressions forθ1'', θ2'' in terms of θ1, θ1', θ2, θ2'. Begin by solving equations(7), (8) for T2 sin θ2 and T2 cos θ2 and then substituting intoequations (5) and (6).

m1 x1'' = −T1 sin θ1m2 x2''(9)
m1 y1'' = T1 cos θ1m2 y2'' − m2 gm1 g(10)

Multiply equation (9) by cos θ1 and equation (10) by sin θ1 andrearrange to get

T1 sin θ1 cos θ1 = −cos θ1 (m1 x1'' +m2 x2'')(11)
T1 sin θ1 cos θ1 = sin θ1 (m1 y1'' + m2 y2'' +m2 g +m1 g)(12)

This leads to the equation

sin θ1 (m1 y1'' + m2 y2'' + m2 g +m1 g) =−cos θ1 (m1 x1'' + m2 x2'')(13)

Next, multiply equation (7) by cos θ2 and equation (8) by sin θ2 andrearrange to get

T2 sin θ2 cos θ2 = −cos θ2 (m2 x2'')(14)
T2 sin θ2 cos θ2 = sin θ2 (m2 y2'' + m2 g)(15)

which leads to

sin θ2 (m2 y2'' + m2 g) = −cos θ2 (m2 x2'')(16)

Next we need to use a computer algebra program to solve equations (13) and (16) forθ1'', θ2'' in terms of θ1, θ1', θ2, θ2'. Note that we also include thedefinitions given by equations (1-4), so that we have 2 equations (13, 16) and 2unknowns (θ1'', θ2''). The result is somewhat complicated, but is easy enoughto program into the computer.

θ1''= g (2 m1 + m2) sin θ1m2 g sin(θ1 − 2 θ2) − 2 sin(θ1θ2) m2 (θ2'2 L2 + θ1'2 L1 cos(θ1θ2))
L1 (2 m1 + m2m2 cos(2 θ1 − 2 θ2))
θ2''= 2 sin(θ1θ2) (θ1'2 L1 (m1 + m2) + g(m1 + m2) cos θ1 + θ2'2 L2 m2 cos(θ1θ2))
L2 (2 m1 + m2m2 cos(2 θ1 − 2 θ2))

These are the equations of motion for the double pendulum.

Numerical Solution

The above equations are now close to the form needed for theRunge Kutta method. The finalstep is convert these two 2nd order equations into four 1st order equations. Define thefirst derivatives as separate variables:

  • ω1 = angular velocity of top rod
  • ω2 = angular velocity of bottom rod

Then we can write the four 1st order equations:

θ1' = ω1

θ2' = ω2

ω1'= g (2 m1 + m2) sin θ1m2 g sin(θ1 − 2 θ2) − 2 sin(θ1θ2) m2 (ω22 L2 + ω12 L1 cos(θ1θ2))
L1 (2 m1 + m2m2 cos(2 θ1 − 2 θ2))
ω2'= 2 sin(θ1θ2) (ω12 L1 (m1 + m2) + g(m1 + m2) cos θ1 + ω22 L2 m2 cos(θ1θ2))
L2 (2 m1 + m2m2 cos(2 θ1 − 2 θ2))

This is now exactly the form needed to plug in to the Runge-Kutta method fornumerical solution of the system.

This web page was first published February 2002.

© Erik Neumann, 2004-2021
revised Dec 19 2023 9:56

previous next myPhysicsLab Double Pendulum (5)

myPhysicsLab Double Pendulum (2024)
Top Articles
Democrat-Darling Rachael Rollins Disbarred After Justice Refuses To Prosecute One Of Its Own
Printable Template Download - Printable Templates Free
Spasa Parish
Rentals for rent in Maastricht
159R Bus Schedule Pdf
Sallisaw Bin Store
Black Adam Showtimes Near Maya Cinemas Delano
Espn Transfer Portal Basketball
Pollen Levels Richmond
11 Best Sites Like The Chive For Funny Pictures and Memes
Things to do in Wichita Falls on weekends 12-15 September
Craigslist Pets Huntsville Alabama
Paulette Goddard | American Actress, Modern Times, Charlie Chaplin
What's the Difference Between Halal and Haram Meat & Food?
R/Skinwalker
Rugged Gentleman Barber Shop Martinsburg Wv
Jennifer Lenzini Leaving Ktiv
Justified - Streams, Episodenguide und News zur Serie
Epay. Medstarhealth.org
Olde Kegg Bar & Grill Portage Menu
Cubilabras
Half Inning In Which The Home Team Bats Crossword
Amazing Lash Bay Colony
Juego Friv Poki
Dirt Devil Ud70181 Parts Diagram
Truist Bank Open Saturday
Water Leaks in Your Car When It Rains? Common Causes & Fixes
What’s Closing at Disney World? A Complete Guide
New from Simply So Good - Cherry Apricot Slab Pie
Drys Pharmacy
Ohio State Football Wiki
FirstLight Power to Acquire Leading Canadian Renewable Operator and Developer Hydromega Services Inc. - FirstLight
Webmail.unt.edu
2024-25 ITH Season Preview: USC Trojans
Trade Chart Dave Richard
Lincoln Financial Field Section 110
Free Stuff Craigslist Roanoke Va
Stellaris Resolution
Wi Dept Of Regulation & Licensing
Pick N Pull Near Me [Locator Map + Guide + FAQ]
Crystal Westbrooks Nipple
Ice Hockey Dboard
Über 60 Prozent Rabatt auf E-Bikes: Aldi reduziert sämtliche Pedelecs stark im Preis - nur noch für kurze Zeit
Wie blocke ich einen Bot aus Boardman/USA - sellerforum.de
Craigslist Pets Inland Empire
Infinity Pool Showtimes Near Maya Cinemas Bakersfield
Hooda Math—Games, Features, and Benefits — Mashup Math
Dermpathdiagnostics Com Pay Invoice
How To Use Price Chopper Points At Quiktrip
Maria Butina Bikini
Busted Newspaper Zapata Tx
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6506

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.