Introduction
MATH1012 Chapter 2 Goals
- Determine when a set of vectors is a subspace
- Determine when a set of vectors is linearly independent
- Find a basis for a subspace, and hence determine its dimension
Vectors
- A (real) vector is an ordered -tuple of real numbers
- A vector is the coordinates of points in -dimensional space
- The set of all vectors of arity is denoted
is the standard plane, is 3D space
But we can go beyond that into spaces we can’t visualise geometrically
- Vectors can only be added with vectors with the same arity
- e.g. you cannot multiply a 2D and 3D vector
Sets of Vectors
- We frequently need to describe / analyse various sets of vectors, in particular the solution sets of SLEs
Closed Sets
A set is closed under some binary operation if the result is in always in whenever the arguments are in
- e.g. the set of all natural numbers is closed under addition as the sum of any natural number will always be a natural number
- But the set is not closed under subtraction as the subtraction between two natural numbers may not be a natural number
- e.g. a negative number
Asymmetry
- Proof and disproof are not symmetric:
- Proof (must work for all choices)
- Counterexample (just need one example)
Subspace
-
A set of vectors is a subspace if:
-
- Easy geometric check → pass through origin
- is closed under vector addition
- is closed under scalar multiplication
-
-
Subspace vs Subset:
- Subset (no structure)
- Subspace (lots of structure)
You will need to use proofs/counterexamples to prove/disprove whether a vector subset is a subspace. Worked examples are on the annotated slides. Work through each subspace check from above.
Proving Subspaces
- Focus on proving that a set is closed under addition/multiplication
- Define variables and such that
- can be any set
- e.g. is the solutions to
- State and
- e.g.
- Test and use your earlier statements to prove it equals
- If you can prove it equals , the set is closed!
- Define variables and such that
Subspaces of
- Straight lines that pass through zero are subspaces
- Gradient of a line is constant, thus addition/multiplication of any point will always result on another point on the line!
- is a subspace
- is a subspace
A linear combination of two vectors and is: where
Span
- The span is the set of all linear combinations that can be formed from a set of vectors
- The span of anything is a subspace
- Given , the span of is The span of is the smallest subspace containing
Testing if something lies within a span is just using a system of linear equations (see annotated slides)
Two Types of Questions
- Find the span of
- You are given and have to find
- Find a spanning set of
- You are given and have to find
Proving a Spanning Space
- Given subspace , how do we prove is its spanning space?
- Must show that every linear combination of the vectors are in
- Must show every part of can be created using vectors in
- Watch lecture recording
Find a Spanning Set
To find a spanning space of a subspace, choose vectors from within the subspace until you can recreate the set with only that set of vectors. You will need a vector that can influence each dimension. Thus, for a set with an and component, your spanning set must have a vector with an and component!
Because a subspace is closed under addition and multiplication, you can choose any vector without the worry of your spanning space going beyond the subspace. When choosing a vector, don’t choose one that you can already make with the vectors you have already chosen. Try and use the least amount of vectors possible!
Linear Dependence
- A set of vectors is linearly dependent if one of them is a linear combination of the others
- A set of vectors is linearly independent if it is not linearly dependent
Linear Independence Test
In , as set is linearly independent if and only if the homogeneous system of linear equations:
in the unknowns has the unique solution:
- This can be tested through using Gaussian Elimination
Properties of Dependence
- A subset of a linearly independent set is linearly independent
- A superset of a linearly dependent set is dependent
Having a dependent set means there is a redundancy
- If a set of vectors is a dependent set and is a linear combination of the other vectors, then
- You can remove that vector with no change to the span
Bases
- A basis of a subspace contains just enough vectors to be the spanning set of the subspace
- A basis must be linearly independent
- A basis is the easiest way to specify which vectors are in a subspace