Three coupled pendula via springs

  • Thread starter Thread starter CAF123
  • Start date Start date
  • Tags Tags
    Coupled Springs
Click For Summary
SUMMARY

The discussion centers on the mathematical modeling of three coupled pendula using matrix representation of energy equations. The participant expresses confusion regarding the formulation of the mass matrix (M) and stiffness matrix (K), particularly the middle entry of K, which should account for the double mass of the middle pendulum. The correct mass matrix is identified as M = diag(m/2, m, m/2) and the stiffness matrix as K = [[mg/2a + k/2, -k/2, 0], [-k/2, mg/a + k/2, -k/2], [0, -k/2, mg/2a + k/2]]. The participant concludes that neglecting cross terms in the energy expansion leads to a decoupled system, which is incorrect for coupled pendula.

PREREQUISITES
  • Understanding of classical mechanics, specifically coupled oscillators
  • Familiarity with matrix algebra and eigenvalue problems
  • Knowledge of energy conservation principles in mechanical systems
  • Proficiency in LaTeX for mathematical representation
NEXT STEPS
  • Study the derivation of equations of motion for coupled oscillators using matrix methods
  • Learn about the properties of symmetric matrices and their inverses
  • Explore the implications of neglecting higher-order terms in mechanical systems
  • Investigate numerical methods for simulating coupled pendulum systems
USEFUL FOR

Students and professionals in physics and engineering, particularly those focusing on dynamics, mechanical systems, and mathematical modeling of oscillatory systems.

CAF123
Gold Member
Messages
2,918
Reaction score
87

Homework Statement


See attached link

The Attempt at a Solution



I am fine up to the point where I have to express in matrix form. My method was, given the equation for the energy, to put this in matrix form and then recover the equations of motion from there (by differentiating and setting the result to zero since total energy constant) . When I divide by ##m/2## in the matrix I recover some terms, but in particular the middle entry I have a missing factor of 1/2 (reason is that the mass of the middle pendulum has a mass of ##2m## - so I don't understand why the solution says otherwise). Also missing factors of 1/2 on entries (1,2) and (3,2). All I have done is put the given expression into matrix form. Is this a viable method? It seems so. ( I would have posted my matrices but when I tried the latex was very ugly and I haven't found a way to get the matrices to be all together rather than one every line)

Many thanks.
 

Attachments

  • 001.jpg
    001.jpg
    27.6 KB · Views: 570
Physics news on Phys.org
$$
E = \dot{x}^T K \dot{x} + x^T M x

\\

\Rightarrow

\\

0 = \dot{E} = \ddot{x}^T K \dot{x}+ \dot{x}^T K \ddot{x} + \dot{x}^T M x + x^T M \dot{x}

\\

= \dot{x}^T K^T \ddot{x}+ \dot{x}^T K \ddot{x} + \dot{x}^T M x + \dot{x}^T M^T x

\\

= \dot{x}^T (K^T + K) \ddot{x} + \dot{x}^T (M + M^T) x

= \dot{x}^T (P \ddot{x} + Q x)

\\

\Rightarrow

\\

(P \ddot{x} + Q x) = 0

\Rightarrow

\\

\ddot{x} + P^{-1}Q x = 0

$$ if ## P^{-1} ## exists, which it should in this case. So your method is sound, but you must have made some errors along the way.
 
Correction: P is symmetric by construction, so its inverse always exists, not just in this case.
 
Correction to correction. A symmetric matrix is not necessarily invertible. I do not know what I was thinking :)
 
Hi voko,

My matrix for ##M^{-1}## was $$\begin{pmatrix} \frac{2}{m}&0&0\\0&\frac{2}{m}&0\\0&0&\frac{2}{m} \end{pmatrix}$$ and that for ##K## was $$\begin{pmatrix} \frac{mg}{2a} + \frac{k}{2} & -\frac{k}{2}&0\\-\frac{k}{2}&\frac{mg}{a} + \frac{k}{2}&-\frac{k}{2}\\0&-\frac{k}{2}&\frac{mg}{2a} + \frac{k}{2} \end{pmatrix}. $$ When I multiply these together, I get some of the terms but not all of them.
 
Since both M ## M ## and ## M^{-1} ## are diagonal, their corresponding elements should multiply to 1; but that is impossible with your ## M^{-1} ## because its diagonal elements are all equal to each other, which is not the case in ## M ##. And I think the middle term in ## K ## is wrong, too.
 
Yes, you're right, the matrix I have for M is $$\begin{pmatrix} m/2&0&0\\0&m&0\\0&0&m/2 \end{pmatrix}$$ from which I can easily attain the inverse: $$\begin{pmatrix} 2/m&0&0\\0&1/m&0\\0&0&2/m \end{pmatrix}$$ The entries don't multiply to 1 though - what is this property you mentioned?

EDIT: I think I understand - i thought initially you meant when you multiply all the elements on a diagonal matrix together you get 1, when in fact you meant (I think) that when you mulitply the entries in M and M inverse together you get 1's on the diagonal. (as expected MM^{-1} = I)

However, my K remains the same. Shouldn't the middle term be different in K (from the other entries on the diagonal) since it has double the mass of the other two pendula?
 
Last edited:
I think we are using K and M in the exactly opposite ways. Anyway, the middle term I think I got yesterday was $$\frac{mg}{a} + k$$
 
voko said:
I think we are using K and M in the exactly opposite ways. Anyway, the middle term I think I got yesterday was $$\frac{mg}{a} + k$$

Hmm, with that correction for M I now recover all the terms in A apart from the one in the middle where I get ##\frac{g}{a} + \frac{k}{2m}## instead of ## \frac{g}{a} + \frac{k}{m}##. (This can't be a coincidence can it - pendulum B has double the mass and so it's potential term is simply ##(mg/a) x_1^2##. Add this to the spring term in ##x_1##: ##(k/2) x_1^2## . That's where I think this (1/2)k/m rather than just k/m comes from. Yet the question says differently?

Actually what you get for the middle term for K gives me what I want, so I must have made an error somehwere, but I can't see it right now.
 
  • #10
The last two energy terms yield ##kx_2^2##, which results in ##k##, rather than ##k/2## in the middle of the potential energy matrix.
 
  • #11
voko said:
The last two energy terms yield ##kx_2^2##, which results in ##k##, rather than ##k/2## in the middle of the potential energy matrix.

Thanks voko - this was my error.
Two further questions:
1) If instead I differentiated the energy first without putting the it into matrix form first, I end up with all sorts of coupled ##\dot{x_i} ## and ##\ddot{x_i}## terms, (by the chain rule) which makes it seem like I wouldn't be able to put it in the desired form if I went with this approach.

2) In my expansion for energy I get terms like ##kx_1 x_2##. Why can I not simply neglect these terms? For example, it is given that angle theta deviation is small so if ##x_1## and ##x_2## are abritarily small then isn't their product?

Thank you.
 
  • #12
CAF123 said:
1) If instead I differentiated the energy first without putting the it into matrix form first, I end up with all sorts of coupled ##\dot{x_i} ## and ##\ddot{x_i}## terms, (by the chain rule) which makes it seem like I wouldn't be able to put it in the desired form if I went with this approach.

See the derivation in #2. If the matrix equation obtained right after differentiation and before simplification gets exapnded, it will result in the exact same mess you are worried about. Without knowning where it came from it will be difficult, but still not impossible, to press it into a sane expression.

2) In my expansion for energy I get terms like ##kx_1 x_2##. Why can I not simply neglect these terms?

Note that will make your system decoupled. Generally, if you retain qudartic (or higher degree) terms, you should retain all of them, otherwise you approximate your system non-uniformly.
 
  • #13
voko said:
See the derivation in #2. If the matrix equation obtained right after differentiation and before simplification gets exapnded, it will result in the exact same mess you are worried about. Without knowning where it came from it will be difficult, but still not impossible, to press it into a sane expression.

Ok, thanks

Note that will make your system decoupled. Generally, if you retain qudartic (or higher degree) terms, you should retain all of them, otherwise you approximate your system non-uniformly.

Yes, when I tried this first, I neglected them and then got decoupled matrices so then went back and included these terms (because clearly the system is coupled)
Thanks again voko.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
1K
Replies
2
Views
3K
Replies
10
Views
2K
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
3K
Replies
8
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K