What a Vector Really Is
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.
The Position of This Course
We mainly use the geometric view — treating a vector as an arrow in space. That is the most intuitive way to understand why linear algebra is “designed this way”. When we abstract to higher dimensions, we switch back to the algebraic view.
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 units in the x direction, then 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)
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 (-dimensional) space, a vector is numbers in a fixed order:
v = (v₁, v₂, ..., vₙ) ← an n-dimensional vector
The length of a vector’s arrow is called its norm, written with two vertical bars:
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
| Special vector | Definition | Geometric meaning |
|---|---|---|
| The zero vector | (0, 0) | a “point” with no direction; adding any vector leaves it unchanged |
| The unit vector | has norm 1 | represents 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)
Core Conclusion
A vector = an arrow in space = an ordered array. One and the same thing, two descriptions. The geometric view lets you “see” the problem, and the algebraic view lets you “compute” it. Every later concept (transformations, determinants, eigenvalues) switches back and forth between these two views.
Symbols Used in This Article
| Symbol | Type | Pronunciation/Explanation | Meaning in This Article |
|---|---|---|---|
| Mathematical symbol | vector v | An arrow in space, with its starting point conventionally at the origin | |
| Mathematical symbol | v sub x, v sub y | The components of the vector on the x and y axes (numbers of grid steps) | |
| Mathematical symbol | norm of v | The norm (length of the arrow) of the vector, that is, | |
| Mathematical symbol | v hat | The normalisation notation: , of length 1 and representing direction only |
