5 ms·
Maxwell's theory is hard to understand because it's based on an almost-but-not-quite-appropriate algebra. It's like stringly-typed programming. It works, but it
by jiggawatts 7y ago
Maxwell's theory is hard to understand because it's based on an almost-but-not-quite-appropriate algebra. It's like stringly-typed programming. It works, but it's messy and hard to understand.
Maxwell's set of coupled differential vector electromagnetic equations simplify to a hilariously short single equation in Geometric Algebra.
A random Google turned up this paper comparing classic EM and the GA formulation. It's not even the simplest possible representation, because that uses natural units and a 4D GA to basically condense the entire set of EM theory into about 4 characters worth of equation that is fully relativistic for free: https://www.researchgate.net/publication/47524066_A_simplified_approach_to_electromagnetism_using_geometric_algebra https://www.researchgate.net/publication/47524066_A_simplifi...
It's almost a joke. To me it's reminiscent of looking at beginner programmers. You see them do crazy things like calculate a date "next month" by taking apart the pretty-printed date string, parsing to find the month, realising that sometimes the day part is one digit and sometimes it's two, then having to worry about m-d-y or d-m-y formats, building little tables of "days per month" and leap years... and so on.
They can write pages and pages of error free code and it's still Wrong because the correct way is to just call "thedatevar.AddMonth(1);" and be done with it.
PS: 3D game engine vector algebra libraries have all of this in common with the physics maths. Things like the cross product being bizarre, having to pick a basis, not being able to interpolate rotations, gymbal lock, rounding error, having different maths for 2D and 3D, a bunch of special cases to worry about, and so forth...
Watch Enki Mute's Siggraph 2019 presentation on Geometric Algebra. It's mind-blowing how many stupid little quirks of vector algebra just evaporate if you're prepared to step outside of your comfort zone: https://youtu.be/tX4H_ctggYo https://youtu.be/tX4H_ctggYo
- neutronicus 7y agoDo you know if they've done work on formulating the Vlasov equation (coupled evolution of EM fields and phase-space density of populations of charged particles) in this way?
- petschge 7y agoI know that Glasser and Qin at Princeton are working on geometrical view of plasma physik. They aim to get a view of particle-in-cell methods (basically a way to discretize the Vlasov equation using sparse sampling) using a geometric view point expressed using discrete exterior calculus. But I am not sure how much of that is ready or published.
- neutronicus 7y agoI did research on PIC in grad school. In the process I gained ... a healthy skepticism of the Qin group's papers. The man himself is sharp, though. Interested to see what they come up with.
- adamnemecek 7y agoThe speaker in the video runs a community for people interested in geometric algebra. https://bivector.net/ https://bivector.net/ Check out the demo https://observablehq.com/@enkimute/animated-orbits https://observablehq.com/@enkimute/animated-orbits Job the discord https://discord.gg/vGY6pPk https://discord.gg/vGY6pPk
- jiggawatts 7y agoGA seems to be getting more popular, but I still see vector algebra used in areas such as robotics where GA is clearly superior. In that application the small performance difference between GA and vector algebra is irrelevant, but the advantages of GA are huge. In game engines the vector algebra method is slightly faster, so the elegant programming model is often sacrificed in the name of performance. That, I can understand. Why physicists use at least 4 separate formulations of the EM equations I can't understand, especially considering the vector version is the worst yet the most popular.
- devit 7y agoHow can it be faster considering that they are equivalent?
- JadeNB 7y ago> How can it be faster considering that they are equivalent? Computing `ln(e^x)` and `x` are equivalent, but the latter is faster.
- Koshkin 7y agoWell, to be fair, these are equal, not just equivalent.
- gridlockd 7y agoComputers don't care about mathematical equivalence. For instance, dividing by a number is generally slower than multiplying with the inverse of that number. Also, memory access patterns can make a difference of night and day. I'm not sure though where exactly the idea that GA is slower comes from. It's all down to the application and implementation. Perhaps it's because GA generalizes so well to higher dimensions that many libraries are overly generalized and thus slower than vector algebra libraries that need special cases anyway.
- burpsnard 7y agoThat's awesome
- crimsonalucard 7y ago>It's almost a joke. To me it's reminiscent of looking at beginner programmers. You see them do crazy things like calculate a date "next month" by taking apart the pretty-printed date string, parsing to find the month, realising that sometimes the day part is one digit and sometimes it's two, then having to worry about m-d-y or d-m-y formats, building little tables of "days per month" and leap years... and so on. This illustrates the entire field of programming as we know it. It actually happens among all programmers but for less obvious things. Especially with design patterns. I've seen programmers use so much structure for the sake of a design pattern on something that could otherwise be 10x simpler.
- deleted 7y ago[deleted]
- acqq 7y agoJust for reference re that "Siggraph 2019 presentation": https://en.wikipedia.org/wiki/Geometric_algebra https://en.wikipedia.org/wiki/Geometric_algebra "The geometric product was first briefly mentioned by Hermann Grassmann" (1809 – 1877) "In 1878, William Kingdon Clifford greatly expanded on Grassmann's work to form what are now usually called Clifford algebras in his honor (although Clifford himself chose to call them "geometric algebras"). For several decades, geometric algebras went somewhat ignored, greatly eclipsed by the vector calculus." "The term "geometric algebra" was repopularized in the 1960s by Hestenes." The background image on: https://bivector.net/ https://bivector.net/ is William Kingdon Clifford.