HOME

TheInfoList



OR:

In linear algebra, a column vector with m elements is an m \times 1
matrix Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** '' The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
consisting of a single column of m entries, for example, \boldsymbol = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end. Similarly, a row vector is a 1 \times n matrix for some n, consisting of a single row of n entries, \boldsymbol a = \begin a_1 & a_2 & \dots & a_n \end. (Throughout this article, boldface is used for both row and column vectors.) The transpose (indicated by T) of any row vector is a column vector, and the transpose of any column vector is a row vector: \begin x_1 \; x_2 \; \dots \; x_m \end^ = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end and \begin x_1 \\ x_2 \\ \vdots \\ x_m \end^ = \begin x_1 \; x_2 \; \dots \; x_m \end. The set of all row vectors with ''n'' entries in a given field (such as the
real numbers In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
) forms an ''n''-dimensional vector space; similarly, the set of all column vectors with ''m'' entries forms an ''m''-dimensional vector space. The space of row vectors with ''n'' entries can be regarded as the
dual space In mathematics, any vector space ''V'' has a corresponding dual vector space (or just dual space for short) consisting of all linear forms on ''V'', together with the vector space structure of pointwise addition and scalar multiplication by const ...
of the space of column vectors with ''n'' entries, since any linear functional on the space of column vectors can be represented as the left-multiplication of a unique row vector.


Notation

To simplify writing column vectors in-line with other text, sometimes they are written as row vectors with the transpose operation applied to them. :\boldsymbol = \begin x_1 \; x_2 \; \dots \; x_m \end^ or :\boldsymbol = \begin x_1, x_2, \dots, x_m \end^ Some authors also use the convention of writing both column vectors and row vectors as rows, but separating row vector elements with commas and column vector elements with semicolons (see alternative notation 2 in the table below).


Operations

Matrix multiplication involves the action of multiplying each row vector of one matrix by each column vector of another matrix. The dot product of two column vectors a and b, considered as elements of a coordinate space, is equal to the matrix product of the transpose of a with b, :\mathbf \cdot \mathbf = \mathbf^\intercal \mathbf = \begin a_1 & \cdots & a_n \end\begin b_1 \\ \vdots \\ b_n \end = a_1 b_1 + \cdots + a_n b_n \,, By the symmetry of the dot product, the dot product of two column vectors a and b is also equal to the matrix product of the transpose of b with a, :\mathbf \cdot \mathbf = \mathbf^\intercal \mathbf = \begin b_1 & \cdots & b_n \end\begin a_1 \\ \vdots \\ a_n \end = a_1 b_1 + \cdots + a_n b_n\,. The matrix product of a column and a row vector gives the
outer product In linear algebra, the outer product of two coordinate vector In linear algebra, a coordinate vector is a representation of a vector as an ordered list of numbers (a tuple) that describes the vector in terms of a particular ordered basis. An ea ...
of two vectors a and b, an example of the more general tensor product. The matrix product of the column vector representation of a and the row vector representation of b gives the components of their dyadic product, :\mathbf \otimes \mathbf = \mathbf \mathbf^\intercal = \begin a_1 \\ a_2 \\ a_3 \end\begin b_1 & b_2 & b_3 \end = \begin a_1b_1 & a_1b_2 & a_1b_3 \\ a_2b_1 & a_2b_2 & a_2b_3 \\ a_3b_1 & a_3b_2 & a_3b_3 \\ \end \,, which is the transpose of the matrix product of the column vector representation of b and the row vector representation of a, :\mathbf \otimes \mathbf = \mathbf \mathbf^\intercal = \begin b_1 \\ b_2 \\ b_3 \end\begin a_1 & a_2 & a_3 \end = \begin b_1a_1 & b_1a_2 & b_1a_3 \\ b_2a_1 & b_2a_2 & b_2a_3 \\ b_3a_1 & b_3a_2 & b_3a_3 \\ \end \,.


Matrix transformations

An ''n'' × ''n'' matrix ''M'' can represent a linear map and act on row and column vectors as the linear map's transformation matrix. For a row vector ''v'', the product ''vM'' is another row vector ''p'': : v M = p \,. Another ''n'' × ''n'' matrix ''Q'' can act on ''p'', : p Q = t \,. Then one can write ''t'' = ''p Q'' = ''v MQ'', so the matrix product transformation ''MQ'' maps ''v'' directly to ''t''. Continuing with row vectors, matrix transformations further reconfiguring ''n''-space can be applied to the right of previous outputs. When a column vector is transformed to another column vector under an ''n'' × ''n'' matrix action, the operation occurs to the left, : p^\mathrm = M v^\mathrm \,,\quad t^\mathrm = Q p^\mathrm , leading to the algebraic expression ''QM v''T for the composed output from ''v''T input. The matrix transformations mount up to the left in this use of a column vector for input to matrix transformation.


See also

* Covariance and contravariance of vectors * Index notation * Vector of ones * Single-entry vector * Standard unit vector * Unit vector


Notes


References

* * * * * * {{Linear algebra Linear algebra Matrices Vectors (mathematics and physics)