How do you compute with matrices and use them to solve a system of linear equations?
Add, subtract and multiply matrices, find the determinant and inverse of 2x2 and 3x3 matrices, and solve systems of linear equations using the inverse matrix and Gaussian elimination, identifying unique, no, and infinitely many solutions.
A focused answer to the SQA Advanced Higher Mathematics matrices and systems of equations content, covering matrix addition, subtraction and multiplication, the determinant and inverse of 2x2 and 3x3 matrices, solving systems by the inverse matrix and by Gaussian elimination, and recognising unique, no, and infinitely many solutions.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
The SQA wants you to compute with matrices, find determinants and inverses of and matrices, and use both the inverse-matrix method and Gaussian elimination to solve systems of linear equations, recognising when a system has a unique solution, no solution, or infinitely many.
Matrix arithmetic
Addition and subtraction act entry by entry on matrices of the same size. Multiplication combines the rows of the first matrix with the columns of the second, so the number of columns of the first must equal the number of rows of the second. Order matters: in general .
Determinant and inverse
The determinant decides whether a matrix is invertible: a matrix with determinant zero is singular and has no inverse. For a matrix the inverse follows a swap-and-negate pattern; for a matrix the determinant is expanded along a row using cofactors.
Solving systems of equations
Two methods solve a linear system. The inverse-matrix method writes the system as and computes , which works only when . Gaussian elimination is more general: form the augmented matrix and use row operations to reach upper-triangular form, then back-substitute.
The three outcomes
After elimination, read off the type of solution from the final rows. A full set of leading entries gives a unique solution. A row reading (non-zero), such as , is a contradiction, so there is no solution. A row of all zeros, , removes one equation, leaving a free variable and infinitely many solutions, which you express in terms of a parameter.
Geometrically a system is the question of how three planes sit in space. A unique solution is a single common point; no solution means the planes have no point in common, as with three planes forming a triangular prism; and infinitely many solutions means the three planes share a whole line. This is exactly the connection to the vectors topic, where a plane is described by a point and a normal, so the algebra of elimination and the geometry of intersecting planes are two views of one problem. Recognising the geometric meaning is often the quickest way to interpret an unexpected row of zeros.
Try this
Q1. Find the determinant of . [1 mark]
- Cue. .
Q2. What does a final row tell you about a system? [1 mark]
- Cue. One equation is redundant, so there are infinitely many solutions (a parameter is needed).
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AH style: 2x2 inverse4 marksFind the inverse of and hence solve , .Show worked answer →
Determinant (1 mark).
Inverse (1 mark).
Solution (1 mark).
So , (1 mark). Markers reward the determinant, the inverse with the swap-and-negate pattern, the matrix product, and the solution.
AH style: Gaussian elimination5 marksUse Gaussian elimination to solve , , .Show worked answer →
Form the augmented matrix and eliminate from rows 2 and 3 using row 1: gives ; gives (2 marks).
Eliminate : from and , use to get , so (1 mark).
Back-substitute: gives ; then gives (1 mark).
Solution , , (1 mark). Markers reward the elimination of , the elimination of , the value of , and the back-substitution.
Related dot points
- Perform arithmetic with complex numbers in Cartesian form, represent them on an Argand diagram, convert to polar (modulus-argument) form, and use de Moivre's theorem to find powers and the nth roots of a complex number.
A focused answer to the SQA Advanced Higher Mathematics complex numbers content, covering arithmetic in Cartesian form, the complex conjugate, the Argand diagram, modulus and argument, polar form, and de Moivre's theorem for finding powers and the nth roots of a complex number.
- Use the scalar and vector products of vectors in three dimensions, find the equation of a line in three dimensions and the equation of a plane in vector, parametric and Cartesian form, and find angles and intersections between lines and planes.
A focused answer to the SQA Advanced Higher Mathematics vectors content, covering the scalar and vector products in three dimensions, the equation of a line in symmetric and parametric form, the equation of a plane in vector and Cartesian form, and finding angles and intersections between lines and planes.
- Construct proofs using direct proof, proof by contradiction and proof by contrapositive, disprove a conjecture by counterexample, and use the Euclidean algorithm to find the highest common factor and express it as a linear combination.
A focused answer to the SQA Advanced Higher Mathematics number theory and methods of proof content, covering direct proof, proof by contradiction, proof by contrapositive, disproof by counterexample, the fundamental theorem of arithmetic, and the Euclidean algorithm for the highest common factor and its linear combination.
- Examine the properties of functions, including domain, asymptotes, symmetry and stationary points, to sketch the graph of a rational or other function, and apply differentiation to rates of change and optimisation problems.
A focused answer to the SQA Advanced Higher Mathematics functions and graph sketching content, covering domain and symmetry, vertical and non-vertical asymptotes of rational functions, stationary points and their nature, the systematic sketching of a curve, and applying differentiation to rates of change and optimisation.
Sources & how we know this
- SQA Advanced Higher Mathematics Course Specification — SQA (2019)