What a Vector Really Is

I. Three Ways of Looking at a Vector

A vector is understood differently in different disciplines. One of the keys to learning linear algebra is being able to switch freely between these three views.

1. The Physics View: a Vector Is an “Arrow”

In a physics course a vector is an arrow in space:

  • it has a direction and a length (magnitude)
  • examples: displacement, velocity, force

The essence of an arrow is determined by its direction and its length, and has nothing to do with where it is drawn — after a translation it is still the same vector.

2. The Computer Science View: a Vector Is an “Ordered Array”

In a programmer’s eyes a vector is a list of numbers in a fixed order:

v = (3, 2)      ← a two-dimensional vector (2 numbers)
w = (1, 0, 5)   ← a three-dimensional vector (3 numbers)

Each number is the component of the vector on some coordinate axis.

3. The Mathematical View: a Vector Is an “Object You Can Operate On”

A mathematician abstracts a vector to an object satisfying certain operational rules: it can be added, and it can be multiplied by a scalar (multiplied by a number). Whether it is really an “arrow” is unimportant — what matters is how it is operated on.

II. Coordinates: Giving a Vector an “Address”

On the two-dimensional plane we set up a coordinate system (two mutually perpendicular axes):

  • the horizontal axis (the x-axis): the horizontal direction
  • the vertical axis (the y-axis): the vertical direction

A vector can be written as a pair of coordinates:

v = (vx, vy)

Meaning: starting from the origin, move vxvx units in the x direction, then vyvy units in the y direction, and you arrive at the tip of the arrow.

  • the vector (2, 3): 2 units to the right, 3 units up
  • the starting point of a vector is always the origin (a convention of the geometric view)

III. Why an “Ordered Array”

The coordinates (2, 3) and (3, 2) are different vectors — the order matters. This is why a vector is called an “ordered list”:

(2, 3) ≠ (3, 2)    ← the first component is on the x-axis, the second on the y-axis

In a higher-dimensional (nn-dimensional) space, a vector is nn numbers in a fixed order:

v = (v₁, v₂, ..., vₙ)   ← an n-dimensional vector

IV. The Length (Norm) of a Vector

The length of a vector’s arrow is called its norm, written with two vertical bars:

∥v∥=vx2+vy2(two dimensions)\|\mathbf{v}\| = \sqrt{v_x^2 + v_y^2} \quad \text{(two dimensions)}

This is a direct application of the Pythagorean theorem — the arrow is the hypotenuse of a right-angled triangle.

Example: v = (3, 4)
‖v‖ = √(3² + 4²) = √25 = 5

V. The Zero Vector and the Unit Vector

Special vectorDefinitionGeometric meaning
The zero vector(0, 0)a “point” with no direction; adding any vector leaves it unchanged
The unit vectorhas norm 1represents direction only, with the length fixed at 1

Common notation:

the zero vector: 0 = (0, 0, ..., 0)
normalisation: v̂ = v / ‖v‖   (scaling v down to length 1 while keeping its direction)

Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
v\mathbf{v}Mathematical symbolvector vAn arrow in space, with its starting point conventionally at the origin
vx,vyv_x, v_yMathematical symbolv sub x, v sub yThe components of the vector v\mathbf{v} on the x and y axes (numbers of grid steps)
∥v∥\|\mathbf{v}\|Mathematical symbolnorm of vThe norm (length of the arrow) of the vector, that is, vx2+vy2\sqrt{v_x^2 + v_y^2}
v^\hat{\mathbf{v}}Mathematical symbolv hatThe normalisation notation: v^=v/∥v∥\hat{\mathbf{v}} = \mathbf{v}/\|\mathbf{v}\|, of length 1 and representing direction only

Found an issue with this content?

Tell us what could be improved.