Ma · Mathematics

What Is the Tensor Product of a Vector with Itself?

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the space

    Treat the vector v as an element of a vector space V; its tensor square belongs to V ⊗ V.

  2. 2. Use coordinates

    Write v in a basis, then multiply each component by each component.

  3. 3. Read the result

    The components are v_i v_j, forming a rank-one outer-product matrix when v is nonzero.

  4. 4. Check the operation

    A tensor product is not a dot product; combining a vector with another tensor adds a tensor factor.

If you tensor a vector with itself, the result is a second-order tensor, not a scalar. In a basis, you can calculate it by multiplying every component of the vector by every component again. This article explains the notation, works through a numerical example, and also covers what changes when the second factor is a different tensor.

What does v ⊗ v mean?

Let V be a vector space over a field, and let v be an element of V. The tensor product of v with itself is written

v⊗v∈V⊗V.v \otimes v \in V \otimes V.

The tensor product is bilinear: scaling either input scales the result, and addition in either input distributes over the operation. It combines two vector inputs into an object in the tensor-product space. It does not require a length, angle, or inner product.

Choose a basis e1,…,ene_1,\ldots,e_n for V and write the vector as

v=∑i=1nviei.v = \sum_{i=1}^n v_i e_i.

Then

v⊗v=∑i=1n∑j=1nvivj(ei⊗ej).v \otimes v = \sum_{i=1}^n \sum_{j=1}^n v_i v_j (e_i \otimes e_j).

Thus the component with indices i,ji,j is vivjv_i v_j. If you arrange these components in a square array, the result is the outer-product matrix vvTvv^{\mathsf T}.

Worked example

Take v=(2,−1)v=(2,-1) in R2\mathbb{R}^2. Its tensor product with itself has four components:

v⊗v=(2−1)(2−1)=(4−2−21).v \otimes v = \begin{pmatrix}2\\-1\end{pmatrix} \begin{pmatrix}2&-1\end{pmatrix} = \begin{pmatrix} 4&-2\\ -2&1 \end{pmatrix}.

For instance, the upper-right entry is 2⋅(−1)=−22\cdot(-1)=-2. This matrix is symmetric, and its rank is one because the vector is nonzero. If instead v=0v=0, then v⊗v=0v\otimes v=0.

The matrix form depends on the chosen basis, but the tensor v⊗vv\otimes v is the underlying coordinate-independent object. In an orthonormal basis of a Euclidean space, the matrix also represents the linear map x↦⟨v,x⟩vx\mapsto \langle v,x\rangle v. That interpretation uses an inner product to identify vectors with covectors; it is an extra structure, not part of the tensor product itself.

How it differs from a dot product

A dot product takes two vectors and, when an inner product is defined, returns a scalar. For the example above,

v⋅v=22+(−1)2=5,v\cdot v = 2^2+(-1)^2=5,

whereas v⊗vv\otimes v is a two-index tensor represented by a 2×22\times2 matrix. These operations answer different questions: the dot product measures a scalar relationship, while the tensor product retains the component combinations as a larger object.

In three dimensions, the cross product is different again: it returns a vector and is a special operation on R3\mathbb{R}^3, not the general tensor product.

What if the other factor is a different tensor?

The tensor product need not use the same vector twice. For v∈Vv\in V and w∈Ww\in W, the result is v⊗w∈V⊗Wv\otimes w\in V\otimes W. If their coordinates are viv_i and wjw_j, its components are viwjv_iw_j. For example, vectors with 2 and 3 components produce a 2×32\times3 array of pairwise products in the corresponding bases.

More generally, if TT is a tensor with components Tj1…jkT_{j_1\ldots j_k}, then v⊗Tv\otimes T has components

(v⊗T)ij1…jk=viTj1…jk.(v\otimes T)_{i j_1\ldots j_k}=v_iT_{j_1\ldots j_k}.

This adds a vector index to the tensor. The order of the factors matters: v⊗Tv\otimes T and T⊗vT\otimes v belong to spaces with their factors in different orders, though a natural reordering isomorphism can relate them. For tensors involving both vectors and covectors, keep track of each factor’s type as well as its order.

Common mistakes

  • Confusing the outer product with the dot product: v⊗vv\otimes v has two indices; v⋅vv\cdot v is a scalar.
  • Thinking the result is always a matrix: A matrix is a coordinate representation in a chosen basis. Abstractly, the result lies in V⊗VV\otimes V.
  • Assuming an inner product is required: The tensor product is defined for vector spaces without one. An inner product is needed only for interpretations that identify vectors and covectors or measure angles and lengths.
  • Assuming tensor products are limited to vectors: You can tensor vectors with other tensors; the result has the combined factors and indices.

The standard linear-algebra reading of “a vector tensor-multiplied by itself” is therefore its tensor square v⊗vv\otimes v. If “another tensor” means a separate factor, form the tensor product with that tensor and retain the order and type of the factors.

References

  1. Multilinear Algebra, Werner H. Greub

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.