4.10.9 · D4Advanced Topics (Elite Level)

Exercises — Einstein summation convention

1,869 words8 min readBack to topic

Throughout, indices run (three dimensions) unless a problem says otherwise, and the two helper objects are the Kronecker delta and the Levi-Civita symbol .

Recall Two facts you will reuse constantly

Substitution: (the delta renames the repeated index). Epsilon–delta master identity: (summed index is the shared first slot ).


Level 1 — Recognition

Exercise 1.1

For each expression, list the free indices and the dummy (summed) indices, and say what kind of object it is (scalar, vector, or matrix): (a) (b) (c) (d) .

Recall Solution

Rule: an index appearing exactly twice in a term is summed (dummy); one appearing exactly once is free. The number of free indices = the rank = the kind of object (0→scalar, 1→vector, 2→matrix).

  • (a) appears twice → dummy. Free: none. → scalar.
  • (b) appears twice ( and ) → dummy. appears once → free. → vector (one free index).
  • (c) twice → dummy. once, once → free. Two free indices → matrix.
  • (d) twice, twice → both dummy. once → free. → vector.

Exercise 1.2

Which of these are legal in summation convention, and why? (a) (b) (c) (d) .

Recall Solution
  • (a) Illegal. appears three times. A repeated index means a pairwise sum; three copies give no unique pairing. Write if you truly mean that.
  • (b) Legal. Each term separately has a valid doubled index ( in the first, in the second). Dummy names are local to their own term, so no clash.
  • (c) Illegal. Left side has free index ; right side has free index . Free indices must be identical on both sides. Fix: .
  • (d) Legal. . A scalar.

Level 2 — Application

Exercise 2.1

Take and . Compute by hand and state what it represents.

Recall Solution

. This is the Dot product — no free indices, so a single number, as a dot product should be.

Exercise 2.2

With , , compute the first component of using . Then compute all three components.

Recall Solution

Set . The only nonzero are and : Similarly , and . So . See the figure below for what the sign of each picks out.

Figure — Einstein summation convention

Exercise 2.3

Simplify to a familiar expression.

Recall Solution

Use substitution on the delta. eats a repeated index: applying it to gives . So That is the dot product . (Equivalently, the delta forces , collapsing the double sum to a single one.)


Level 3 — Analysis

Exercise 3.1

Prove that .

Recall Solution

Write the implied sum: . In the first factor only is nonzero, contributing ; all other give . Hence . (Interpretation: multiplying the identity matrix by itself gives the identity.)

Exercise 3.2

Show for any vector . (This is the statement .)

Recall Solution

The key is that is antisymmetric in (swapping them flips the sign), while is symmetric (swapping them changes nothing). Rename the dummy pair (allowed — dummy names are free): using and . A quantity equal to its own negative must be .

Exercise 3.3

Evaluate (all three indices summed).

Recall Solution

Use the master identity with the last two slots matched. Set , in : Now , , so the first term is . The second: . Therefore (Sanity check: there are exactly nonzero components of , each , and squaring gives apiece → .)


Level 4 — Synthesis

Exercise 4.1

Prove the BAC–CAB rule using index notation.

Recall Solution

Start from the -th component and introduce a fresh dummy for the inner cross product: Cycle the second epsilon so its shared index is first: ? No — we cycle the first one instead. Since (cyclic shift is even), rewrite so both share in the first slot: Apply the master identity with shared index : : Distribute and use substitution. First term: . Second term: . Hence which is exactly .

Exercise 4.2

Prove the scalar identity .

Recall Solution

Write both cross products in index form (they must share the dotting index ): The two epsilons already share the first slot , so apply the master identity directly: First term: . Second term: . Therefore the result is . (Setting recovers Lagrange's identity .)


Level 5 — Mastery

Exercise 5.1

Using index notation and the master identity, prove the vector-calculus identity Here acts as the operator , and . See Vector calculus identities.

Recall Solution

Write the -th component, with a fresh dummy set for the inner curl: Pull constants (the are just numbers, and derivatives commute with them): Cycle the first epsilon to share up front: , so First term: Second term: Combining: , i.e.

Exercise 5.2

Show that for any twice-differentiable scalar field (i.e. ).

Recall Solution

Same symmetry argument as Exercise 3.2, now with derivatives. The symbol is antisymmetric under ; the double derivative is symmetric (mixed partials commute: ). Rename the dummies : Equal to its own negative ⇒ . So the curl of any gradient vanishes.

Exercise 5.3

Express the determinant of a matrix in index form and verify it for . See Determinants.

Recall Solution

The determinant is (sum over ; the supplies the signed permutation orientation, exactly what Determinants need). Only permutations of survive, and for a diagonal matrix the only nonzero entries are , forcing : Matches the product of the diagonal. ✔


Recall Self-test checklist

Ran the ladder? ::: L1 recognise · L2 compute · L3 manipulate deltas/epsilons · L4 prove named vector identities · L5 prove calculus identities and determinants — all with index notation alone.

Connections