11.18 Tensor Variance Type Behavior
Tensor Variance Type Behavior explains how tensors transform under coordinate changes, classifying them as covariant or contravariant.
Tensor Variance Type Behavior is the overall classification of how a tensor's components respond to a change of basis or coordinate system, sorting tensors into a small number of distinct behavioral categories, namely invariant, covariant, contravariant, and mixed, according to which combination of transformation rules governs their indices.
Foundational Setting
The Need for a Classification
A vector space paired with its dual space supports several distinct kinds of multi-indexed objects, each reacting differently to a basis change. Variance type behavior is the framework that names and organizes these reactions so that any tensor can be assigned unambiguously to exactly one type based on the structure of its indices.
The Governing Principle
Every classification rests on the same underlying fact: a change of basis is described by a matrix , and each index of a tensor transforms either with directly or with its inverse , and the pattern of these choices across all indices determines the variance type.
The Four Behavioral Categories
Invariant Behavior
A quantity with no free indices at all, called a scalar or invariant, does not change value under any basis transformation:
Contravariant Behavior
A tensor whose indices are entirely upper, such as , transforms with the inverse basis-change matrix on every index, compensating for stretches or shrinks in the basis so that the object represented stays fixed.
Covariant Behavior
A tensor whose indices are entirely lower, such as , transforms with the direct basis-change matrix on every index, moving in step with the basis rather than against it.
Mixed Behavior
A tensor carrying both upper and lower indices simultaneously, such as , exhibits mixed behavior, applying the inverse matrix to each upper index and the direct matrix to each lower index at once.
Visualizing the Four Categories
Diagram of Behavioral Types
Rank and Type Together
The Type Notation
The precise variance type of a tensor is often recorded as a pair of nonnegative integers , where counts the upper indices and counts the lower indices. Invariant behavior corresponds to type , pure contravariant behavior to type , pure covariant behavior to type , and mixed behavior to any type with both and positive.
Rank as the Sum
The rank of a tensor, meaning the total number of indices it carries, is the sum , so tensors of the same rank can still differ in variance type depending on how that rank is split between upper and lower positions.
Behavior Under Tensor Operations
Products Combine Types Additively
Forming the tensor product of two tensors of types and yields a tensor of type , since the indices of both factors are simply combined.
Contraction Reduces Type
Contracting one upper index against one lower index removes one instance of each from the variance type, reducing a tensor of type to type , and repeated contraction down to type yields an invariant scalar.
Summary of Key Traits
Defining Characteristics
- Variance type behavior classifies tensors into invariant, contravariant, covariant, and mixed categories.
- The classification is fully determined by the arrangement of upper and lower indices.
- The type pair records the count of each index kind, with their sum giving the tensor's rank.
- Tensor products add variance types, while contraction reduces them, eventually producing invariants.