4.10.9Advanced Topics (Elite Level)

Einstein summation convention

1,913 words9 min readdifficulty · medium2 backlinks

WHAT is it?

So aibia_i b_i secretly means i=1naibi\displaystyle\sum_{i=1}^{n} a_i b_i, where nn is the dimension (often 3 in physics).


HOW the rules actually work (derive them, don't memorise)

Let's build the whole system from three guiding questions.

Q1: How do I count the type of object? Count the free indices.

  • 0 free indices → scalar (e.g. aibia_i b_i).
  • 1 free index → vector / column of numbers (e.g. AijbjA_{ij}b_j has free index ii).
  • 2 free indices → matrix / rank-2 tensor (e.g. AijA_{ij}).

WHY? Each free index ranges over 1n1\dots n, so one free index gives you nn separate components.

Q2: Why must a summed index appear exactly twice? Because summation pairs things: i(thisi)(thati)\sum_i (\text{this}_i)(\text{that}_i). If an index appeared three times you couldn't tell which pair to sum — the notation would be ambiguous. An index appearing 3+ times in one term is illegal.

Q3: Why can I rename a dummy index freely? Because iaibi=kakbk\sum_{i} a_i b_i = \sum_{k} a_k b_k — the name of the summation variable doesn't matter. So aibi=akbka_i b_i = a_k b_k. This trick is essential for avoiding clashes.


Two indispensable helper objects

Figure — Einstein summation convention

Forecast-then-Verify drill


Common mistakes (steel-manned)


Recall Feynman: explain it to a 12-year-old

Imagine a recipe that says "for every pair of matching socks, add their sizes." You don't have to write "add up" each time — the matching is the signal to add. Einstein's trick is the same: whenever a label shows up twice in the same chunk, that's a secret "add them all up" command. A label that shows up only once is just telling you "this is component number such-and-such," like a house number — you keep it. So by glancing at which letters are doubled, you instantly know what to add and what kind of answer (number, list, or grid) you'll get.


Flashcards

In Einstein convention, what does a repeated index in one term mean?
Sum over that index across its full range (the \sum is implied).
What is a free index and what rule must it obey?
An index appearing exactly once; it must be identical on both sides of the equation and is not summed.
How many free indices does a scalar / vector / matrix have?
0 / 1 / 2 respectively.
Write the dot product ab\mathbf a\cdot\mathbf b in index notation.
aibia_i b_i.
Write matrix multiplication C=ABC=AB in index notation.
Cik=AijBjkC_{ik}=A_{ij}B_{jk}.
State the substitution property of the Kronecker delta.
δijaj=ai\delta_{ij}a_j=a_i.
What is δii\delta_{ii} in nn dimensions?
nn (the dimension).
Write the ii-th component of a×b\mathbf a\times\mathbf b.
(a×b)i=εijkajbk(\mathbf a\times\mathbf b)_i=\varepsilon_{ijk}a_j b_k.
State the epsilon–delta identity.
εijkεilm=δjlδkmδjmδkl\varepsilon_{ijk}\varepsilon_{ilm}=\delta_{jl}\delta_{km}-\delta_{jm}\delta_{kl}.
Why is an index appearing three times illegal?
A repeated index means a pairwise sum; three copies make the pairing ambiguous.
Simplify δijδjk\delta_{ij}\delta_{jk}.
δik\delta_{ik}.
What does εijk\varepsilon_{ijk} equal if two indices are equal?
00.

Connections

  • Dot product and Cross product — both written compactly via the convention.
  • Kronecker delta and Levi-Civita symbol — the two engines of index algebra.
  • Matrix multiplication — encoded by a shared repeated index.
  • Tensors — convention generalises to upper/lower (contravariant/covariant) indices.
  • DeterminantsdetA=εijkA1iA2jA3k\det A = \varepsilon_{ijk}A_{1i}A_{2j}A_{3k} in 3D.
  • Vector calculus identities — derived in seconds with the epsilon–delta identity.

Concept Map

motivates

drops

defines

defines

implies

can be

3+ times is

count gives

0 free

1 free

2 free

shared index

Sum over indices repetitive

Einstein summation convention

Sigma sign omitted

Dummy index appears twice

Free index appears once

Automatic summation

Renamed freely

Illegal ambiguous

Object type / rank

Scalar e.g. dot product

Vector e.g. A_ij x_j

Matrix e.g. A_ij B_jk

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, idea bahut simple hai. Jab hum bar-bar \sum (summation sign) likhte hain, toh notation bhari ho jaati hai. Einstein ne notice kiya ki jis index par hum sum karte hain, wo hamesha ek hi term mein do baar aata hai. Toh unhone rule bana diya: agar koi index ek term mein exactly do baar aaye, toh uske upar automatically sum karo aur \sum likhna chhod do. Jaise aibia_i b_i ka matlab seedha iaibi\sum_i a_i b_i, yaani dot product. Bas yaad rakho: "Twice = sum, Once = run" — do baar wala index sum hokar gaayab, aur ek baar wala (free index) survive karke answer ka shape decide karta hai.

Free indices count karke aap bata sakte ho answer kya hai: zero free index matlab scalar (number), ek free index matlab vector, do free index matlab matrix. Isiliye matrix multiply Cik=AijBjkC_{ik}=A_{ij}B_{jk} mein jj repeat hua (sum ho gaya), aur i,ki,k free reh gaye — toh answer matrix hai. Yeh ek built-in galti-pakadne wala tool bhi hai: equation ke dono taraf free index same hone chahiye, warna kuch galat hai.

Do special cheezein zaroor yaad rakho. Kronecker delta δij\delta_{ij} identity matrix hai aur uska kaam hai index badalna: δijaj=ai\delta_{ij}a_j=a_i. Levi-Civita εijk\varepsilon_{ijk} orientation/sign sambhalta hai, isliye cross product (a×b)i=εijkajbk(\mathbf a\times\mathbf b)_i=\varepsilon_{ijk}a_jb_k banta hai. Aur ek jaadui identity εijkεilm=δjlδkmδjmδkl\varepsilon_{ijk}\varepsilon_{ilm}=\delta_{jl}\delta_{km}-\delta_{jm}\delta_{kl} se to lagbhag saari vector calculus identities, jaise BAC-CAB rule, do line mein nikal aati hain.

Yeh matter karta hai kyunki physics aur higher maths (tensors, relativity, electromagnetism) mein har formula index notation mein chhota aur clean ho jaata hai. Ek baar yeh aadat ho gayi, toh aap lambe-lambe vector proofs ko mechanically index manipulate karke solve kar loge — bina geometry yaad kiye.

Go deeper — visual, from zero

Test yourself — Advanced Topics (Elite Level)

Connections