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.
Science Advisor
Homework Helper
Gold Member
Nice.
It might be interesting to optionally show the components of E and B,
that are parallel and perpendicular to the boost velocity.
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
Science Advisor
Homework Helper
Gold Member
Science Advisor
Education Advisor
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.
Science Advisor
Education Advisor
For one-forms you find a nice picture in MTW (Fig. 2.4 on p. 55).
Science Advisor
Homework Helper
Gold Member
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: Sep 20, 2022
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).
Science Advisor
Homework Helper
Gold Member
Here's are 3 of Maxwell's Equations as spatial [twisted-] differential forms from Burke's Applied Differential Geometry
Science Advisor
Education Advisor
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
Science Advisor
Homework Helper
Gold Member
vanhees71 said:
I guess this is somehow equivalent to the calculation starting with (4.2.34) in
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)
I don't want to just do the algebraic calculation, then make a picture of it.
Last edited: Sep 20, 2022
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.
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).
I made some updates:
Haven't really confirmed that the particle's dynamics are getting calculated correctly. Passes the eye-test, but I can't rule out bugs.
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.
I made a couple of updates on this, in case anyone's interested:
A few updates:
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.
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.
I've made some more improvements to this app, including:
Speaking of the invariants, I've been trying to think of a way to visualize them for the unprimed and primed vector-pairs, so that the user could "see" them staying the same for each pair (in the existing visualization, I mean). Can't think of anything practical so far. Any ideas? Maybe there just isn't a good way.
Staff Emeritus
Science Advisor
Homework Helper
SiennaTheGr8 said:
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.
Could you add a brief discussion of the units you use to the instructions/descriptions? Or which unit systems are compatible with it? I assume it's not SI because there are no annoying factors of c.
pervect said:
Could you add a brief discussion of the units you use to the instructions/descriptions? Or which unit systems are compatible with it? I assume it's not SI because there are no annoying factors of c.
Heaviside–Lorentz units with c=1. They're mentioned there somewhere I think, but I should make it more prominent.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | supertree: Decision Tree Visualization | 0 | 10 | 13-07-2026 |
| 2 | Practical Comparison of Electromagnetic Simulation Tools for a Terahertz Microstrip Antenna | 0 | 10 | 12-05-2026 |
| 3 | MIT GR problem set 3: electromagnetic field tensor and 4-velocity | 0 | 20 | 03-04-2026 |
| 4 | Derive the Lorentz transformation in Minkowski four-dimensional spacetime spacetime | 0 | 10 | 22-12-2025 |
| 5 | Special relativity and diffracting beams | 0 | 5 | 04-06-2026 |
| 6 | Question about special relativity and magnetism | 0 | 5 | 08-11-2025 |
| 7 | Трансформирование координат | 0 | 5 | 21-02-2024 |
| 8 | The Mathematical Tools Trailblazing the Quantum Future | 5 | 7 | 23-06-2026 |
| 9 | orbitquant 0.2.1 | 0 | 5 | 10-07-2026 |
| 10 | Dichroïsme magnétique hélicoïdal au service de la dynamique ultra-rapide des vortex magnétiques | 0 | 5 | 24-06-2025 |