Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Math 208 Interactive Notebooks © 2024 by Soham Bhosale, Sara Billey, Herman Chau, Zihan Chen, Isaac Hartin Pasco, Jennifer Huang, Snigdha Mahankali, Clare Minerath, and Anna Willis is licensed under CC BY-ND 4.0
License: OTHER
Image: ubuntu2204
Chapter 4
Introduction to Subspaces
Subspace
A subset S of is a subspace if S satisfies the following three conditions:
(a) S contains 0, the zero vector.
(b) If u and v are in S, then u + v is also in S.
(c) If r is a real number and u is in S, then ru is also in S.
A subset of that satisfies condition (b) above is said to be closed under addition, and if it satisfies condition (c), then it is closed under scalar multiplication. Closure under addition and scalar multiplication ensures that arithmetic performed on vectors in a subspace produce other vectors in the subspace.
If 0 is not in a subset S, then S is not a subspace.
Null space
If A is an n × m matrix, then the set of solutions to the homogeneous linear system Ax = 0 forms a subspace of .
If A is an n × m matrix, then the set of solutions to Ax = 0 is called the null space of A and is denoted by null(A).
Let T : → be a linear transformation. Then the kernel of T is a subspace of the domain and the range of T is a subspace of the codomain .
ker(T) = null(A)
Ex. Suppose that T : → is defined by Find ker(T) and range(T).
Ex. Suppose that T : → is defined by
Find ker(T) and range(T).
Basis
A set B = {u1, ... , um} is a basis for a subspace S if
(a) B spans S.
(b) B is linearly independent.
Let B = {, ..., } be a basis for a subspace S. For every vector s in S there exists a unique set of scalars , ..., such that
S = + ... +
Suppose that U = [ … ] and V = [ … ] are two equivalent matrices. Then any linear dependence that exists among the vectors , … , also exists among the vectors , … , .
Let A and B be equivalent matrices. Then the subspace spanned by the rows of A is the same as the subspace spanned by the rows of B.
Summarizing this method: To find a basis for S = span{, ...., },
(a) Use the vectors , ...., to form the rows of a matrix A.
(b) Transform A to echelon form B.
(c) The nonzero rows of B give a basis for S.
Summarizing this method: To find a basis for S = span{, ..., },
(a) Use the vectors , ..., to form the rows of a matrix A.
(b) Transform A to echelon form B.
(c) The nonzero rows of B give a basis for S.
Dimension
If S is a subspace of , then every basis of S has the same number of vectors.
Let S be a subspace of . Then the dimension of S is the number of vectors in any basis of S.
Let 𝒰 = {, ...,} be a set of vectors in a subspace S ≠ {0} of .
(a) If 𝒰 is linearly independent, then either 𝒰 is a basis for S or additional vectors can be added to 𝒰 to form a basis for S.
(b) If 𝒰 spans S, then either 𝒰 is a basis for S or vectors can be removed from 𝒰 to form a basis for S.
Ex. Expand the set to a basis for .
Let 𝒰 = {, ..., } be a set of m vectors in a subspace S of dimension m. If 𝒰 is either linearly independent or spans S, then 𝒰 is a basis for S.
Ex. Suppose that S is a subspace of of dimension 2 containing the vectors in the set
Show that 𝒰 is a basis for S.
Suppose that and are both subspaces of and that is a subset of . Then dim() ≤ dim(), and dim() = dim() only if = .
Let 𝒰 = {, ..., } be a set of vectors in a subspace S of dimension k.
(a) If m < k, then 𝒰 does not span S.
(b) If m > k, then 𝒰 is not linearly independent.
Row and Column spaces
Let A be an n x m matrix.
(a) The row space of A is the subspace of spanned by the row vectors of A and is denoted by row(A).
(b) The column space of A is the subspace of spanned by the column vectors of A and is denoted by col(A).
Let A be a matrix and B an echelon form of A.
(a) The nonzero rows of B form a basis for row(A).
(b) The columns of A corresponding to the pivot columns of B form a basis for col(A).
For any matrix A, the dimension of the row space equals the dimension of the column space.
The rank of a matrix A is the dimension of the row (or column) space of A, and is denoted by rank(A).
rank(A) + nullity(A) = m.
Let A be an n × m matrix and b a vector in .
(a) The system Ax = b is consistent if and only if b is in the column space of A.
(b) The system Ax = b has a unique solution if and only if b is in the column space of A and the columns of A are linearly independent.
Change Basis
Let x be expressed with respect to the standard basis, and let B ={u1,... , un} be any basis for Rn.
(a) x = U
(b) = x
Let = {,… ,} and {,… ,} be bases for . If U = [ … ] and V = [ … ], then
(a) = U
(b) = V
Suppose that and .
Find if .
Change of Basis in Subspaces
Let S be a subspace of with bases = {, ..., } and = {, ..., }.
If
then
Thank you!