3: Vectors in Euclidian Space
Basic Definitions
(Euclidean Space)
The Euclidean space Rn is the set of all ordered n-tuples of real numbers:
Rn={(x1,x2,…,xn)∣xi∈R}
Vectors in Rn can be written as column vectors or row vectors. We typically use column notation:
v=v1v2⋮vn
Vector Operations
(Vector Addition)
Given vectors u,v∈Rn, their sum is:
u+v=u1+v1u2+v2⋮un+vn
Vector addition is commutative and associative:
- u+v=v+u
- (u+v)+w=u+(v+w)
(Scalar Multiplication)
Given a scalar c∈R and vector v∈Rn:
cv=cv1cv2⋮cvn
Scalar multiplication stretches or shrinks vectors (and reverses direction if c<0).
Linear Combinations
(Linear Combination)
A linear combination of vectors v1,v2,…,vk in Rn is any vector of the form:
c1v1+c2v2+⋯+ckvk
where c1,c2,…,ck∈R are scalars (called coefficients).
Example: In R2, let v1=[10] and v2=[01].
Then [3−2]=3v1−2v2 is a linear combination of v1 and v2.
(Expressing as Linear Combinations)
Given vectors v1,…,vk and a target vector b, determining if b can be written as a linear combination means solving:
c1v1+c2v2+⋯+ckvk=b
This is equivalent to solving the linear system Ac=b, where:
- A=[v1 v2 ⋯ vk] (matrix with vectors as columns)
- c=c1c2⋮ck (coefficients)
The system has a solution ⇔ b is a linear combination of the vectors.
Span
(Span)
The span of vectors v1,v2,…,vk in Rn is the set of all linear combinations of these vectors:
span{v1,v2,…,vk}={c1v1+c2v2+⋯+ckvk∣ci∈R}
Geometric Interpretation:
- span{v} in R2 or R3 is a line through the origin
- span{v1,v2} (if not parallel) is a plane through the origin
- span{v1,v2,v3} (if linearly independent) fills all of R3
(Properties of Span)
-
Closed under addition and scalar multiplication:
- If u,v∈span{S}, then u+v∈span{S}
- If v∈span{S} and c∈R, then cv∈span{S}
-
Contains the zero vector:
- 0∈span{S} for any set S (set all coefficients to 0)
-
Span is a subspace:
- span{v1,…,vk} is always a subspace of Rn
(Spanning Sets)
A set of vectors {v1,…,vk} spans Rn if:
span{v1,…,vk}=Rn
This means every vector in Rn can be written as a linear combination of v1,…,vk.
Equivalently: The matrix A=[v1 ⋯ vk] has a solution to Ax=b for every b∈Rn.
Test: {v1,…,vk} spans Rn ⇔ rref(A) has a pivot in every row.
Examples
Example 1: Span in R2
Let v1=[12] and v2=[24].
Does span{v1,v2}=R2?
Solution: Note that v2=2v1, so they’re parallel. The span is just a line, not all of R2.
span{v1,v2}={t[12]∣t∈R}
Example 2: Linear Combination Check
Can b=[51] be written as a linear combination of v1=[11] and v2=[23]?
Solution: Solve c1v1+c2v2=b:
c1[11]+c2[23]=[51]
This gives the system:
c1+2c2c1+3c2=5=1
Subtracting: c2=−4, so c1=13.
Yes, b=13v1−4v2.