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=โv1โv2โโฎvnโโโ
Vector Operations
(Vector Addition)
Given vectors u,vโRn, their sum is:
u+v=โu1โ+v1โu2โ+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=โcv1โcv2โโฎ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:
c1โv1โ+c2โv2โ+โฏ+ckโvkโ
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:
c1โv1โ+c2โv2โ+โฏ+ckโvkโ=b
This is equivalent to solving the linear system Ac=b, where:
- A=[v1โย v2โย โฏย vkโ] (matrix with vectors as columns)
- c=โc1โc2โโฎ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โ}={c1โv1โ+c2โv2โ+โฏ+ckโvkโโฃ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 c1โv1โ+c2โv2โ=b:
c1โ[11โ]+c2โ[23โ]=[51โ]
This gives the system:
c1โ+2c2โc1โ+3c2โโ=5=1โ
Subtracting: c2โ=โ4, so c1โ=13.
Yes, b=13v1โโ4v2โ.