Salam Academy
Contents · 0% complete
  1. Learning objectives
  2. Core idea
  3. Key formulae
  4. Worked examples
  5. Explore the graph
  6. Common mistakes
  7. Exam tip
  8. Guided practice
  9. Practice questions
  10. Challenge
  11. Summary
  12. Quick quiz
  13. Same topic, different board
  14. Past paper questions
Matrix algebra · Subtopic 1 of 1

Matrix Algebra and Inverses

Matrices multiply row-by-column. The determinant measures how a matrix scales area (or volume); when it is zero the matrix has no inverse. For 2×22\times2, A−1=1ad−bc(d−b−ca)\mathbf A^{-1}=\frac1{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}, and inverses solve systems of equations in one step.

Cambridge 9231 Paper 1Edexcel YFM01 WFM01Edexcel 9FM0 Paper 1Edexcel 9FM0 Paper 2AQA 7367 Paper 1AQA 7367 Paper 2≈ 45 minRevision 1 · updated 2026-10-27
Practise this topicTimed testAsk Salam Tutor
Section 1 of 14

Learning objectives

  • Add, subtract and multiply matrices, and know when a product is defined.
  • Find determinants of 2×22\times2 and 3×33\times3 matrices.
  • Find inverses and use (AB)−1=B−1A−1(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1}.
  • Solve systems of linear equations with inverses and interpret the result.
Pause and think

Is AB\mathbf{AB} always equal to BA\mathbf{BA} for matrices?

Section 2 of 14

Core idea

Start hereThree equations, one step

A shop sells three bundles of pens, pencils and rubbers at different prices. Three receipts give three equations in three unknowns. Solving by elimination is long and fiddly. Packing the coefficients into a grid, a matrix, turns the whole system into one equation Ax=b\mathbf A\mathbf x=\mathbf b, solved in one step by "dividing" by A\mathbf A.

The big idea

Matrices multiply row by column; the product depends on order. The determinant is the area (volume) scale factor; if it is 00 the matrix is singular and has no inverse. Otherwise x=A−1b\mathbf x=\mathbf A^{-1}\mathbf b.

1. Multiplying matrices

(AB)ij=∑kaikbkj(\mathbf{AB})_{ij}=\sum_k a_{ik}b_{kj}
where
(AB)ij(\mathbf{AB})_{ij}
entry in row ii, column jj of the product.
aikbkja_{ik}b_{kj}
row ii of A\mathbf A times column jj of B\mathbf B, entry by entry, then added.
When is a product defined?
  1. A: m×n,B: n×p\mathbf A:\ m\times n,\quad\mathbf B:\ n\times p
    Each row of A\mathbf A has nn entries; each column of B\mathbf B must also have nn.
  2. AB: m×p\mathbf{AB}:\ m\times p
    One entry for each (row of A\mathbf A, column of B\mathbf B) pair.
BA\mathbf{BA} may not even be defined, and when it is, it is usually different.
Worked exampleA 2×2 product both ways

A=(1234)\mathbf A=\begin{pmatrix}1&2\\3&4\end{pmatrix}, B=(0110)\mathbf B=\begin{pmatrix}0&1\\1&0\end{pmatrix}. Find AB\mathbf{AB} and BA\mathbf{BA}.

Goal
Both products.
Strategy
Row by column, carefully.
  1. AB=(0+21+00+43+0)=(2143)\mathbf{AB}=\begin{pmatrix}0+2&1+0\\0+4&3+0\end{pmatrix}=\begin{pmatrix}2&1\\4&3\end{pmatrix}
    B\mathbf B on the right swaps the columns of A\mathbf A.
  2. BA=(3412)\mathbf{BA}=\begin{pmatrix}3&4\\1&2\end{pmatrix}
    B\mathbf B on the left swaps the rows of A\mathbf A.
AnswerAB≠BA\mathbf{AB}\neq\mathbf{BA}.
✓ Checkdet⁡(AB)=6−4=2\det(\mathbf{AB})=6-4=2 and det⁡Adet⁡B=(−2)(−1)=2\det\mathbf A\det\mathbf B=(-2)(-1)=2 ✓.
Common misconceptionCommutativity Never swap the order of a matrix product. AB=BA\mathbf{AB}=\mathbf{BA} only in special cases (e.g. with I\mathbf I or powers of the same matrix).

2. The determinant

Why ad−bcad-bc is an area
  1. i↦(ac), j↦(bd)\mathbf i\mapsto\begin{pmatrix}a\\c\end{pmatrix},\ \mathbf j\mapsto\begin{pmatrix}b\\d\end{pmatrix}
    The columns are the images of the unit vectors.
  2. unit square↦parallelogram on these vectors\text{unit square}\mapsto\text{parallelogram on these vectors}
    Linear maps send straight lines to straight lines.
  3. area=(a+b)(c+d)−2bc−ac−bd\text{area}=(a+b)(c+d)-2bc-ac-bd
    Bounding rectangle minus the corner triangles and rectangles (for the standard picture).
  4. =ad−bc=ad-bc
    Expand and simplify.
So ∣det⁡A∣|\det\mathbf A| is the area scale factor; a negative sign means the orientation is flipped.
det⁡(abcdefghi)=a(ei−fh)−b(di−fg)+c(dh−eg)\det\begin{pmatrix}a&b&c\\d&e&f\\g&h&i\end{pmatrix}=a(ei-fh)-b(di-fg)+c(dh-eg)
where
+,−,++,-,+
alternating signs along the top row.
ei−fhei-fh etc.
the 2×2 minors left after deleting that entry's row and column.
Worked exampleA 3×3 with a parameter

Find kk for which (1200k1312)\begin{pmatrix}1&2&0\\0&k&1\\3&1&2\end{pmatrix} is singular.

Goal
kk.
Strategy
Expand along the top row; set to zero.
  1. 1(2k−1)1(2k-1)
    First minor: delete row 1, column 1.
  2. −2(0⋅2−1⋅3)=+6-2(0\cdot2-1\cdot3)=+6
    Second minor, with the minus sign.
  3. +0(…)=0+0(\ldots)=0
    Third term vanishes.
  4. 2k+5=0⇒k=−522k+5=0\Rightarrow k=-\tfrac52
    Singular means determinant zero.
Answerk=−52k=-\frac52.
✓ CheckExpanding down column 1 instead: 1(2k−1)−0+3(2−0)=2k+51(2k-1)-0+3(2-0)=2k+5 ✓.

3. Inverses

The 2×22\times2 inverse
  1. (abcd)(d−b−ca)=(ad−bc00ad−bc)\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}=\begin{pmatrix}ad-bc&0\\0&ad-bc\end{pmatrix}
    Multiply out: off-diagonal terms cancel.
  2. =(ad−bc)I=(ad-bc)\mathbf I
    A multiple of the identity.
  3. A−1=1ad−bc(d−b−ca)\mathbf A^{-1}=\frac1{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}
    Divide by the determinant (only possible if it is non-zero).
(AB)−1=B−1A−1(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1}
  1. (AB)(B−1A−1)=A(BB−1)A−1(\mathbf{AB})(\mathbf B^{-1}\mathbf A^{-1})=\mathbf A(\mathbf{BB}^{-1})\mathbf A^{-1}
    Matrix multiplication is associative.
  2. =AIA−1=AA−1=I=\mathbf{AIA}^{-1}=\mathbf{AA}^{-1}=\mathbf I
    So B−1A−1\mathbf B^{-1}\mathbf A^{-1} undoes AB\mathbf{AB}.
Worked exampleSolving a system

Solve 3x+y=73x+y=7, 5x+2y=125x+2y=12.

Goal
x,yx,y.
Strategy
x=A−1b\mathbf x=\mathbf A^{-1}\mathbf b.
  1. A=(3152), det⁡A=1\mathbf A=\begin{pmatrix}3&1\\5&2\end{pmatrix},\ \det\mathbf A=1
    Coefficient matrix.
  2. A−1=(2−1−53)\mathbf A^{-1}=\begin{pmatrix}2&-1\\-5&3\end{pmatrix}
    Swap, negate, divide by 1.
  3. (xy)=(2−1−53)(712)=(21)\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}2&-1\\-5&3\end{pmatrix}\begin{pmatrix}7\\12\end{pmatrix}=\begin{pmatrix}2\\1\end{pmatrix}
    Multiply.
Answerx=2x=2, y=1y=1.
✓ Check6+1=76+1=7 ✓, 10+2=1210+2=12 ✓.
Three equations in three unknowns

The determinant decides first; consistency decides the rest.

Edge case3×3 inverses For 3×33\times3: A−1=1det⁡Aadj⁡A\mathbf A^{-1}=\frac1{\det\mathbf A}\operatorname{adj}\mathbf A, where the adjugate is the transposed matrix of cofactors. Calculators are allowed to find it on most papers, but show the determinant.
Pause and think

If det⁡A=0\det\mathbf A=0, can Ax=b\mathbf A\mathbf x=\mathbf b still have solutions?

Summary

  • Row by column; order matters.
  • det⁡\det = area/volume scale factor.
  • 2×22\times2 inverse: swap, negate, divide.
  • (AB)−1=B−1A−1(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1}; det⁡(AB)=det⁡Adet⁡B\det(\mathbf{AB})=\det\mathbf A\det\mathbf B.
Key words
Singular
Determinant zero; no inverse.
Identity
I\mathbf I: leaves every vector unchanged.
Cofactor
Signed minor used in determinants and inverses.
HistoryCayley and Sylvester. James Sylvester coined the word "matrix" (Latin for "womb") in 1850; Arthur Cayley defined matrix multiplication and inverses in 1858.
Fun factEvery 3D game. Each frame of a video game multiplies millions of position vectors by 4×44\times4 matrices to rotate, move and project the scene onto your screen.
Section 3 of 14

Key formulae

Determinant (2×2)det⁡(abcd)=ad−bc\det\begin{pmatrix}a&b\\c&d\end{pmatrix}=ad-bc
Inverse (2×2)(abcd)−1=1ad−bc(d−b−ca)\begin{pmatrix}a&b\\c&d\end{pmatrix}^{-1}=\frac1{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}
Determinant (3×3)det⁡A=a∣efhi∣−b∣dfgi∣+c∣degh∣\det\mathbf A=a\begin{vmatrix}e&f\\h&i\end{vmatrix}-b\begin{vmatrix}d&f\\g&i\end{vmatrix}+c\begin{vmatrix}d&e\\g&h\end{vmatrix}
Product rules(AB)−1=B−1A−1,det⁡(AB)=det⁡Adet⁡B(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1},\qquad\det(\mathbf{AB})=\det\mathbf A\det\mathbf B
TrickCheck with the identity. After finding A−1\mathbf A^{-1}, multiply one row of A\mathbf A by one column of your answer. You should get 1 or 0. It takes ten seconds and catches most sign slips.
Section 4 of 14

Worked examples

Example 1 · 2×2 inverse0 / 3 steps
Find the inverse of A=(3152)\mathbf A=\begin{pmatrix}3&1\\5&2\end{pmatrix}.
    Example 2 · Singular matrix0 / 2 steps
    Find kk such that (1200k1312)\begin{pmatrix}1&2&0\\0&k&1\\3&1&2\end{pmatrix} is singular.
      Section 5 of 14

      Explore the graph

      Determinant as an area scale factor
      Loading the interactive graph…
      Try this
      1. The unit square goes to the parallelogram with corners (0,0)(0,0), (a,c)(a,c), (b,d)(b,d), (a+b,c+d)(a+b,c+d). Its area is ∣ad−bc∣|ad-bc|.
      2. Make ad−bc=0ad-bc=0: the parallelogram flattens into a line, so no inverse can undo it.

      det⁡A\det\mathbf A is the factor by which areas are multiplied.

      In the real worldCryptography. The Hill cipher encodes blocks of letters by multiplying them by a matrix; the receiver decodes with the inverse matrix. If the determinant shares a factor with 26, the code can't be undone.
      Section 6 of 14

      Common mistakes

      IncorrectAB=BA\mathbf{AB}=\mathbf{BA}
      CorrectUsually AB≠BA\mathbf{AB}\neq\mathbf{BA}
      Order matters in matrix products.
      Incorrect(AB)−1=A−1B−1(\mathbf{AB})^{-1}=\mathbf A^{-1}\mathbf B^{-1}
      CorrectB−1A−1\mathbf B^{-1}\mathbf A^{-1}
      Undo the last operation first, like taking off socks then shoes.
      IncorrectIgnoring the minus sign on the middle cofactor
      CorrectSigns alternate +,−,++,-,+
      The middle term in the 3×3 expansion is subtracted.

      Me: AB = BA, obviously

      Matrices: we don't do that here.

      Section 7 of 14

      Exam tip

      Exam tipShow the determinant. Even when asked only for an inverse, write the determinant line: it earns a method mark and proves the matrix is non-singular.
      Section 8 of 14

      Guided practice

      SA-FP-MAT-G011 markL1 FoundationNon-calculatorDeterminants
      Find the determinant of (4325)\begin{pmatrix}4&3\\2&5\end{pmatrix}.

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      Section 9 of 14

      Practice questions

      SA-FP-MAT-0012 marksL2 StandardNon-calculatorOperations
      A=(1234)\mathbf A=\begin{pmatrix}1&2\\3&4\end{pmatrix}, B=(0152)\mathbf B=\begin{pmatrix}0&1\\5&2\end{pmatrix}. Find the bottom-left entry of AB\mathbf{AB}.

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      SA-FP-MAT-0022 marksL2 StandardNon-calculatorInverses
      A=(5273)\mathbf A=\begin{pmatrix}5&2\\7&3\end{pmatrix}. Find the top-right entry of A−1\mathbf A^{-1}.

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      SA-FP-MAT-0033 marksL3 ExamNon-calculatorDeterminants
      Find det⁡(210131012)\det\begin{pmatrix}2&1&0\\1&3&1\\0&1&2\end{pmatrix}.

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      SA-FP-MAT-0043 marksL3 ExamNon-calculatorDeterminants
      Find the value of kk for which (k23k−1)\begin{pmatrix}k&2\\3&k-1\end{pmatrix} is singular, given k>0k>0.

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      SA-FP-MAT-0053 marksL3 ExamNon-calculatorInverses
      Use an inverse matrix to solve 3x+y=73x+y=7, 5x+2y=125x+2y=12.

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme

      More questions on every skill in this subtopic are in the question bank under Practise.

      Section 10 of 14

      Challenge

      SA-FP-MAT-0063 marksL4 ChallengingNon-calculatorInverses
      det⁡A=4\det\mathbf A=4 and det⁡B=−3\det\mathbf B=-3 for 3×33\times3 matrices. Find det⁡((AB)−1)\det\left((\mathbf{AB})^{-1}\right).

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      Section 11 of 14

      Summary

      • Row-by-column multiplication; not commutative.
      • det⁡\det = area scale factor; zero means singular.
      • 2×22\times2 inverse: swap, negate, divide by det.
      • (AB)−1=B−1A−1(\mathbf{AB})^{-1}=\mathbf B^{-1}\mathbf A^{-1}.
      Section 12 of 14

      Quick quiz

      Q1 · SA-FP-MAT-Q011 markL1 FoundationNon-calculatorOperations
      A\mathbf A is 2×32\times3 and B\mathbf B is 3×43\times4. What is the order of AB\mathbf{AB}?
      Choose one option

      Sign in or create a free account to check answers, get hints and track your progress.

      Salam Academy Original Practice · Proposed mark scheme
      Section 13 of 14

      Same topic, different board

      Specification
      IAL Further Mathematics (YFM01) and A level Further Mathematics (9FM0)
      Where
      Core Pure · Matrices (IAL: WFM01 Matrix algebra)
      Expected
      Operations, determinants, inverses of 2×2 and 3×3 matrices, and solving three linear equations; geometric meaning of consistent and inconsistent systems.
      Calculator
      Permitted; show enough working to earn the method marks.
      Typical style
      Edexcel often opens with a routine part and builds to a "show that" or "prove" part.
      Open in
      YFM01 · WFM019FM0 · Paper 19FM0 · Paper 2
      Section 14 of 14

      Past paper questions

      No past paper questions are tagged to this subtopic yet. We add papers every week.

      Browse past papers

      Salam Academy original content · Content status: reviewed and published. Syllabus mapping: Pearson Edexcel YFM01, 2018 specification (official specification).