CS223 // Final Exam // Term 231

Final Exam (Term 231)

Covers all six chapters: Gauss-Jordan elimination, parameter cases, matrix algebra, determinants, vector spaces, eigenvalues and orthogonal projection.

0 parts marked
Score 0 / 40 Time left 00:00

Question 1: Linear equations and matrix algebra

17 PTS
a
Solve the linear system by Gauss-Jordan elimination (reduced echelon form).$$\begin{cases}3x - y + z + 7w = 13 \\ -2x + y - z - 3w = -9 \\ -2x + y - 7w = -8\end{cases}$$
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

b
For which values of $a$ does the system have no solution? Exactly one? Infinitely many?$$\begin{cases}x + 2y - 3z = 4 \\ 3x - y + 5z = 2 \\ 4x + y + (a^2 - 14)z = a + 2\end{cases}$$
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

c-i
$A = \begin{bmatrix}2 & 4 & 1 \\ 5 & 2 & -1 \\ 4 & 2 & 2\end{bmatrix}$, $B = \begin{bmatrix}2 & 3 \\ 2 & -2 \\ 7 & 5\end{bmatrix}$ and $C = AB$. Find $C_{11}$, $C_{32}$ and $C_{21}$.
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

c-ii
Find $C^T$, and the transpose of $(A + B)$.
2 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

d
If $A^{-1} = \begin{bmatrix}2 & 5 \\ -1 & 4\end{bmatrix}$ and $\mathbf b = \begin{bmatrix}7 \\ -3\end{bmatrix}$, solve $A\mathbf x = \mathbf b$.
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

e
Find all values of $a$ and $b$ that make both $A = \begin{bmatrix}a+b-1 & 0 \\ 0 & 3\end{bmatrix}$ and $B = \begin{bmatrix}5 & 0 \\ 0 & 2a-3b-7\end{bmatrix}$ not invertible.
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

Question 2: Determinants

4 PTS
a
If $\begin{vmatrix}2x-4 & 0 & 0 \\ 0 & x+3 & 0 \\ 0 & 0 & x\end{vmatrix} = 0$, find $x$.
2 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

b
Find the determinant of $A = \begin{bmatrix}1 & 2 & 6 & 0 \\ 3 & 2 & 5 & 4 \\ 0 & 6 & 0 & 4 \\ 3 & 0 & 7 & 1\end{bmatrix}$ by cofactor expansion from position (row 3, column 2).
2 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

Question 3: Vector spaces

9 PTS
a
Let $S = \{(1, 2), (-1, 1)\}$ and $\mathbf u = (3, 5)$. Is $\mathbf u$ a linear combination of $S$?
1.5 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

b
Let $S = \{(1, 1, 1), (3, 2, -1), (1, 0, -3)\}$. Does $S$ span $\mathbb R^3$?
1.5 pts
c-1-3
For $A = \begin{bmatrix}10 & -3 & -2 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{bmatrix}$ find the rank, $\dim\operatorname{Col}A$ and the nullity.
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

c-4
Find a basis of $\operatorname{Col}A$.
1 pt

Fractions, decimals, sqrt(…) and lists separated by commas all work.

c-5
Find a basis of $\operatorname{Nul}A$.
2 pts

Question 4: Eigenvalues and eigenvectors

6 PTS
a
Find the eigenvalues of $A = \begin{bmatrix}0 & 0 & -2 \\ 1 & 2 & 1 \\ 1 & 0 & 3\end{bmatrix}$.
3 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

b-1
Let $A = \begin{bmatrix}3 & 5 \\ 0 & 4\end{bmatrix}$. Is $A$ diagonalizable?
1 pt
b-2
Find $D$ and $P$ such that $D = P^{-1}AP$.
2 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.

Question 5: Orthogonality and least squares

4 PTS
1
Let $\mathbf y = \begin{bmatrix}6 \\ 5\end{bmatrix}$ and $\mathbf u = \begin{bmatrix}3 \\ 1\end{bmatrix}$. Find the orthogonal projection of $\mathbf y$ onto $\mathbf u$ and write $\mathbf y$ as the sum of a vector in $\operatorname{Span}\{\mathbf u\}$ and a vector orthogonal to $\mathbf u$.
4 pts

Fractions, decimals, sqrt(…) and lists separated by commas all work.