Sample APSC 179 questions
  1. Linear Systems and Row Reduction · Short answer · 2 marks

    Find the rank (number of pivots) of the matrix

    [120124133614]. \begin{bmatrix} 1 & 2 & 0 & 1\\ 2 & 4 & 1 & 3\\ 3 & 6 & 1 & 4 \end{bmatrix}.

    rank⁡=\operatorname{rank} =    

    Show solution

    Answer: 22

    Row reduce:

    [120124133614]→R3←R3−3R1R2←R2−2R1[120100110011]→R3←R3−R2[120100110000]. \begin{bmatrix} 1 & 2 & 0 & 1\\ 2 & 4 & 1 & 3\\ 3 & 6 & 1 & 4 \end{bmatrix} \xrightarrow[R_3 \leftarrow R_3 - 3R_1]{R_2 \leftarrow R_2 - 2R_1} \begin{bmatrix} 1 & 2 & 0 & 1\\ 0 & 0 & 1 & 1\\ 0 & 0 & 1 & 1 \end{bmatrix} \xrightarrow{R_3 \leftarrow R_3 - R_2} \begin{bmatrix} 1 & 2 & 0 & 1\\ 0 & 0 & 1 & 1\\ 0 & 0 & 0 & 0 \end{bmatrix}.
    There are two nonzero rows, so the rank is 22.

  2. Matrix Algebra and Inverses · Short answer · 3 marks

    Find A−1A^{-1} for the block diagonal matrix A=[210120003]A = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 2 & 0 \\ 0 & 0 & 3 \end{bmatrix} by inverting each diagonal block.

    A−1=A^{-1} =    

    Show solution

    Answer: [23−130−132300013]\begin{bmatrix} \frac{2}{3} & -\frac{1}{3} & 0 \\ -\frac{1}{3} & \frac{2}{3} & 0 \\ 0 & 0 & \frac{1}{3} \end{bmatrix}

    The diagonal blocks are A1=[2112]A_1 = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix} and [3][3].

    A1−1=13[2−1−12]=[23−13−1323],[3]−1=[13]. A_1^{-1} = \frac{1}{3}\begin{bmatrix} 2 & -1 \\ -1 & 2 \end{bmatrix} = \begin{bmatrix} \frac{2}{3} & -\frac{1}{3} \\ -\frac{1}{3} & \frac{2}{3} \end{bmatrix}, \qquad [3]^{-1} = \left[\frac{1}{3}\right].
    Therefore
    A−1=[23−130−132300013]. A^{-1} = \begin{bmatrix} \frac{2}{3} & -\frac{1}{3} & 0 \\ -\frac{1}{3} & \frac{2}{3} & 0 \\ 0 & 0 & \frac{1}{3} \end{bmatrix}.

  3. Span and Linear Independence · Multiple choice · 1 mark

    For which values of hh is the vector (1,h)(1,h) in Span⁡{(1,0), (2,3)}\operatorname{Span}\{(1,0),\,(2,3)\}?

    1. only h=0h = 0

    2. only h=3h = 3

    3. every real number hh

    4. no real number hh

    Show solution

    Answer: (C)

    The vectors (1,0)(1,0) and (2,3)(2,3) are linearly independent, because

    det⁡[1203]=3≠0. \det\begin{bmatrix} 1 & 2 \\ 0 & 3 \end{bmatrix} = 3 \neq 0.
    Therefore their span is all of R2\mathbb{R}^2, so (1,h)(1,h) is in the span for every real number hh.

  4. Orthogonality, Projections and Least Squares · Multiple choice · 3 marks

    Select all true statements about the Gram–Schmidt process.

    1. It requires a linearly independent set of vectors as input.

    2. It preserves the span of the first kk vectors for each kk.

    3. It always produces an orthonormal basis without any further normalization.

    4. It produces a zero vector at some step if the input set is linearly dependent.

    Show solution

    Answer: (A, B, D)

    Gram–Schmidt starts with a linearly independent set and replaces it by an orthogonal set with the same span at every stage. Normalization is an additional step, so the third statement is false. If a vector is in the span of the previous vectors, the projection subtraction gives the zero vector.

  5. Linear Transformations · Multiple choice · 1 mark

    If AA is a 4×54\times 5 matrix with rank⁡A=3\operatorname{rank} A = 3, then dim⁡Nul⁡A=\dim\operatorname{Nul} A =

    1. 00

    2. 11

    3. 22

    4. 33

    Show solution

    Answer: (C)

    By the Rank–Nullity Theorem, rank⁡A+dim⁡Nul⁡A\operatorname{rank} A + \dim\operatorname{Nul} A equals the number of columns of AA. Thus dim⁡Nul⁡A=5−3=2\dim\operatorname{Nul} A = 5 - 3 = 2.

About APSC 179 practice exams

APSC 179 practice exams

Linear Algebra for Engineers · University of British Columbia (UBC, UBC Vancouver) · also written APSC179

Make a free, printable APSC 179 practice exam: choose the topics, the length and the difficulty above, and get an exam-style PDF with a full answer key. Each paper draws on 800 original questions and skips the ones you have already seen.

Looking for APSC 179 past exams?

Start with the past exams and tests your instructor or the UBC library shares: they show what your course actually asks. Most courses only have a few, so once you have worked through them, make fresh APSC 179 practice exams here on the same topics, with full answer keys, as many as you need. The questions here are original, not copies of past exams.

Topics covered

  • Linear Systems and Row Reduction · 100 questions
  • Matrix Algebra and Inverses · 100 questions
  • Determinants · 100 questions
  • Span and Linear Independence · 100 questions
  • Subspaces, Basis, Dimension and Rank · 100 questions
  • Orthogonality, Projections and Least Squares · 100 questions
  • Eigenvalues and Eigenvectors · 100 questions
  • Linear Transformations · 100 questions

More UBC courses

questionbank.dev is independent and not affiliated with University of British Columbia. Course codes only say which topics a paper covers; papers are original practice material, not past or upcoming exams.