What Are the Correct Equations of Motion for a Magnetic Lagrangian?

  • Context: Graduate 
  • Thread starter Thread starter vertices
  • Start date Start date
  • Tags Tags
    Lagrangians
Click For Summary

Discussion Overview

The discussion revolves around deriving the equations of motion from a magnetic Lagrangian in three-dimensional space. Participants explore the implications of the Lagrangian's dependence on the vector potential and the magnetic field, focusing on the application of the Euler-Lagrange equations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a Lagrangian and attempts to derive the equations of motion using the Euler-Lagrange equations, noting a discrepancy in the expected results regarding a factor of 2.
  • Another participant argues that the partial derivative of the Lagrangian with respect to position is non-zero due to its dependence on the vector potential.
  • Further contributions clarify the need to differentiate the vector potential correctly and explore the implications of using different notations (subscripts vs. superscripts).
  • Some participants discuss the use of tensor notation and vector identities to derive the equations of motion, showing different approaches to arrive at similar results.
  • Questions arise regarding the treatment of dummy indices in derivatives and the implications for the factors in the equations derived.

Areas of Agreement / Disagreement

Participants express differing views on the correctness of the derived equations, particularly concerning the factor of 2 in the equations of motion. The discussion remains unresolved as multiple competing interpretations and methods are presented.

Contextual Notes

There are unresolved issues regarding the assumptions made about the vector potential and the treatment of indices in the equations. The discussion reflects varying levels of familiarity with tensor and vector notation, which may influence the interpretations of the results.

vertices
Messages
62
Reaction score
0
Sorry about the endless stream of questions about Lagrangians. I am actually beginning to detest them a bit;p

Anyway, if we have a Lagrangian in three dimensional space:

[tex]L=\frac{1}{2}m\dot{\vec{x}}^{2}+e\vec{A}.\dot{\vec{x}}[/tex]

where [tex]A_{i}=\epsilon_{ijk}B_{j}x_{k}[/tex] and B is just a constant (magnetic field).

The question is to find the equations of motion. To do this we can just use the Euler-Lagrange equations thus:

[tex]\frac{{\partial}L}{{\partial}q^{i}}-\frac{d}{dt}\frac{{\partial}L}{{\partial}{\dot{q}}^{i}}=0[/tex]

Now,

[tex]\frac{{\partial}L}{{\partial}x^{i}}=0[/tex]

for all i.

So the EOM are given by

[tex]\frac{d}{dt}\frac{{\partial}L}{{\partial}{\dot{x}}^{i}}=0[/tex]

Now
[tex]\frac{{\partial}L}{{\partial}{\dot{x}}^{i}}=m\dot{x}^{i}+eA_{i}[/tex]

so d/dt of this should just be:

[tex]\frac{d}{dt}\frac{{\partial}L}{{\partial}{\dot{x}}^{i}}=m\ddot{x}^{i}+e\dot{A}_{i}[/tex]

Since [tex]A_{i}=\epsilon_{ijk}B_{j}x_{k}\Rightarrow\dot{A}_{i}=\epsilon_{ijk}B_{j}\dot{x}_{k}[/tex]

so we should get this:

[tex]\frac{d}{dt}\frac{{\partial}L}{{\partial}{\dot{x}}^{i}}=m\ddot{x}^{i}+e\epsilon_{ijk}B_{j}\dot{x}_{k}[/tex]

but according to the solution to the problem it should be:

[tex]\frac{d}{dt}\frac{{\partial}L}{{\partial}{\dot{x}}^{i}}=m\ddot{x}^{i}+2e\epsilon_{kji}B_{j}\dot{x}_{k}[/tex]

Note the factor of 2.

I posted a similar problem and I was lead to believe that I need to differentiate wrt another superscript - I am not sure if this is at all relavent here since we are differentiating wrt time.

Would be really grateful if someone could offer me some advice...

Thanks..
 
Last edited:
Physics news on Phys.org
Seems like
[tex]\frac{\partial L}{\partial x^i} \neq 0[/tex]
because the Lagrangian depends on x through the vector potential A.
 
diazona said:
Seems like
[tex]\frac{\partial L}{\partial x^i} \neq 0[/tex]
because the Lagrangian depends on x through the vector potential A.
thanks diazona. You are right:

[I will switch to subscripts, I hope that is okay]

[tex] L_{i}=\frac{1}{2}m\dot{x}_{i}}^{2}+e\vec{A}.\dot{\vec {x}}[/tex]

where

[tex] e\vec{A}.\dot{\vec {x}}=[\epsilon_{123}B_{2}x_{3}+\epsilon_{132}B_{3}x_{2}]\dot{x}_{1} + [\epsilon_{213}B_{1}x_{3}+\epsilon_{231}B_{3}x_{1}]\dot{x}_{2} + [\epsilon_{312}B_{1}x_{2}+\epsilon_{321}B_{2}x_{1}]\dot{x}_{3}[/tex]

So take

[tex]\frac{\partial L}{\partial x_1} = [\epsilon_{231}B_{3}\dot{x}_2+\epsilon_{321}B_{2}\dot{x}_3][/tex]

Now,

[tex] \frac{d}{dt}\frac{{\partial}L}{{\partial}{\dot{x}_1}}[/tex]

so feeding these into the EL equation we get:

[tex] m\ddot{x}_{1}+e(\epsilon_{123}B_{2}\dot{x}_3+\epsilon_{132}B_{3}\dot{x}_3) - [ \epsilon_{231}B_{3}\dot{x}_2+\epsilon_{321}B_{2}\dot{x}_3 ] = 0[/tex]

I can't see why we end up up

[tex] m\ddot{x}_{i}+2e\epsilon_{kji}B_{j}\dot{x}_{ k}[/tex]
 
Last edited:
No problem with the subscripts :wink: By the way, you're missing a factor of [itex]e[/itex] (charge) in the last term there.

Anyway, big hint: what happens when you put in numbers for the [itex]\epsilon_{ijk}[/itex]'s?
 
diazona said:
No problem with the subscripts :wink: By the way, you're missing a factor of [itex]e[/itex] (charge) in the last term there.

Anyway, big hint: what happens when you put in numbers for the [itex]\epsilon_{ijk}[/itex]'s?

Yes, it works! (I think I made a mistake, which was confusing me somewhat!) Many thanks Diazona:)

Is decomposing into components the only way to see the levi-cevita (if that's what you call it) connection?
 
I'm not really sure. I guess you could try it in general tensor notation:
[tex]L = \frac{1}{2}m \delta_{jk} \dot x^j\dot x^k + e \epsilon_{ijk}B^i x^j \dot x^k[/tex]
then
[tex]\frac{\partial L}{\partial x^j} = e\epsilon_{ijk} B^i \dot x^k = -e\epsilon_{ikj} B^i \dot x^k[/tex]
and
[tex]\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot x^k} = m \delta_{jk} \ddot x^j + e\epsilon_{ijk} B^i \dot x^j[/tex]
so when you set those equal to each other (or subtract one from the other), you wind up with
[tex]m \delta_{jk} \ddot x^j + 2e\epsilon_{ijk} B^i \dot x^j = 0[/tex]

You could also make an attempt at it in vector notation,
[tex]L = \frac{1}{2}m (\dot{\vec{x}})^2 + e(\vec{B}\times\vec{x})\cdot\dot{\vec{x}}[/tex]
but you'd have to use a vector identity,
[tex](\vec{A}\times\vec{B})\cdot\vec{C} = (\vec{B}\times\vec{C})\cdot\vec{A} = (\vec{C}\times\vec{A})\cdot\vec{B}[/tex]
so you could write
[tex]L = \frac{1}{2}m (\dot{\vec{x}})^2 + e(\dot{\vec{x}}\times\vec{B})\cdot\vec{x}[/tex]
Then you get
[tex]\frac{\partial L}{\partial \vec{x}} = e \dot{\vec{x}}\times\vec{B} = -e \vec{B}\times\dot{\vec{x}}[/tex]
and
[tex]\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot{\vec{x}}} = \frac{\mathrm{d}}{\mathrm{d}t}\left[m \dot{\vec{x}} + e \vec{B}\times\vec{x}\right] = m \ddot{\vec{x}} + e \vec{B}\times\dot{\vec{x}}[/tex]
and again, when you put them together, you get
[tex]m \ddot{\vec{x}} + 2e \vec{B}\times\dot{\vec{x}} = 0[/tex]

It's the same math going on underneath, it's just that there are several different ways to write it out. If I didn't already have a lot of experience with using vector or tensor notation, I'd probably do it the way you did it, manually, one component at a time.
 
Hi Diazona - this is really, really helpful:)

Can I ask a really stupid question though:

How do you get from this (I've omitted the term in B):

[tex] L = \frac{1}{2}m \delta_{jk} \dot x^j\dot x^k[/tex]

to this (this what the third line implies, ie. before d/dt'ing it):

[tex] \frac{\partial L}{\partial \dot x^k} = m \delta_{jk} \dot x^j[/tex]

Where has the factor of 1/2 gone?

Thanks again:)
 
Ah, well in that one you have to remember that j and k are dummy indices, so that [itex]\dot{x}^j[/itex] and [itex]\dot{x}^k[/itex] are really the same thing. So the derivative applies to both of them equally.

If you want to show it explicitly, you can apply the product rule. I'm going to relabel the index of the [itex]\dot{x}^k[/itex] in the derivative so there's no confusion (of course, the label makes no difference because it is a dummy index):
[tex]\frac{\partial}{\partial \dot{x}^a}\biggl[\frac{1}{2}m\delta_{jk}\dot{x}^j\dot{x}^k\biggr] = \frac{1}{2}m\delta_{jk}\frac{\partial \dot{x}^j}{\partial \dot{x}^a}\dot{x}^k + \frac{1}{2}m\delta_{jk}\dot{x}^j\frac{\partial \dot{x}^k}{\partial \dot{x}^a}[/tex]
Now, do you accept that [itex]\partial \dot{x}^j/\partial \dot{x}^a = \delta^{j}_{a}[/itex]? Then
[tex]\begin{align*}<br /> \frac{\partial}{\partial \dot{x}^a}\biggl[\frac{1}{2}m\delta_{jk}\dot{x}^j\dot{x}^k\biggr] &= \frac{1}{2}m\delta_{jk}\delta^{j}_{a}\dot{x}^k + \frac{1}{2}m\delta_{jk}\dot{x}^j\delta^{k}_{a} \\<br /> &= \frac{1}{2}m\delta_{ak}\dot{x}^k + \frac{1}{2}m\delta_{ja}\dot{x}^j \\<br /> &= \frac{1}{2}m\delta_{ja}\dot{x}^j + \frac{1}{2}m\delta_{ja}\dot{x}^j \\<br /> &= m\delta_{ja}\dot{x}^j<br /> \end{align*}[/tex]
I went from [itex]\delta_{ja}\dot{x}^j[/itex] to [itex]\delta_{ak}\dot{x}^k[/itex] just by relabeling that index from j to k, and then switching the order of indices in the Kronecker delta because it's a symmetric tensor.
 
Aahh that is clear now - it's so much better knowing how things work, than just accepting them as facts... thanks ever so much diazona:)

I have one final question (I promise I won't bother you anymore after this!) - Infact, it's in this thread, but I'll reproduce it here:

If we have the following Lagrangian:

[tex] L={\frac{m}{2}}{g_{ij}(x)}.{\dot{x^{i}}{\dot{x^{j} }[/tex]

I want to show the momentum is this:

[tex] (\frac{{\partial}L}{{\partial}\dot{x^{i}}})=mg_ {ij}x^{j}<br /> [/tex]

So I differentiate wrt another superscript (as per George's advice):

[tex] \frac{{\delta}L}{d \dot{x}^k}=\frac{m}{2}g_{ij}[\frac{d \dot{x}^i}{d \dot{x}^k}{\dot{x}^j+\frac{d \dot{x}^j}{d \dot{x}^k}{\dot{x}^i][/tex]

This is equal to:

[tex] \frac{m}{2}g_{ij}[{\delta}_{ik}\dot{x}^{j}+{\delta}_{jk}\dot{x}^{i}][/tex]

Now replacing k with i we find

[tex] \frac{{\delta}L}{d \dot{x}^i}=\frac{m}{2}g_{ij}\dot{x}^{j} [/tex]

ie. still have a factor of 1/2. My concern is that we can't relabel indices (as you did above), as there are no repeated indices.

Can you shed any light on where I have gone wrong?

Thanks..
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
804
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K