Setting up equations of motion for various osillation problems

In summary: . remember to always carefully define your coordinate system and keep track of distances and displacements.
  • #1
Emspak
243
1
This isn't really a specific homework question, but since it comes up so often I thought to post it here. Maybe it will help others as well!

So, you have the case of two masses, connected by springs. If it's the classic case of two carts attached in series to a wall on one side, with mass m1 and m2, and spring constants k1 and 2, with the displacements to the right as x1 and x2we should have the following:

[itex]m_1 \ddot x = -k_1 x_1 - (-k_2) (x_2-x_1)[/itex]
[itex]m_2 \ddot x = -k_2 (x_2-x_1)[/itex]

because the force on the frst mass is -k1x1 and that mass is getting pulled not only by the k1 spring but in the other direction by the k2 spring. Since the force depends on displacement, we subtract the x1 from the x2 to get the total. In equation 2 since we only care about the total displacement and force on m2 we can leave out the first spring constant.

When we attach the two carts to a wall on the other side with a third spring k3, the equations change. They would become:
[itex]m_1 \ddot x = -k_1 x_1 +k_2) (x_2-x_1)[/itex]
[itex]m_2 \ddot x = -k_2 (x_2-x_1) + k_3 x_2[/itex]

because the second mass has a spring pulling on it towards the other wall.

But let's leave the carts unattached to walls on either side -- we have two carts that are running along a track, connected by a spring. What then? since they are only attached by one spring my thought was that the EoM's would look like this:

[itex]m_1 \ddot x = -k_1 x_1[/itex]
[itex]m_2 \ddot x = -k_1 x_2[/itex]

But that didn't seem right; bt it could be a function of whether I declare one mass "stationary" or not.

Now let's go to three masses. In that case, if they are attached on one side, the EoM should be

[itex]m_1 \ddot x = -k_1 x_1 +k_2 (x_2-x_1) + k_3(x3-(x_2+x_1))[/itex]
[itex]m_2 \ddot x = k_1 x_1 -k_2( x_2-x_1) + k_3( x_3 - (x_2-x_1))[/itex]
[itex]m_3 \ddot x =k_3 (x_3 -(x_2-x_1)) +k_2( x_2-x_1) +k_1x_1[/itex]

But I am curious if I have this right...

so if anyone can tell me if I messed up a sign someplace, or an addition, that would help, as I want to make sure I am doing this kind of thing correctly.

Best and thanks.
 
Physics news on Phys.org
  • #2
Emspak said:
[itex]m_1 \ddot x = -k_1 x_1 - (-k_2) (x_2-x_1)[/itex]
[itex]m_2 \ddot x = -k_2 (x_2-x_1)[/itex]
this is correct, but remember to write a subscript on the accelerations, so we know which one is which. (i.e. write ##\ddot{x}_1## and ##\ddot{x}_2##).

Emspak said:
When we attach the two carts to a wall on the other side with a third spring k3, the equations change. They would become:
[itex]m_1 \ddot x = -k_1 x_1 +k_2) (x_2-x_1)[/itex]
[itex]m_2 \ddot x = -k_2 (x_2-x_1) + k_3 x_2[/itex]
this is not quite right. the distance between the first wall and the first mass is ##x_1## because you defined the first wall to be at ##x=0##. But the second wall is definitely not at ##x=0##, so the distance from the second mass to the second wall will not be equal to ##x_2##.

Emspak said:
But let's leave the carts unattached to walls on either side -- we have two carts that are running along a track, connected by a spring. What then? since they are only attached by one spring my thought was that the EoM's would look like this:

[itex]m_1 \ddot x = -k_1 x_1[/itex]
[itex]m_2 \ddot x = -k_1 x_2[/itex]
you are right to be suspicious about this. This is not the right equation. Again, what is the distance between mass 1 and mass 2? It is the distances that are important, not displacements.
 
  • #3
this is not quite right. the distance between the first wall and the first mass is ##x_1## because you defined the first wall to be at ##x=0##. But the second wall is definitely not at ##x=0##, so the distance from the second mass to the second wall will not be equal to ##x_2##.

OK, so that means that if we define the second wall as [itex]x_{wall}[/itex]

[itex]m_1 \ddot x = -k_1 x_1 +k_2 (x_2-x_1)[/itex]
[itex]m_2 \ddot x = -k_2 (x_2-x_1) + k_3 (x_{wall}-x_2)[/itex]

Is that about right?
 
  • #4
yep! looks good to me
 
  • #5


Dear writer,

Thank you for sharing your equations of motion for various oscillation problems. It is always helpful to see how others approach these types of problems. Overall, your equations seem to be correct, but there are a few points that I would like to clarify.

Firstly, your equations for the two masses connected by two springs are correct in terms of the forces being applied on each mass. However, the displacement terms should be x1 and x2 in both equations, not x2-x1 in the first equation. This is because the displacement of the first mass (x1) is taken as the reference point for the displacement of the second mass (x2). So, the equation should be m1\ddot{x1} = -k1x1 - (-k2)(x2-x1) and m2\ddot{x2} = -k2(x2-x1).

Next, your equations for the two masses attached to a wall on the other side with a third spring are also correct. However, the displacement term for the second mass should be x2 in the first equation and x2-x1 in the second equation. This is because the displacement of the second mass is measured from the wall, not from the first mass. So, the equations should be m1\ddot{x1} = -k1x1 + k2(x2-x1) and m2\ddot{x2} = -k2(x2-x1) + k3x2.

Moving on to the unattached carts, your equations are correct if you consider one mass to be stationary. If you consider both masses to be moving, then the equations should be m1\ddot{x1} = -k1x1 + k2(x2-x1) and m2\ddot{x2} = -k2(x2-x1) + k1x1.

Lastly, your equations for three masses attached on one side are also correct. However, in the third equation, the displacement term should be x2+x1 instead of x2-x1. This is because the displacement of the third mass is measured from the combined displacement of the first two masses. So, the third equation should be m3\ddot{x3} = k3(x3-(x2+x1)) + k2(x2-x1) + k1x1.

I hope this helps clarify any confusion. Keep up the good
 

1. What is the equation of motion for a simple harmonic oscillator?

The equation of motion for a simple harmonic oscillator is given by F = -kx, where F is the restoring force, k is the spring constant, and x is the displacement from the equilibrium position.

2. How do you set up equations of motion for a mass-spring system?

To set up equations of motion for a mass-spring system, you need to apply Newton's second law and consider the forces acting on the mass. This includes the spring force, gravitational force, and any other external forces. Once you have identified all the forces, you can set up the equation F = ma and substitute the appropriate forces and accelerations.

3. What is the equation of motion for a damped harmonic oscillator?

The equation of motion for a damped harmonic oscillator is given by F = -kx - bv, where F is the restoring force, k is the spring constant, x is the displacement from the equilibrium position, b is the damping coefficient, and v is the velocity of the mass.

4. How do you set up equations of motion for a pendulum?

To set up equations of motion for a pendulum, you need to consider the forces acting on the mass, which include the tension in the string and the gravitational force. You can then use the equations of motion for circular motion, F = ma and F = mv2/r, to derive the equation of motion for the pendulum.

5. What are the key factors to consider when setting up equations of motion for oscillation problems?

The key factors to consider when setting up equations of motion for oscillation problems include the forces acting on the system, the type of oscillator (such as simple harmonic or damped harmonic), and any external factors that may affect the motion. It is also important to properly define variables and use appropriate units in the equations.

Similar threads

  • Advanced Physics Homework Help
Replies
5
Views
1K
  • Advanced Physics Homework Help
Replies
9
Views
3K
  • Introductory Physics Homework Help
Replies
4
Views
739
  • Advanced Physics Homework Help
Replies
11
Views
1K
  • Advanced Physics Homework Help
Replies
26
Views
4K
  • Advanced Physics Homework Help
Replies
6
Views
1K
  • Advanced Physics Homework Help
Replies
5
Views
8K
Replies
7
Views
2K
  • Advanced Physics Homework Help
Replies
5
Views
1K
  • Advanced Physics Homework Help
Replies
9
Views
3K
Back
Top