Lagrangian for pendulum with moving support

Click For Summary

Homework Help Overview

The problem involves a pendulum with a moving support, where a point mass can slide along a horizontal wire while another mass is attached to a massless bar. The objective is to find the equations of motion for this system in a gravitational field.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the derivation of kinetic and potential energy, and the application of the Lagrangian formalism. There is a focus on the kinematics of the system, particularly the velocities of the masses involved. Some participants express concern about the complexity of solving the resulting equations of motion directly.

Discussion Status

Participants have provided feedback on the original poster's approach, emphasizing the importance of correctly establishing the kinematics before proceeding to solve the equations. There is acknowledgment of the challenges posed by the coupled system of equations, and a suggestion to consider simplifications based on approximations.

Contextual Notes

The original poster later noted a missed detail regarding the need for a first-order approximation on the angles, which could simplify the equations derived.

Decimal
Messages
73
Reaction score
7

Homework Statement


[/B]
In a homogeneous gravity field with uniform gravitational acceleration g,
a pointmass m1 can slide without friction along a horizontal wire. The mass m1 is the pivot point of a
pendulum formed by a massless bar of constant length L, at the end of which a
second pointmass m2 is attached. m2 can oscillate within the plane. I included a drawing.

Find the equations of motion for this system

Homework Equations


[/B]
Lagrangian
$$ \mathcal{L} = T - V $$

Lagrange equations
$$\frac {d} {dt} (\frac {d\mathcal{L}} {\dot {dq_i}}) - (\frac {d\mathcal{L}} {dq_i}) = 0 $$

Conjugate momenta
$$p_i = (\frac {d\mathcal{L}} {\dot {dq_i}}) $$
$$\dot {p_i} = (\frac {d\mathcal{L}} {dq_i}) $$

The Attempt at a Solution


[/B]
First I computed the kinetic energy and potential energy. $$ T = \frac {1} {2} \dot {x_1}^2*(m_1+m_2) + m \dot {x_1} \dot {\phi} L cos(\phi) + \frac {1} {2} m_2 L^2 \dot {\phi}^2 $$ and $$ V = -m*g*L*cos(\phi) $$ Now I can calculate the Lagrangian: $$ \mathcal{L} = \frac {1} {2} \dot {x_1}^2*(m_1+m_2) + m \dot {x_1} \dot {\phi} L cos(\phi) + \frac {1} {2} m_2 L^2 \dot {\phi}^2 - -m*g*L*cos(\phi) $$ From this I can calculate the conjugate momenta, which then equal: $$ p_{x1} = \dot {x_1} (m1+m2) + m_2 \dot {\phi} L cos(\phi) $$ $$ p_\phi = m_2 L^2 \dot {\phi} + m_2 \dot {x_1} L cos(\phi) $$ Now using the lagrange equations I find the following equations of motion: $$ \ddot {x_1} (m1+m2) + m_2 \ddot {\phi} L cos(\phi) - m_2 \dot {\phi}^2 L sin(\phi) = 0 $$ $$ m_2 L^2 \ddot {\phi} + m_2 \ddot {x_1} L cos(\phi) - m_2 * \dot {x_1} \dot {\phi} L sin(\phi) = -m_2 g L sin(\phi) $$ Now straight up solving these equations for ## \ddot {x_1}## and ##\ddot {\phi}## will take quite a lot of work, so I was wondering whether there is an easier way to get the answer without solving this system directly. I feel like I should to do something with the fact that ## \dot {p_{x1}} = 0 ## so ##p_{x1}## is conserved. I am just not quite sure how I can use this. Help would be greatly appreciated!

Thanks!
 

Attachments

  • pendulum.png
    pendulum.png
    1.4 KB · Views: 2,059
Last edited:
Physics news on Phys.org
It has been many years since I worked this problem, and I don't recall the result. However, I notice that you did not present anything about the kinematics of the system, but rather jumped straight into writing the energies. The kinematics is where things usually go wrong, in my experience as a teacher. I'd check that part before worrying about solving the differential equations. Time spent solving the wrong equations is utterly wasted.
 
  • Like
Likes   Reactions: Decimal
Dr.D said:
It has been many years since I worked this problem, and I don't recall the result. However, I notice that you did not present anything about the kinematics of the system, but rather jumped straight into writing the energies. The kinematics is where things usually go wrong, in my experience as a teacher. I'd check that part before worrying about solving the differential equations. Time spent solving the wrong equations is utterly wasted.

Thanks for the response, I assume by kinematics you mean the way in which I derived the velocities of the two point masses. The velocity of the first mass is just ## \dot{x_1} ##, for the second mass I first wrote down the position vector, expressed in cartesian coordinates: $$ \vec {r_2} = \begin{pmatrix} x_1 + L sin(\phi) \\ -L cos(\phi) \end{pmatrix} $$ Then the velocity will equal: $$ \vec {v_2} = \begin{pmatrix} \dot {x_1} + L cos(\phi) \dot {\phi} \\ L sin(\phi) \dot {\phi} \end{pmatrix} $$ and then $$ \vec {v_2}^2 = \dot {x_1}^2 + 2*\dot {x_1} L cos(\phi) \dot {\phi} + L^2 \dot {\phi}^2 $$ Now given that $$ T = \frac {1} {2} m_1 \vec {v_1}^2 + \frac {1} {2} m_2 \vec {v_2}^2 $$ I arrive at the expression for kinetic energy I mentioned in the original post.
 
Last edited:
That does indeed look OK for the kinematics, so I think you are safe there

You complained that it was going to be difficult to solve the coupled system (and so it is), but it remains difficult (not impossible) to solve the system if you fix the value of x1. The large amplitude pendulum requires elliptic integrals for the solution, and that is not trivial at all. When you compound the difficulty by adding another degree of freedom, we can hardly expect the solution to get simpler.
 
  • Like
Likes   Reactions: Decimal
Thanks a lot for the help! However it turns out I missed a bit of information about the problem. I was supposed to derive the equations that I found and then apply a first order approximation on the angles, which does simplify them quite a bit.

Thanks for the effort though!
 
To be sure, that is a major simplification! Glad you noticed that bit!
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
Replies
9
Views
4K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
3K
Replies
26
Views
5K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 26 ·
Replies
26
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
5
Views
3K