![]()
MATH347DS L03: Matrix Vector Subspaces
|
Span of a vector set
Vector subspaces
Vector subspace composition
Vector subspace of a linear mapping and its associated matrix
Column space
Left null space
Geometric interpretation of subspaces of Euclidean spaces
Applications of concept of vector subspace
![]()
Recall: vector space definition
|
Formalize linear combinations by explicit definition of allowed operations (“algebra”)
Example:
![]()
Span of a set of vectors
|
Definition. The span of vectors is the set of vectors reachable by linear combination
The notation used for set on the right hand side is read: “those vectors in with the property that there exist scalars to obtain by linear combination of .
Example
Example
![]()
Vector space composition
|
Definition.
Definition. Given two vector subspaces , of the space , the sum is the set
Definition. Given two vector subspaces , of the space , the direct sum is the set (unique decomposition)
Definition. Given two vector subspaces , of the space , the intersection is the set
Definition. Two vector subspaces , of the space are orthogonal subspaces, denoted if for any .
Definition. Two vector subspaces , of the space are orthogonal complements, denoted , if they are orthogonal subspaces and , i.e., the null vector is the only common element of both subspaces.
![]()
Vector subspaces of a linear mapping
|
Recall that a matrix can be associated to the linear mapping through
Definition. The column space (or range) of matrix is the set of vectors reachable by linear combination of the matrix column vectors
Definition. The left null space of a matrix is the set
Definition. The row space (or corange) of a matrix is the set
Definition. The null space of a matrix is the set
![]()
Geometry of subspaces
|
The plane
A line in the plane
The , axes
, three-dimensional space
Lines in
Planes in
![]()
Spanning sets for column, null spaces
|
Define a function to give a spanning set for the column space
∴ |
function colspace(A,p=6) return round.(Matrix(qr(A).Q)[:,1:rank(A)],digits=p) end; |
∴ |
short(x) = round(x,digits=6); |
∴ |
short(pi) |
∴ |
colspace([1; 0; 0]) |
(1)
∴ |
Julia already has a function to give a spanning set for the null set
∴ |
nullspace([1 0 0]) |
(2)
![]()
Example 1
|
The column space is the -axis, and the left null space is the -plane
∴ |
A=[1; 0; 0]; colspace(A) |
(3)
∴ |
nullspace(A') |
(4)
∴ |
[colspace(A) nullspace(A')] |
(5)
∴ |
![]()
Example 2
|
The columns of are colinear, , and the column space is the -axis, and the left null space is the -plane, as before.
∴ |
A=[1 -1; 0 0; 0 0]; CA=colspace(A) |
(6)
∴ |
NAt=short.(nullspace(A')) |
(7)
∴ |
[CA NAt] |
(8)
∴ |
![]()
Example 3
|
The column space is the -plane, and the left null space is the -axis.
∴ |
A=[1 0; 0 1; 0 0]; CA=colspace(A) |
(9)
∴ |
NAt=short.(nullspace(A')) |
(10)
∴ |
[CA NAt] |
(11)
∴ |
![]()
Example 4
|
the same , are obtained, albeit with a different set of spanning vectors returned by colspace.
∴ |
A=[1 1; 1 -1; 0 0]; CA=colspace(A) |
(12)
∴ |
NAt=short.(nullspace(A')) |
(13)
∴ |
[CA NAt] |
(14)
∴ |
![]()
Example 5
|
is satisfied by vectors of form , .
∴ |
A=[1 1 3; 1 -1 -1; 1 1 3]; CA=colspace(A) |
(15)
∴ |
NAt=short.(nullspace(A')) |
(16)
∴ |
[CA NAt] |
(17)
∴ |