The Timpson Lyceum seal

The Timpson Lyceum · Linear Algebra (2026)

Practice Test 1 — Chapter 1

Problems with worked solutions · 100 points · 5 extra credit

Practice Test 1 — Linear Equations in Linear Algebra (Chapter 1)

Practice for Test 1 · 100 points core + 5 points extra credit · time 90 minutes. No calculator. Show all reasoning; partial credit is given. Justify every "yes/no" answer with a theorem, a computation, or a counterexample.


  1. 1. Row Reduction (12 points). Consider the system

    x1−3x2+2x3−x4=23x1−9x2+7x3−x4=8−2x1+6x2−3x3+4x4=−2\begin{aligned} x_1 - 3x_2 + 2x_3 - x_4 &= 2 \\ 3x_1 - 9x_2 + 7x_3 - x_4 &= 8 \\ -2x_1 + 6x_2 - 3x_3 + 4x_4 &= -2 \end{aligned}

    (a) (6 pts) Write the augmented matrix and row reduce it to reduced echelon form.

    (b) (2 pts) Identify the pivot columns, the basic variables, and the free variables.

    (c) (4 pts) Write the general solution, solving for the basic variables in terms of the free variables.

    Solution

    1. (a) Augmented matrix and row reduction (R2−3R1R_2-3R_1, R3+2R1R_3+2R_1, then R3−R2R_3-R_2, then R1−2R2R_1-2R_2):

    [1−32−123−97−18−26−34−2]∼[1−32−120012200122]∼[1−30−5−20012200000]\begin{bmatrix}1&-3&2&-1&2\\3&-9&7&-1&8\\-2&6&-3&4&-2\end{bmatrix}\sim\begin{bmatrix}1&-3&2&-1&2\\0&0&1&2&2\\0&0&1&2&2\end{bmatrix}\sim\begin{bmatrix}1&-3&0&-5&-2\\0&0&1&2&2\\0&0&0&0&0\end{bmatrix}

    (b) Pivot columns 1 and 3. Basic variables x1,x3x_1,x_3; free variables x2,x4x_2,x_4.

    (c) x1=−2+3x2+5x4x_1=-2+3x_2+5x_4,   x2\;x_2 free,   x3=2−2x4\;x_3=2-2x_4,   x4\;x_4 free.

  2. 2. Existence & Uniqueness (8 points). Consider the system

    x1−x2+2x3=33x1−2x2+5x3=72x1+x2+hx3=k\begin{aligned} x_1 - x_2 + 2x_3 &= 3 \\ 3x_1 - 2x_2 + 5x_3 &= 7 \\ 2x_1 + x_2 + hx_3 &= k \end{aligned}

    Find all values of hh and kk for which the system has

    (a) (3 pts) a unique solution;

    (b) (3 pts) no solution;

    (c) (2 pts) infinitely many solutions.

    Solution

    2. Row reduce (R2−3R1R_2-3R_1, R3−2R1R_3-2R_1, then R3−3R2R_3-3R_2):

    [1−1233−25721hk]∼[1−12301−1−203h−4k−6]∼[1−12301−1−200h−1k]\begin{bmatrix}1&-1&2&3\\3&-2&5&7\\2&1&h&k\end{bmatrix}\sim\begin{bmatrix}1&-1&2&3\\0&1&-1&-2\\0&3&h-4&k-6\end{bmatrix}\sim\begin{bmatrix}1&-1&2&3\\0&1&-1&-2\\0&0&h-1&k\end{bmatrix}

    (a) Unique solution iff there is a pivot in every coefficient column: h≠1h\neq1 (kk arbitrary).

    (b) No solution iff the last row is [ 0 0 0  c ][\,0\ 0\ 0\ \ c\,] with c≠0c\ne0: h=1h=1 and k≠0k\neq0.

    (c) Infinitely many iff the last row is all zeros: h=1h=1 and k=0k=0 (x3x_3 is then free).

  3. 3. Span (10 points). Let a1=[1−23]\mathbf a_1=\begin{bmatrix}1\\-2\\3\end{bmatrix}, a2=[3−57]\mathbf a_2=\begin{bmatrix}3\\-5\\7\end{bmatrix}, a3=[−14−7]\mathbf a_3=\begin{bmatrix}-1\\4\\-7\end{bmatrix}, and let A=[ a1 a2 a3 ]A=[\,\mathbf a_1\ \mathbf a_2\ \mathbf a_3\,].

    (a) (5 pts) Find the condition on b1,b2,b3b_1,b_2,b_3 for b=[b1b2b3]\mathbf b=\begin{bmatrix}b_1\\b_2\\b_3\end{bmatrix} to lie in Span⁡{a1,a2,a3}\operatorname{Span}\{\mathbf a_1,\mathbf a_2,\mathbf a_3\}.

    (b) (3 pts) Is b=[2−34]\mathbf b=\begin{bmatrix}2\\-3\\4\end{bmatrix} in Span⁡{a1,a2,a3}\operatorname{Span}\{\mathbf a_1,\mathbf a_2,\mathbf a_3\}? If so, write b\mathbf b as a linear combination of a1,a2,a3\mathbf a_1,\mathbf a_2,\mathbf a_3.

    (c) (2 pts) Do the columns of AA span R3\mathbb R^3? Justify.

    Solution

    3. (a) Row reduce [ A  b ][\,A\ \ \mathbf b\,] (R2+2R1R_2+2R_1, R3−3R1R_3-3R_1, then R3+2R2R_3+2R_2):

    [13−1b1−2−54b237−7b3]∼[13−1b1012b2+2b1000b1+2b2+b3]\begin{bmatrix}1&3&-1&b_1\\-2&-5&4&b_2\\3&7&-7&b_3\end{bmatrix}\sim\begin{bmatrix}1&3&-1&b_1\\0&1&2&b_2+2b_1\\0&0&0&b_1+2b_2+b_3\end{bmatrix}

    b\mathbf b is in the span iff the system is consistent, i.e. iff b1+2b2+b3=0b_1+2b_2+b_3=0.

    (b) 2+2(−3)+4=02+2(-3)+4=0, so yes. The reduced form is x1=−1+7x3x_1=-1+7x_3, x2=1−2x3x_2=1-2x_3; taking x3=0x_3=0: b=−a1+a2+0 a3\mathbf b=-\mathbf a_1+\mathbf a_2+0\,\mathbf a_3. Check: −(1,−2,3)+(3,−5,7)=(2,−3,4)-(1,-2,3)+(3,-5,7)=(2,-3,4). (Any x3x_3 gives a valid combination.)

    (c) No. The echelon form has no pivot in row 3, so by Theorem 4, Ax=bA\mathbf x=\mathbf b is not consistent for every b\mathbf b; e.g. b=(0,0,1)\mathbf b=(0,0,1) fails the condition in (a).

  4. 4. Solution Sets (12 points). Let A=[1−2123−649−24−1−1]A=\begin{bmatrix}1&-2&1&2\\3&-6&4&9\\-2&4&-1&-1\end{bmatrix} and b=[150]\mathbf b=\begin{bmatrix}1\\5\\0\end{bmatrix}.

    (a) (5 pts) Write the solution set of Ax=0A\mathbf x=\mathbf 0 in parametric vector form.

    (b) (5 pts) Write the solution set of Ax=bA\mathbf x=\mathbf b in parametric vector form.

    (c) (2 pts) Describe both solution sets geometrically and say how they are related.

    Solution

    4. (a) Row reduce (R2−3R1R_2-3R_1, R3+2R1R_3+2R_1, then R3−R2R_3-R_2, then R1−R2R_1-R_2): [ A  0 ]∼[1−20−100013000000][\,A\ \ \mathbf 0\,]\sim\begin{bmatrix}1&-2&0&-1&0\\0&0&1&3&0\\0&0&0&0&0\end{bmatrix}, so x1=2x2+x4x_1=2x_2+x_4, x3=−3x4x_3=-3x_4, with x2,x4x_2,x_4 free:

    x=x2[2100]+x4[10−31].\mathbf x=x_2\begin{bmatrix}2\\1\\0\\0\end{bmatrix}+x_4\begin{bmatrix}1\\0\\-3\\1\end{bmatrix}.

    (b) The same operations give [ A  b ]∼[1−20−1−10013200000][\,A\ \ \mathbf b\,]\sim\begin{bmatrix}1&-2&0&-1&-1\\0&0&1&3&2\\0&0&0&0&0\end{bmatrix}, so x1=−1+2x2+x4x_1=-1+2x_2+x_4, x3=2−3x4x_3=2-3x_4:

    x=[−1020]+x2[2100]+x4[10−31].\mathbf x=\begin{bmatrix}-1\\0\\2\\0\end{bmatrix}+x_2\begin{bmatrix}2\\1\\0\\0\end{bmatrix}+x_4\begin{bmatrix}1\\0\\-3\\1\end{bmatrix}.

    (c) The solution set of Ax=0A\mathbf x=\mathbf 0 is the plane through the origin spanned by (2,1,0,0)(2,1,0,0) and (1,0,−3,1)(1,0,-3,1) in R4\mathbb R^4. The solution set of Ax=bA\mathbf x=\mathbf b is the parallel plane through p=(−1,0,2,0)\mathbf p=(-1,0,2,0): the homogeneous solution set translated by the particular solution p\mathbf p (Theorem 6).

  5. 5. Linear Independence (10 points). Let v1=[12−1]\mathbf v_1=\begin{bmatrix}1\\2\\-1\end{bmatrix}, v2=[37−2]\mathbf v_2=\begin{bmatrix}3\\7\\-2\end{bmatrix}, v3=[−1h4]\mathbf v_3=\begin{bmatrix}-1\\h\\4\end{bmatrix}.

    (a) (5 pts) Find all values of hh for which {v1,v2,v3}\{\mathbf v_1,\mathbf v_2,\mathbf v_3\} is linearly dependent.

    (b) (5 pts) For that value of hh, find a linear dependence relation among v1,v2,v3\mathbf v_1,\mathbf v_2,\mathbf v_3 with integer weights.

    Solution

    5. (a) Row reduce [ v1 v2 v3 ][\,\mathbf v_1\ \mathbf v_2\ \mathbf v_3\,] (R2−2R1R_2-2R_1, R3+R1R_3+R_1, then R3−R2R_3-R_2):

    [13−127h−1−24]∼[13−101h+2013]∼[13−101h+2001−h]\begin{bmatrix}1&3&-1\\2&7&h\\-1&-2&4\end{bmatrix}\sim\begin{bmatrix}1&3&-1\\0&1&h+2\\0&1&3\end{bmatrix}\sim\begin{bmatrix}1&3&-1\\0&1&h+2\\0&0&1-h\end{bmatrix}

    The set is dependent iff there is a free variable, iff 1−h=01-h=0: h=1h=1.

    (b) With h=1h=1, the equation x1v1+x2v2+x3v3=0x_1\mathbf v_1+x_2\mathbf v_2+x_3\mathbf v_3=\mathbf 0 gives x2=−3x3x_2=-3x_3 and x1=−3x2+x3=10x3x_1=-3x_2+x_3=10x_3. Take x3=1x_3=1:

    10v1−3v2+v3=0.10\mathbf v_1-3\mathbf v_2+\mathbf v_3=\mathbf 0.

    Check: 10(1,2,−1)−3(3,7,−2)+(−1,1,4)=(0,0,0)10(1,2,-1)-3(3,7,-2)+(-1,1,4)=(0,0,0).

  6. 6. Balancing a Chemical Equation (6 points). Ethane burns in oxygen:

    x1 C2H6+x2 O2  →  x3 CO2+x4 H2Ox_1\,\mathrm{C_2H_6} + x_2\,\mathrm{O_2} \;\to\; x_3\,\mathrm{CO_2} + x_4\,\mathrm{H_2O}

    Set up the vector equation (one vector per molecule, counting C, H, O), solve the resulting homogeneous system, and give the balanced equation with the smallest positive whole-number coefficients.

    Solution

    6. Vectors (C, H, O): C2H6=(2,6,0)\mathrm{C_2H_6}=(2,6,0), O2=(0,0,2)\mathrm{O_2}=(0,0,2), CO2=(1,0,2)\mathrm{CO_2}=(1,0,2), H2O=(0,2,1)\mathrm{H_2O}=(0,2,1). The equation x1(2,6,0)+x2(0,0,2)=x3(1,0,2)+x4(0,2,1)x_1(2,6,0)+x_2(0,0,2)=x_3(1,0,2)+x_4(0,2,1) gives the homogeneous system

    [20−100600−2002−2−10]∼[100−130010−760001−230]\begin{bmatrix}2&0&-1&0&0\\6&0&0&-2&0\\0&2&-2&-1&0\end{bmatrix}\sim\begin{bmatrix}1&0&0&-\tfrac13&0\\0&1&0&-\tfrac76&0\\0&0&1&-\tfrac23&0\end{bmatrix}

    so x1=13x4x_1=\tfrac13x_4, x2=76x4x_2=\tfrac76x_4, x3=23x4x_3=\tfrac23x_4. Taking x4=6x_4=6:

    2 C2H6+7 O2→4 CO2+6 H2O.2\,\mathrm{C_2H_6}+7\,\mathrm{O_2}\to4\,\mathrm{CO_2}+6\,\mathrm{H_2O}.

  7. 7. The Matrix of a Linear Transformation (12 points).

    (a) (5 pts) Let T:R2→R2T:\mathbb R^2\to\mathbb R^2 first rotate points clockwise through π/2\pi/2 radians and then reflect them through the line x2=x1x_2=x_1. Find the standard matrix of TT.

    (b) (2 pts) TT is a single familiar geometric transformation. Which one?

    (c) (5 pts) Let S:R2→R3S:\mathbb R^2\to\mathbb R^3 be a linear transformation with S ⁣([12])=[305]S\!\left(\begin{bmatrix}1\\2\end{bmatrix}\right)=\begin{bmatrix}3\\0\\5\end{bmatrix} and S ⁣([01])=[1−12]S\!\left(\begin{bmatrix}0\\1\end{bmatrix}\right)=\begin{bmatrix}1\\-1\\2\end{bmatrix}. Find the standard matrix of SS.

    Solution

    7. (a) Track the basis vectors: clockwise rotation by π/2\pi/2 sends e1↦−e2\mathbf e_1\mapsto-\mathbf e_2, e2↦e1\mathbf e_2\mapsto\mathbf e_1; reflection through x2=x1x_2=x_1 swaps coordinates, sending −e2↦−e1-\mathbf e_2\mapsto-\mathbf e_1 and e1↦e2\mathbf e_1\mapsto\mathbf e_2. So T(e1)=−e1T(\mathbf e_1)=-\mathbf e_1, T(e2)=e2T(\mathbf e_2)=\mathbf e_2:

    A=[−1001].A=\begin{bmatrix}-1&0\\0&1\end{bmatrix}.

    (b) A(x1,x2)=(−x1,x2)A(x_1,x_2)=(-x_1,x_2): reflection through the x2x_2-axis.

    (c) S(e2)=S ⁣([01])=(1,−1,2)S(\mathbf e_2)=S\!\left(\begin{bmatrix}0\\1\end{bmatrix}\right)=(1,-1,2). Since e1=(1,2)−2(0,1)\mathbf e_1=(1,2)-2(0,1), linearity gives S(e1)=(3,0,5)−2(1,−1,2)=(1,2,1)S(\mathbf e_1)=(3,0,5)-2(1,-1,2)=(1,2,1). So

    [S]=[112−112].[S]=\begin{bmatrix}1&1\\2&-1\\1&2\end{bmatrix}.

  8. 8. One-to-One & Onto (10 points). Let T:R3→R4T:\mathbb R^3\to\mathbb R^4 be defined by

    T(x1,x2,x3)=(x1+2x2,    −x1+x2+3x3,    2x1+x2−2x3,    3x2+4x3).T(x_1,x_2,x_3)=(x_1+2x_2,\;\;-x_1+x_2+3x_3,\;\;2x_1+x_2-2x_3,\;\;3x_2+4x_3).

    (a) (2 pts) Find the standard matrix AA of TT.

    (b) (4 pts) Is TT one-to-one? Justify.

    (c) (4 pts) Does TT map R3\mathbb R^3 onto R4\mathbb R^4? Justify.

    Solution

    8. (a) A=[120−11321−2034]A=\begin{bmatrix}1&2&0\\-1&1&3\\2&1&-2\\0&3&4\end{bmatrix}.

    (b) Row reduce (R2+R1R_2+R_1, R3−2R1R_3-2R_1; then R3+R2R_3+R_2, R4−R2R_4-R_2; then R4−R3R_4-R_3):

    A∼[1200330−3−2034]∼[120033001001]∼[120033001000]A\sim\begin{bmatrix}1&2&0\\0&3&3\\0&-3&-2\\0&3&4\end{bmatrix}\sim\begin{bmatrix}1&2&0\\0&3&3\\0&0&1\\0&0&1\end{bmatrix}\sim\begin{bmatrix}1&2&0\\0&3&3\\0&0&1\\0&0&0\end{bmatrix}

    Every column is a pivot column, so Ax=0A\mathbf x=\mathbf 0 has only the trivial solution; the columns are linearly independent and, by Theorem 12, TT is one-to-one.

    (c) No. Row 4 of the echelon form has no pivot, so the columns do not span R4\mathbb R^4 (Theorem 4) and TT is not onto (Theorem 12). (Even without row reducing: three vectors cannot span R4\mathbb R^4, since a 4×34\times3 matrix has at most 3 pivots.)

  9. 9. True or False (12 points, 2 each). State whether each statement is true or false, and justify: cite a theorem or definition if true, give a counterexample if false.

    (a) If an augmented matrix has a pivot in every row, then the system it represents is consistent.

    (b) If AA is a 3×33\times3 matrix and Ax=0A\mathbf x=\mathbf 0 has only the trivial solution, then the columns of AA span R3\mathbb R^3.

    (c) If AA is a 4×34\times3 matrix, then Ax=bA\mathbf x=\mathbf b has a solution for every b\mathbf b in R4\mathbb R^4.

    (d) The solution set of Ax=bA\mathbf x=\mathbf b is always a translate of the solution set of Ax=0A\mathbf x=\mathbf 0.

    (e) If TT is linear and T(u)=T(v)T(\mathbf u)=T(\mathbf v) for some u≠v\mathbf u\neq\mathbf v, then TT is not one-to-one.

    (f) Any set of vectors in Rn\mathbb R^n that contains the zero vector is linearly dependent.

    Solution

    9. (a) False. A pivot in the augmented column means inconsistency: [100001]\begin{bmatrix}1&0&0\\0&0&1\end{bmatrix} has a pivot in every row, and its second row says 0=10=1. (The correct statement is about a pivot in every row of the coefficient matrix.)

    (b) True. Only the trivial solution means no free variables, so all 3 columns are pivot columns. Each pivot sits in a different row and there are only 3 rows, so every row has a pivot, and by Theorem 4 the columns span R3\mathbb R^3.

    (c) False. A 4×34\times3 matrix has at most 3 pivots, so it cannot have a pivot in all 4 rows; by Theorem 4 some b\mathbf b makes Ax=bA\mathbf x=\mathbf b inconsistent. (E.g. A=[100010001000]A=\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\\0&0&0\end{bmatrix}, b=e4\mathbf b=\mathbf e_4.)

    (d) False. If Ax=bA\mathbf x=\mathbf b is inconsistent its solution set is empty, which is not a translate of anything (the homogeneous solution set always contains 0\mathbf 0). Theorem 6 requires Ax=bA\mathbf x=\mathbf b to be consistent. Example: A=[0]A=\begin{bmatrix}0\end{bmatrix}, b=[1]\mathbf b=\begin{bmatrix}1\end{bmatrix}.

    (e) True. One-to-one means each b\mathbf b is the image of at most one x\mathbf x; here T(u)T(\mathbf u) is the image of the two distinct vectors u\mathbf u and v\mathbf v.

    (f) True. If some vj=0\mathbf v_j=\mathbf 0, then 1⋅vj1\cdot\mathbf v_j plus 00 times each other vector is 0\mathbf 0, a nontrivial dependence relation (Theorem 9).

  10. 10. Proofs (8 points).

    (a) (4 pts) Let AA be an m×nm\times n matrix. Prove that if p\mathbf p and q\mathbf q are both solutions of Ax=bA\mathbf x=\mathbf b, then p−q\mathbf p-\mathbf q is a solution of Ax=0A\mathbf x=\mathbf 0.

    (b) (4 pts) Let T:Rn→RmT:\mathbb R^n\to\mathbb R^m be a one-to-one linear transformation. Prove that if {v1,v2,v3}\{\mathbf v_1,\mathbf v_2,\mathbf v_3\} is linearly independent, then {T(v1),T(v2),T(v3)}\{T(\mathbf v_1),T(\mathbf v_2),T(\mathbf v_3)\} is linearly independent.

    Solution

    10. (a) Given Ap=bA\mathbf p=\mathbf b and Aq=bA\mathbf q=\mathbf b. By linearity of the matrix-vector product (Theorem 5),

    A(p−q)=Ap−Aq=b−b=0.A(\mathbf p-\mathbf q)=A\mathbf p-A\mathbf q=\mathbf b-\mathbf b=\mathbf 0.

    (b) Suppose c1T(v1)+c2T(v2)+c3T(v3)=0c_1T(\mathbf v_1)+c_2T(\mathbf v_2)+c_3T(\mathbf v_3)=\mathbf 0. By linearity, and since T(0)=0T(\mathbf 0)=\mathbf 0,

    T(c1v1+c2v2+c3v3)=0=T(0).T(c_1\mathbf v_1+c_2\mathbf v_2+c_3\mathbf v_3)=\mathbf 0=T(\mathbf 0).

    TT is one-to-one, so c1v1+c2v2+c3v3=0c_1\mathbf v_1+c_2\mathbf v_2+c_3\mathbf v_3=\mathbf 0. Since {v1,v2,v3}\{\mathbf v_1,\mathbf v_2,\mathbf v_3\} is linearly independent, c1=c2=c3=0c_1=c_2=c_3=0. So the only dependence relation among the T(vi)T(\mathbf v_i) is the trivial one, and they are linearly independent.

  11. Extra Credit (5 points ••)

    Let AA be an m×nm\times n matrix. Prove that if Ax=bA\mathbf x=\mathbf b has exactly one solution for some b\mathbf b, then Ax=cA\mathbf x=\mathbf c has at most one solution for every c\mathbf c in Rm\mathbb R^m.

    Solution

    Extra Credit

    Let p\mathbf p be the unique solution of Ax=bA\mathbf x=\mathbf b.

    Step 1: Ax=0A\mathbf x=\mathbf 0 has only the trivial solution. If Aw=0A\mathbf w=\mathbf 0, then A(p+w)=Ap+Aw=bA(\mathbf p+\mathbf w)=A\mathbf p+A\mathbf w=\mathbf b, so p+w\mathbf p+\mathbf w is also a solution of Ax=bA\mathbf x=\mathbf b. By uniqueness, p+w=p\mathbf p+\mathbf w=\mathbf p, so w=0\mathbf w=\mathbf 0.

    Step 2: at most one solution for any c\mathbf c. Suppose Au=cA\mathbf u=\mathbf c and Av=cA\mathbf v=\mathbf c. Then A(u−v)=c−c=0A(\mathbf u-\mathbf v)=\mathbf c-\mathbf c=\mathbf 0, so by Step 1, u−v=0\mathbf u-\mathbf v=\mathbf 0, i.e. u=v\mathbf u=\mathbf v.

    Hence Ax=cA\mathbf x=\mathbf c has at most one solution for every c\mathbf c in Rm\mathbb R^m. (It may have none: uniqueness for one b\mathbf b says nothing about existence for other c\mathbf c.) ■\blacksquare