Repository navigation
Vector Spaces and Subspaces
Now that we have some basics with vectors, matrices, and linear systems, we need to build up the theoretical machinery of linear algebra that will allow us to do the cool stuff. We have about a week of theory ahead of us. It's good stuff: logical, useful, and interesting. It's also full of new definitions we need to remember and use, starting with a big generalization of what it means to be a vector.
We know vectors as lists of numbers or objects with magnitude and direction. If we look more closely, we see a long list of properties satisfied by vectors. We will list these properties. Once we do, any object that also satisfies the same properties can be treated as a vector. Then everything we know about vectors can apply to this new object. It ends up being a hugely useful abstraction! It also leads to many wonderful memes:
Let's get to that list of properties with the major definition of this section. So, what makes a vector a vector? Here are some of the things we have when we talk about vectors:
- A space containing the vectors,
$\large \mathbb{R}^n$ . - Vector addition.
- Scalar multiplication.
And with these things, we have the following 10 properties (the first 5 deal with vector addition, and the second 5 deal with scalar multiplication):
-
$\large \mathbb{R}^n$ is closed under addition. In other words, the sum of two vectors in$\large \mathbb{R}^n$ is a vector in$\large \mathbb{R}^n$ . - Vector addition is commutative:
$\large \vec{v}+\vec{u}=\vec{u}+\vec{v}$ . - Vector addition is associative:
$\large \vec{u}+\left(\vec{v}+\vec{w}\right) = \left(\vec{u}+\vec{v}\right)+\vec{w}$ . -
$\large \mathbb{R}^n$ has an additive identity, a vector$\large \vec{0}$ such that$\large \vec{v}+\vec{0}=\vec{v}$ . - Every vector
$\large \vec{v}$ in$\large \mathbb{R}^n$ has an additive inverse, a vector$\large -\vec{v}$ such that$\large \vec{v}+(-\vec{v})=\vec{0}$ . -
$\large \mathbb{R}^n$ is closed under scalar multiplication. In other words,$\large c\vec{v}$ is in$\large \mathbb{R}^n$ for any$\large c$ and any$\large \vec{v}$ . - Scalar multiplication is distributive over vector addition:
$\large c\left(\vec{u}+\vec{v}\right)=c\vec{u}+c\vec{v}$ . - Scalar multiplication is distributive over scalar addition:
$\large \left(c+d\right)\vec{v}=c\vec{v}+d\vec{v}$ . - Scalar multiplication is associative:
$\large c\left(d\vec{v}\right)=(cd)\vec{v}$ . - There is a scalar identity 1 such that
$\large 1(\vec{v})=\vec{v}$ .
There it is. Ten things that are properties of
We listed the properties we knew for
Definition: Let
$\large V$ be a set on which addition and scalar multiplication are defined. If the 10 properties listed above (with$\large \mathbb{R}^n$ replaced with$\large V$ ) hold for all elements in$\large V$ , then$\large V$ is called a vector space.
Consider the set of all
- The sum of two
$\large 2\times 3$ matrices is definitely another$\large 2\times 3$ matrix, so$\large M_{23}$ is closed under addition. - Is
$\large A+B=B+A$ ? Yup. -
$\large cA$ is still a$\large 2\times 3$ matrix, so$\large M_{23}$ is closed under scalar multiplication.
We won't show all 10 properties (none of them are particularly interesting). But
The set
What have we done so far? We've listed the properties of vectors in
In a coming lecture, we will look at a few other vector spaces. The most useful application of the idea of a vector space is the fact that a set of functions can be a vector space. The idea of treating functions like vectors is mind blowing:
By treating functions as vectors, we can define things like orthogonality and distance for functions. This leads to big results in approximation of functions.
The theory of Fourier Series, which Mines students can learn about in classes such as MATH310, MATH455, and EENG411, is based on the ability to treat functions as vectors in a vector space!
The primary application of vector spaces in this class is in the following definition:
Definition: A subspace of
$\large \mathbb{R}^n$ is a subset$\large H$ with three properties:
$\large H$ contains the zero vector.$\large H$ is closed under addition (the sum of any two vectors in$\large H$ is still in$\large H$ ).$\large H$ is closed under scalar multiplication (if$\large \vec{v}\in H$ , then$\large c\vec{v}\in H$ ).
Note
Many (most?) of the applications we'll see in the second half of this class are based on working with various subspaces of
Let
Let
Consider the example above. What if the line were
Click to see the answer
In that case, the zero vector
$\large \left<0,0\right>$ is not in the set, so it cannot be a subspace.
Note
Note that it is technically true that
I can:
- Determine if a set is a vector space.
- Determine if a subset of a vector space is a subspace.