Lorentz Transformation of Electric & Magnetic Fields Visualized

Click For Summary

Discussion Overview

The discussion revolves around a tool designed for calculating and visualizing the transformation of electric and magnetic fields under Lorentz boosts. Participants explore various features, enhancements, and theoretical implications related to the visualization of these transformations, including the representation of electromagnetic tensors and the dynamics of charged particles in electromagnetic fields.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant shared a tool for visualizing electric and magnetic field transformations under Lorentz boosts.
  • Another participant confirmed that the transformations produced by the tool were correct based on their examples.
  • Suggestions were made to include visualizations of the components of electric and magnetic fields that are parallel and perpendicular to the boost velocity.
  • Participants discussed the potential to visualize the Poynting vector and Lorentz force for user-defined particle parameters.
  • One participant noted that the transformation of field components along axes perpendicular to the boost direction follows familiar patterns.
  • There was a discussion about representing the electromagnetic field components as vector fields and the possibility of using sliders for smooth transitions in visualizations.
  • Another participant introduced the concept of the Riemann-Silberstein field and its implications for the Lorentz group representation.
  • Questions were raised about graphical representations of tensors and how to visualize the electromagnetic tensor effectively.
  • Some participants shared references to visualizations in existing literature, such as MTW, for one-forms and the Faraday tensor.
  • Updates to the tool included options for displaying particle dynamics and the ability to hide certain visual elements for focused analysis.
  • There was mention of a bug related to sign errors in the tool that affected the visualization of boosts in different directions.

Areas of Agreement / Disagreement

Participants expressed various ideas and suggestions regarding the tool's features and visualizations, but there is no clear consensus on the best methods for representing tensors or the most effective visualizations for the electromagnetic fields. The discussion remains open with multiple competing views on these topics.

Contextual Notes

Some participants noted the need for geometrical constructions to validate algebraic calculations, emphasizing the complexity of visualizing transformations accurately. There are also unresolved questions regarding the correctness of the particle dynamics calculations within the tool.

SiennaTheGr8
Messages
513
Reaction score
210
TL;DR
I made a tool for visualizing how electric and magnetic fields transform under a Lorentz boost.
I made a tool for calculating and visualizing how the electric and magnetic fields transform under a Lorentz boost. Thought I'd share it here, in case anyone finds it interesting.

https://em-transforms.vercel.app/
 
  • Like
Likes   Reactions: Ishika_96_sparkles, umby, robphy and 4 others
Physics news on Phys.org
I tried some examples and they were correctly transformed.
 
  • Like
Likes   Reactions: Ishika_96_sparkles and SiennaTheGr8
Nice.

It might be interesting to optionally show the components of E and B,
that are parallel and perpendicular to the boost velocity.
 
  • Like
Likes   Reactions: umby and SiennaTheGr8
robphy said:
Nice.

It might be interesting to optionally show the components of E and B,
that are parallel and perpendicular to the boost velocity.
Good idea. Couple of other possibilities I'm considering:

- Poynting vector
- Lorentz force for a particle whose charge and unprimed velocity can be specified by the user
 
  • Like
Likes   Reactions: vanhees71
What's also a great insight is that the electromagnetic field components establish the representation of the proper orthochronous Lorentz group as ##\mathrm{SO}(3,\mathbb{C})##, i.e., the complex ##\mathbb{C}^{2\times 2}## matrices that keep the bilinear form ##\vec{x} \cdot \vec{y}=x_1 y_1 +x_2 y_2 +x_3 y_3## invariant, where ##\vec{x},\vec{y} \in \mathbb{C}^3##. Note that this of course does NOT define a scalar product on ##\mathbb{C}^3##, which must be defined as a sesquilinear form!

That can be seen by introducing the Riemann-Silberstein field,
$$\vec{F}=\vec{E}+\mathrm{i} \vec{B}.$$
The rotations are of course represented by the usual real rotation group ##\mathrm{SO}(3)## (indeed the elctric and magnetic field components transform as vectors under rotations), while the boosts are represented by rotation matrices with purely imaginary angles ##\mathrm{i} \eta##, where ##\eta## is the rapidity of the boost.
 
I wonder if there is a good graphical way to represent a tensor. I mean, a vector is graphically represented as an arrow, but a tensor is a different thing and it would be nice to represent the EM tensor directly as a tensor.
 
  • Like
Likes   Reactions: robphy
For one-forms you find a nice picture in MTW (Fig. 2.4 on p. 55).
 
  • Like
Likes   Reactions: Dale and robphy
Along the lines of MTW's visualizations of "directed quantities" (based on Schouten and further developed by Burke),
I've been trying to visualize the EM-tensor in spacetime as a pair of bivectors (ideally, a pair of one-forms).
Somehow, computational-graphically, the next step is to extract the spatial quantities (a one-form and two-form in space) based on a chosen 4-velocity. Then [using the Euclidean spatial metric and 3-volume-form] obtain the Electric field vector and the Magnetic field pseudovector.

If done correctly, this should agree with the transformation formulae.
 
Last edited:
  • Like
Likes   Reactions: vanhees71 and Dale
  • #10
vanhees71 said:
For one-forms you find a nice picture in MTW (Fig. 2.4 on p. 55).
There are also pictures in MTW of the Faraday tensor and its dual (which they call the Maxwell tensor) in Chapter 4 (Figures 4.4 and 4.5).
 
  • Like
Likes   Reactions: vanhees71
  • #11
Here's are 3 of Maxwell's Equations as spatial [twisted-] differential forms from Burke's Applied Differential Geometry

1663683172816.png

1663683191367.png
 
  • Like
Likes   Reactions: vanhees71
  • #12
robphy said:
Along the lines of MTW's visualizations of "directed quantities" (based on Schouten and further developed by Burke),
I've been trying to visualize the EM-tensor in spacetime as a pair of bivectors (ideally, a pair of one-forms).
Somehow, computational-graphically, the next step is to extract the spatial quantities (a one-form and two-form in space) based on a chosen 4-velocity. Then [using the Euclidean spatial metric and 3-volume-form] obtain the Electric field vector and the Magnetic field pseudovector.

If done correctly, this should agree with the transformation formulae.
I guess this is somehow equivalent to the calculation starting with (4.2.34) in

https://itp.uni-frankfurt.de/~hees/pf-faq/srt.pdf
 
  • #13
vanhees71 said:
I guess this is somehow equivalent to the calculation starting with (4.2.34) in

https://itp.uni-frankfurt.de/~hees/pf-faq/srt.pdf
Yes.
But the calculation I seek must be via geometrical construction first,
and, for that approach to be correct, it must agree with the algebraic calculation.In other words,
I am going to (for example)
  • use a geometrical construction with a "circle" to map a 1-form to a vector, and this mapping should be reversible [assuming a nondegenerate metric].
  • use a two-form and a vector and construct a one-form from it... and that one-form should yield zero contraction with that vector.
  • of course, everything above should be multilinear
I don't want to just do the algebraic calculation, then make a picture of it.
 
Last edited:
  • Like
Likes   Reactions: vanhees71
  • #14
I've added the option to show component-vectors parallel and perpendicular to the boost-velocity, and also the option to show Poynting vectors.

Oh, and fixed a bug that nobody seems to have noticed (or at least mentioned): I had a sign-error that was causing boosts in the negative x-direction to give exactly the same results as boosts in the positive x-direction.
 
  • Like
Likes   Reactions: vanhees71 and robphy
  • #15
SiennaTheGr8 said:
Oh, and fixed a bug that nobody seems to have noticed (or at least mentioned): I had a sign-error that was causing boosts in the negative x-direction to give exactly the same results as boosts in the positive x-direction.
It was actually a little tricky to figure out whether this was indeed a bug. Since I've never seen a similar visualization, my intuition wasn't quite there. What convinced me was configuring E = [0, 1, 0] and B = [0, 0, 1], which is like a light-wave moving in the positive x-direction, and reasoning that the fields should shrink when boosting "with" the wave and grow when boosting "against" it (they were shrinking both ways before).
 
  • Like
Likes   Reactions: vanhees71
  • #16
I made some updates:
  • You can now specify the mass, charge, and velocity of a particle co-located with the field vectors.
  • You can optionally have the visualization display the particle's velocity-vector, as well as the Lorentz force acting on it and the resulting acceleration vector.
  • You can hide the boost-velocity and the boosted quantities (helpful when you're interested in focusing on the particle's behavior in one frame).
  • The velocities (boost and particle) are now entered in spherical components and can point in arbitrary directions (before, the boost-velocity was limited to the x-axis).
  • I've added a few preset field-configurations. Would be interested in ideas for others to include.
Haven't really confirmed that the particle's dynamics are getting calculated correctly. Passes the eye-test, but I can't rule out bugs.

Link: https://em-transforms.vercel.app/
 
  • #17
robphy said:
possibly controlled by a slider... so that one could visualize a smooth transition,
rather than just the start and end configurations.

No slider, but I've added hotkeys, so now you can control the vectors without having to scroll down to the input-boxes. Also added some text areas at the top, including one that explains the hotkeys.
 
  • Like
Likes   Reactions: robphy and Sagittarius A-Star
  • #18
I made a couple of updates on this, in case anyone's interested:
  • You can now hide the field-vectors (and all quantities derived from them). If you do that, then the only displayable quantities are the boost velocity, the "unprimed" particle-velocity, and the "primed" particle-velocity, effectively turning the app into a "velocity-addition visualizer": https://em-transforms.vercel.app/?e...=false&showA=false&hideV=false&hideEandB=true
  • The app's state now saves to the URL as you fiddle with the options and controls, so that you can share or bookmark configurations of interest (like I did with the link above). The camera-state doesn't save, but everything else does.
https://em-transforms.vercel.app/
 
  • Like
Likes   Reactions: vanhees71, Ibix and Sagittarius A-Star
  • #20
A few updates:
  • Dark mode.
  • Sliders (originally suggested by @robphy), though the input-boxes are still there for "custom" values.
  • On desktop, the options and controls now go side-by-side with the visualization, so that it's easier to adjust the parameters while viewing the results.
https://em-transforms.vercel.app/
 
  • Like
Likes   Reactions: Sagittarius A-Star
  • #21
SiennaTheGr8 said:
A few updates:
  • Dark mode.
  • Sliders (originally suggested by @robphy), though the input-boxes are still there for "custom" values.
  • On desktop, the options and controls now go side-by-side with the visualization, so that it's easier to adjust the parameters while viewing the results.
https://em-transforms.vercel.app/
In the following example, for E' the graphics shows y'=2 and the the number field "Boosted electric field" y'=3.96.

https://em-transforms.vercel.app/?e...false&showA=false&hideV=false&hideEandB=false
 
  • Like
Likes   Reactions: Dale
  • #22
  • #23
Sagittarius A-Star said:
In the following example, for E' the graphics shows y'=2 and the the number field "Boosted electric field" y'=3.96.

https://em-transforms.vercel.app/?e...false&showA=false&hideV=false&hideEandB=false

I also wanted to thank you for leaving this comment. I'm guessing that you simply weren't aware that the camera could be controlled.

I've just made some changes to make it more apparent to the user that the visualization is 3D and comes with camera controls. Previously the instructions for controlling the camera were "buried" in the expandable "Instructions" panel. Now they're in their own top-level panel.
 
  • Like
Likes   Reactions: Sagittarius A-Star
  • #24
SiennaTheGr8 said:
I also wanted to thank you for leaving this comment. I'm guessing that you simply weren't aware that the camera could be controlled.

I've just made some changes to make it more apparent to the user that the visualization is 3D and comes with camera controls. Previously the instructions for controlling the camera were "buried" in the expandable "Instructions" panel. Now they're in their own top-level panel.
Yes, I am now aware. The following screenshot shows a rotation by 90° around the y-axis (the x-axis is perpendicular to the paper-plane). Only the numbers at the y-axis cannot be read from this viewpoint.

em.webp
 
  • Like
Likes   Reactions: SiennaTheGr8

Similar threads

Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 59 ·
2
Replies
59
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
3K
Replies
1
Views
3K