A vector in n-dimensional Euclidean space Rn is an ordered list of n real numbers, usually written as a column vector:
v=(v1,v2,…,vn)=v1v2⋮vn
Note: We often use boldface (v) or arrows (v) to denote vectors, distinguishing them from scalars (ordinary numbers).
Geometric Interpretation
Vectors as points: A vector represent a point in the Euclidean space. In this case, we usually write the vector in the form (v1,…,vn).
Vectors as arrows: More commonly, we think about a vectors as an arrow. It has both magnitude (length) and direction
Visualizing Vectors in 2D
Vector u⃗ =(,)
💡 Tip: Drag the arrow head to change direction/magnitude, drag the circular tail to move the starting point, or drag the line to translate the entire vector.
Vector Arithmetic
Given two vectors u=(u1,u2,…,un) and v=(v1,v2,…,vn) in Rn, and a scalar c∈R. We define
You end up at the same place as if you walked along u+v directly from the origin
Parallelogram Rule for Vector Addition
u⃗ =(,);
v⃗ =(,);
u⃗+v⃗ =(5.0,3.0)
💡 Tip: Drag the arrow head to change direction/magnitude, drag the circular tail to move the starting point, or drag the line to translate the entire vector.
Vector subtraction can be understood as adding the opposite vector: u−v=u+(−v).
The red dashed vector−v is v reversed (opposite direction, same magnitude)
Form a parallelogram with u and −v as adjacent sides
The purple diagonal from the origin is u−v (using parallelogram law)
Vector Subtraction
u⃗ =(,);
v⃗ =(,);
u⃗-v⃗ =(-4.0,2.0)
💡 Tip: Drag the arrow head to change direction/magnitude, drag the circular tail to move the starting point, or drag the line to translate the entire vector.
The lighter purple vector from the tip of v to the tip of u also represents u−v. Think about u as your position and v as a friend's position, then u−v is the displacement pointing from your friend to you.
Scalar multiplication stretches or shrinks a vector and may reverse its direction:
If c>1: Stretches v by factor c (same direction)
If 0<c<1: Shrinks v by factor c (same direction)
If c=0: Results in the zero vector 0
If c<0: Reverses direction and scales by ∣c∣
For v=[21]:
2v=[42] — twice as long, same direction
21v=[10.5] — half as long, same direction
−v=[−2−1] — same length, opposite direction
−3v=[−6−3] — three times as long, opposite direction
For any vectors u,v,w in Rn:
Commutativity: u+v=v+u
Associativity: (u+v)+w=u+(v+w)
Identity: u+0=u
Inverse: u+(−u)=0, where −u=−u1−u2⋮−un
For any vectors u,v in Rn and scalars c,d:
Associativity: c(dv)=(cd)v
Distributivity over vector addition: c(u+v)=cu+cv
Distributivity over scalar addition: (c+d)v=cv+dv
Identity: 1v=v
Linear Combinations
A linear combination of vectors v1,v2,…,vk is an expression of the form:
c1v1+c2v2+⋯+ckvk
where c1,c2,…,ck are scalars (called coefficients or weights).