Lagrangian for pendulum

Click For Summary

Discussion Overview

The discussion revolves around deriving the equation of motion for a planar pendulum with a mass at its end, where the pivot point moves uniformly along a vertical circular path. Participants explore the Lagrangian formulation, the application of the Euler-Lagrange equation, and the implications of the moving pivot on the system's dynamics.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines the parameters of the pendulum system, including the length, mass, angle, and the motion of the pivot point, and derives expressions for kinetic and potential energy.
  • Another participant suggests that the constraints of the pivot's circular motion are already incorporated in the Lagrangian and proposes checking if the right-hand side of the Euler-Lagrange equation can be set to zero.
  • A different participant reiterates the setup of the problem and expresses uncertainty about the driving force in the equation of motion, questioning what should be placed in the Euler-Lagrange equation.
  • One participant introduces the concept of having two degrees of freedom, denoting them as ##\phi## and ##\theta##, and presents equations of motion with differing right-hand sides.
  • Another participant questions the introduction of ##\phi##, suggesting it may represent the angular position of the pivot, and requests clarification or a diagram.
  • Further contributions clarify that ##\phi## could be interpreted as ##\omega t##, and debate whether both equations of motion are necessary, with some suggesting that the first equation may not be needed.
  • One participant emphasizes that the Lagrangian is time-dependent and that the system's complexity increases with the motion of the pivot.
  • A participant expresses skepticism about the feasibility of deriving the equations of motion without additional assumptions, noting the challenges in setting up the Lagrangian.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and formulation of the equations of motion, with some proposing different interpretations of the degrees of freedom involved. The discussion remains unresolved regarding the best approach to derive the equations of motion and the role of the pivot's motion.

Contextual Notes

There are limitations regarding the assumptions made about the system, particularly concerning the treatment of the pivot's motion and the implications of varying angular frequencies. The discussion reflects a range of interpretations and approaches without reaching a consensus.

wnvl2
Messages
64
Reaction score
14
I want to calculate the equation of motion of a planar pendulum of length l with a mass m at its end and a pivot point that moves uniformly along a vertical circular path (radius a) with a constant frequency ω.

The Lagrangian and the equation of motion for a planar pendulum with a moving pivot point can be derived using the Lagrange formulation.

- Length of the pendulum: ##l##
- Mass of the pendulum bob: ##m ##
- Angle of the pendulum from the vertical: ## \theta ##
- The pivot point moves along a vertical circular path with a radius ## a ## and a constant angular frequency ## \omega ##.
- Therefore, the coordinates of the moving pivot point can be described as:
$$
(x_0, y_0) = (a \sin(\omega t), -a \cos(\omega t))
$$

The total kinetic energy ##T## of the system is the sum of the kinetic energy of the pendulum bob and the motion of the moving pivot. The position of the bob in terms of the angle ## \theta ## and the moving pivot is given by:
$$
x = x_0 + l \sin(\theta) = a \sin(\omega t) + l \sin(\theta)
$$
$$
y = y_0 - l \cos(\theta) = -a \cos(\omega t) - l \cos(\theta)
$$

The velocity of the pendulum bob is the time derivative of these coordinates:
$$
\dot{x} = \frac{d}{dt}(a \sin(\omega t) + l \sin(\theta)) = a \omega \cos(\omega t) + l \dot{\theta} \cos(\theta)
$$
$$
\dot{y} = \frac{d}{dt}(-a \cos(\omega t) - l \cos(\theta)) = a \omega \sin(\omega t) + l \dot{\theta} \sin(\theta)
$$

The kinetic energy of the pendulum bob is:
$$
T = \frac{1}{2} m (\dot{x}^2 + \dot{y}^2)
$$

The potential energy ##U## of the system is due to gravity acting on the pendulum bob. The height ##y## of the bob (with the pivot at ## y_0 = -a \cos(\omega t) ##) is:
$$
y = -a \cos(\omega t) - l \cos(\theta)
$$
The gravitational potential energy is:
$$
U = m g y = -m g \left(a \cos(\omega t) + l \cos(\theta)\right)
$$

The Lagrangian ## L## is the difference between the kinetic and potential energies:
$$
L = T - U
$$

No problem, but to derive the equation of motion, I have to apply the Euler-Lagrange equation:
$$
\frac{d}{dt} \left( \frac{\partial L}{\partial \dot{\theta}} \right) - \frac{\partial L}{\partial \theta} = ???
$$

I don't know what I should put in place of the ??? I assume it is not zero as there is a driving force. How can I calculate that driving force?
 
Last edited:
Physics news on Phys.org
The Euler-Lagrange equation of constrainsts would work. The constraints would be circular motion of pivot with constant omega. But the constraint seems incorporated in your Lagrangian. How about trying RHS=0 and investigate the result whether it is reasonable or not ?
 
Last edited:
  • Like
Likes   Reactions: wnvl2
wnvl2 said:
I want to calculate the equation of motion of a planar pendulum of length l with a mass m at its end and a pivot point that moves uniformly along a vertical circular path (radius a) with a constant frequency ω.

The Lagrangian and the equation of motion for a planar pendulum with a moving pivot point can be derived using the Lagrange formulation.

- Length of the pendulum: ##l##
- Mass of the pendulum bob: ##m ##
- Angle of the pendulum from the vertical: ## \theta ##
- The pivot point moves along a vertical circular path with a radius ## a ## and a constant angular frequency ## \omega ##.
- Therefore, the coordinates of the moving pivot point can be described as:
$$
(x_0, y_0) = (a \sin(\omega t), -a \cos(\omega t))
$$

The total kinetic energy ##T## of the system is the sum of the kinetic energy of the pendulum bob and the motion of the moving pivot. The position of the bob in terms of the angle ## \theta ## and the moving pivot is given by:
$$
x = x_0 + l \sin(\theta) = a \sin(\omega t) + l \sin(\theta)
$$
$$
y = y_0 - l \cos(\theta) = -a \cos(\omega t) - l \cos(\theta)
$$

The velocity of the pendulum bob is the time derivative of these coordinates:
$$
\dot{x} = \frac{d}{dt}(a \sin(\omega t) + l \sin(\theta)) = a \omega \cos(\omega t) + l \dot{\theta} \cos(\theta)
$$
$$
\dot{y} = \frac{d}{dt}(-a \cos(\omega t) - l \cos(\theta)) = a \omega \sin(\omega t) + l \dot{\theta} \sin(\theta)
$$

The kinetic energy of the pendulum bob is:
$$
T = \frac{1}{2} m (\dot{x}^2 + \dot{y}^2)
$$

The potential energy ##U## of the system is due to gravity acting on the pendulum bob. The height ##y## of the bob (with the pivot at ## y_0 = -a \cos(\omega t) ##) is:
$$
y = -a \cos(\omega t) - l \cos(\theta)
$$
The gravitational potential energy is:
$$
U = m g y = -m g \left(a \cos(\omega t) + l \cos(\theta)\right)
$$

The Lagrangian ## L## is the difference between the kinetic and potential energies:
$$
L = T - U
$$

No problem, but to derive the equation of motion, I have to apply the Euler-Lagrange equation:
$$
\frac{d}{dt} \left( \frac{\partial L}{\partial \dot{\theta}} \right) - \frac{\partial L}{\partial \theta} = ???
$$

I don't know what I should put in place of the ??? I assume it is not zero as there is a driving force. How can I calculate that driving force?
By including the motion of the pivot in your equations, the Euler-Lagrange equations should work normally.

You could double check by generating the equation of motion using forces in the accelerating reference frame of the pivot.
 
  • Like
Likes   Reactions: wnvl2
I think I understand it now better. I haven a system with 2 degrees of freedom ##\phi## en ##\theta##. The equations of motion are

$$\frac{d}{dt}\frac{\delta L}{\delta \dot{\phi}}-\frac{\delta L}{\delta \phi} = -mg(a \sin \phi+l\sin\theta)$$
$$\frac{d}{dt}\frac{\delta L}{\delta \dot{\theta}}-\frac{\delta L}{\delta \theta} = 0$$

In the second equation of motion the RHS is zero, in the first not.
 
What is ##\phi## ? Haven't seen it thus far! Don't you just have ##\theta## ? A drawing, perhaps ?

$$\ $$
 
I think ##\phi=\omega t## as a constraint. I don't think we need the first equation.
 
  • Like
Likes   Reactions: wnvl2 and PeroK
wnvl2 said:
I think I understand it now better. I haven a system with 2 degrees of freedom ##\phi## en ##\theta##. The equations of motion are

$$\frac{d}{dt}\frac{\delta L}{\delta \dot{\phi}}-\frac{\delta L}{\delta \phi} = -mg(a \sin \phi+l\sin\theta)$$
$$\frac{d}{dt}\frac{\delta L}{\delta \dot{\theta}}-\frac{\delta L}{\delta \theta} = 0$$

In the second equation of motion the RHS is zero, in the first not.
There is only one Euler-Lagrange equation for this system. The Lagrangian is time dependent and ##\omega## is constant.
 
PS if there is an Euler-Lagrange equation, there should be an equivalent Newtonian equation of motion. The equation of motion for the pivot point is fixed. That cannot be derived from Newton's laws without including the unspecified external forces. Likewise, there is no Euler-Lagrange equation for the pivot point.
 
BvU said:
A drawing, perhaps ?
No takers. Here's my attempt at stating the problem:

1738846566460.png

Suspension point A with coordinates ##(x_0, y_0)## is forced to describe a circle with radius ##a##. So $$ \begin{align*}
\phi &= \omega t\\ x_0 &= a\cos\phi\\ y_0&=a\sin\phi\end{align*}

$$Mass ##m## swings and has coordinates $$
\begin{align*}
x&=x_0+l\cos\theta \\ y&= y_0+l\sin\theta\end{align*}

$$We want to set up a Lagragian ##\mathcal L = T - V## in terms of ##\theta## and solve the Euler-Lagrange equation$$\frac{\ d}{dt}\frac{\delta\mathcal L}{\delta \dot{\theta}}-\frac{\delta\mathcal L}{\delta \theta} = 0
$$The extreme case ##\omega = 0## should give us a simple pendulum and, at the other extreme, the case ##\omega >> \sqrt{g/l}## should give us ##\theta = \phi##.

Without some further assumptions this seems to me a pretty difficult enterprise :nb)
Setting up ##\mathcal L## is already daunting. An attempt at simplifying with ##\theta << 1## spoils all the fun (forces ## \omega \approx 0)##. I don't think I've ever seen this as an exercise in a textbook...

I wonder if someone can prove me wrong :rolleyes:

##\ ##
 
  • #10
I don't see the problem deriving the equation of motion. The kinetic energy and potential energy can easily be written down in terms of the motion of the pivot plus the angle ##\theta##.

Moreover, a Newtonian analysis in the accelerating reference frame of the pivot is equally straightforward.

Solving the equation of motion is another matter, as it often is.
 
  • Like
Likes   Reactions: wnvl2 and BvU
  • #11
1738909587562.png

(post #9)

Though not an essential comment, in order that these formula are right, ##\phi## is measured from x axis as usual not from -y as shown in the diagram. In order that the diagram is right ##\phi=\omega t - \frac{\pi}{2}## instead of the first formula.
 
  • #12
My mistake, thanks for for correcting!

##\ ##
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 76 ·
3
Replies
76
Views
7K
  • · Replies 2 ·
Replies
2
Views
790
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K