Tensor products and multilinear maps
Connect coordinate arrays to tensor products, factor multilinear operations through linear maps, and compute separable tensor norms.
On this page
The question for today
What you’ll understand
- Explain the universal property behind a tensor product.
- Compute an outer-product array in fixed real orthonormal bases.
- Distinguish a pure tensor from a general sum of pure tensors.
A table with three indices is easy to store, but its multilinear meaning becomes clearer when each index belongs to a separate vector space. Tensor products combine those spaces while retaining linearity in each input. Their coordinates produce the familiar multidimensional array, and separable outer products become basic building blocks. Throughout this module the numerical examples use finite-dimensional real Euclidean spaces and the Frobenius norm, so claims about rank, orthogonality, and approximation have a fixed field and metric.
Separate the object from its chosen coordinates
For real vector spaces V and W, a tensor product V ⊗ W comes with a bilinear map sending (v, w) to v ⊗ w. Its universal property says that every bilinear map from V × W to another real vector space factors uniquely through a linear map out of V ⊗ W. The product packages separate input linearities into one ordinary linear operation; it does not assert that every tensor is itself one product.
Choose bases eᵢ and fⱼ. The products eᵢ ⊗ fⱼ form a basis, so the product space has dimension dim(V) times dim(W). A general tensor has independent coefficients in that basis. Changing bases changes its coordinate array through the appropriate mode transformations but does not change the underlying multilinear object. This distinction matters when the entries represent measurements in different physical coordinate systems rather than an arbitrary arrangement of numbers.
Pure tensors multiply coordinates and norms
In orthonormal bases, the outer product of vectors u, v, and w has entry uᵢvⱼwₖ. Such a nonzero array is a pure tensor, also called a rank-one tensor. Every tensor is a finite sum of pure tensors because the coordinate basis itself consists of them. The number of stored entries grows as the product of mode sizes, whereas one pure product can be stored through its vectors, with a sum of mode sizes.
The Frobenius norm is the square root of the sum of squared entries. For a pure tensor that sum separates into a product of three squared vector norms, giving an exact multiplicative norm identity. It is specific to the Euclidean product structure chosen here. Other tensor norms ask different questions, and a complex version uses squared absolute values and conjugate inner products; silently mixing those conventions would corrupt later approximation formulas.
Mode actions and contractions are linear operations
A matrix acting on the first vector space changes only the first index: the new entry is the sum of the matrix row times the corresponding first-index fiber. On a pure tensor this replaces u by Au and leaves v and w unchanged. Extending by linearity gives the same action on any tensor. Acting on different modes commutes because the sums involve distinct indices, while two actions on the same mode compose in their original matrix order.
Contraction pairs an index with a linear functional or pairs two compatible indices through an inner product. For example, contracting the two indices of u ⊗ v against the Euclidean pairing gives their dot product. A sum of pure tensors need not remain pure: the matrix identity e₁ ⊗ e₁ + e₂ ⊗ e₂ has rank two. Its nonzero determinant is already a simple obstruction to replacing the sum with one outer product.
Work it through
Build and measure a separable three-way array
Let u = (1, 2), v = (3, −1), and w = (2, 1). Compute both third-index slices of T = u ⊗ v ⊗ w and its Frobenius norm.
First form uvᵀ = [[3, −1], [6, −2]]. Multiplying by w₁ = 2 gives the first slice [[6, −2], [12, −4]].
Multiplying the same outer product by w₂ = 1 gives the second slice [[3, −1], [6, −2]]. Every entry now follows the stated index convention Tᵢⱼₖ = uᵢvⱼwₖ.
The squared vector norms are five, ten, and five. Their product is 250, so the Frobenius norm is √250 = 5√10. Directly summing the squared entries of both slices gives the same value.
The slices are scaled copies of uvᵀ, and ||T||F = 5√10. Eight entries are specified by three two-component vectors.
The living notebook
Explore the model
Interactive lab · vectors
A rotating factor changes entries without changing separability
For each run Pause and Reset, then set both controls. Choose angle 0 degrees and magnitude 2; predict u = (2, 0) and Frobenius norm 4 for u ⊗ u. In a fresh run choose angle 90 degrees and magnitude 2; the nonzero diagonal entry moves to the other coordinate, while that norm remains 4. Compute the outer product from the displayed vector; the lab displays a vector, not a general tensor array.
- x component
- 1.393
- y component
- 0.975
- Magnitude
- 1.7
Playback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forChanging a factor’s direction changes coordinates while preserving the rank-one product structure and its norm product.
Pause & reason
Check your understanding
Your turn
Try it yourself
Form u ⊗ v for u = (1, 2) and v = (3, −1), then contract its two indices with the Euclidean pairing. Compare this with the tensor e₁ ⊗ e₁ + e₂ ⊗ e₂.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
The contraction is the sum of diagonal entries. A two-by-two pure outer product has determinant zero.
Compare with the solution
The outer-product matrix is [[3, −1], [6, −2]], whose diagonal sum is 3 − 2 = 1, agreeing with u·v = 1. Its determinant is −6 + 6 = 0, as required for a rank-one matrix. The sum e₁ ⊗ e₁ + e₂ ⊗ e₂ is the identity matrix, whose determinant is one and matrix rank is two. Thus contraction is a linear scalar measurement, while pure-product structure is a distinct constraint that addition can destroy.
Keep the idea
Take it with you
- Tensor products linearize multilinear maps through a universal factorization.
- In real orthonormal coordinates, pure tensor norms multiply across factors.
- A general tensor is a sum of pure products, and that sum can require several terms.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.