Small oscillations of a simple pendulum placed on a moving block

Click For Summary
SUMMARY

The discussion centers on deriving the equations of motion for a simple pendulum placed on a moving block using Lagrangian mechanics. The Lagrangian is defined as $$L=\dfrac {M+m}{2}\dot x^2+ml\dot x \dot \theta \cos \theta + \dfrac 1 2 m l^2 \dot \theta^2 +mgl\cos \theta$$. Participants agree that for small oscillations, higher-order terms in θ can be ignored, but terms up to second order must be retained to derive linear equations of motion. The conversation emphasizes the importance of correctly applying Lagrange's equations and considering the center of mass motion in the analysis.

PREREQUISITES
  • Lagrangian mechanics and its application in classical mechanics
  • Understanding of small angle approximations in oscillatory motion
  • Knowledge of Hamilton's principle and equations of motion
  • Familiarity with generalized coordinates and their transformations
NEXT STEPS
  • Study the derivation of equations of motion using Lagrange's equations for systems with constraints
  • Explore the concept of small oscillations and the conditions under which approximations are valid
  • Learn about generalized coordinates and their application in simplifying complex mechanical systems
  • Investigate the relationship between translational and oscillatory motion in multi-body systems
USEFUL FOR

Students and professionals in physics, particularly those focusing on classical mechanics, mechanical engineering, and anyone interested in the dynamics of oscillatory systems.

MatinSAR
Messages
673
Reaction score
204
Homework Statement
A simple pendulum with mass ##m## and length ##L## is placed on a block with mass ##M##. The block can move freely on a frictionless horizontal surface. Find the equation of motion and the frequency of small oscillations.
Relevant Equations
Hamilton's principle and Lagrangian equation.
Hello. This is the figure of the problem:
1712682101021.png

First, we should determine the Lagrangian of the system. I have already completed this part without any issues. To respect everyone’s time, I won’t go into the details of how I accomplished it.
1712682204749.png

$$L=\dfrac {M+m}{2}\dot x^2+ml\dot x \dot \theta \cos \theta + \dfrac 1 2 m l^2 \dot \theta^2 +mgl\cos \theta $$ To find equation of motion I should directly put the above lagrangian in lagrange's equation? Or is it possible to first simplify it for small oscillations?

Edit 1: I forgot to mention that for small oscillations we can ignore the higher powers of theta and its derivatives.
 
Last edited:
Physics news on Phys.org
MatinSAR said:
Homework Statement: A simple pendulum with mass ##m## and length ##L## is placed on a block with mass ##M##. The block can move freely on a frictionless horizontal surface. Find the equation of motion and the frequency of small oscillations.
Relevant Equations: Hamilton's principle and Lagrangian equation.

Hello. This is the figure of the problem:
View attachment 343055
First, we should determine the Lagrangian of the system. I have already completed this part without any issues. To respect everyone’s time, I won’t go into the details of how I accomplished it. View attachment 343056
$$L=\dfrac {M+m}{2}\dot x^2+ml\dot x \dot \theta \cos \theta + \dfrac 1 2 m l^2 \dot \theta^2 +mgl\cos \theta $$ To find equation of motion I should directly put the above lagrangian in lagrange's equation? Or is it possible to first simplify it for small oscillations?
I think you would be able to substitute now for ##\cos \theta##
 
  • Like
Likes   Reactions: MatinSAR
erobz said:
I think you would be able to substitute now for ##\cos \theta##
I wanted to simplify it for small oscillations then substitute it in lagrange's equation. But I was not sure. So you don't see a problem in doing this?
I will try it and share results as soon as I can ... Thank you.
 
MatinSAR said:
I wanted to simplify it for small oscillations then substitute it in lagrange's equation. But I was not sure. So you don't see a problem in doing this?
I will try it and share results as soon as I can ... Thank you.
I could be wrong though ( you're already getting out of my wheelhouse of comfort), maybe try it both ways and see if you come to agreement (sometimes doing it twice is the best way to convince yourself)?
 
  • Like
Likes   Reactions: MatinSAR
Yes, you can expand the Lagrangian for small ##\theta## and then apply the EL equation, but if you want linear EoMs, you need to expand to second order in ##\theta##.
 
  • Like
Likes   Reactions: erobz and MatinSAR
I've forgot to mention that for small oscillations we can also ignore the higher powers of theta and its derivatives.
erobz said:
I could be wrong though ( you're already getting out of my wheelhouse of comfort)
No problem. Thanks for your help.
erobz said:
maybe try it both ways and see if you come to agreement?
I will.
 
Orodruin said:
Yes, you can expand the Lagrangian for small ##\theta## and then apply the EL equation, but if you want linear EoMs, you need to expand to second order in ##\theta##.
Good news ...
I forgot to mention that for small oscillations we can also ignore the higher powers of theta and its derivatives according to the question.
So ... Can I ignore ##\dot \theta## and ##\theta^2## at first place?
 
MatinSAR said:
Good news ...
I forgot to mention that for small oscillations we can also ignore the higher powers of theta and its derivatives according to the question.
So ... Can I ignore ##\dot \theta ^2## and ##\theta^2## at first place?
Definitely not!!
 
  • Like
Likes   Reactions: MatinSAR
PeroK said:
Definitely not!!
Then I should do a lot of math to find its equations of motion, sadly. Thanks, I'll try and post the results soon.
 
  • #10
Personally, I prefer to first obtain the equations of motion and then consider approximations only because I don't trust myself not to throw out the baby with the bath water.
 
  • Like
Likes   Reactions: PeroK and MatinSAR
  • #11
Lagrangian of the system is: $$L=\dfrac {M+m}{2}\dot x^2+ml\dot x \dot \theta \cos \theta + \dfrac 1 2 m l^2 \dot \theta^2 +mgl\cos \theta $$
For coordiante ##x## we have:
$$\frac {\partial L} {\partial x}-\frac {d}{dt}\frac {\partial L} {\partial \dot x}=0 $$ $$\frac {\partial L} {\partial \dot x}=A$$ A is a constant. $$(M+m)\dot x+mL\dot \theta cos \theta=A$$$$\dot x = \dfrac {A-ml\dot \theta \cos \theta}{M+m}$$$$x=\dfrac {1}{M+m}(At-ml\sin \theta)$$
I'm not sure with last part. Did I solve for ##x## correctly? Many thanks.

kuruman said:
Personally, I prefer to first obtain the equations of motion and then consider approximations only because I don't trust myself not to throw out the baby with the bath water.
You’re right. I just intended to solve the question faster and get to the rest of the tasks.
 
  • #12
MatinSAR said:
Good news ...
I forgot to mention that for small oscillations we can also ignore the higher powers of theta and its derivatives according to the question.
So ... Can I ignore ##\dot \theta## and ##\theta^2## at first place?
Huh? Definitely not!

As I said you need to keep terms up to second order in the variable in the Lagrangian to obtain the linearised equations of motion. ##\theta^2## is second order so you cannot ignore it.

One thing to note about your Lagrangian is that it can be easily separated into a translational part and an oscillatory part. This makes the actual problem one-dimensional instead and quite easy to handle.
 
  • Like
Likes   Reactions: MatinSAR
  • #13
MatinSAR said:
I'm not sure with last part. Did I solve for ##x## correctly?
It doesn't look right. ##\theta## and ##\dot{\theta}## are both functions of time and you don't know what they look like, in fact you are looking for ##\theta(t)##.
 
  • Like
Likes   Reactions: MatinSAR
  • #14
Orodruin said:
One thing to note about your Lagrangian is that it can be easily separated into a translational part and an oscillatory part. This makes the actual problem one-dimensional instead and quite easy to handle.
I think this way is hard for me. I'm not familiar with oscillation that much. So I prefer to find equation of motion using Lagrange equations then simplify it the way that was mentioned in question.
kuruman said:
It doesn't look right. ##\theta## and ##\dot{\theta}## are both functions of time and you don't know what they look like, in fact you are looking for ##\theta(t)##.
Cant I wrote that as ##d \theta / dt##? Then I can simplify integral to ##cos \theta d\theta ##.

I've seen the edit just now. Can I use the other equation that I can find from lagrangian for ##\theta## coordinate?
 
  • #15
That you can do to get ##\int \cos(\theta(t))d\theta.## Then what? You have an implicit function of time under the integral sign that you don't know what it looks like.

I thnk @Orodruin's suggestion is worth looking into. Note that the center of mass stays fixed in the horizontla direction. I would try defining new generalized coordinates $$X=\frac{Mx+mL\sin\theta}{M+m}~;~~\xi=\frac{Mx-mL\sin\theta}{M+m}$$and see what happens. Note that ##X## describes the translatinal motion of the CM, while ##\xi## the departure from the equilibrium position. It's more work, but it should decouple the equations of motion.
 
  • Like
Likes   Reactions: MatinSAR
  • #16
kuruman said:
That you can do to get ##\int \cos(\theta(t))d\theta.## Then what? You have an implicit function of time under the integral sign that you don't know what it looks like.

I thnk @Orodruin's suggestion is worth looking into. Note that the center of mass stays fixed in the horizontla direction. I would try defining new generalized coordinates $$X=\frac{Mx+mL\sin\theta}{M+m}~;~~\xi=\frac{Mx-mL\sin\theta}{M+m}$$and see what happens. Note that ##X## describes the translatinal motion of the CM, while ##\xi## the departure from the equilibrium position. It's more work, but it should decouple the equations of motion.
Effectively, I would just do it … effectively …

Use the constant of motion from translational invariance to eliminate ##\dot x## from the constant of motion from time translation invariance (ie, energy). Then you are basically done.
 
  • Like
Likes   Reactions: MatinSAR
  • #17
kuruman said:
That you can do to get ##\int \cos(\theta(t))d\theta.## Then what? You have an implicit function of time under the integral sign that you don't know what it looks like.

I thnk @Orodruin's suggestion is worth looking into. Note that the center of mass stays fixed in the horizontla direction. I would try defining new generalized coordinates $$X=\frac{Mx+mL\sin\theta}{M+m}~;~~\xi=\frac{Mx-mL\sin\theta}{M+m}$$and see what happens. Note that ##X## describes the translatinal motion of the CM, while ##\xi## the departure from the equilibrium position. It's more work, but it should decouple the equations of motion.
So I cannot use ##x ## and ##\theta## to solve, right? How did you find those generalized coordinates? By guessing?
Is there any other way?
 
  • #18
Not really guessing. Just having seen this sort of problem before and some common sense. In this case, you note that the CM of the system does not accelerate horizontally because there are no horizontal external forces acting on the parts making it up.

So if one of the generalized coordinates is the position of the CM, its equation of motion should be ##\ddot X =0## and easy to solve. Furthermore, simple harmonic motion is expected to some approximation. It follows that the other generalized coordinate should be the departure from the equilibrium position in the horizontal direction. You should expect its equation of motion to be ##\ddot{ \xi}+\omega^2~\xi=0##.

Similar considerations apply to the cousin of this problem, namely the block of mass ##m## sliding down on a frictionless wedge of mass ##M## placed on a frictionless horizontal surface.
 
  • Like
Likes   Reactions: MatinSAR
  • #19
MatinSAR said:
Is there any other way?
Sure:

Orodruin said:
Use the constant of motion from translational invariance to eliminate x˙ from the constant of motion from time translation invariance (ie, energy). Then you are basically done.
 
  • Like
Likes   Reactions: MatinSAR
  • #20
Orodruin said:
Use the constant of motion from translational invariance to eliminate ##\dot x## from the constant of motion from time translation invariance (ie, energy). Then you are basically done.
Do you mean that I can use conservation of momentum ##\vec P## in horizontal direction?(Or using conservation of ##T+U##?)
I'm going to try this. Hope it works ...
kuruman said:
Not really guessing. Just having seen this sort of problem before and some common sense. In this case, you note that the CM of the system does not accelerate horizontally because there are no horizontal external forces acting on the parts making it up.

So if one of the generalized coordinates is the position of the CM, its equation of motion should be ##\ddot X =0## and easy to solve. Furthermore, simple harmonic motion is expected to some approximation. It follows that the other generalized coordinate should be the departure from the equilibrium position in the horizontal direction. You should expect its equation of motion to be ##\ddot{ \xi}+\omega^2~\xi=0##.

Similar considerations apply to the cousin of this problem, namely the block of mass ##m## sliding down on a frictionless wedge of mass ##M## placed on a frictionless horizontal surface.
Thanks again. However, this method is complicated for me. Given that there’s a chance my teacher might ask me to explain what I’ve written, I’d prefer to use a method that’s more understandable to me.
 
  • #21
@Orodruin @kuruman
This is my attempt at solving the problem. To save time, please skip the calculations. I just need help with the last part because I’m unsure if this method works.
Lagrangian of the system is given by: $$L=\dfrac {M+m}{2}\dot x^2+ml\dot x \dot \theta \cos \theta + \dfrac 1 2 m l^2 \dot \theta^2 +mgl\cos \theta $$ For coordiante ##x## we have: $$\frac {\partial L} {\partial x}-\frac {d}{dt}\frac {\partial L} {\partial \dot x}=0 $$ $$\frac {\partial L} {\partial \dot x}=A$$ A is a constant. $$(M+m)\dot x+ml\dot \theta cos \theta=A$$
For coordiante ##\theta## we have :$$\dfrac {\partial L}{\partial \theta}=-ml \dot x \dot \theta \sin \theta - mgl \sin \theta$$ $$\dfrac {\partial L}{\partial \dot \theta}=ml\dot x \cos \theta+ml^2 \dot \theta$$ $$\frac {d}{dt} \dfrac {\partial L}{\partial \dot \theta}=ml\ddot x \cos \theta -ml\dot x \dot \theta \sin \theta +ml^2 \ddot \theta$$ Using lagrange equation I get: $$-mgl \sin \theta -ml\ddot x \cos \theta - ml^2 \ddot \theta=0$$

I have two equations now: $$(M+m)\dot x+ml\dot \theta cos \theta=A$$$$-g \sin \theta -\ddot x \cos \theta - l \ddot \theta=0$$ Can I find ##\theta (t)## from the second equation and substitute it into the first equation, then solve for ##x(t)##?

Edit 1: I've just fixed a big problem in my solution. ##\ddot x## is not necessarily ##0##.
 
Last edited:
  • #22
MatinSAR said:
I have two equations now: $$(M+m)\dot x+ml\dot \theta cos \theta=A$$$$\ddot \theta + \dfrac {g}{l} \sin \theta =0$$ Can I find ##\theta (t)## from the second equation and substitute it into the first equation, then solve for ##x(t)##?
What makes you think ##\ddot x = 0 ##?

When I apply conservation of momentum in the ##x## direction I'm not finding that ##\ddot x = 0 ##. Maybe I'm messing that up. What do you get when you apply conservation of momentum?
 
  • Like
Likes   Reactions: MatinSAR
  • #23
erobz said:
What makes you think ##\ddot x = 0 ##?

When I apply conservation of momentum in the ##x## direction I'm not finding that ##\ddot x = 0 ##. Maybe I'm messing that up. What do you get when you apply C.o.M.?
Sorry. I've just edited that.
 
  • #24
MatinSAR said:
Sorry. I've just edited that.
I'm getting this from conservation of momentum:

$$M \dot x - m( \dot x - l \dot \theta \cos \theta ) = 0 $$

$$ \implies \dot x = -\frac{m}{M-m} l \dot \theta \cos \theta $$

That doesn't seem to be equivalent to your expression?
 
  • Like
Likes   Reactions: MatinSAR
  • #25
erobz said:
I'm getting this from conservation of momentum:

$$M \dot x - m( \dot x - l \dot \theta \cos \theta ) = 0 $$

$$ \implies \dot x = -\frac{m}{M-m} l \dot \theta \cos \theta $$

That doesn't seem to be equivalent to your expression?
I've used lagrange equation. You've used conservation. Should our equations look the same? Or they should be different to help us find ##x(t)##?
 
  • #26
MatinSAR said:
I've used lagrange equation. You've used conservation. Should our equations look the same? Or they should be different to help us find ##x(t)##?
I think ## \dot x ## is ## \dot x##; if they don't agree, we have a problem.
 
  • Like
Likes   Reactions: MatinSAR
  • #27
erobz said:
I think ## \dot x ## is ## \dot x##; if they don't agree, we have a problem.
So there should be a problem with the equation I derived from Lagrange equation. I will try to do it again.
 
  • #28
In the inertial frame the little mass is swinging to the left faster than the large block is moving to the right. Does my approach with the signs make sense to you?
 
  • Like
Likes   Reactions: MatinSAR
  • #29
erobz said:
In the inertial frame the little mass is swinging to the left faster than the large block is moving to the right. Does my approach with the signs make sense to you?
I think that ## m \dot x## should be positive. Because velocity of the mass ##m## is given by its velocity in block M frame + velocity of block M in inertial refrence frame.
 
  • #30
Ok, so you are saying with ##\dot \theta < 0 ## we should have this equation:

$$ M \dot x + m( \dot x + m l \dot \theta \cos \theta ) = 0 $$

Which gives:

$$ \dot x = -\frac{ml}{M+m} \dot \theta \cos \theta $$

I can buy that.
 
  • Like
Likes   Reactions: MatinSAR

Similar threads

Replies
1
Views
1K
Replies
4
Views
4K
Replies
8
Views
2K
Replies
5
Views
1K
Replies
5
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 9 ·
Replies
9
Views
940