Cart sliding along horizontal with spring connected

  • Thread starter member 731016
  • Start date
In summary, a cart sliding along a horizontal surface is connected to a spring, which can compress or extend depending on the cart's motion. The spring's force affects the cart's velocity and acceleration, illustrating concepts of energy conservation and oscillatory motion. As the cart moves, the potential energy stored in the spring converts to kinetic energy, and vice versa, demonstrating the dynamic interplay between these two forms of energy in a frictionless environment.
  • #1
member 731016
Homework Statement
Please see below
Relevant Equations
Please see below
For this problem,
1714176921438.png

My working for (c) is


##
\begin{aligned}

& L=\frac{1}{2} M \dot{x}^2+\frac{1}{2} m\left(x^2+2 \dot{x} l \dot{\phi} \cos \phi+l^2 \dot{\phi}^2\right)+m g l \cos \phi-\frac{1}{2} k x^2 \\
\end{aligned}
##
##L =\frac{1}{2} M \dot{x}^2+\frac{1}{2} m\left(\dot{x}^2+2 \dot{x} l \dot{\phi}-\dot{x} l \dot{\phi} {\phi}^2+l^2 \dot{\phi}^2\right)+m g l-\frac{m g l \phi^2}{2}-\frac{1}{2} k x^2## using small angle approximation for cosine.

Then taking partial deratives for the Lagrange equation of phi and x.

I get the following equations

\begin{aligned}
& \left(m l-\frac{1}{2} m l \phi^2\right) \ddot{x}+m l^2 \ddot{\phi}=-m g l \phi \\
& (M+m) \ddot{x}+\left(m l-\frac{1}{2} m l \phi^2\right) \ddot{\phi}=-k x+m l \dot{\phi}^2 \phi \\
&
\end{aligned}


Then writing the equations in matrix form ##M \ddot{x} = -kx##, I cannot find a symmetric matrix for K. Only for M.

Does anybody please agree that the problem has a mistake that it is impossible for find a symmetric matrix for K?

Thanks!
 
Physics news on Phys.org
  • #2
First, I think you can throw away the mgl term. Just define the zero PE differently.

I don't understand why you differentiated. Part c does not involve second derivatives.

I can't see how the target equation can accommodate a ##\dot\phi\phi^2## term. It looks like the author did not keep the second order term there. I cannot think of a justification for that.
 
  • Love
Likes member 731016
  • #3
haruspex said:
First, I think you can throw away the mgl term. Just define the zero PE differently.

I don't understand why you differentiated. Part c does not involve second derivatives.

I can't see how the target equation can accommodate a ##\dot\phi\phi^2## term. It looks like the author did not keep the second order term there. I cannot think of a justification for that.
Thank you for your reply @haruspex! T

So are you please saying that

\begin{aligned}
& (M+m) \ddot{x}+\left(m l-\frac{1}{2} m l \phi^2\right) \ddot{\phi}=-k x\\
&
\end{aligned}

?

It does seem to give a symmetric matrix for K. However, I don't like fudging that :(. I spent many hours to try to find a algebraic mistake I had made, however, there is certainly not mistake. The question must be wrong then I think since K is not a symmetric matrix without fudging the term.

In my working, I defined zero PE at the point where the string connects the pendulum to the cart tip.

This gives ##x_m = x + l\sin\phi##, ##y_m = -l\cos\phi##, ##x_M = x##, ##y_M = c##

Thanks!
 
  • #4
ChiralSuperfields said:
Thank you for your reply @haruspex!

So you are saying that I

\begin{aligned}
& (M+m) \ddot{x}+\left(m l-\frac{1}{2} m l \phi^2\right) \ddot{\phi}=-k x\\
&
\end{aligned}

?

Thanks!
No, I am saying that if you take your equation
ChiralSuperfields said:
##L =\frac{1}{2} M \dot{x}^2+\frac{1}{2} m\left(\dot{x}^2+2 \dot{x} l \dot{\phi}-\dot{x} l \dot{\phi} {\phi}^2+l^2 \dot{\phi}^2\right)+m g l-\frac{m g l \phi^2}{2}-\frac{1}{2} k x^2##
then throw away the ##mgl## (which is defensible) and the ##\dot xl\dot\phi\phi^2## term (which I do not see how to defend) then you can get straight to the form asked for without differentiation.
 
  • Love
Likes member 731016
  • #5
haruspex said:
No, I am saying that if you take your equation

then throw away the ##mgl## (which is defensible) and the ##\dot xl\dot\phi\phi^2## term (which I do not see how to defend) then you can get straight to the form asked for without differentiation.
Thank you for your reply @haruspex!

That is interesting. I did not see that. The method I went about it was using the Euler-Lagrange equation to the get EOMs. However, using the Euler-Lagrange equation method, would it be the same sort of justification for removing that term I talked about (since it is really the same term, however, undergone some partial differentiation changing it form slightly).

Thanks!
 
  • #6
haruspex said:
I can't see how the target equation can accommodate a ϕ˙ϕ2 term. It looks like the author did not keep the second order term there. I cannot think of a justification for that.
It is not a second order term. It is multiplied by ##\dot\phi##, making it third order.

@ChiralSuperfields As I said in another recent thread, if you want the linearized equations of motion you need to keep terms up to second order in the Lagrangian. This is not the same thing as always keeping two terms of cos(small number). In particular when the cosine is multiplied by something wich is not zeroth order. You have kept a term at third order, ruining the linear EoM.
 
  • Love
Likes member 731016
  • #7
Orodruin said:
It is not a second order term. It is multiplied by ##\dot\phi##, making it third order.

@ChiralSuperfields As I said in another recent thread, if you want the linearized equations of motion you need to keep terms up to second order in the Lagrangian. This is not the same thing as always keeping two terms of cos(small number). In particular when the cosine is multiplied by something wich is not zeroth order. You have kept a term at third order, ruining the linear EoM.
Thank you for your reply @Orodruin!

Oh ok, I think I understand now. However, do you please know how ## ϕ˙ϕ^2## is third order? I've never seen anybody comment in a textbook about the order of a term multiplied by a another variable other than itself or constants which ain't variables.

Thanks!
 
  • #8
Both ##\phi## and its derivatives are proportional to the amplitude. This makes that term third order in the amplitude.
 
  • Love
Likes member 731016
  • #9
Orodruin said:
Both ##\phi## and its derivatives are proportional to the amplitude. This makes that term third order in the amplitude.
Thank you for reply @Orodruin!

That is interesting that you are thinking in terms of the what the variables are composed of. Now I am interested in generalizing to any dependent variable that we don't know it is composed of so could be a function of any independent variable.

Do you please know how we could generalize this to any variable ##x## to any integer ##m ≥ 0## and ##n ≥ 0##. i.e

Do you please know whether

##x^{(n)}x^{(m)}## is of order ##m + n## where the brackets denote the nth and mth derivative respectively?

Thanks!
 
  • #10
ChiralSuperfields said:
Do you please know whether

x(n)x(m) is of order m+n where the brackets denote the nth and mth derivative respectively?
It would be of second order. You do not get higher orders of the amplitude by differentiating. Just count the number of times you have a multiple of the variable - differentiated or not.
 
  • Love
Likes member 731016
  • #11
Orodruin said:
It would be of second order. You do not get higher orders of the amplitude by differentiating. Just count the number of times you have a multiple of the variable - differentiated or not.
Thank you for your reply @Orodruin!

Oh I think I see where I was getting confused because in ODE the order is the highest derivative in the ODE. However, here the order is you are referring to is the that of a Taylor polynomial, which is the number of times the variable (derivative or not) is multiplied to each other in a given term.

So if variables such as ##x''##, ##y^2## and ##z^3## are multiplied together to form ##x''y^2z^3## then the term is of 1 + 2 + 3 = 6th order, is this please correct?

Thanks!
 
  • #12
Orodruin said:
Both ##\phi## and its derivatives are proportional to the amplitude.
Thanks, that's what I was missing.
 
  • Love
Likes member 731016

FAQ: Cart sliding along horizontal with spring connected

1. What happens when the cart is pushed towards the spring?

When the cart is pushed towards the spring, it compresses the spring, storing potential energy in the spring. As the cart continues to move towards the spring, the force exerted by the spring increases according to Hooke's Law, which states that the force exerted by a spring is proportional to its compression or extension.

2. How does the spring affect the motion of the cart?

The spring exerts a restoring force on the cart when it is compressed or stretched. This force acts in the opposite direction of the cart's displacement from its equilibrium position, causing the cart to decelerate as it approaches the spring and accelerate away from it once it is released. This interaction can lead to oscillatory motion if the system is not damped.

3. What is the role of friction in this system?

Friction plays a significant role in the motion of the cart. If there is friction between the cart and the surface, it will oppose the motion of the cart, reducing its speed and the distance it travels after being released from the spring. Friction can also dissipate energy, leading to a decrease in the amplitude of oscillations over time.

4. How can we calculate the maximum compression of the spring?

The maximum compression of the spring can be calculated using the principle of conservation of energy. The initial kinetic energy of the cart when it is pushed towards the spring is converted into the potential energy stored in the spring at maximum compression. Using the equation for kinetic energy (KE = 1/2 mv²) and the potential energy of the spring (PE = 1/2 kx²), where m is the mass of the cart, v is its velocity, k is the spring constant, and x is the maximum compression, we can set KE equal to PE and solve for x.

5. What factors influence the oscillation frequency of the cart-spring system?

The oscillation frequency of the cart-spring system is influenced by the mass of the cart and the spring constant. The frequency can be determined using the formula f = (1/2π)√(k/m), where f is the frequency, k is the spring constant, and m is the mass of the cart. A stiffer spring (higher k) or a lighter cart (lower m) will result in a higher frequency of oscillation.

Back
Top