I’m currently taking a course in General Relativity. One major, quite technical part of it is index notation, which can quickly get out of hand. In this harmless example, let’s consider how the connection coefficients Γμλν transform under a smooth change of coordinates xμ→x′μ(x):
Γμλ′ν=∂x′μ∂xρ∂x′λ∂xγ∂xσ∂x′νΓργσ−∂x′μ∂xρ∂x′λ∂xγ∂xρ∂xγ∂2x′ν
We use greek letters to indicate the four dimensions (0,1,2,3) we sum over, in contrast to latin symbols, where one would just sum over the spatial dimensions (1,2,3). The beauty of Einstein’s summation notation is that we can leave out the summation symbols ∑: whenever we have a repeated index in one summand, we implicitly know that we have to sum over it. In the example above, such summation indices are ρ, γ and σ.
Fresh indices
However, with all these greek letters and their scrollwork, I personally find it hard to keep track of the overall structure of the formula and to identify where exactly one variable occurs again in another part. So let’s make this better. I was motivated by Bret Victor’s thought-provoking talk “The Humane Representation of Thought” where he states:
Leibniz was the UI designer of the 17th century. He was obsessed with notation, always trying out different notations, always talking with his friends about notation. Because he realized that a lot of the power in an idea lies in the form in which it’s expressed, because that’s what allows people to think it. ~ Bret Victor
Our “new” notation will look as follows, using the covariant derivative as an example.
Only greek letters
With new symbols
∇μVν=∂μVν+ΓμανVα
∇∙V∘=∂∙V∘+Γ∙∼∘V∼
The constraints for the new notation are:
- Should feature spatially easily recognizable shapes.
- Should be quick to write (not take more time to write than greek symbols).
- Should be robust, i.e. symbols should not be easy to confuse with each other.
- Should not clash with existing notation.
To not clash with existing notation, we should avoid using symbols like ∇, Δ, the prime ′, parentheses of any kind, ∗, †, ∧, ⊗, ∂ (and a lot more). We could theoretically use Emojis like 🎈, but these are hard to draw by hand, so the symbols shouldn’t be too detailed. Here is a proposal for indices that hopefully satisfy my constraints:
∘∙□■∼α:└┌┐┘∩∪⊓⊔∨∧
The α should be understood as a placeholder for any greek latter. I don’t want to ban them, just enrich the palette we can use. In the above formula, with the new notation, I find it easier to identify where the given indices ∙ and ∘ occur on the right side and where we just have a summation over ∼. And it’s just a lot more fun to draw these shapes as indices instead of greek letters.
Example: Covariant Derivative
Let’s see both notations in action to derive the expression of the covariant derivative. On wider screens, the usual notation sits on the left and the new symbols on the right. We make use of the Leibniz rule and the definition of the connection coefficients Γμνα to expand ∇μV in terms of partial derivatives and connection coefficients.
Only greek letters
With new symbols
(V=Vν∂ν)⇒∇μV(∂μ∂ν=Γμνα∂α)⇒∇μV=∇μ(Vν∂ν)=(∂μVν)∂ν+Vν∂μ∂ν=(∂μVν)∂ν+VνΓμνα∂α=(∂μVβ+ΓμνβVν)∂β
(V=V∘∂∘)⇒∇∙V(∂∙∂∘=Γ∙∘∼∂∼)⇒∇∙V=∇∙(V∘∂∘)=(∂∙V∘)∂∘+V∘∂∙∂∘=(∂∙V∘)∂∘+V∘Γ∙∘∼∂∼=(∂∙V:+Γ∙∘:V∘)∂:
Then, take the component and rename the dummy index to arrive at the formula.
(∇μV)β=∇μVβ⇒∇μVν=∂μVβ+ΓμνβVν=∂μVν+ΓμανVα
(∇∙V):=∇∙V:⇒∇∙V∘=∂∙V:+Γ∙∘:V∘=∂∙V∘+Γ∙∼∘V∼
Partial derivatives
Additionally, I wanted to reduce the effort of writing many partial derivatives in index notation, while also improving readability and clarity. Here is my suggestion. It should be clear from the context that this is not a regular fraction since we use indices (with special symbols) as quantities for the nominator and denominator.
With new symbols
With new symbols and shorthand for derivative
∂x∘∂x′∙∂x∘∂x□∂2x′∙
∘∙′∘□∙′
Now let’s derive how the connection coefficients transform under a smooth change of coordinates x∘→x′∘(x). We use the fact that ∇∙V∘ is a (1,1)-tensor and thus transforms like one.
Only greek letters
With new symbols and shorthand for derivative
∇μ′V′ν=∂μ′V′ν+Γμλ′νV′λ=∂x′μ∂xρ∂ρ(∂xα∂x′νVα)+Γμλ′ν∂xα∂x′λVα=∂x′μ∂xρ∂xρ∂xα∂2x′νVα+∂x′μ∂xρ∂xα∂x′ν∂ρVα+Γμλ′ν∂xα∂x′λVα
∇∙′V′∘=∂∙′V′∘+Γ∙□′∘V′□=∙′∼∂∼(:∘′V:)+Γ∙□′∘:□′V:=∙′∼∼:∘′V:+∙′∼:∘′∂∼V:+Γ∙□′∘:□′V:
Now enforce the tensor transformation law for
∇V and expand
∇∼V: once more.
∇μ′V′ν=∂x′μ∂xρ∂xα∂x′ν∇ρVα=∂x′μ∂xρ∂xα∂x′ν(∂ρVα+ΓργαVγ)=∂x′μ∂xρ∂xα∂x′ν∂ρVα+∂x′μ∂xρ∂xσ∂x′νΓρασVα
∇∙′V′∘=∙′∼:∘′∇∼V:=∙′∼:∘′(∂∼V:+Γ∼α:Vα)=∙′∼:∘′∂∼V:+∙′∼α∘′Γ∼:αV:
The terms
∙′∼:∘′∂∼V: are exactly the same in both expansions. Cancel them, use that this holds for arbitrary
V, then multiply by the inverse Jacobian.
Γμλ′ν∂xα∂x′λ⇒Γμλ′ν=∂x′μ∂xρ∂xσ∂x′νΓρασ−∂x′μ∂xρ∂xρ∂xα∂2x′ν=∂x′μ∂xρ∂x′λ∂xγ∂xσ∂x′νΓργσ−∂x′μ∂xρ∂x′λ∂xγ∂xρ∂xγ∂2x′ν
Γ∙□′∘:□′=∙′∼α∘′Γ∼:α−∙′∼∼:∘′
Γ∙□′∘=∙′∼□′:α∘′Γ∼:α−∙′∼□′:∼:∘′
Note how the second derivative is the reason why the connection coefficients do not transform like a tensor.
I’m curious to know what you think about this “enhancement” of an existing notation. Some of my fellow students were quite skeptical and didn’t like, saying it wasn’t an improvement. But I think it’s a fun way to make the notation more intuitive and easier to read as my spatial recognition skills are better for shapes than for letters. I fully agree that it might take some time getting used to.
Even with the new notation, index calculations are still technical and tedious, but at least they are a bit more enjoyable. I’m also happy to learn about edge cases where this notation might not work well in practice. If you have any suggestions for improvements, please let me know!