Small oscillations of a simple pendulum placed on a moving block

  • #1
MatinSAR
536
176
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
  • #2
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 MatinSAR
  • #3
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.
 
  • #4
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 MatinSAR
  • #5
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 erobz and MatinSAR
  • #6
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.
 
  • #7
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?
 
  • #8
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 MatinSAR
  • #9
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 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 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 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 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 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 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 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 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 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 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 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 MatinSAR
  • #31
Now differentiate your result and sub into your other equation ( which is correlates to applying conservation of energy), eliminating ##\ddot x##.
 
  • Like
Likes MatinSAR
  • #32
erobz said:
Now differentiate your result and sub into your other equation ( which is correlates to applying conservation of energy), eliminating ##\ddot x##.
Good idea. Thanks. I'll try it tomorrow. It's too late here. (About 5 A.M.)
 
  • Like
Likes erobz
  • #33
MatinSAR said:
Do you mean that I can use conservation of momentum P→ in horizontal direction?(Or using conservation of T+U?)
Both.
 
  • Like
Likes MatinSAR
  • #34
erobz said:
Now differentiate your result and sub into your other equation ( which is correlates to applying conservation of energy), eliminating ##\ddot x##.
From first equation I get: $$\ddot x = \dfrac {ml\dot \theta^2\sin \theta-ml\ddot \theta \cos \theta}{M+m}$$Then I use it for second equation, I get: $$g\sin \theta + \dfrac {ml\dot \theta^2\sin \theta \cos \theta-ml\ddot \theta \cos ^2 \theta}{M+m}-l\ddot \theta=0 $$ Do you think can I solve for ##\theta (t)##? Personally I don't see any way ...
Orodruin said:
Both.
Ok. Conservation of momentum gives us: $$M\dot x +m(\dot x + l\dot \theta \cos \theta)=A$$$$ \dot x = \dfrac {A-ml\dot \theta \cos \theta}{M+m} $$ And conservation of energy gives: $$ (M+m)\dot x^2+ml^2 \ddot \theta+ml\dot x \dot \theta \cos \theta - 2mgl\cos \theta=B $$ Should I substitute ##\dot x ## from first equation to second equation, then solve for ##\theta (t)## ?

Is finding ##\theta (t)## and ##x(t)## really this hard? Or is the problem with my method? Because the TA said this is an easy question.
 
Last edited:
  • #35
You can make things easier by just assuming the CoM frame. This gives a direct constraint on the relation between ##x## and ##\theta##. You can also expand the Lagrangian to second order around the potential minimum. There are many tricks you can employ.
 
  • Like
Likes MatinSAR

Similar threads

Replies
8
Views
251
  • Introductory Physics Homework Help
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
9
Views
714
  • Introductory Physics Homework Help
Replies
20
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
206
  • Introductory Physics Homework Help
Replies
7
Views
220
  • Introductory Physics Homework Help
Replies
2
Views
123
  • Introductory Physics Homework Help
Replies
11
Views
78
  • Introductory Physics Homework Help
Replies
2
Views
5K
  • Introductory Physics Homework Help
Replies
14
Views
493
Back
Top