9.8. JNB Lab: Linear Algebra#
This lab was designed to cement skills the reader has become familiar with throughout the chapter. First, solve by hand. Then, verify your solution using Python Jupyter Notebooks.
9.8.1. Linear Systems#
Put \(A\) into RREF.
Find the solution set of the following system of equations
Determine if the following vectors form a linearly independent or a linearly dependent set:
a.
b.
Write the general solution of the linear system corresponding to augmented matrix \(D\).
9.8.2. Matrices and Determinants#
Let \(A = \begin{bmatrix} 3 & 5\\ 0 & 2\\ 1 & 1\\ \end{bmatrix}\), \(B = \begin{bmatrix} 2 & 2\\ 2 & 4\\\end{bmatrix}\) and \(C = \begin{bmatrix} 1 & 0 & 7\\ 0 & 6 & 0\\ 0 & 4 & 3\\ 2 & 0 & 1\\ \end{bmatrix}\). Find the following matrices, if they exist:
a. \(CAB\)
b. \(AB\)
c. \(BCA\)
d. \(B^2\)
e. \(A^2\)
f. \(B^{-1}\)
g. \(C^{-1}\)
h. \(A^{t} C^{t}\)
Find the determinant and then the inverse of \(A = \begin{bmatrix} 7 & 6 & {54}\\ 0 & 3 & 6\\ 0 & 0 & 1\\ \end{bmatrix}\). Prove \(det(A^{-1}) = \frac{1}{det(A)}\).
Find the volume of the parallelepiped formed by vectors \(\begin{bmatrix} 1\\3\\0\\ \end{bmatrix}\), \(\begin{bmatrix} 0\\2\\5\\ \end{bmatrix}\) and \(\begin{bmatrix} 5\\2\\4\\ \end{bmatrix}\). Are the points at the tips of the vector coplanar? Explain.
9.8.3. Linear Transformations#
Determine if the following transformations are linear. Explain why or why not.
a. \(T1(\begin{bmatrix} x\\ y\\ z\\ \end{bmatrix}) = \begin{bmatrix} x - 3y - z\\ 3x + 2y - 7z\\ \end{bmatrix}\)
b. \(T2(\begin{bmatrix} x\\ y\\ z\\ \end{bmatrix}) = \begin{bmatrix} x + y + z\\ 5z\\ x + 2\\ \end{bmatrix}\)
c. \(T3(\begin{bmatrix} x\\ y\\ \end{bmatrix}) = \begin{bmatrix} x\\ x + y\\ y\end{bmatrix}\)
Find standard matrices for any linear transformations found in problem 1, if they exist.
Verify the Rank-Nullity Theorem for standard matrices found in problem 2, if they exist.
9.8.4. Eigenvalues and Eigenvectors#
Find the eigenvalues of \(A = \begin{bmatrix} 0 & 4 & 8\\ 0 & 3 & 0\\ 2 & 7 & 4\\ \end{bmatrix}\) and their multiplicities.
For each eigenvalue in part 1 find the corresponding eigenspace.
Find the dimension of each eigenspace in part 2 by finding a basis for it.
9.8.5. Orthogonality#
Check if \(\vec{u}\) and \(\vec{v}\) are orthogonal:
a. \(\vec{u} = \begin{bmatrix} 6\\ 2\\ 3\\ 1\\ \end{bmatrix}\) and \(\vec{v} = \begin{bmatrix} 2\\ -12\\ 3\\ 3\\ \end{bmatrix}\)
b. \(\vec{u} = \begin{bmatrix} 7\\ {-3}\\ {-2}\\ \end{bmatrix}\) and \(\vec{v} = \begin{bmatrix} 2\\ 7\\ {-3}\\ \end{bmatrix}\)
Suppose
\(\vec{y} = \begin{bmatrix} 7 \\ 9 \end{bmatrix}\) and \(\vec{u} = \begin{bmatrix} -1 \\ -2 \end{bmatrix}.\)
Compute the \(\text{proj}_{\vec{u}}(\vec{y})\) and the component of \(\vec{y}\) orthogonal to \(\vec{u}\)
Suppose
\(W = \text{span} (\vec{u}_1, \vec{u}_2)\) and
Compute the \(\text{proj}_{W}(\vec{y})\) and the component of \(\vec{y}\) orthogonal to \(\vec{u}.\)
Find a least-squares solution of the inconsistent system \(A\vec{x} = \vec{b}\) for
\[\begin{split} A = \begin{bmatrix} {1} & {2} & {4}\\ {1} & {-2} & {4}\\ \end{bmatrix} \text{ and } \vec{b} \begin{bmatrix} 3\\ 4\\ \end{bmatrix} \end{split}\]