Lagrangian for pendulum with moving support

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,030
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 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 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!
 
##|\Psi|^2=\frac{1}{\sqrt{\pi b^2}}\exp(\frac{-(x-x_0)^2}{b^2}).## ##\braket{x}=\frac{1}{\sqrt{\pi b^2}}\int_{-\infty}^{\infty}dx\,x\exp(-\frac{(x-x_0)^2}{b^2}).## ##y=x-x_0 \quad x=y+x_0 \quad dy=dx.## The boundaries remain infinite, I believe. ##\frac{1}{\sqrt{\pi b^2}}\int_{-\infty}^{\infty}dy(y+x_0)\exp(\frac{-y^2}{b^2}).## ##\frac{2}{\sqrt{\pi b^2}}\int_0^{\infty}dy\,y\exp(\frac{-y^2}{b^2})+\frac{2x_0}{\sqrt{\pi b^2}}\int_0^{\infty}dy\,\exp(-\frac{y^2}{b^2}).## I then resolved the two...
Hello everyone, I’m considering a point charge q that oscillates harmonically about the origin along the z-axis, e.g. $$z_{q}(t)= A\sin(wt)$$ In a strongly simplified / quasi-instantaneous approximation I ignore retardation and take the electric field at the position ##r=(x,y,z)## simply to be the “Coulomb field at the charge’s instantaneous position”: $$E(r,t)=\frac{q}{4\pi\varepsilon_{0}}\frac{r-r_{q}(t)}{||r-r_{q}(t)||^{3}}$$ with $$r_{q}(t)=(0,0,z_{q}(t))$$ (I’m aware this isn’t...
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
Back
Top