WIPIVERSE All articles

Row and column vectors

Row vectors and column vectors are fundamental constructs in linear algebra, representing ordered lists of numbers (or elements from a field) arranged respectively as a single horizontal line (a 1 × n matrix) or a single vertical line (an n × 1 matrix). They are used to describe linear transformations, solve systems of equations, and express vectors in coordinate form.

Definition

  • Row vector: An element of the vector space $ \mathbb{F}^n $ written as a 1 × n matrix
    $$ \mathbf{r} = \begin{bmatrix} r_1 & r_2 & \dots & r_n \end{bmatrix}. $$
  • Column vector: An element of the same space written as an n × 1 matrix
    $$ \mathbf{c} = \begin{bmatrix} c_1 \ c_2 \ \vdots \ c_n \end{bmatrix}. $$
    Both notations convey the same underlying data; the distinction is purely a matter of presentation and the role the vector plays in matrix operations.

Properties and Operations

  1. Transposition: The transpose operation $ (\cdot)^{\mathsf{T}} $ converts a row vector into a column vector and vice‑versa:
    $$ \left[ r_1 ; r_2 ; \dots ; r_n \right]^{\mathsf{T}} = \begin{bmatrix} r_1 \ r_2 \ \vdots \ r_n \end{bmatrix}. $$

  2. Matrix multiplication:

    • A row vector multiplied on the right by a column vector of compatible dimensions yields a scalar (inner product):
      $$ \mathbf{r},\mathbf{c} = \sum_{i=1}^{n} r_i c_i. $$
    • A column vector multiplied on the right by a row vector produces an n × n matrix (outer product):
      $$ \mathbf{c},\mathbf{r} = \begin{bmatrix} c_1 r_1 & c_1 r_2 & \dots & c_1 r_n \ c_2 r_1 & c_2 r_2 & \dots & c_2 r_n \ \vdots & \vdots & \ddots & \vdots \ c_n r_1 & c_n r_2 & \dots & c_n r_n \end{bmatrix}. $$
  3. Linear combinations: Any vector in $ \mathbb{F}^n $ can be expressed as a linear combination of the standard basis vectors, which are commonly written as column vectors $ \mathbf{e}_i $ having a 1 in the i‑th entry and 0 elsewhere.

  4. Coordinate representation: In a chosen basis, a vector’s coordinates may be displayed as either a row or column vector; the choice depends on the convention of the surrounding algebraic expressions (e.g., left‑multiplication by a matrix versus right‑multiplication by a vector).

Contextual Use

  • Systems of linear equations: The coefficient matrix multiplies a column vector of unknowns; the result is a column vector of constants.
  • Digital signal processing and data science: Data samples are often stored as row vectors (observations) or column vectors (features), influencing how matrices representing transformations are applied.
  • Quantum mechanics: State vectors are conventionally written as column vectors (kets), while their duals are row vectors (bras), facilitating inner‑product calculations through bra–ket notation.

Historical Note
The explicit distinction between row and column vectors emerged with the development of matrix theory in the 19th century, notably in the works of Arthur Cayley and James Joseph Sylvester, who formalized matrix multiplication rules that required consistent orientation of vectors.

Related Concepts

  • Matrix: A rectangular array of scalars; rows and columns of a matrix are themselves row and column vectors, respectively.
  • Vector space: An algebraic structure in which vectors (including row and column forms) can be added and scaled.
  • Linear transformation: Represented by a matrix; its action on a column vector yields another column vector.

References

  • Strang, Gilbert. Linear Algebra and Its Applications. 5th ed., Cengage Learning, 2016.
  • Horn, Roger A., and Charles R. Johnson. Matrix Analysis. 2nd ed., Cambridge University Press, 2013.
  • Axler, Sheldon. Linear Algebra Done Right. 4th ed., Springer, 2020.
Browse

More topics to explore

    Browse all articles