Row and column vectors
Template:Short description Template:More footnotes
In linear algebra, a column vector with Template:Tmath elements is an matrix[1] consisting of a single column of Template:Tmath entries. Similarly, a row vector is a matrix, consisting of a single row of Template:Tmath entries. For example, Template:Tmath is a column vector and Template:Tmath is a row matrix:
(Throughout this article, boldface is used for both row and column vectors.)
The transpose (indicated by TScript error: No such module "Check for unknown parameters".) of any row vector is a column vector, and the transpose of any column vector is a row vector: Taking the transpose twice returns the original (row or column) vector: Template:Tmath.
The set of all row vectors with Template:Mvar entries in a given field (such as the real numbers) forms an Template:Mvar-dimensional vector space; similarly, the set of all column vectors with Template:Mvar entries forms an Template:Mvar-dimensional vector space.
The space of row vectors with Template:Mvar entries can be regarded as the dual space of the space of column vectors with Template:Mvar 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.
or
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).Template:Fact
| Row vector | Column vector | |
|---|---|---|
| Standard matrix notation (array spaces, no commas, transpose signs) |
||
| Alternative notation 1 (commas, transpose signs) |
||
| Alternative notation 2 (commas and semicolons, no transpose signs) |
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, bScript error: No such module "Check for unknown parameters"., considered as elements of a coordinate space, is equal to the matrix product of the transpose of aScript error: No such module "Check for unknown parameters". with bScript error: No such module "Check for unknown parameters".,
By the symmetry of the dot product, the dot product of two column vectors a, bScript error: No such module "Check for unknown parameters". is also equal to the matrix product of the transpose of bScript error: No such module "Check for unknown parameters". with aScript error: No such module "Check for unknown parameters".,
The matrix product of a column and a row vector gives the outer product of two vectors a, bScript error: No such module "Check for unknown parameters"., an example of the more general tensor product. The matrix product of the column vector representation of aScript error: No such module "Check for unknown parameters". and the row vector representation of bScript error: No such module "Check for unknown parameters". gives the components of their dyadic product,
which is the transpose of the matrix product of the column vector representation of bScript error: No such module "Check for unknown parameters". and the row vector representation of aScript error: No such module "Check for unknown parameters".,
Matrix transformations
Script error: No such module "Labelled list hatnote". An n × nScript error: No such module "Check for unknown parameters". matrix Template:Mvar can represent a linear map and act on row and column vectors as the linear map's transformation matrix. For a row vector vScript error: No such module "Check for unknown parameters"., the product vMScript error: No such module "Check for unknown parameters". is another row vector pScript error: No such module "Check for unknown parameters".:
Another n × nScript error: No such module "Check for unknown parameters". matrix Template:Mvar can act on pScript error: No such module "Check for unknown parameters".,
Then one can write t = pQ = vMQScript error: No such module "Check for unknown parameters"., so the matrix product transformation Template:Mvar maps vScript error: No such module "Check for unknown parameters". directly to tScript error: No such module "Check for unknown parameters".. Continuing with row vectors, matrix transformations further reconfiguring Template:Mvar-space can be applied to the right of previous outputs.
When a column vector is transformed to another column vector under an n × nScript error: No such module "Check for unknown parameters". matrix action, the operation occurs to the left,
leading to the algebraic expression QM vTScript error: No such module "Check for unknown parameters". for the composed output from vTScript error: No such module "Check for unknown parameters". 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
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
Script error: No such module "Check for unknown parameters".
References
Script error: No such module "Labelled list hatnote".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
Script error: No such module "Navbox".