A full sample final from the summer term: systems, rank, unitary and inverse matrices, four determinant techniques, column space membership, eigen-decomposition and projections.
Chapters 1 to 6
2 hours
37 of 40 points
Q6(c) omitted
37 points total
Question 6(c), a least-squares problem worth 3 points, is left out: the source file is missing the matrix A and vector b it refers to.
0 parts marked
Score 0 / 37Time left 00:00
Question 1: Linear equations
6 PTS
i
Solve the system.$$\begin{cases}x + y + z = 6 \\ x + 2y + 3z = 14 \\ x + 4y + 7z = 30\end{cases}$$
3 pts
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Note on the original key: The answer table on the paper has a single box for each of x, y, z, but the system is consistent with a free variable, so it has infinitely many solutions.
Pivots in columns 1 and 3: rank 2, and nullity $= 4 - 2 = 2$.
Answer: rank 2, nullity 2
b
Show that $A = \tfrac15\begin{bmatrix}-1+2i & -4-2i \\ 2-4i & -2-i\end{bmatrix}$ is unitary ($i^2 = -1$).
1 pt
Worked solution
For a complex matrix, unitary means $A^{H}A = I$ with $A^H = \overline{A}^{\,T}$ (the conjugate transpose).
Column 1 has squared length $\tfrac{1}{25}(|{-1+2i}|^2 + |2-4i|^2) = \tfrac{5 + 20}{25} = 1$, and so does column 2.
Their Hermitian inner product is $\tfrac{1}{25}\left[(-1-2i)(-4-2i) + (2+4i)(-2-i)\right] = \tfrac{1}{25}\left[(0 + 10i) + (0 - 10i)\right] = 0$.
Answer: Yes: $A^HA = I$.
Note on the original key: The hint on the paper says $U^TU = I$. With complex entries you need the conjugate transpose: the plain $A^TA$ here has diagonal $\tfrac{(1-2i)^2}{5}$ and $\tfrac{(2+i)^2}{5}$, not 1.
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Worked solution
The rows of $C$ are rows 3, 4, 5, 2, 1 of $D$, so $C = PD$ for a permutation matrix $P$, and $\det C = \det P\cdot\det D$.
The permutation $(3, 4, 5, 2, 1)$ splits into the cycles $(1\,3\,5)(2\,4)$: an even 3-cycle times one swap, so it is odd and $\det P = -1$.
$\det C = -\det D = -(-54) = 54$.
Answer: $\det C = -\det D = 54$ (using the given value)
Note on the original key: Computing $D$ directly gives $\det D = +54$, so the printed value has a sign slip. With the true value, $\det C = -54$. Both answers are accepted here; the row-permutation argument is what the question tests.
Is $\mathbf v = \begin{bmatrix}-2 \\ 10\end{bmatrix}$ in $\operatorname{Col}A$ for $A = \begin{bmatrix}1 & 3 \\ 4 & -6\end{bmatrix}$? If so, give the combination of columns.
0.5 pts
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Is $\mathbf v = \begin{bmatrix}5 \\ 1 \\ -1\end{bmatrix}$ in $\operatorname{Col}A$ for $A = \begin{bmatrix}1 & -1 & 1 \\ 9 & 3 & 1 \\ 1 & 1 & 1\end{bmatrix}$? If so, give the combination.
1 pt
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Worked solution
$\det A = 16 \neq 0$, so every $\mathbf v$ is in Col $A$; solving gives $c = (1, -3, 1)$.
For $A = \begin{bmatrix}1 & -1 & 3 \\ 5 & -4 & -4 \\ 7 & -6 & 2\end{bmatrix}$ find a basis of $\operatorname{Nul}A$, the nullity, a basis of $\operatorname{Col}A$ and the rank.
3 pts
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Pivot columns 1 and 2 of $A$: $\operatorname{Col}A$ basis $\{(1, 5, 7), (-1, -4, -6)\}$, rank 2.
Answer: Nul basis (16, 19, 1); nullity 1; Col basis = columns 1 and 2; rank 2
c
$\operatorname{Col}A$ has basis $\left\{(2, -3, 1, 8, 7),\ (-3, 2, 1, -9, 6)\right\}$ and $\operatorname{Nul}A$ has a basis of exactly 2 vectors. How many columns does $A$ have?
1 pt
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Worked solution
rank $= \dim\operatorname{Col}A = 2$ and nullity $= 2$.
Let $\mathbf z = \mathbf v - \operatorname{proj}_{\mathbf u}\mathbf v$ (perpendicular to $\mathbf u$). Find the projection of $\mathbf w$ onto $\operatorname{Span}\{\mathbf u, \mathbf z\}$.
1.5 pts
Fractions, decimals, sqrt(…) and lists separated by commas all work.
Worked solution
$\mathbf z = (\tfrac23, -\tfrac13, -\tfrac13)$, orthogonal to $\mathbf u$.