In simple terms
A friendly intro before the formal notes — no formulas yet.
The Matrix Master Key
A matrix packages a whole block of numbers into one object you can add, scale and multiply. Its determinant is a single number that tells you whether the matrix can be 'undone', and its inverse is the master key that unlocks a whole system of equations in one step.
Think of a secret message written as a column of numbers. To encode it you multiply by a secret 'key' matrix, scrambling the numbers into nonsense. Your friend decodes it by multiplying the scramble by the inverse key, which puts the original numbers back. The determinant is a quick health-check on the key: if it is zero, no inverse exists, so the code can never be undone uniquely. Solving works the same way, the inverse of the coefficient matrix is the key that reveals the unknowns.
- 1
Check the shapes. Before multiplying two matrices, confirm they are conformable, the number of columns of the first must equal the number of rows of the second, and the product inherits the outer dimensions.
- 2
Find the determinant. For a 2x2 matrix use by hand; for a 3x3 use the GDC. If it is zero the matrix is singular and has no inverse.
- 3
Find the inverse. For a 2x2 use the formula-booklet formula; for a 3x3 go straight to the GDC. Multiplying a matrix by its inverse gives the identity.
- 4
Solve the system. Write the equations as , then compute (order matters), reading the answer straight off the GDC for a 3x3 system.
Explore the concept
Use the live diagram, PhET or GeoGebra sim, and synced steps — play it, drag controls, or tap a step.
Step 1
Check the shapes. Before multiplying two matrices, confirm they are conformable, the number of columns of the first must equal the number of rows of the second, and the product inherits the outer dimensions.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Full topic notes
Formal explanation with the rigour you need for the exam.
Matrix operations and conformability
A matrix is described by its order, rows by columns. You add or subtract two matrices only when they have the same order, combining entries in matching positions. Scalar multiplication multiplies every entry by the same number. Multiplication is the operation that surprises people: to multiply by you take rows of against columns of , so the inner dimensions must match. The rule for this is called conformability.
Conformability: . \n The two INNER numbers must agree (); the OUTER numbers give the order of the product.
Because order matters, keep the sequence of any product exactly as written. This single fact, that , is the reason we must be careful when we later 'pre-multiply' both sides of a matrix equation by an inverse.
Addition / subtraction: only for matrices of the SAME order; add entry by entry.
Scalar multiplication: multiply every entry by the scalar; the order is unchanged.
Multiplication: exists only if the number of columns of equals the number of rows of . An times an gives an matrix.
Not commutative: in general ; sometimes only one order is even defined.
The identity matrix
Among square matrices, one plays the role that 1 plays for numbers: the identity matrix , with 1s on the leading diagonal and 0s everywhere else. Multiplying any conformable matrix by leaves it unchanged, . The identity is what an inverse produces: is precisely the matrix for which , so the identity is the target every inverse aims at.
The identity: , with . \n An inverse satisfies .
The determinant
Every square matrix carries a single number called its determinant, written or , that decides whether the matrix can be inverted. For a matrix you compute it by hand; for a you use the GDC. Whatever the size, the meaning is the same: a non-zero determinant means an inverse exists, a zero determinant means it does not.
For a 2x2 matrix : \n (a scalar, not a matrix).
The determinant is a single number, not a matrix.
If the matrix is singular and has NO inverse.
If the matrix is non-singular and has a unique inverse.
For a matrix, evaluate the determinant on the GDC.
The inverse of a matrix
The inverse undoes the effect of : multiply them together, in either order, and you get the identity. For a matrix there is a compact formula in the booklet; for a you use the GDC. In both cases the inverse exists only when .
Inverse of a 2x2 matrix : \n , provided .
The 2x2 inverse formula is in your formula booklet, but the condition is not written beside the answer, you must supply it. Swap the leading diagonal, negate the off-diagonal, then divide the WHOLE matrix by the determinant. For anything or larger, go straight to the GDC: the marks are for the correct set-up and interpretation, not manual arithmetic.
Application: solving systems of linear equations
The headline application of inverses is solving simultaneous linear equations. Line the variables up in the same order in each equation and the whole system collapses into one matrix equation , with the coefficients, the unknowns and the constants.
You cannot divide by a matrix, so instead pre-multiply both sides by . Because , this isolates .
is the square matrix of coefficients (variables in a fixed order).
is the column of unknowns, e.g. .
is the column of constants from the right-hand sides.
Further applications: encoding and transformations
Encoding a message uses the inverse as a decoding key. Letters are converted to numbers and arranged in a matrix, then multiplied by a non-singular key matrix to scramble them; the recipient multiplies the scrambled matrix by the inverse key to recover the original. The determinant must be non-zero, otherwise the scramble cannot be undone. Geometric transformations use matrices differently: multiplying a point's position vector by a suitable matrix maps it to a new point, so rotations, reflections, enlargements and shears each have a matrix, and composing transformations corresponds to multiplying their matrices (in reverse order of application). The determinant of a transformation matrix even carries meaning, its magnitude is the area scale factor of the transformation.
Common mistakes examiners penalise
Assuming — matrix multiplication is not commutative. Keep every product in the order written; reversing it usually changes the answer or makes the product undefined.
Ignoring conformability — before multiplying, check the inner dimensions match. An can only multiply an ; mismatched inner numbers mean no product exists.
Mis-stating the determinant — for a it is , not or . A sign or pairing slip here poisons the inverse and everything after it.
Dropping the factor — in the 2x2 inverse you must divide the swapped-and-negated matrix by the determinant; forgetting it leaves you with a matrix that is not the inverse.
Solving in the wrong order — , never . The inverse goes on the LEFT of the constants; the reversed product is not even conformable for a column .
Inverting a singular matrix — if there is no inverse, so has no unique solution. Do not report a 'solution'; state that the matrix is singular.
Writing only the GDC answer — for a system you must show the set-up to earn the method marks; a lone final answer risks most of them.
Model answer — marked the way our engine marks it
On Paper 1 and Paper 2 alike the marks are analytic: each is tied to a specific line of working, a method mark (M) or an accuracy mark (A), and an accuracy mark depends on the method mark it follows. Follow-through (FT) means a value that is wrong earlier does not have to cost you the marks that depend on it, provided the later step is done correctly on your own figure. The engine also ignores subsequent working (ISW) once a correct answer appears, and accepts any equivalent form and any correctly-rounded value, but only if the method is on the page. The GDC is expected for a ; a inverse should be shown by formula. Study how each mark below is earned by a specific line.
Where this leads
Matrices are the backbone of the rest of the HL number-and-algebra strand and beyond. The eigenvalues and eigenvectors you meet later are built directly on determinants and the equation ; the transition matrices of Markov chains multiply exactly as here, with the long-run state read from a special vector; and systems of differential equations are solved by diagonalising a coefficient matrix. Even the geometric transformations touched on above return when you model repeated processes or graphics. Master the three moves of this lesson, check conformability, test the determinant, and solve with the inverse in the correct order, and the more advanced matrix topics become variations on a method you already own.
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
Let the matrix . \n (a) Find . \n (b) Hence find . [4]
- 1
(a) Determinant. Using :\n [M1 substitution] [A1]\n\n**(b) Inverse.** Since , an inverse exists. Using :\n [M1 substitution into formula]\n [A1]\n\nEither form, with the scalar left outside or multiplied in, is accepted.
A bakery sells Chocolate, Vanilla and Red Velvet cakes at prices , , pounds each. Over three days the sales and takings were: \n Day 1: ; \n Day 2: ; \n Day 3: . \n Find the price of each cake. [6]
- 1
Write the system as with the variables in the order :\n [M1 correct set-up] [A1 correct , , ]\n\nSolve by . Enter and on the GDC and compute . [M1 intent to use ]\n\nThe GDC returns:\n [A2 all three values correct]\n\nSo a Chocolate cake costs £15, a Vanilla cake £20 and a Red Velvet cake £12.50. [A1 interpretation in context]
Given , find and , then solve . [5]
- 1
Model answer — full working.\n\nDeterminant. Using :\n\n\nInverse. Since , an inverse exists. Using the 2x2 formula:\n\n\nSolve. With , compute :\n\n\nConclusion: , , and , i.e. , .\n\n---\nHow our marking engine awards the 5 marks:\n\n- M1 — determinant method. Awarded for correctly applying , i.e. writing . It is the method that is rewarded, so it survives an arithmetic slip in the next line.\n- A1 — determinant value. Awarded for . This accuracy mark depends on the M1 above.\n- M1 — inverse method. Awarded for correct use of the 2x2 inverse formula: swapping the leading diagonal, negating the off-diagonal and dividing by the determinant, i.e. in structure.\n- A1 — inverse. Awarded for the correct (or the equivalent with the scalar multiplied in). FT applies from the determinant: a candidate with a wrong who forms the inverse correctly on their own value still earns this.\n- A1 — solution. Awarded for , computed in the correct order. This is FT on the candidate's own inverse: a student whose inverse differed but who multiplied correctly keeps the mark.\n\n**'Accept equivalent forms and correct rounding.'** The engine accepts with the left outside or multiplied in, and accepts the answer written as a column or as , . Once the correct appears, ISW means later restatements do not lose marks.\n\nBottom line: two of the five marks are method marks that survive an arithmetic slip, and the accuracy marks are shielded by follow-through, so a student who writes only with no determinant, inverse or order shown risks losing 3-4 marks, while one who shows every line keeps the method even when a number slips.
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
Conformability for multiplication
To form the number of columns of must equal the number of rows of . An matrix times an matrix gives an matrix. If the inner dimensions disagree, the product is undefined.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
Addition / subtraction: only for matrices of the SAME order; add entry by entry.
- ✓
Scalar multiplication: multiply every entry by the scalar; the order is unchanged.
- ✓
Multiplication: exists only if the number of columns of equals the number of rows of . An times an gives an matrix.
- ✓
Not commutative: in general ; sometimes only one order is even defined.
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Get a matrix question marked: find the determinant and inverse, then solve $A\mathbf{x}=\mathbf{b}$ with full working
Get a matrix question marked: find the determinant and inverse, then solve with full working
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Get a matrix question marked: find the determinant and inverse, then solve $A\mathbf{x}=\mathbf{b}$ with full working on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.