★ Unit 1 checkpoint

Exam 1


The Unit 1 exam covers everything from sessions 1 through 13 — solving Ax = b, elimination and the LU factorization, inverses, vector spaces and subspaces, and the column space and nullspace. Four multi-part problems test rank, the elimination matrices, complete solutions with a parameter, and reasoning about rref and matrix spaces.

Taking this exam

This exam covers all of Unit 1 (sessions 1–13): elimination, matrix operations and inverses, LULU factorization, vector spaces and subspaces, and solving Ax=bA\mathbf{x} = \mathbf{b} via the column space and nullspace. Attempt it closed-book under exam conditions before revealing any solutions — each problem rewards careful reasoning, not memorized formulas. If you get stuck, or once you’re done, watch the unit review video linked above, where a course TA works through problems of exactly this kind.

Problems

Problem 1 Exam 1

This question is about an mm by nn matrix AA for which

Ax=[111] has no solutionsandAx=[010] has exactly one solution.A\mathbf{x} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} \text{ has \textbf{no solutions}} \qquad \text{and} \qquad A\mathbf{x} = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix} \text{ has \textbf{exactly one solution}.}

(a) Give all possible information about mm and nn and the rank rr of AA.

(b) Find all solutions to Ax=0A\mathbf{x} = \mathbf{0} and explain your answer.

(c) Write down an example of a matrix AA that fits the description in part (a).

Show solution

(a) Since Ax=[010]A\mathbf{x} = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix} has exactly one solution, the nullspace contains only the zero vector: N(A)={0}N(A) = \lbrace \mathbf{0} \rbrace, so r=nr = n (no free columns). Also m=3m = 3, since AxA\mathbf{x} lives in R3\mathbb{R}^3.

Since Ax=[111]A\mathbf{x} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} has no solution, the column space is not all of R3\mathbb{R}^3: C(A)R3C(A) \neq \mathbb{R}^3, so r<mr < m.

Putting these together, there are two possibilities:

m=3,r=n=1andm=3,r=n=2.m = 3, \quad r = n = 1 \qquad \text{and} \qquad m = 3, \quad r = n = 2.

(b) Since N(A)={0}N(A) = \lbrace \mathbf{0} \rbrace (because Ax=[010]A\mathbf{x} = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix} has exactly one solution), there is a unique solution to Ax=0A\mathbf{x} = \mathbf{0}, which is clearly x=0\mathbf{x} = \mathbf{0}. (It can be either x=[0]\mathbf{x} = \begin{bmatrix} 0 \end{bmatrix} or x=[00]\mathbf{x} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}, depending on whether n=1n = 1 or n=2n = 2.)

(c) AA could be

A=[010]orA=[100100]A = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix} \qquad \text{or} \qquad A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{bmatrix}

(many more possibilities). Both have full column rank, so Ax=[010]A\mathbf{x} = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix} has exactly one solution, and neither has [111]\begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} in its column space.

Problem 2 Exam 1

The 3 by 3 matrix AA reduces to the identity matrix II by the following three row operations (in order):

E21:Subtract 4(row 1) from row 2.E31:Subtract 3(row 1) from row 3.E23:Subtract row 3 from row 2.\begin{aligned} E_{21}&: \quad \text{Subtract } 4 \,(\text{row } 1) \text{ from row } 2. \\ E_{31}&: \quad \text{Subtract } 3 \,(\text{row } 1) \text{ from row } 3. \\ E_{23}&: \quad \text{Subtract row } 3 \text{ from row } 2. \end{aligned}

(a) Write the inverse matrix A1A^{-1} in terms of the EE‘s. Then compute A1A^{-1}.

(b) What is the original matrix AA?

(c) What is the lower triangular factor LL in A=LUA = LU?

Show solution

(a) The three operations, applied in order, carry AA to II: E23E31E21A=IE_{23}E_{31}E_{21}A = I. So A1=E23E31E21A^{-1} = E_{23}E_{31}E_{21} — apply the three operations to II:

[100010001][100410001][100410301][100111301]=A1\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \longrightarrow \begin{bmatrix} 1 & 0 & 0 \\ -4 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \longrightarrow \begin{bmatrix} 1 & 0 & 0 \\ -4 & 1 & 0 \\ -3 & 0 & 1 \end{bmatrix} \longrightarrow \begin{bmatrix} 1 & 0 & 0 \\ -1 & 1 & -1 \\ -3 & 0 & 1 \end{bmatrix} = A^{-1}

(b) A=E211E311E231A = E_{21}^{-1}E_{31}^{-1}E_{23}^{-1} — apply the inverse operations in reverse order to II (add row 3 to row 2, add 33\,(row 1) to row 3, add 44\,(row 1) to row 2):

[100010001][100011001][100011301][100411301]=A\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \longrightarrow \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix} \longrightarrow \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 1 \\ 3 & 0 & 1 \end{bmatrix} \longrightarrow \begin{bmatrix} 1 & 0 & 0 \\ 4 & 1 & 1 \\ 3 & 0 & 1 \end{bmatrix} = A

Check:

[100411301][100111301]=[100010001]\begin{bmatrix} 1 & 0 & 0 \\ 4 & 1 & 1 \\ 3 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 & 0 \\ -1 & 1 & -1 \\ -3 & 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}

(c) LL collects the inverses of the two elimination steps below the diagonal:

L=[100410001][100010301]=[100410301]L = \begin{bmatrix} 1 & 0 & 0 \\ 4 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 3 & 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0 & 0 \\ 4 & 1 & 0 \\ 3 & 0 & 1 \end{bmatrix}

The multipliers 44 and 33 drop straight into place — and then U=L1A=[100011001]U = L^{-1}A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix} is upper triangular, so A=LUA = LU.

Problem 3 Exam 1

This 3 by 4 matrix depends on cc:

A=[11243c280022]A = \begin{bmatrix} 1 & 1 & 2 & 4 \\ 3 & c & 2 & 8 \\ 0 & 0 & 2 & 2 \end{bmatrix}

(a) For each cc find a basis for the column space of AA.

(b) For each cc find a basis for the nullspace of AA.

(c) For each cc find the complete solution x\mathbf{x} to Ax=[1c0]A\mathbf{x} = \begin{bmatrix} 1 \\ c \\ 0 \end{bmatrix}.

Show solution

(a) Elimination (subtract 33\,(row 1) from row 2) gives

[11240c3440022]\begin{bmatrix} 1 & 1 & 2 & 4 \\ 0 & c-3 & -4 & -4 \\ 0 & 0 & 2 & 2 \end{bmatrix}

so there are two cases.

If c3c \neq 3, then c3c - 3 is a pivot and

U=[11240c3440022]R=[100201000011]U = \begin{bmatrix} \boxed{1} & 1 & 2 & 4 \\ 0 & \boxed{c-3} & -4 & -4 \\ 0 & 0 & \boxed{2} & 2 \end{bmatrix} \longrightarrow R = \begin{bmatrix} 1 & 0 & 0 & 2 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 1 \end{bmatrix}

so a basis for C(A)C(A) is the first three columns of AA:

{[130], [1c0], [222]}\left\lbrace \begin{bmatrix} 1 \\ 3 \\ 0 \end{bmatrix},\ \begin{bmatrix} 1 \\ c \\ 0 \end{bmatrix},\ \begin{bmatrix} 2 \\ 2 \\ 2 \end{bmatrix} \right\rbrace

If c=3c = 3, then c3=0c - 3 = 0 and

U=[112400440000]R=[110200110000]U = \begin{bmatrix} \boxed{1} & 1 & 2 & 4 \\ 0 & 0 & \boxed{-4} & -4 \\ 0 & 0 & 0 & 0 \end{bmatrix} \longrightarrow R = \begin{bmatrix} 1 & 1 & 0 & 2 \\ 0 & 0 & 1 & 1 \\ 0 & 0 & 0 & 0 \end{bmatrix}

so take the first and third columns of AA as a basis for C(A)C(A):

{[130], [222]}\left\lbrace \begin{bmatrix} 1 \\ 3 \\ 0 \end{bmatrix},\ \begin{bmatrix} 2 \\ 2 \\ 2 \end{bmatrix} \right\rbrace

(b) If c3c \neq 3, only x4x_4 is free and the special solution gives

N(A)={x4[2011]}N(A) = \left\lbrace x_4 \begin{bmatrix} -2 \\ 0 \\ -1 \\ 1 \end{bmatrix} \right\rbrace

If c=3c = 3, both x2x_2 and x4x_4 are free and the special solutions give

N(A)={x2[1100]+x4[2011]}N(A) = \left\lbrace x_2 \begin{bmatrix} -1 \\ 1 \\ 0 \\ 0 \end{bmatrix} + x_4 \begin{bmatrix} -2 \\ 0 \\ -1 \\ 1 \end{bmatrix} \right\rbrace

(c) By inspection, the right-hand side [1c0]\begin{bmatrix} 1 \\ c \\ 0 \end{bmatrix} is exactly the second column of AA, so

xp=[0100]\mathbf{x}_p = \begin{bmatrix} 0 \\ 1 \\ 0 \\ 0 \end{bmatrix}

is one particular solution (other correct answers are possible). Adding the nullspace:

for c3c \neq 3, the complete solution is

x=[0100]+x4[2011]\mathbf{x} = \begin{bmatrix} 0 \\ 1 \\ 0 \\ 0 \end{bmatrix} + x_4 \begin{bmatrix} -2 \\ 0 \\ -1 \\ 1 \end{bmatrix}

for c=3c = 3, the complete solution is

x=[0100]+x2[1100]+x4[2011]\mathbf{x} = \begin{bmatrix} 0 \\ 1 \\ 0 \\ 0 \end{bmatrix} + x_2 \begin{bmatrix} -1 \\ 1 \\ 0 \\ 0 \end{bmatrix} + x_4 \begin{bmatrix} -2 \\ 0 \\ -1 \\ 1 \end{bmatrix}
Problem 4 Exam 1

(a) If AA is a 3 by 5 matrix, what information do you have about the nullspace of AA?

(b) Suppose row operations on AA lead to this matrix R=rref(A)R = \operatorname{rref}(A):

R=[140000001000001]R = \begin{bmatrix} 1 & 4 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \end{bmatrix}

Write all known information about the columns of AA.

(c) In the vector space MM of all 3 by 3 matrices (you could call this a matrix space), what subspace SS is spanned by all possible row reduced echelon forms RR?

Show solution

(a) N(A)N(A) is a subspace of R5\mathbb{R}^5, and its dimension is 5r5 - r with r3r \leq 3: so N(A)N(A) has dimension at least 22 (and at most 55).

(b) The pivot columns of RR are columns 11, 44, 55 — so columns 11, 44, 55 of AA form a basis for C(A)C(A). From the free columns of RR:

Column 2=4×(Column 1),Column 3=[000]\text{Column } 2 = 4 \times (\text{Column } 1), \qquad \text{Column } 3 = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}

(c) Every rref matrix is upper triangular, and the span of all of them is exactly

S={[abc0de00f]},S = \left\lbrace \begin{bmatrix} a & b & c \\ 0 & d & e \\ 0 & 0 & f \end{bmatrix} \right\rbrace,

the set of upper triangular matrices. (A basis of six echelon forms is

[100010001], [100010000], [100001000], [100000000], [110000000], [101000000].)\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix},\ \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{bmatrix},\ \begin{bmatrix} 1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix},\ \begin{bmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix},\ \begin{bmatrix} 1 & 1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix},\ \begin{bmatrix} 1 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}.)