Skip to main content
Logo
Overview

Why are vectors vertical?

March 24, 2025
1 min read

My math professors in college would often intimidate us into writing vectors as vertical, transposing them when convenient, without explaining why. This always confused me, but I realized that rather than being some Big-V conspiracy, they never explained it because there was a very obvious reason why.

An illuminating example

For example, take some transformation (ie, a matrix) A\mathbf{A} and a vector x\vec{x} on which it acts on.

Note that we format this function A\mathbf{A} as the hstack (horizontal-stack) of its vertical basis vectors in the transformed space. For now, suppose this is a good idea.

Then we can write

Ax=[u1v1w1u2v2w2u3v3w3][xyz]\mathbf{A} \vec{x} = \begin{bmatrix} u_1 & v_1 & w_1 \\ u_2 & v_2 & w_2 \\ u_3 & v_3 & w_3 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix}

to denote our equation.

Why are basis vectors of a matrix vertical?

Now the reason why we chose to format A\mathbf{A}‘s basis vectors along its columns becomes clear.

Now when we multiply it out, we get

  • the xx‘s always multiplying with the uiu_i components,
  • yy‘s always multiplying with viv_i components,
  • and zz‘s always multiplying with wiw_i component.

So the purpose of aligning the matrix along the columns

[uvw] and not like [uvw]\begin{bmatrix}\vec u & \vec v & \vec w \end{bmatrix} \quad \text{ and not like } \quad \begin{bmatrix} \vec u \\ \vec v \\ \vec w \end{bmatrix}

is so that the equation Ax\textbf{A} \vec x is written in an order analogous to f(x)f(x) from vanilla function notation.

Remark: We could order the matrix along the rows if we started using row vectors as well. Then the order would be xA\vec x \textbf{A}. But this looks a little weirder, right?