Matrices and determinants: questions and answers

By Team Megalecture · Updated 22 Nov 2026

NUST NET (Engineering) · Maths · Matrices and determinants. A short explanation of the idea, the rules to remember, the mistake to avoid, a worked example and practice questions with answers.

Test this topic freeAll NUST NET (Engineering) topics

The idea

A matrix is a rectangular table of numbers with an order, rows × columns. The product AB exists only when the number of columns of A equals the number of rows of B, and in general AB ≠ BA.

Every square matrix has a determinant, a single number. If it is zero the matrix is singular and has no inverse. Many test questions are answered by a property of determinants, not by a long expansion, so look first for equal or proportional rows.

A system of linear equations can be written AX = B. The determinant of A tells you at once whether there is exactly one solution or not.

Rules to remember

Common mistake

Writing |kA| = k|A|. The factor k comes out of every row, so for an n × n matrix |kA| = kn|A|: k2 for a 2 × 2 matrix and k3 for a 3 × 3 matrix.

Worked example

A is a 3 × 3 matrix with |A| = 4. The value of |2A−1| is

  1. |A−1| = 1/|A| = 1/4.
  2. A−1 is 3 × 3, so |2A−1| = 23 × |A−1| = 8 × 1/4.
  3. 8 × 1/4 = 2.

Answer: 2

Practice questions

Try each one, then open the answer.

1. For a system AX = B, the inverse A−1 is the matrix with rows [2 1] and [1 1], and B is the column with elements 3 and −1. The solution is

  1. A
    x = 4, y = −5
  2. B
    x = 7, y = 4
  3. C
    x = 5, y = 2
  4. D
    x = 2, y = 5
Show answer

Answer: C. X = A−1B: x = 2(3) + 1(−1) = 5 and y = 1(3) + 1(−1) = 2. Treating −1 as +1 gives x = 7, y = 4.

2. The value of the determinant with rows [2 5 −7], [0 −3 4] and [0 0 5] is

  1. A
    −30
  2. B
    30
  3. C
    4
  4. D
    0
Show answer

Answer: A. The matrix is upper triangular, so the determinant is the product of the diagonal elements: 2 × (−3) × 5 = −30. Adding the diagonal instead gives 4.

3. The system x + 2y = 3, 3x + ky = m has infinitely many solutions. The value of k + m is

  1. A
    9
  2. B
    12
  3. C
    6
  4. D
    15
Show answer

Answer: D. The second equation must be 3 times the first: 3x + 6y = 9, so k = 6 and m = 9, and k + m = 15. With k = 6 but m ≠ 9 there would be no solution at all.

More questions on this topic

Read the full notes

Keep going

← Sets and functionsQuadratic equations →All rules on one pageStuck? Ask a question