10.20.1 Tensor Transformation Index Balance Check
Ensuring index balance during tensor transformations is crucial for maintaining mathematical consistency and correct tensor behavior under coordinate changes.
Tensor Transformation Index Balance Check is the purely syntactic verification step, performed before any numerical computation, confirming that every free index appears with matching placement and letter on both sides of a proposed tensor transformation formula, and that every dummy index appears exactly twice with one occurrence upper and one occurrence lower, catching a large class of formula-writing errors without needing to evaluate any actual Jacobian entries.
Checking Free Indices
Matching Placement Across the Equation
A free index, one appearing only once in a given term, must appear with the identical letter and the identical upper-or-lower placement on every term of the equation:
Here the free upper index and free lower index both appear correctly, once on the left-hand side and once among the factors on the right, with matching placement; a formula in which a free index appeared upper on one side and lower on the other would fail this check immediately.
Counting the Free Indices
The total number of free indices on both sides of the equation must match exactly, both in count and in whether each is upper or lower, since this count directly reflects the rank and variance type of the tensor being described; a mismatch in free index count signals that the formula describes objects of different rank on its two sides, an immediate and unambiguous error.
Checking Dummy Indices
Exactly Two Occurrences, Opposite Placement
Every dummy, or summed, index must appear exactly twice within a single term, once as an upper index and once as a lower index, never twice upper, never twice lower, and never three or more times:
Here the dummy index appears once as a lower index on the Jacobian factor and once as an upper index on the tensor component, satisfying the balance requirement; a term with the same letter appearing twice as an upper index, or three times in total, would fail the check and signal a transcription error.
Renaming Dummy Indices Safely
Because a dummy index is only a local bookkeeping label, it can always be renamed to any letter not already in use elsewhere in the same term without changing the meaning of the expression, and this renaming freedom is itself part of the balance check: if renaming a suspected dummy index to a fresh letter throughout a term does not alter the term's meaning, the index was indeed being used correctly as a dummy variable.
Diagram of a Balanced Formula
Annotated Index Roles
Common Balance Violations
Repeated Free Index Mistaken as Dummy
A frequent error occurs when an index intended to be free is accidentally repeated elsewhere in the same term, causing it to be treated as a dummy index and summed over, silently changing the meaning of the formula from describing one specific component to describing a sum over several components.
Orphaned Index With Only One Occurrence Where Summation Was Intended
The reverse error occurs when an index intended to be summed appears only once in a term, either due to a missing factor or a typographical slip, leaving what should be a dummy index behaving as an unintended free index, which changes the apparent rank of the resulting expression.
Same-Placement Repetition
An index repeated twice with the same placement, both upper or both lower, violates the summation convention entirely and indicates either a notational error or a fundamental miswriting of the underlying transformation law, since the Einstein summation convention specifically requires opposite placement for a valid contraction.
Role of the Check in the Overall Verification Process
A Prerequisite, Not a Replacement
Passing the index balance check confirms only that a formula is syntactically well formed; it does not confirm that the formula is numerically correct or that the underlying quantity genuinely obeys the tensorial transformation rule, so this check is properly understood as a fast prerequisite screening step performed before the more demanding numerical consistency checks, such as contraction invariance or round-trip recovery, are undertaken.