✦ For everyone, free.

Practical knowledge for real and everyday life

Home

14.18.4 Tensor Map Product Basis Ordering Convention

The Tensor Map Product Basis Ordering Convention defines a standard for ordering basis elements in tensor product spaces to ensure consistent algebraic computations.

Tensor Map Product Basis Ordering Convention is the choice of how the doubly indexed family of basis tensors eifj is arranged into a single linearly ordered list, a choice that fixes which row or column of the matrix representing fg corresponds to which pair of indices, without affecting the underlying linear map itself.


The Need for an Ordering

Two Indices, One List

A basis tensor of VW is naturally labeled by a pair of indices (i,j), with 1in and 1jm, but writing the components of a vector or the entries of a matrix requires a single linear index running from 1 to nm. The ordering convention is the rule that converts the pair (i,j) into that single index.

The Standard Lexicographic Rule

The most common convention orders pairs lexicographically by i first, then by j, assigning the linear index

k = (i-1) m + j

to the pair (i,j), so that j varies fastest as k increases, and i only increases once j has cycled through all its values; this is the ordering under which the matrix of fg equals the Kronecker product FG in its standard block form.


Effect on the Matrix Presentation

Block Structure Under the Standard Convention

Under the standard convention, the matrix FG is arranged in n by n blocks, with the block in position (i,a) equal to FiaG, that is, the matrix G scaled by the single scalar entry Fia. Reversing the roles, ordering by j first and i second, produces instead a block structure with the block in position (j,b) equal to GjbF, which is the matrix GF rather than FG.

Permutation Relating Different Conventions

The two resulting matrices are related by conjugation with a fixed permutation matrix P that reorders the basis, since both list the same set of basis tensors, only in a different sequence,

G F = P ( F G ) P-1

with P known explicitly as the commutation matrix associated with the dimensions n and m, so that switching ordering conventions never changes the map, only the labeling scheme by which its matrix entries are addressed.


What the Convention Does Not Affect

Invariance of the Map and Its Entries as a Function

The value (fg)(eifj) assigned to a basis tensor by the tensor map product basis formula does not depend on how the pair (i,j) is later encoded as a linear index: the formula refers to ei and fj directly, not to their position in some flattened list. The ordering convention only governs how that same information is displayed once it is written as a matrix.

Consequence for Bookkeeping, Not for Content

Two practitioners using different ordering conventions compute the same coefficients for the same basis tensors; they only disagree about which row or column of their respective matrices those coefficients occupy. Any formula, theorem, or computation stated in terms of the basis tensors themselves, rather than in terms of the position of an entry inside a flattened matrix, is therefore completely unaffected by the choice of ordering convention.


Practical Considerations

Consistency With Iterated Tensor Products

When more than two maps are tensored together, for example fgh, the ordering convention must be extended consistently across all three index sets simultaneously, typically by nesting the same lexicographic rule, first grouping the last two indices together and then combining the result with the first, matching the standard associativity convention used to identify (VW)U with V(WU).

Interaction With Software Implementations

Numerical libraries that implement the Kronecker product fix one specific ordering convention internally, generally the lexicographic one with the second factor varying fastest, and any formula transcribed from an abstract index calculation into such software must respect that fixed convention or the resulting matrix will represent a permuted, rather than literally equal, version of the intended map.

i varies slow, j varies fast: (1,1) (1,2) (2,1) (2,2) j varies slow, i varies fast: (1,1) (2,1) (1,2) (2,2) Same pairs, different sequence order