Showing posts with label Special Relativity. Show all posts
Showing posts with label Special Relativity. Show all posts

Tuesday, March 27, 2018

The Genesis of Light

There's an old (at least, I assume it's fairly old) physics meme that goes:
“And God said…
\[\nabla\cdot\mathbf{E}=\frac{\rho}{\epsilon_\circ}\\
\nabla\cdot\mathbf{B}=0\\
\nabla\times\mathbf{E}=-\frac{\partial \mathbf{B}}{\partial t}\\
\nabla\times\mathbf{B}=\mu_\circ\mathbf{J}+\mu_\circ\epsilon_\circ\frac{\partial\mathbf{E}}{\partial t}\]
…and there was light.”
Here E is the electric field, \(\rho\) is the electric charge density, B is the magnetic field, J is the electric current density, and \(\mu_\circ\) and \(\epsilon_\circ\) are the permittivity and permeability of free space, respectively. Bold-face quantities are vector quantities. These four equations are Maxwell's equations which describe electricity and magnetism in terms of classical field theory, but more on that a little later.

Back in 2016 my parents took a trip to Israel and brought me back a shirt with this on it for Christmas, except in the original Hebrew. Pretty cool! Except, they weren't Maxwell's equations, and on a closer look they weren't actually equations at all, just collections of symbols that looked kinda like some equations from special relativity, and to top it off the shirt was just barely big enough for me so I never actually wore it.

But I loved the idea, and now (a little over a year later) I've created my own variation on the design and had a shirt printed with it:

This was a surprisingly difficult photo to take on my own.

Although known as Maxwell's equations (after the Scottish physicist James Clerk Maxwell, widely considered the third greatest physicist of all time after Newton and Einstein), these four equations are actually a reformulation of Maxwell's original twenty equations in twenty variables by Oliver Heaviside, who cast them into vector calculus form and condensed them down into four by use of the divergence (\(\nabla\cdot\) ) and curl (\(\nabla\times\) ) operators.

Being a classical description of electromagnetism Maxwell's equations have been superseded by quantum electrodynamics, but they are still very useful in a wide variety of situations that do not involve strong electromagnetic fields or individual photons, just as Newtonian gravitation is still a useful approximation to general relativity in areas of weak gravitational field.

These four equations, and what they represent, are a monumental achievement—second, at the time, only to Newton's work—and have a sublime beauty to the physicist. The seemingly-disparate forces of electricity and magnetism are revealed to be both aspects of a singular electromagnetic force. This is seen in the third and fourth equations, where curl (or rotation) of an electric field is seen to rely on a magnetic field, and vice versa. All four equations can be combined (in a vacuum, where J and \(\rho\) are both zero) to derive the electromagnetic wave equation which describes light as a series of correlated ripples in the electric and magnetic fields, or electromagnetic radiation. (In fact, it turns out that \(\frac{1}{\sqrt{\mu_\circ\epsilon_\circ}}=c\), the speed of light!)

The asymmetries between the electric and magnetic fields that at first glance might seem to mar the beauty of the whole only enhance it upon further inspection, as the minus sign in the third equation is crucial to forming the feedback loop in the electromagnetic wave equation that allows light to travel forever as self-contained photons. They helped motivate Einstein to develop special relativity (which Maxwell's equations are compatible with) to explain why the same phenomenon could be seen as an electric or a magnetic effect depending on the frame of reference chosen. And the second equation explains why you can't break a magnet in half and end up with two monopoles.

I used EqualX (which I wrote about last month) to typeset the equations in \(\LaTeX\), then exported them as SVG which I imported into Inkscape where I added the text (and did a lot of manual tweaking of the layout of the various elements to make it look nice). Switching my keyboard to Hebrew and figuring out the letters took quite a while, which is why there are no vowel pointings; Inkscape's support for right-to-left fonts is a bit fiddly (though I saw just the other day an update that supposedly improved it) and trying to figure out all the various pointings and getting them around the right letters was a nightmare, so I gave up after tortuously figuring out the first three. At least it's more authentic ancient Hebrew now…

While working on the design for this shirt (I uploaded five different versions to the printing site before I was satisfied) I thought sardonically to myself that I was making this shirt for my own enjoyment, and that of the perhaps five other people on the planet who understood both Biblical Hebrew and electromagnetism. Then lo and behold, the first day I wore it, while walking around Bunnings (basically Australian Home Depot) a gentleman stopped me, said he thought it was great, and asked where I'd gotten it. When I said I'd designed it and had it printed myself he then asked if I was selling it anywhere!

I ended up sending him the image file to use, but it got me thinking. I've gone ahead and uploaded the design to Spreadshirt.com, where I got the original shirt printed. You can find it (and a version in white for dark backgrounds) for sale on shirts here. It defaults to showing the men's styles, but there are women's styles as well and you can pick from a range of colors. (If any of you out there actually order one I'd love to hear about it!)

Tuesday, November 27, 2012

Relativistic Gaming Fun

How many games can you name off the top of your head that involve simulating the effects of relativity? Before Sunday I'd have had a hard time naming even one, but since then I've discovered not just one, but two.

The first one is a simple Flash game called Velocity Raptor, a game that takes place in two dimensions of space and one of time, right from the comfort of your own web browser! It features a whimsical art style and story suitable for all ages, and calming, ambient music. This game simulates the effects of special relativity by slowing the speed of light down to 3 miles per hour. Naturally, this changes things in ways that we are not normally equipped to think about, and the game is mind-bending while still managing to be fun. It builds up, introducing you first to a Newtonian world, then the world of relativity as measured (without taking into account light travel time), then finally the world as seen, where light takes a noticeable amount of time to reach you and things begin to appear to deform in wild and amazing ways. I found myself smiling quite a bit while playing this game as I watched the world around my character (the eponymous Velocity Raptor) warping and stretching . The progression is done well, introducing new concepts (such as the Doppler shift, or the relativity of simultaneity) in simple cases before tasking you with using your new-found knowledge to solve a puzzle to advance. (It actually reminds me a bit of Portal and Portal 2's approach to teaching new concepts, and I think that's a great thing. More games should be like that.) Be warned, the last levels are very difficult.

The second game I came across is called A Slower Speed of Light, produced by the MIT Game Lab (no, I didn't know MIT had a game lab before either). This game is an actual stand-alone program that you have to download (it's free) and run on your computer. Unlike Velocity Raptor, it's a full three-dimensional (well, four-dimensional, since it involves relativity) first-person view game. Similar to Velocity Raptor, it involves slowing down the speed of light rather than you moving close to the measured speed of light. However, it goes about it differently: in the game, your goal is collect 100 orbs, each of which, when collected, slows down the speed of light by a little bit. This has the effect of starting you in a basically Newtonian world that gradually gets more and more relativistic as you collect more orbs. The final ones can prove challenging to collect, not because of any obstacles, but because it can be difficult to judge position accurately when turning at near light-speed. The simulation mostly involves the Doppler shift and the Searchlight Effect, but upon collecting all 100 orbs those effects are turned off and speed of light is dropped to just above your walking speed, allowing you to see the Lorentz transformations that take place at significant fractions of light-speed. It's a lot easier than Velocity Raptor in that there is no way to actually lose, and watching spacetime warp and deform around you in first-person view is incredibly cool. The game authors are working on cementing the underlying game engine and planning to release it sometime next year as open-source software, so hopefully we'll start seeing more games that are truly relativistic.

I can definitely recommend these games to any aspiring physicists out there. It's incredibly cool to see these relativistic concepts come alive. But even if you're not a physicist, you can play them and experience some of the fun we get to have discovering these ideas!