385 points · by photon_lines · 6y ago · 93 comments
On a tangent: I remember asking my Calculus 101 professor what the "intuitive meaning" of divergence and curl was, outside of the formal math and equations. He was shocked that one could ask to sully these perfect mathematical concepts with dirty intuitive reductions. A guide like this, or 3-Blue-1-Brown videos would have made my day, then.
<math term> is a <math term2> that <math term3s> a <math term4>'s <math term5>. It is an example of a <math term6> that cannot <math term7> a <math term8>.
Me: I learned nothing from that.
(Yes, which is partly my fault, but it's really not helpful for an intro to any math topic unless you already have mastered 99% of the topic and just want to resolve the last few things. The encyclopedia model really goes against what you need for the general population here. Arbital tried to do a more helpful model here but is defunct; Khan Academy is a generally better for this but requires more investment.)
In this community, we’ve witnessed the difficultly first-hand with the much-maligned monad tutorials. A mathematician would have no trouble understanding monads —- they’re just a matter of reading the definition and the laws. That’s what you do every day when you’re studying math in university. Read some definitions and some theorems, play with things a bit, try to prove stuff, then move on to the next topic.
That said, Wikipedia's mathy pages have proved repeatedly useful to me as a reference, e.g., whenever I remember a mathematical concept only vaguely or intuitively and just need to find a detailed formalization to implement it in code. My browser is always open, so Wikipedia is often the "reference of least resistance."
Rigour is better left to computers these days. They are better at following rules. We can have better proofs with software like metamath. Surprisingly, you can even gain deep insights by writing automated proofs (compared to manual proofs). Ideally, practitioners should consider simple and clear explanations as their primary goal and equations and proofs as necessary supplements. Think of this as literate programming for mathematics.
Its the same misguided thinking that leads to the popular PopSci explanation of electron behavior being both wave and particle like. Why should we try to categorize the behavior a subatomic particle (an entity so distant from our experiential reality) as being analogous to one of two macroscopic entities?
I totally get the desire for intuitive understanding, and it should be encouraged, but sometimes you just have to put intuition aside and come to conclusions with pure mathematical reasoning.
It's one thing that Structure and Interpretation of Classical Mechanics (which I haven't read) got really right in concept. It's a shame, that approach hasn't been adopted more widely.
Take for example page 7 of the pdf with the heat equation. Even the description of the Laplacian is wrong. The value isn't the average of the points surrounding it. But if this simple function were written in python as a "update" function over a multi-dim array of temperature values it'd be clear exactly what's happening.
Another example of simple inconsistency in notation: superscript, does that mean squared or not? When writing two terms adjacent is it multiplication or an operator being applied? Where is the behavior of the operator defined that a student and "read the code"?
English is an extremely verbose and imprecise language. Mathematicians replaced a verbose imprecise language with a terse imprecise language. It's about time for rigorous fields to take the last step and introduce precise concepts using a precisely defined language.
And, or course, the vector you get from a cross product only has 3 degrees of freedom because we live in a 3D world. The cross product of two 2D vectors is a scalar, the cross product of two 4D vectors needs 6 numbers to describe it. Even in 3D, if you reflect the original vectors in a mirror, the cross product now points the opposite direction, i.e. it depends on the handednes of the coordinate system.
Look at a topographical map of a landscape and note the contour lines. As you zoom into the contour lines (if they're detailed enough), they'll start to look more and more like parallel lines, densely spaced for a steep slope, or sparsely spaced for a mild slope. These parallel lines are the gradient.
A gradient and a vector 'fit together' to give a real number. The more parallel lines the vector pierces, the bigger the number [0]. So a gradient 'eats' a vector, spitting out a real number, and vice-versa. Just like a row vector 'eats' a column vector and spits out a real number.
I'm saying 'gradient' here, but really what I mean is 'one-form'. Language deliberately imprecise for all y'all mathematicians out there.
[0] https://neutronstars.utk.edu/class/p616_s19/lect3/index.html...
Would really like to have that free time to delve and be able to suggest the alternative formulation myself.
But I think it's important to remember that mathematics is not some evil thing! There are people who train carefully so that the terse mathematical explanations are the intuition. There's nothing wrong with not being one of those people, but knocking the mathematical explanation is denying them their intuition just as their explanation denies you yours.
In a word, it takes all kinds, and I think we should all be as patient with others' ways of learning and understanding as we hope that they will be with ours.
Intuitively, divergence is how much fluid is being created (or destroyed) at a point, curl is how much a waterwheel would spin if placed at a point.
Personally, div and curl didn't quite click for me until I took fluid dynamics in my final year. I could do the homework but didn't really get why they were useful until it made sense why "div = 0 always for incompressible fluids".
source: went to intense STEM school
Start here for the ideas https://en.wikipedia.org/wiki/Electromagnetic_tensor
Geometric algebra produces two equations too, by the way, not one.
Also there is a new community for geometric algbera people https://bivector.net/.
Check out the demo https://observablehq.com/@enkimute/animated-orbits
Watch the SIGGRAPH talk https://youtu.be/tX4H_ctggYo
Join the discord https://discord.gg/vGY6pPk
This single remaining equation corresponds to the Maxwell equations for the electric field, the equations for the magnetic field just correspond to the fact that the 'curl' of this vector potential has 0 divergence (which is just a basic fact of geometry, and is also why magnetic monopoles are unlikely).
The world of quantum mechanics and quantum field theory introduce a different conception of what things are though. It turns out that elementary particles can't be thought of as individual 'things' which have a volume.
In fact, if atoms did have a volume, physics wouldn't work.
We would end up with "surfaces" of electrons behaving in an impossible manner and spinning faster than the speed of light.
Well then, you say, what if atoms aren't objects with a volume, but points in space? It turns out that this notion isn't easily prone to interpretation either! No one actually knows or understands what a 'point mass' is! It also has a bizarre implication: if indeed we did have volume-less point masses, we obtain something with an infinite density!
In theory, the entire universe could be squeezed to a single point!"
Edit: reading the rest of the guide, I find it very enlightening and at the perfect level of complexity perfect for me (no formal maths since Uni 15 years ago).
Also an FYI - I made a similar guide to linear algebra which you can also find here:
https://github.com/photonlines/Intuitive-Overview-of-Linear-...
Maxwell 1 + 2: Field per surface area. The asymmetry between magnetic fields and electrical fields is that magnetic ones have a total field of zero; that is, al magnetic lines loop back on themselves.
Maxwell 3: The principle behind power generating turbines.
Maxwell 4: The principle behind electrical motors.
To be honest, I didn't even know you can condense it into four equations. I was only exposed to the history of electromagnetism, not the latest expression thereof.
I also see that I made a few spelling mistakes, and a few kind folks here have already submitted issues to let me know, so I'll correct them soon! Thank you all for the feedback and for the help and suggestions! I really appreciate it!
E.g. the unit of magnetic flux is equivalent to volt times seconds, and inductance is volt times seconds per ampere. But I can't find intuitive explanations for this
To get Maxwell's equations in a vacuum, just replace D with εₒE and replace H with B/μₒ.