1. Tensor calculus1.2.4 Index notation: a grammar for components
1.2.4Index notation: a grammar for components
Formula [1.10] has three terms. The cross product has six. By chapter 5 we will meet expressions with 81 terms. We need a shorter way to write sums over components, and index notation is it. It looks like a trick at first. It is really a small grammar with three rules, and once you follow them, many proofs become almost mechanical.
The summation convention
Write the dot product as a sum:
a⋅b=i=1∑3aibi.
The summation convention, due to Einstein, drops the ∑: whenever an index appears twice in one term, sum over it from 1 to 3. So
a⋅b=aibi,a=aiei,∥a∥2=aiai.
[1.14]
The reader writes “a⇒ai” to mean “the vector a, written in index notation, is ai”.
The three rules
These rules work like units in a calculation. Before trusting an index expression, check its “grammar” the way you check that both sides of an equation are in newtons.
expression
verdict
why
ai=Bijcj
valid
free index i on both sides; j is summed
s=aibi
valid
no free index: a scalar
Cik=AijBjk
valid
free i,k on both sides; this is matrix multiplication
ai=bj
invalid
free index i left, j right
aibici
invalid
i appears three times
ai+bj
invalid
the two terms have different free indices
The Kronecker delta
Condition [1.6] appears so often that it gets its own symbol, the Kronecker delta:
δij=ei⋅ej={10i=ji=j
[1.15]
As a matrix it is the identity matrix. Its most useful property is that it substitutes an index:
δijaj=ai.
[1.16]
To see why, write out the sum for i=2: δ21a1+δ22a2+δ23a3=0+a2+0=a2. The delta “picks out” the term where the indices agree and renames j to i. Two more facts follow: δii=δ11+δ22+δ33=3, and δijδjk=δik.
Worked example [1.4]
Derive a⋅b=aibi in index notation, the way we did it longhand before [1.10].
Expand both vectors with different dummy indices, then use linearity, [1.15] and [1.16]:
Compare this one line with the nine-term expansion earlier. That compression is why we bother.
The permutation symbol
The cross product needs a second symbol. The permutation symbol (also called the Levi-Civita symbol) is
ϵijk=⎩⎨⎧+1−1+0(i,j,k)=(1,2,3),(2,3,1),(3,1,2)(cyclic order)(i,j,k)=(1,3,2),(2,1,3),(3,2,1)(anticyclic order)if any two indices are equal.
[1.17]
Of its 27 values, only 6 are non-zero. It encodes exactly the multiplication table of the base vectors:
ei×ej=ϵijkek,equivalentlyϵijk=(ei×ej)⋅ek.
[1.18]
So ϵijk is the signed volume of the unit cube spanned by three base vectors: +1 if they come in right-handed order, −1 if left-handed, and 0 if two of them coincide (a flat “cube” has no volume). Swapping any two indices flips its sign; cycling all three leaves it unchanged.
k=1
k=2
k=3
ϵ123=1cyclic ordere1×e2=e3
Rows are i, columns are j. Click any entry. Only 6 of the 27 are non-zero.
Interactive · click an entry
Try it: the 27 values of ϵijk, one 3×3 slice per value of k.
Check the third component: only (i,j)=(1,2) and (2,1) give non-zero ϵij3, so (a×b)3=ϵ123a1b2+ϵ213a2b1=a1b2−a2b1, matching [1.11]. Similarly the triple product is (a×b)⋅c=ϵijkaibjck.
The ϵ–δ identity
One identity connects the two symbols and does most of the work in vector proofs:
ϵijkϵimn=δjmδkn−δjnδkm
[1.20]
The repeated index i must be in the same position (here the first) in both symbols; use the cyclic property to move it there if needed.
Why it is true. The left side is a sum over i, and a term is non-zero only if j,k are different from i and from each other, and the same holds for m,n. So {j,k} and {m,n} must be the same pair of numbers, the two that are not i. Either they match in order (j=m, k=n), and then both ϵ's have the same sign and the product is +1; or in reverse order (j=n, k=m), and the product is −1. The right side is exactly that bookkeeping: +1 for the matching order, −1 for the reversed order, 0 otherwise. (If j=k both sides are zero.) You can also check the identity by brute force on a computer: all 81 cases agree.
Worked example [1.5]
Prove the “BAC minus CAB” rule a×(b×c)=b(a⋅c)−c(a⋅b).
Let d=b×c. By [1.19], dj=ϵpqjbpcq, where we chose fresh dummy indices p,q. Then component m of the left side is
(a×d)m=ϵijmaidj=ϵijmϵpqjaibpcq.
To use [1.20] the shared index j must come first in both symbols. Cycle the indices (which does not change the value): ϵijm=ϵjmi and ϵpqj=ϵjpq. Then
That is component m of b(a⋅c)−c(a⋅b). Since it holds for m=1,2,3, the vector identity holds. The proof never needed a picture: rename, apply the identity, substitute.