Midterm 2 Study Flashcards
What is a Sub Space? List the 3 conditions.
A subset S of vectors in R^n, is also a subspace of R^n if these 3 conditions hold:
1 - The zero vector exists in S
2 - For any two vectors in S, the sum of those two vectors also exists in S. (closure under addition). i.e. vec1, vec2 exist in S, (vec1 + vec2) exists in S.
3 - For any vector in S, and any real number scalar in S, the product of them exists in S. (closure under scalar multiple) i.e. vec1 exists in S, r is a real number, r*vec1 exists in S.
What is an Elementary Matrix? Are they invertible?
An Elementary Matrix is the matrix that results from performing exactly ONE row operation (add, mult, swap) on an Identity Matrix.
-If I perform a row operation R, on identity matrix In, I get an elementary matrix E. If I then multiply any matrix A, by E, (E*A) then that is the same as performing row operation R on A.
E must be on LEFT SIDE of multiplication for row operation equivalent.
- Elementary Matrices are like encoded row operations.
- Every elementary Matrix is invertible.
How are span and subspace related?
If a set of vectors exists in R^n, then the span of those vectors is a subspace of R^n.
What is span?
Given a set of vectors {vec1, vec2……vecm} that exist in R^n, the span is the set of all possible linear combinations of those vectors, denoted span{vec1, vec2…..vecm}.
If span{vec1, vec2,….vecm}=R^n, then we can say that set spans R^n. This means that all the linear combinations of that set of vectors can recreate the entire dimensional space of R^n
What is column space?
Given a matrix A, the column space of A, denoted col(A) is the vector space created by all possible linear combinations of the column vectors of A.
if A=[vec1, vec2…vecn], then col(A)=span[vec1, vec2…vecn].
What is the difference between span and column space?
Span specifically refers to the dimensional space created by all possible linear combinations OF A SET OF VECTORS, which could be either column of row vectors.
Column space specifically refers to the dimensional space created by all possible linear combinations of the column vectors OF A MATRIX.
They are very similar, except span takes a set of vectors as input, and column space (col) takes a matrix as input.
They both output a dimensional space.
How can you check if a vector is in the column space of a matrix?
Given a matrix A, and vector Bvec, if there is a solution to AXvec=Bvec, then Bvec exists in col(A). First, make sure the vector and matrix are the same dimension (or else you can’t augment them). Then augment the matrix A with Bvec (add it as a new column to the rightmost side in A). Reduce to echelon form. If there is any solution, then Bvec exists in col(A). If there is no solution it does not.
What is a standard basis?
The standard basis for R^n, is the set of vectors that when put into matrix form, create the identity matrix for R^n. The vectors are denoted by an ‘e’
i.e. evec1 has a 1 in the first component (rest all zeros), evec2 has a 1 in the second component…evecn has a 1 in the nth component.
What is the basis of a subspace?
Given a subset S of R^n, that is also a subspace of R^n, there is a subset of vectors B that that is a basis for S if:
1 - S=span(B)
2 - B is linearly independent.
This is saying that there is always a finite set of linearly Independent vectors that can reconstruct the subspace S. Any vector in S can be written as a UNIQUE linear combination of the basis vectors.
FACT: Every non-zero subspace has a basis.
Given a matrix A, how do you find the basis of col(A)?
Have matrix B be an echelon form of A. Notice where the pivot columns are in B. The set of column vectors in A that correspond to the position of the pivot columns in B is the basis of col(A).
What is the dimension of a basis?
The number of vectors in that basis is the dimension.
i.e. if a basis contains 3 vectors, then it’s dimension is R^3.
Given a matrix A, how do you find the basis of null(A)?
Let matrix B, be a RREF of matrix A. Find the solution to A(xvec)=0vec. (homogeneous equation). The set of vectors that satisfies the homogeneous equation is the basis of null(A).
The number of vectors in that set will be equal to the number of free variables in the RREF.
What is the Basis Theorem?
Let S be a subset of R^n. Let S also be a non-zero subspace that exists in R^m (so m<=n). Let B, be a set of vectors in S, from 1 to m. Then if B is linearly Independent, it is a basis for S. Similarly, if B spans S (span{B}=S), then B is a basis for S.
This makes sense because if you have number of vectors in a set B equal to the number of dimensions of the subspace S that B exists in, and B is linearly independent, then none of the vectors are linear combinations of each other. This means each vector represents a unique dimension, and if there are m vectors, there will me m dimensions in it’s span. It is a basis because it is the minimal set needed to recreate m dimensions (there are no redundant (linearly DEPendent) vectors).
If B spans S, B is a basis of S because B has exactly m vectors in it, and it is spanning a subspace of dimension m, so B cannot have any redundant (linearly DEPendent) vectors in it, because that would mean the numbers of vectors in it would have to be more than m. If B had less than m vectors in it, than it would be impossible to span dimension m. (To span dimension m, you need at least m vectors.)
If B has more than m vectors in it, it is not a basis.
If B has less than m vectors in it, it cannot span S.
What is the definition of an Invertible Matrix?
Given an nn matrix A, if there exists an nn matrix C such that AC=CA=Identity, then C is an inverse for A. We say that A is invertible.
How do you find the inverse of a Matrix, if it has one?
Given an nn matrix A, augment it on the right with the nn Identity matrix. Reduce this augmented matrix until the left half (The A matrix) is in Reduce Row Echelon Form. The right half will be the inverse of A.
In the process of row reducing, if there is ever a row of zeros on in the left half, you can stop, and conclude that matrix A does not have an inverse. (This is because that row of zeros will never go away, and thus never be in RREF).
What is the Spanning Theorem?
Given a m*n matrix A, the following are equivalent (If one of these is true, they’re all true. If one is false, they’re all false).
1 - A(xvec)=bvec has a solution for all bvec that exist in R^m.
2 - There is a linear combination of the column vectors in A that can equal any bvec in R^m.
3 - The columns of A span R^m
4 - The echelon form of A has a pivot in every row.
5 - The linear transformation T:R^n–>R^m with standard matrix A is onto.