In
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
, a column vector with elements is an
matrix
Matrix (: matrices or matrixes) or MATRIX may refer to:
Science and mathematics
* Matrix (mathematics), a rectangular array of numbers, symbols or expressions
* Matrix (logic), part of a formula in prenex normal form
* Matrix (biology), the m ...
consisting of a single column of entries, for example,
Similarly, a row vector is a
matrix for some , consisting of a single row of entries,
(Throughout this article, boldface is used for both row and column vectors.)
The
transpose
In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
(indicated by ) of any row vector is a column vector, and the transpose of any column vector is a row vector:
and
The set of all row vectors with entries in a given
field (such as the
real numbers
In mathematics, a real number is a number that can be used to measurement, measure a continuous variable, continuous one-dimensional quantity such as a time, duration or temperature. Here, ''continuous'' means that pairs of values can have arbi ...
) forms an -dimensional
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
; similarly, the set of all column vectors with entries forms an -dimensional vector space.
The space of row vectors with 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 cons ...
of the space of column vectors with 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
comma
The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
s and column vector elements with
semicolon
The semicolon (or semi-colon) is a symbol commonly used as orthographic punctuation. In the English language, a semicolon is most commonly used to link (in a single sentence) two independent clauses that are closely related in thought, such as ...
s (see alternative notation 2 in the table below).
Operations
Matrix multiplication
In mathematics, specifically in linear algebra, matrix multiplication is a binary operation that produces a matrix (mathematics), matrix from two matrices. For matrix multiplication, the number of columns in the first matrix must be equal to the n ...
involves the action of multiplying each row vector of one matrix by each column vector of another matrix.
The
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
of two column vectors , considered as elements of a coordinate space, is equal to the matrix product of the transpose of with ,
By the symmetry of the dot product, the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
of two column vectors is also equal to the matrix product of the transpose of with ,
The matrix product of a column and a row vector gives the
outer product
In linear algebra, the outer product of two coordinate vectors is the matrix whose entries are all products of an element in the first vector with an element in the second vector. If the two coordinate vectors have dimensions ''n'' and ''m'', the ...
of two vectors , an example of the more general
tensor product
In mathematics, the tensor product V \otimes W of two vector spaces V and W (over the same field) is a vector space to which is associated a bilinear map V\times W \rightarrow V\otimes W that maps a pair (v,w),\ v\in V, w\in W to an element of ...
. The matrix product of the column vector representation of and the row vector representation of gives the components of their dyadic product,
which is the
transpose
In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
of the matrix product of the column vector representation of and the row vector representation of ,
Matrix transformations
An matrix can represent a
linear map
In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that p ...
and act on row and column vectors as the linear map's
transformation matrix. For a row vector , the product is another row vector :
Another matrix can act on ,
Then one can write , so the
matrix product transformation maps directly to . Continuing with row vectors, matrix transformations further reconfiguring -space can be applied to the right of previous outputs.
When a column vector is transformed to another column vector under an matrix action, the operation occurs to the left,
leading to the algebraic expression for the composed output from 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
In physics, especially in multilinear algebra and tensor analysis, covariance and contravariance describe how the quantitative description of certain geometric or physical entities changes with a change of basis. Briefly, a contravariant vecto ...
*
Index notation
In mathematics and computer programming, index notation is used to specify the elements of an array of numbers. The formalism of how indices are used varies according to the subject. In particular, there are different methods for referring to th ...
*
Vector of ones
In mathematics, a matrix of ones or all-ones matrix is a matrix with every entry equal to one. For example:
:J_2 = \begin
1 & 1 \\
1 & 1
\end,\quad
J_3 = \begin
1 & 1 & 1 \\
1 & 1 & 1 \\
1 & 1 & 1
\end,\quad
J_ = \begin
1 & 1 & 1 & 1 & 1 \\
1 ...
*
Single-entry vector Single-entry may refer to:
* Single-entry bookkeeping system Single-entry may refer to:
* Single-entry bookkeeping system, a method of bookkeeping relying on a one-sided accounting entry to maintain financial information
* Single-entry matrix, a ...
*
Standard unit vector
In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors, each of whose components are all zero, except one that equals 1. For exampl ...
*
Unit vector
In mathematics, a unit vector in a normed vector space is a Vector (mathematics and physics), vector (often a vector (geometry), spatial vector) of Norm (mathematics), length 1. A unit vector is often denoted by a lowercase letter with a circumfle ...
Notes
References
*
*
*
*
*
*
{{Linear algebra
Linear algebra
Matrices (mathematics)
Vectors (mathematics and physics)