Skip to content

Commit d6f785b

Browse files
authored
Lorentz Covariant Mechanics: the case of the photon (#300)
1 parent 03724db commit d6f785b

1 file changed

Lines changed: 212 additions & 17 deletions

File tree

src/mentat_collective/emmy/silcm_ch01.clj

Lines changed: 212 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
[mentat-collective.emmy.scheme :refer [define-1 let-scheme lambda]]
1717
[civitas.repl :as repl]))
1818

19+
;; ##!!Draft Version!!
20+
1921
;; I investigate a Lorentz covariant Lagrangian that is not widely known. It is discussed in the textbooks of Greiner, "Systems of Particles and Hamiltonian Mechanics" (chapter 21), and also [on-line in: Cline, "Variational Principles in Classical Mechanics"](https://phys.libretexts.org/Bookshelves/Classical_Mechanics/Variational_Principles_in_Classical_Mechanics_(Cline)/17%3A_Relativistic_Mechanics/17.06%3A_Lorentz-Invariant_Formulation_of_Lagrangian_Mechanics).
2022

2123
;; Then I derive, along deBroglie's argument, the momentum-wavelength relation of a free particle.
@@ -174,12 +176,18 @@
174176

175177
;; The extended Lagrangian:
176178

179+
(define (fourtuple->t v)
180+
(ref v 0))
181+
182+
(define (fourtuple->space v)
183+
(apply up (rest v)))
184+
177185
(define ((Lc-free-particle mass c) local)
178186
(let ((v (velocity local)))
179187
(* 1/2 mass (square c)
180188
(- (* (/ 1 (square c))
181-
(square (apply up (rest v))))
182-
(square (ref v 0))
189+
(square (fourtuple->space v)))
190+
(square (fourtuple->t v))
183191
1))))
184192

185193
;; According to chapter 4.3.2 of Struckmeier "Extended Lagrange and Hamilton Formalism for Point Mechanics and Covariant Hamilton Field Theory", this "case is largely disregarded in the literature covering the extended Hamilton- Lagrange formalism (cf., for instance, Lanczos, 1949; Dirac, 1950; Synge, 1960; Goldstein et al., 2002; Johns, 2005), namely there exist extended Lagrangians that are related to a given conventional Lagrangian without being homogeneous forms in the n + 1 velocities".
@@ -207,14 +215,19 @@
207215
((Gamma Lc-test-path) 's))
208216

209217
^:kindly/hide-code
210-
(define path-dimension (atom true)) #_"true = 4D , false = 2D"
218+
(define path-dimension (atom 2))
211219

212220
^:kindly/hide-code
213221
(define three-path
214-
(if @path-dimension
222+
(case @path-dimension
223+
4
215224
(up (literal-function 'x)
216225
(literal-function 'y)
217226
(literal-function 'z))
227+
3
228+
(up (literal-function 'x)
229+
(literal-function 'y))
230+
2
218231
(up (literal-function 'x))))
219232

220233
(show-tex-expression
@@ -225,11 +238,17 @@
225238

226239
^:kindly/hide-code
227240
(define four-path
228-
(if @path-dimension
241+
(case @path-dimension
242+
4
229243
(up identity
230244
(literal-function 'x)
231245
(literal-function 'y)
232246
(literal-function 'z))
247+
3
248+
(up identity
249+
(literal-function 'x)
250+
(literal-function 'y))
251+
2
233252
(up identity
234253
(literal-function 'x))))
235254

@@ -243,8 +262,14 @@
243262

244263
;; In calculating the Lagrangian action above, $m_0$ was $3$, $c$ set to $1$ and time was $10$. Thus the $-30$ stems from the $-m_0 c^2$.
245264

265+
(define (Lc-momentum Lagrangian)
266+
((partial 2) Lagrangian))
267+
268+
(define ((Lagrange-momentum Lagrangian) w)
269+
(compose (Lc-momentum Lagrangian) (Gamma w)))
270+
246271
(define ((Lagrange-equations Lagrangian) w)
247-
(- (D (compose ((partial 2) Lagrangian) (Gamma w)))
272+
(- (D ((Lagrange-momentum Lagrangian) w))
248273
(compose ((partial 1) Lagrangian) (Gamma w))))
249274

250275
(show-tex-expression
@@ -257,20 +282,26 @@
257282

258283
^:kindly/hide-code
259284
(define Lc-path
260-
(if @path-dimension
285+
(case @path-dimension
286+
4
261287
(up (literal-function 't)
262288
(literal-function 'x)
263289
(literal-function 'y)
264290
(literal-function 'z))
291+
3
292+
(up (literal-function 't)
293+
(literal-function 'x)
294+
(literal-function 'y))
295+
2
265296
(up (literal-function 't)
266297
(literal-function 'x))))
267298

268-
#_(define Lc-path (up (literal-function 't)
269-
(literal-function 'x)))
270-
271299
(show-tex-expression
272300
(((Lagrange-equations (Lc-free-particle 'm_0 'c)) Lc-path) 's))
273301

302+
(show-tex-expression
303+
(((Lagrange-momentum (Lc-free-particle 'm_0 'c)) Lc-path) 's))
304+
274305
;;State the Lagrangian.
275306

276307
(show-tex-expression
@@ -289,21 +320,41 @@
289320
;; Non-homogeneous but symmetric Lagrangians of this type require a general implicit constraint: $L - pv = 0$ (Cline Eq. 17.6.12, Struckmeier Eq. 21.9)
290321

291322
(define (Lc-Lagrange-constraint Lagrangian)
292-
(- Lagrangian (* ((partial 2) Lagrangian) velocity)))
323+
(- Lagrangian (* (Lc-momentum Lagrangian) velocity)))
293324

294325
;; Applied to the free particle (and multiplication with a constant factor), leads to (Struckmeier Eq. 21.12):
295326

296327
(define Lc-constraint-s
297-
(down (constantly 0) (compose (* (/ 2 (square 'c) 'm_0)
298-
(Lc-Lagrange-constraint (Lc-free-particle 'm_0 'c)))
299-
(Gamma Lc-path))))
328+
(down (constantly 0)
329+
(compose (* (/ 2 (square 'c) 'm_0)
330+
(Lc-Lagrange-constraint (Lc-free-particle 'm_0 'c)))
331+
(Gamma Lc-path))))
300332

301333
^:kindly/hide-code
302334
(show-eq
303335
(Lc-constraint-s 's))
304336

305337
;; The above is a constraint, i.e. needs to be zero, needs to vanish for all physical paths.
306338

339+
;; For the free particle, we should think of it as a constraint on p, a constraint known as the mass shell or on-shell condition, usually written (thereby omitting the c) as $-p^2 = m^2$. This on-shell constraint is the correct version of the popular $E = mc^2$. Let's show that the above constraint indeed is the same as $-p^2 = m^2c^2$:
340+
341+
(define p
342+
((Lagrange-momentum (Lc-free-particle 'm_0 'c)) Lc-path))
343+
344+
(show-tex-expression
345+
(p 's))
346+
347+
;; (for defining the next "square", notice that for a 4-vector this involves a minus sign)
348+
349+
(define ((foursquare c) v)
350+
(- (square (fourtuple->space v))
351+
(/ (square (fourtuple->t v)) (square c))))
352+
353+
(show-eq
354+
(down
355+
(* (square 'm_0) (square 'c))
356+
(- ((foursquare 'c) (p 's)))))
357+
307358
;; Contrary to constraints that depend on position, this constraint (being about velocity) cannot be easily treated via Lagrange multipliers.
308359

309360
;; We proceed to explicitely calculate $(Dt(s))^2$
@@ -319,9 +370,7 @@
319370
(show-eq
320371
(Dt-squared 's))
321372

322-
;; The above is meant as an equality.
323-
324-
;; We now upgrade the parameter $s$ to a function $s(t)$ which is the inverse of $t(s)$, $s = t^{-1}$.
373+
;; We now upgrade the parameter $s$ to a function $s(t)$ which is the inverse of $t(s)$, $s = t^{-1}$.
325374

326375
(define s (literal-function 's))
327376

@@ -389,6 +438,152 @@
389438

390439
;; Thus, the function $s(t)$ is nothing but the proper time.
391440

441+
;; ## The dynamic mass
442+
443+
(define ((Lc-dynamic mass c) local)
444+
(let ((q (coordinate local))
445+
(v (velocity local)))
446+
(* 1/2
447+
(- (* (ref q 2)
448+
(square (ref v 1)))
449+
(* (ref q 2) (square c)
450+
(square (ref v 0)))
451+
(* (/ (square mass) (ref q 2)) (square c))))))
452+
453+
(define dynamic-path
454+
(up (literal-function 't)
455+
(literal-function 'x)
456+
(literal-function 'sigma)))
457+
458+
;; For the record, I'd like to state the momentum of this particle, it will reveal an aha later.
459+
460+
(show-tex-expression
461+
((foursquare 'c)
462+
(((Lagrange-momentum (Lc-dynamic 'm 'c)) dynamic-path) 's)))
463+
464+
;; That said, we move on to the equations of motion are
465+
466+
(define dynamic-equations
467+
((Lagrange-equations (Lc-dynamic 'm 'c)) dynamic-path))
468+
469+
(show-tex-expression
470+
(dynamic-equations 's))
471+
472+
;; We do not know yet what the first two equations means, but the last equation will tell.
473+
474+
(define sigma
475+
(let ((sigma-sq (square (literal-function 'sigma)))
476+
(half-m2-c2 (* 1/2 (square 'c) (square 'm))))
477+
((eq-transformation
478+
(fn [eq]
479+
(sqrt
480+
(* half-m2-c2
481+
(/ 1
482+
(/ (+ (* sigma-sq eq)
483+
half-m2-c2)
484+
sigma-sq))))))
485+
(down 0 (ref dynamic-equations 2)))))
486+
487+
(show-eq
488+
(sigma 's))
489+
490+
;; Taking the $-p^2 = m^2$ on-shell constraint from above, we see that $\sigma(s) = m$
491+
492+
(show-eq
493+
(((eq-transformation
494+
#(sqrt (+ (square 'c) (* (square 'c) %))))
495+
Lc-constraint-s)
496+
's))
497+
498+
;; If you look at the equations of motion above, when you let $\sigma(s) \rightarrow m$, you get the motions of the free particle. All this can be achived much easier by directly setting $\sigma(s) = m(s) = m$ in the calculation of the equations of motion.
499+
500+
(define (on-shell-path m)
501+
(up (literal-function 't)
502+
(literal-function 'x)
503+
(constantly m)))
504+
505+
506+
(show-tex-expression
507+
(((Lagrange-equations (Lc-dynamic 'm 'c))
508+
(on-shell-path 'm))
509+
's))
510+
511+
;; Indeed these are the euqations of motion of the free farticle plus the on-shell constraint.
512+
513+
514+
;; ## The case of the Photon
515+
516+
;; As stated above, the momentum for any mass in general is
517+
518+
(show-tex-expression
519+
((foursquare 'c)
520+
(((Lagrange-momentum (Lc-dynamic 'm 'c)) dynamic-path) 's)))
521+
522+
;; We can set $m$ to zero in the Lagrangian
523+
524+
(show-tex-expression
525+
(((Lagrange-equations (Lc-dynamic 0 'c))
526+
dynamic-path)
527+
's))
528+
529+
;; We see from the last equation that the square of the momentum of the massless particle is zero, $p^2 = 0$. It also means that $dx/dt = c$
530+
531+
;; The first two equations are the same, as $ct' = x'$ also means $ct'' = x''$.
532+
;; The function $\sigma(s)$ remains completely arbitrary, and $s$ remains
533+
;; a parameter. Trying to get $s$ as a function of $t$ is in vain.
534+
535+
;; Also the original constraint does not reveal anything new:
536+
537+
(show-eq
538+
(down 0
539+
((compose (Lc-Lagrange-constraint (Lc-dynamic 0 'c))
540+
(Gamma dynamic-path)) 's)))
541+
542+
;;### The preferred parameter choice for massless particles
543+
;; But something still can be done. By making $s$ a functions (not of $t$ but of)
544+
;; some parameter $r$ and setting $\sigma(r)$ to be $\sigma(r) = ds/dr$,
545+
;; we can simplify the first two Lagrangian equations of motion to:
546+
547+
^:kindly/hide-code
548+
(show-tex-expression
549+
((down (* -1 (square 'c) (D (D (literal-function 't))))
550+
(D (D (literal-function 'x)))) 'r))
551+
552+
;; Let's start the proof.
553+
;; The momentum is
554+
555+
(show-tex-expression
556+
(((Lagrange-momentum (Lc-dynamic 'm 'c)) dynamic-path) 's))
557+
558+
;; Take the momentum for $x$.
559+
;; The key insight is recognizing the following:
560+
;; Since the free Lagrangian depends on $dx/ds$ only,
561+
;; the Lagrange equation is the derivative of this momentum. So:
562+
;; $d/ds(\sigma · dx/ds) = 0$,
563+
;; this means $\sigma · dx/ds = C$ (some constant).
564+
565+
;; Now we introduce the variable $r$ and make s a function of $r$, $s(r)$.
566+
;; And we choose $\sigma$ to be $\sigma = ds/dr$.
567+
;; This is a common gauge choice or parametrization condition.
568+
569+
;; Now: $dx/dr = dx/ds · ds/dr = dx/ds · \sigma$.
570+
;; But we know $\sigma · dx/ds = C$, so:
571+
;; $dx/dr = C$ (constant!). Therefore:
572+
573+
;; $$\frac{d²x}{dr²} = 0$$
574+
575+
;; To quote Zee, Gravitiy in a nutshell, p215:
576+
;; > A parameter that makes the equation of motion take on this simple form
577+
;; > is known as an affine parameter. We don’t have to solve any
578+
;; > equation of motion to know that (t, x, y, z) is proportional to (1, 1, 0, 0).
579+
;; > End of story. No need to parametrize this worldline.
580+
581+
;; > But if you insist, you could write X=f(s)(1,1,0,0) with some monotonic
582+
;; > function $f$. Then $d^2X/ds^2 = (f''/f) · X$
583+
584+
;; > To me, the pages some texts spend on the affine parametrization
585+
;; > of massless particles literally amounts to much ado about nothing.
586+
392587
;; ## The deBroglie wavelength
393588

394589
^:kindly/hide-code

0 commit comments

Comments
 (0)