3.1 How to solve some problems
-
Problem gives set \(S\) of vectors \(\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3},\cdots \right \} \) and asks to find basis that span \(S\) consisting of elements
from \(S\). To answer this, write the vectors as columns of matrix \(A\). Then convert the
matrix to Echelon form (Row reduction). The pivot columns in \(A\) are the basis.
-
Problem gives set \(S\) of vectors \(\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3},\cdots \right \} \) and just asks to find basis that span \(S\). It does not say
consisting of elements from \(S\). This was not clear and I asked about it. The answer I
got is to use same method as above, and that will work also.
-
Problem gives set \(S\) of vectors \(\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3}\right \} \) say in \(\mathbb {R} ^{3}\) and asks to find basis for \(\mathbb {R} ^{3}\) that contains \(S\).
Here, we also set up the matrix \(A\) where the first 3 columns are these vectors, but also
add 3 more columns, which are \(\left ( 1,0,0\right ) ,\left ( 0,1,0\right ) ,\left ( 0,0,1\right ) \) and now convert \(A\) to Echelon form and the pivot
columns of \(A\) are the basis. The difference between this and above, is that we append
the elementary basis for \(\mathbb {R} ^{3}\) to the matrix \(A\) before starting.
-
Problem gives \(A\) matrix and asks to find is NULL space. This is asking for basis of
solution space for \(A\boldsymbol {x}=\boldsymbol {0}\). To solve, convert \(A\) to Echelon form. (no need to do reduced Echelon
form). Then the number of the free variables is the dimension of the NULL space. So
if we have 2 free variables, the NULL space is 2 dimensions. Call the free variables
\(s,t\,\ \)and so on. Then solve for the leading variables in terms of the free variables. Then
at end let \(t=1,r=1\) and this gives the basis for the NULL space.
-
Problem gives set of vectors \(S=\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3},\cdots \right \} \) and asks if they are linearly independent or not. If the
dimension of each vector is the same as the number of the vectors, then make a square
matrix \(A\) of the vectors as its columns and find the determinant. If \(\left \vert A\right \vert =0\) then the vectors
are linearly independent, else they are not.
Another way to do this is to write \(c_{1}\boldsymbol {v}_{1}+c_{1}\boldsymbol {v}_{2}+c_{1}\boldsymbol {v}_{3}=\boldsymbol {0}\) and solve for \(c_{i}\) and see if the only solution is \(c_{i}=0\). If
so, then linearly independent, else not.
-
Problems gives \(A\) matrix and asks for its column space and its row space. To solve,
reduce the matrix to Echelon form. The row space are those rows which are not all
zeros. The column space are the pivot columns in the original \(A\) (not the pivot columns
in the final Echelon form matrix).
-
Problem gives set of vectors \(S=\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3},\cdots \right \} \) and one vector \(\boldsymbol {w}\) and asks if \(\boldsymbol {w}\) is linear combinations of the
vectors in \(S\). To solve, write \(c_{1}\boldsymbol {v}_{1}+c_{2}\boldsymbol {v}_{2}+c_{3}\boldsymbol {v}_{3}=\boldsymbol {w}\) and set up \(A\boldsymbol {x}=\boldsymbol {b}\). Then set up the augments matrix \(\left [ A|b\right ] \). Reduce
to Echelon form. Now see if it is consistent or not. If not consistent, then there is no
solution and they it means \(\boldsymbol {w}\) can not be written as linear combination. If consistent,
then this means we can write \(\boldsymbol {w}\) as linear combination (there can be infinite ways to
do this).
-
Problem gives set of vectors \(S=\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3},\cdots \right \} \) and asks if \(S\) spans all of \(\mathbb {R} ^{n}\)? Let \(n=3\) for example. If we can
find \(3\) of vectors from \(S\) that are linearly independent, then the answer is yes. Otherwise
no.
-
Problem gives set of vectors \(S=\left \{ \boldsymbol {v}_{1},\boldsymbol {v}_{2},\boldsymbol {v}_{3},\cdots \right \} \) and asks if these vectors are basis for \(\mathbb {R} ^{n}\)? This is similar
to the above. The difference is that the set \(S\) must contain only \(3\) vectors and no more,
which are linearly independent. These they are basis. This means any vector \(\boldsymbol {w}\) can be
expressed as linear combination of the basis in one unique way.
-
Problem gives square matrix \(A\) and asks to find its inverse \(A\). To solve, set up the
augmented matrix by appending to the right side the identity matrix \(I\). Then convert
the whole augmented matrix to Echelon form, and now convert this to reduced
Echelon form. When done, the right side (which was \(I\) initially) is \(A^{-1}\)
-
Problem gives square matrix \(A\) and asks to find its determinant. To solve, look first
if possible to do any row operations to increase the number of zeros in the matrix.
Then expand along one row or one column that has most zeros in it. Remember the
sign is found using \(\left ( -1\right ) ^{m+n}\) where \(m\) is row number and \(n\) is column number.
-
Problem gives \(A\boldsymbol {x}=\boldsymbol {b}\) and ask what kind of solutions are possible? There are only three
possible solutions: No solution, one unique solution, or an infinite number of solutions.
So was can not have for example 2 or 3 solutions. This is not possible.
-
Problem gives matrix \(A,B\) and asks to find matrix \(X\) such that \(AX=B\). To solve, premultiply both
sides by \(A^{-1}\) to get \(X=A^{-1}B\). So we need to find \(A^{-1}\) then do matrix multiplication to find \(X\).