Originally posted by kuengb
... how would you come to it by only looking at the equation of movement.
I've never been completely satisfied with the Lagrangian formulation as a fundamental formulation of mechanics. I think that you have to already have a good understanding of E&M in Newtonian mechanics. You would then know of course that the equation of motion can be written in component form as:
d
2x
n/dt
2 = (e/m) { E
n + ε
nml (dx
m/dt) B
l }
and that, in general:
E
n = -∂
nφ - ∂
tA
n
and
B
l = ε
lkj∂
kA
j
where the Latin indices represent Cartesian coordinate indices, ∂
n is the partial derivative with respect to the coordinate with the given index, and ε
nml/ε
lkj is the Levi-Civita symbol.
Putting the potential expressions into the equation of motion gives:
d
2x
n/dt
2 = (e/m) { ( -∂
nφ - ∂
tA
n ) + ε
nml (dx
m/dt) ( ε
lkj∂
kA
j ) }
= (e/m) { -∂
nφ - ∂
tA
n + ε
nmlε
lkj (dx
m/dt) ∂
kA
j }
= (e/m) { -∂
nφ - ∂
tA
n + ( δ
nkδ
mj - δ
njδ
mk ) (dx
m/dt) ∂
kA
j }
= (e/m) { -∂
nφ - ∂
tA
n + ( (dx
m/dt) ∂
nA
m - (dx
m/dt) ∂
mA
n ) }
= (e/m) { -∂
nφ + (dx
m/dt) ∂
nA
m - ( ∂
tA
n + (dx
m/dt) ∂
mA
n ) }
= (e/m) { -∂
nφ + (dx
m/dt) ∂
nA
m - (dA
n/dt) }
=>
d
2x
n/dt
2 + (e/m) (dA
n/dt) = (e/m) { -∂
nφ + (dx
m/dt) ∂
nA
m }
=>
(d/dt){ dx
n/dt + (e/m) A
n } + (e/m) { ∂
nφ - ∂
n[ (dx
m/dt) A
m ] + ∂
n[ (dx
m/dt) ] A
m } = 0
=>
(d/dt){ m dx
n/dt + e A
n } + ∂
n{ e φ - e (dx
m/dt) A
m } = - e ∂
n[ (dx
m/dt) ] A
m
I can't remember off the top of my head how to argue that the R.H.S. vanishes, so this is the one flaw that I leave to you. Anyway, assuming that this has been argued, we have:
(d/dt){ m dx
n/dt + e A
n } - ∂
n{ -e φ + e (dx
m/dt) A
m } = 0
which can be identified with the Euler-Lagrange equation:
(d/dt){ ∂L/∂v
n } - ∂
n{ L } = 0
to give
∂L/∂v
n = m dx
n/dt + e A
n
and
L = -e φ + e (dx
m/dt) A
m + f(v
i,t)
where f(v
i,t) is an arbitrary function of velocity and time. Therefore:
L = f(v
i,t) - e ( φ - (dx
m/dt) A
m )
= (1/2)mv
2 - e ( φ -
v.
A )
Clearly then, e ( φ -
v.
A ) is the potential energy, and φ -
v.
A is the electromagnetic potential.