A vector space is a set along with an addition on and a scalar multiplication on such that the following properties hold.
- Commutativity: for all .
- Associativity: and for all and for all .
- Additive Identity: There exists an element such that for .
- Additive Inverse: For every , there exists such that .
- Multiplicative Identity: for all .
- Distributive Properties: and for all and all .
To avoid re-stating this many times, we declare that denotes a vector space over .
Definitions: Addition, Scalar Multiplication
- An addition on a set is a function that assigns an element to each pair of elements .
- A scalar multiplication on a set is a function that assigns an element to each and each .
We can use some geometric language to aid our intuition by saying that elements of a vector space are called vectors or points.
The scalar multiplication in a vector space depends on . Thus when we need to be precise, we will say that is a vector space over instead of saying simply that is a vector space. For example, is a vector space over , and is a vector space over .
Usually the choice of is either clear from the context or irrelevant. Thus we often assume that is lurking in the background without specifically mentioning it. With the usual operations of addition and scalar multiplication, is a vector space over , as you should verify. The example of (see here) motivated our definition of vector space.
The simplest vector space is , which contains only one point.
Vector Spaces as Sets of Functions
Our next example of a vector space involves a set of functions.
We define with the following:
- If is a set, then denotes the set of functions from to . In other words, each function in takes an input from and gives an output in the field .
- For , the sum is the function defined by
- For all and , the product is the function defined by
for all .
This perspective generalizes the concept of vectors. While we usually think of vectors as ordered tuples (like points in ), in this more abstract setting, we treat entire functions as vectors.
As an example of the notation above, if is the interval and , then is the set of real-valued functions on the interval . This means the the domain of each function are , which is mapped to a real value .
- The elements of the vector space are real-valued functions on , not lists. In general, a vector space is an abstract entity whose elements might be lists, functions, or weird objects.
We can show that is a vector space by considering the following:
- If is a nonempty set, then (with the operations of addition and scalar multiplication as defined above) is a vector space over .
- The additive identity of is the function for all , defined by:
for all .
- For all , the additive inverse of is the function defined by:
for all .
The vector space is a special case of the vector space because each can be thought of as a function from the set to . We just write instead of writing for the -th coordinate of .
- In other words, we can think of as .
- Similarly, we can think of as .
Elementary Properties
We need to develop some of the elementary properties of vector spaces.
Unique Additive Identity
A vector space has a unique additive identity.
Proof. Suppose and are both additive identities for some vector space . Then
where the first equality holds because is the additive identity, the second equality comes from commutativity, and the third equality holds because is an additive identity. Thus, , showing that only has one additive identity.
Unique Additive Inverse
Every element in a vector space has a has a unique additive inverse.
Proof. Suppose is a vector space. Let . Suppose and are additive inverses of . Then
Thus as desired.
Then we can use the following notation for :
- denotes the additive inverse of ;
- is defined to be .
Multiplication by Scalar 0
When we multiply a vector by the number zero, we have for every .
Proof. For , we have:
Adding the additive inverse of both sides gives:
as desired.
Multiplication by Vector 0
When we multiply a scalar by a vector , we have for every . Here, denotes the additive identity of , not scalar .
Proof. For , we have
Adding the additive inverse of to both sides of the equation above gives , as desired.
Multiplication by -1
Multiplying a vector by gives for every .
Proof. For , we have
This tells us that , when added to , gives . Thus, is the additive inverse of , as desired.