4.10.9 · D2 · HinglishAdvanced Topics (Elite Level)

Visual walkthroughEinstein summation convention

1,930 words9 min read↑ Read in English

4.10.9 · D2 · Maths › Advanced Topics (Elite Level) › Einstein summation convention

Identity ko touch karne se pehle, ek vaada: neeche har symbol pehli baar define hoga, aur ek picture se anchor hoga. Agar tumne zindagi mein kabhi koi index nahi dekha, Step 1 se shuru karo aur padhte raho.


Step 1 — "Index" actually hota kya hai, ek picture pe

KYA kar rahe hain: ek chest of drawers ke teen drawers ko naam de rahe hain. KYUN: poora game is baare mein hai ki kaunse labels repeat hote hain. Repeats ki baat karne ke liye pehle crystal-clear labels chahiye. PICTURE: teen drawers, har ek pe ek number painted hai. Neeche, vector ek arrow hai jiska har axis pe shadow ek drawer fill karta hai.

Figure — Einstein summation convention
Recall "Repeated index = sum" yahan kyun matter karta hai?

Kyunki jis identity ko hum prove kar rahe hain usme left pe ek index hai jo do baar appear karta hai. ::: Woh double- ek hidden instruction hai "add over ", convention ke hisaab se.


Step 2 — Levi-Civita symbol ko ek "spin detector" ki tarah banana

KYA: ek chhoti si machine jo ki ek ordering ko "clockwise / counter-clockwise / degenerate" score karti hai. YEH OBJECT KYUN, AUR PLAIN NUMBER KYUN NAHI? Kyunki cross products aur determinants orientation ki parwah karte hain — tum kis taraf chakkar lagate ho. Ek ratio ya sum orientation yaad nahi rakh sakta; ek sign rakh sakta hai. sabse chhoti cheez hai jo "tum kis direction mein spin kar rahe ho" store karta hai. PICTURE: ek circle jisme arrows hain. Teen labels ko arrows ki direction mein padho → . Unhe ulti direction mein padho → . Koi bhi doubled label wheel pe nahi baithegi → .

Figure — Einstein summation convention

Step 3 — Product kya pooch raha hai

KYA: hum do spin-detectors ko multiply kar rahe hain jo apna pehla slot share karte hain, phir us shared slot ki teen values pe add karte hain. KYUN: ko share karna aur use sum karna us cheez ka algebraic fingerprint hai jiska matlab hai "in do oriented triples mein kitna overlap hai jab hum pehli direction bhool jaate hain?" Woh overlap ek number hai jo sirf leftovers pe depend karta hai. PICTURE: do spin-wheels side by side khade hain, ek chalk bridge se jude jo label hai — yeh bridge summed index hai. Char free stubs aur baahar nikalte hain.

Figure — Einstein summation convention
Recall Kitne free indices → answer kaisi cheez hai?

Char free indices . ::: Toh result ek rank-4 array hai — lekin hum dikhayenge ki yeh purely 's ke products se bana hai.


Step 4 — Key fact: ek determinant of 's hai

KYA: hum sign-machine ko ek determinant ki tarah rewrite karte hain jiske entries sirf Kronecker delta hain ( agar , warna ). YEH MOVE KYUN? Ek determinant pehle se sign flip karta hai jab tum do rows swap karo aur vanish hota hai jab do rows equal hon — exactly wahi do rules jo ke hain. Toh yeh determinant hai, sirf ek lookalike nahi. Yeh ek orientation question ko ordinary matrix algebra mein convert karta hai. PICTURE: -entries ka grid. Row ek unit row hai jiska column mein hai; teen aisi rows stacked. Rows aur ko swap karna picture ki handedness flip karta hai — aur determinant ka sign.

Figure — Einstein summation convention

Step 5 — Do aisi determinants ko multiply karo (product-of-determinants trick)

KYA: humne do -grids ko matrix-multiply karke glue kiya, toh har nayi entry hai "first ki row dotted with second ki row" do labels ka. KYUN: do orientation-numbers ke product ko ek determinant of overlaps mein badalta hai. Saari geometry ab plain 's ke andar hai. PICTURE: do label-strips aur ek grid ki tarah cross kiye hue; har cell chalk-blue light up karti hai sirf tab jab uska row-label uske column-label se equal ho.

Figure — Einstein summation convention

Step 6 — Shared index ko sum karo: matrix tak shrink hoti hai

KYA: humne pe hidden sum chalaya; se involve hone wala poora pehla row aur column collapse hoga, aur determinant leftovers mein se drop hoti hai. KYUN: (dimension) aur substitution rule sirf wahi tools hain — koi nayi machinery nahi. Result se free hona chahiye kyunki sum ho gaya. PICTURE: grid jisme -row aur -column greyed out aur fold away hain, ek block bacha hai jiska determinant do diagonal minus do off-diagonal products hai.

Figure — Einstein summation convention

Step 7 — Edge & degenerate cases (koi bhi scenario unshown mat chhodna)

YEH KYUN DIKHAO: yeh formula ke har piece ko pin down karte hain — Case A "any repeat → 0" behaviour confirm karta hai, Case B term confirm karta hai, Case C term confirm karta hai. Matches ka har combination ab witnessed hai.


Ek picture mein poora summary

Figure — Einstein summation convention
Recall Feynman retelling — poora walkthrough plain words mein

Do chhote spinning wheels imagine karo, har ek teen directions se labelled. Ek wheel output karta hai agar tum uske labels "sahi" tarike se padhte ho, ulte tarike se, aur agar woh stuck hai (do labels same). Ab dono wheels ko unke pehle spoke pe baandho — woh shared spoke letter hai jise hum average karne waale hain. Sawaal: us shared direction pe average karne ke baad, dono wheels kitna agree karte hain? Trick yeh hai ki har wheel secretly ek determinant hota hai chhote yes/no switches (deltas, jo kehte hain "yeh do labels match karte hain: yes=1 / no=0"). Do determinants multiply hokar ek bada determinant of match-switches ban jaate hain. Jab hum finally shared spoke pe add karte hain, woh poora shared row aur column fold up hokar vanish ho jaata hai, ek chhota box rehta hai. Uski value hai "straight matches minus crossed matches": . Plus honest agreement hai; minus spin ki bacha hua memory hai. Wahi single line triple cross product ko BAC–CAB rule mein flatten karti hai.


Connections