
Subspaces
A subspace is a mini vector space within a vector space consisting of vectors that behave "similarly".
Definition
Suppose W is a non-empty subset of a vector space V. Let w1, w2∈W and let k∈R.
Then W is a subspace of V if:
- W contains the zero vector of V: 0∈W
- W is closed under vector addition: w1+w2∈W
- W is closed under scalar multiplication: k⋅w1∈W
To show that a subset is not a subspace, you must provide an example where one condition fails.
Example
Use the shortcut to show that W={⟨x,y⟩∈R2∣y=2x} is a subspace of R2.
W consists of vectors on a line through the origin (0) with vectors of the form ⟨x, 2x⟩.
Using the shortcut, we want to show that au+bv∈W where u=⟨u,2u⟩, v=⟨v,2v⟩:
au+bv=a⟨u,2u⟩+b⟨v,2v⟩=⟨au,2au⟩+⟨bv,2bv⟩=⟨au+bv, 2(au+bv)⟩∈W
Here, we conclude that ⟨au+bv, 2(au+bv)⟩ must be in W since it is a vector of the form ⟨x,2x⟩.
Therefore, W is a subspace of R2.

Example: Subspaces
Let V be the vector space {(x,y)∣x,y∈R+} with operations:
- (x1,y1)+(x2,y2)=(x1x2, y1y2)
- k⋅(x,y)=(xk,yk)
Recall that in this vector space: 0=(1,1)
Consider the following subset of V:
W={(x,y)∈V∣x=y}
Show that W is a subspace of V.
According to the definition of W, vectors in W must have equal components.
For example: w1=(6,6)∈W, and w2=(2,2)∈W.
Then notice that: w1+w2=(6,6)+(2,2)=(6⋅2,6⋅2)=(12,12)∈W because the components are equal.
Using a scalar k=2, for example:
2⋅w1=2⋅(6,6)=(62,62)=(36,36)∈W because 36=36.
Formal Proof
Step 1
Show that 0∈W:
In V the zero vector is 0=(1,1)∈W because 1=1.
Therefore, 0∈W.
Step 2
Let x, y∈W be arbitrary vectors, with x=(x,x) and y=(y,y) (in W, components must be the same!).
We must show that x+y∈W:
x+y=(x,x)+(y,y)=(xy,xy)∈W since the components are equal.
Therefore, W is closed under vector addition (the addition of any two vectors is still in W).
Step 3
Once again, let x=(x,x)∈W be an arbitrary vector.
We must show that k⋅x∈W:
k⋅x=k⋅(x,x)=(xk,xk)∈W since the components are equal.
Therefore, W is closed under scalar multiplication (multiplying a vector in W by a scalar results in another vector in W).
Thus, W is a subspace of V.
Note: We could have also used the shortcut method to prove W is a subspace.