Vectorization (mathematics)

From Wikipedia, the free encyclopedia

Jump to: navigation, search

In mathematics, especially in linear algebra and matrix theory, the vectorization of a matrix is a linear transformation which converts the matrix into a column vector. Specifically, the vectorization of an m×n matrix A, denoted by vec(A), is the mn × 1 column vector obtain by stacking the columns of the matrix A on top of one another:

vec(A) = [a1,1,...,am,1,a1,2,...,am,2,...,a1,n,...,am,n]T

Here ai,j represents the (i,j)-th element of matrix A and the superscript T denotes the transpose.

For example, for the 2×2 matrix A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, the vectorization is \mathrm{vec}(A) = \begin{bmatrix} a \\ c \\ b \\ d \end{bmatrix}.

Contents

The vectorization is frequently used together with the Kronecker product to express matrix multiplication as a linear transformation on matrices. In particular,

 \mbox{vec}(ABC)=(C^{T}\otimes A)\mbox{vec}(B)

for matrices A, B, and C of compatible dimensions. For example, if adA(X) = AXXA (the adjoint endomorphism of the Lie algebra gl(n,C) of all n×n matrices with complex entries), then vec(adA(X)) = (I \otimes AAT \otimes I) vec(X), where I is the n×n identity matrix.

There are two others useful formulations:

 \mbox{vec}(ABC)=(I\otimes AB)\mbox{vec}(C) =(C^{T}B^{T}\otimes I)\mbox{vec}(A)
 \mbox{vec}(AB)=(I\otimes A)\mbox{vec}(B) =(B^{T}\otimes I)\mbox{vec}(A)

Vectorization is an algebra homomorphism from the space of n×n matrices with the Hadamard (entrywise) product to Cn with its Hadamard product:

vec(A \circ B) = vec(A) \circ vec(B).

Vectorization is a unitary transformation from the space of n×n matrices with the Frobenius (or Hilbert-Schmidt) inner product to Cn :

tr(A* B) = vec(A)* vec(B)

where the superscript * denotes the conjugate transpose.

For a symmetric matrix A, the vector vec(A) contains more information than is strictly necessary, since the matrix is completely determined by the symmetry together with the lower triangular portion, that is, the n(n+1)/2 entries on and below the main diagonal. For such matrices, the half-vectorization is sometimes more useful than the vectorization. The half-vectorization, vech(A), of a symmetric n×n matrix A is the n(n+1)/2 × 1 column vector obtained by vectorizing only the lower triangular part of A:

vech(A) = [ A1,1, ..., Am,1, A2,2, ..., An,2, ..., An-1,n-1,An-1,n, An,n ]T.

For example, for the 2×2 matrix A = \begin{bmatrix} a & b \\ b & d \end{bmatrix}, the half-vectorization is vech(A) = \begin{bmatrix} a \\ b \\ d \end{bmatrix}.

There exist unique matrices transforming the half-vectorization of a matrix to its vectorization and vice-versa called, respectively, the duplication matrix and the elimination matrix.

  • Jan R. Magnus and Heinz Neudecker (1999), Matrix Differential Calculus with Applications in Statistics and Econometrics, 2nd Ed., Wiley. ISBN 0-471-98633-X.
  • Jan R. Magnus (1988), Linear Structures, Oxford University Press. ISBN 0-85264-299-7.
Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.