Multiplying Matrices (Edexcel International A Level (IAL) Further Maths: Further Pure 1): Revision Note

Exam code: YFM01

Mark Curtis

Written by: Mark Curtis

Reviewed by: Dan Finlay

Updated on

Multiplying Matrices

How do I multiply a 2x2 matrix by a 2x1 matrix?

  • Multiply the corresponding elements in the row of the first matrix with the corresponding elements in the column of the second matrix, writing their sum in the answer matrix

  • The answer will be a 2 × 1 matrix

    • (abcd)(xy)=(ax+bycx+dy)

  • (1234)(1020)=(1×10+2×203×10+4×20)=(10+4030+80)=(50110)

How do I multiply a 2x2 matrix by another 2x2 matrix?

  • Multiply the corresponding elements in the row of the first matrix with the corresponding elements in the column of the second matrix, writing their sum in the answer matrix 

  • The answer will be a 2 × 2 matrix

    • (abcd)(ABCD)=(aA+bCaB+bDcA+dCcB+dD)

  • (1234)(5102025)=(1×5+2×201×10+2×253×5+4×203×10+4×25)=(5+4010+5015+8030+100)=(456095130)

  • This process becomes more natural the more times you do it!

How do I square a matrix?

  • Do not square each individual element inside the matrix

  • Write out a matrix multiplication

    • If P=(2413) then P2=P×P=(2413)(2413)=(2×2+4×12×4+4×(3)1×2+(3)×11×4+(3)×(3))=(84113)

  • It is possible to have negative elements in a squared matrix

How do I multiply matrices of any dimensions?

  • To multiply a matrix by another matrix:

    • The number of columns in the first matrix must be equal to the number of rows in the second matrix

    • For example, the first matrix is m×n and the second matrix is n×p

    • The order of the resultant matrix will be m×p

  • Multiply corresponding elements in the row of the first matrix with the corresponding elements in the column of the second matrix

    • Place their sums in the resultant matrix

      • For example, if A=(abcdef)B=(ghijkl)

      • then AB=((ag+bi+ck)(ah+bj+cl)(dg+ei+fk)(dh+ej+fl)) 

      • whereas BA=((ga+hd)(gb+he)(gc+hf)(ia+jd)(ib+je)(ic+jf)(ka+ld)(kb+le)(kc+lf))

  • It is possible for AB to exist but BA not to exist

    • For square matrices of the same order, AB and BA will both exist

What does commutative mean?

  • Commutative means "swapping the order doesn't change the result"

    • 5 × 4 = 4 × 5 and 3 + 2 = 2 + 3

      • Multiplication and addition of numbers are commutative

    • 4 ÷ 2 ≠ 2 ÷ 4 and 5 - 3 ≠ 3 - 5

      • Division and subtraction of numbers are not commutative

  • However, matrix multiplication is not commutative

    • In general ABBA

  • For example, (1234)(0151)=(103207) but (0151)(1234)=(34814)

What does associative mean?

  • Associative means "it doesn't matter which order you group operations into"

    • To do 5 + 4 + 3, either (5 + 4) + 3 or 5 + (4 + 3) works

    • To do 8 × 9 × 10, either (8 × 9) × 10 or 8 × (9 × 10) works 

      • Multiplication and addition of numbers are associative

    • (8 ÷ 4) ÷ 2 ≠ 8 ÷ (4 ÷ 2) and (5 - 4) - 3 ≠ 5 - (4 - 3)

      • Division and subtraction of numbers are not associative

  • Matrix multiplication is associative

    • (AB)CA(BC)

  • To multiply three matrices together, it is fine to either:

    • start by multiplying the first two together,

    • or start by multiplying the second two together

      • Just don't switch the order

      • A(BC) is not the same as (BC)A

Worked Example

If P=(3120)Q=(5542) and R=(1014805), find the following:

(a) PQ 

Write out PQ in full

(3120)×(5542)

Multiply the matrices

((3×5 + 1×4)(3×5 + 1×2)(2×5 + 0×4)(2×5 + 0×2))=((15 + 4)(15 + 2)(10 + 0)(10 + 0))

Simplify

PQ=(19131010)

(b) PR

Write out PR in full

(3120)×(1014805)

The order (dimensions) agree, as P has 2 columns and R has 2 rows
Multiply the matrices

((3×10 + 1×8)(3×1 + 1×0)(3×4 + 1×5)(2×10 + 0×8)(2×1 + 0×0)(2×4 + 0×5))

Simplify

PR=(383172028)

(c) Q2

Write out Q2 as Q×Q

(5542)×(5542)

Multiply the matrices

((5×5 + 5×4)(5×5 + 5×2)(4×5 + 2×4)(4×5 + 2×2))=((25 + 20)(25 + 10)(20 + 8)(20 + 4))

Simplify

Q2=(5352816)

(d) Explain why the matrix RP does not exist.

An m×n matrix can only be multiplied by an n×p matrix

The order (dimensions) do not agree, as R has 3 columns but P has 2 rows

The Identity Matrix

What is the Identity Matrix?

  • The identity matrix, I, is a square matrix with:

    • Ones along the leading diagonal (from top-left to bottom-right)

    • and zeros everywhere else

      • The 2 × 2 identity matrix is I=(1001)

      • The 3 × 3 identity matrix is I=(100010001)

    • The notation In can be used to specify the n×n identity matrix

  • Multiplying any square matrix by the same-sized identity matrix leaves it unchanged

    • Both AI=A and IA=A

    • (abcd)(1001)=(abcd) and (1001)(abcd)=(abcd)

      • This result can be proved by multiplying together the matrices

Examiner Tips and Tricks

The identity matrix is an important matrix which you should know or recognise as I in a question.

Worked Example

If A=(0220) show that A2=4I.

Write out A2 as A×A

(0220)×(0220)

Multiply the matrices

(0220)×(0220)=((0×0 + 2×2)(0×2 + 2×0)(2×0 + 0×2)(2×2 + 0×0))=(4004)

Write in terms of the identity matrix, I=(1001) by factorising out 4

(4004)=4(1001)=4I

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Mark Curtis

Author: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.