In linear algebra
, a column vector
or column matrix
is an m
× 1 matrix
, i.e. a matrix consisting of a single column of
The transpose of a column vector is a row vector and vice versa.
The set of all column vectors forms a vector space which is the dual space to the set of all row vectors.
To simplify writing column vectors in-line with other text, sometimes they are written as row vectors with the transpose operation applied to them.
For further simplification, 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). This alternative notation is used, for instance, in MATLAB, a widely used programming language specifically designed to simplify computations involving matrices.
|| Row vector
|| Column vector |
| Standard matrix notation
| Alternative notation 1
| Alternative notation 2
- 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 vectors a and b is equivalent to multiplying the row vector representation of a by the column vector representation of b:
a_1 & a_2 & a_3
b_1 b_2 b_3