Operations with Matrices (DP IB Applications & Interpretation (AI): HL): Revision Note

Naomi C

Written by: Naomi C

Reviewed by: Dan Finlay

Updated on

Matrix addition & subtraction

How is addition and subtraction performed with matrices?

  • Two matrices of the same order can be added or subtracted

  • Only corresponding elements of the two matrices are added or subtracted

    • A±B=(aij)±(bij)=(aij±bij)

      • e.g. (1021)+(2131)=(3150)

  • The resultant matrix is of the same order as the original matrices being added or subtracted

What are the properties of matrix addition?

  • Addition is commutative

    • A+B=B+A

  • Addition is associative

    • A+(B+C)=(A+B)+C

  • The zero matrix is the additive identity

    • A+O=A for all matrices A

  • Subtraction is the inverse of addition

    • OA=A

    • AB=A+(B)

Examiner Tips and Tricks

Make sure that you know how to add and subtract matrices on your GDC for speed or for checking work in an exam!

Worked Example

Consider the matrices A=(427315)B=(265923).

a) Find A+B.

Answer:

1-7-2-ib-ai-hl-operations-with-matrices-we-1a-solution

b) Find AB.

Answer:

1-7-2-ib-ai-hl-operations-with-matrices-we-1b-solution

Matrix multiplication

How do I multiply a matrix by a scalar?

  • Multiply each element in the matrix by the scalar value

    • kA=(kaij)

      • e.g. 3(201213)=(603639)

  • The resultant matrix is of the same order as the original matrix

  • Multiplication by a negative scalar changes the sign of each element in the matrix

How do I multiply a matrix by another matrix?

  • You can only multiply two matrices if their orders are compatible

    • A×B only exists if the number of columns in A is equal to the number of rows in B

  • If the order of A is m×n and the order of B is n×p then the order of A×B is m×p

  • To find the element of A×Bin the row i and the column j

    • multiply each element in the row iof matrix Awith the corresponding element in the column j of matrix B

    • find the sum of the products

      • e.g. If A=[abcdef]B=[ghijkl]

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

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

Examiner Tips and Tricks

You might have used a grid to multiply numbers or expand brackets. You can set out matrix multiplication similarly to make it clear which elements need to get multiplied together.

×(abcdef)(123456)(····)

What are the properties of matrix multiplication?

  • Multiplication is not commutative

    • In general ABBA

    • Order matters

  • Multiplication is associative

    • A(BC)=(AB)C

  • Multiplication is distributive with addition

    • A(B+C)=AB+AC

    • (A+B)C=AC+BC

  • The identity matrix is the multiplicative identity

    • AI=IA=A

  • Any product involving a zero matrix results in a zero matrix

    • AO=OA=O

    • The converse is not true

      • i.e. if A×B=0 then it is possible that both A and B are non-zero

  • Powers of square matrices are repeated multiplication

    • A2=AA

    • A3=AAA

    • etc

Examiner Tips and Tricks

Matrix multiplication works very similarly to multiplication of real numbers. However, be careful with the order. Some results do not work with matrices because of this.

For example, (A+B)2=A2+AB+BA+B2 with might be different to A2+2AB+B2.

Worked Example

Consider the matrices A=[425381122] and B=[512597] .

a) Find AB.

Answer:

1-7-2-ib-ai-hl-operations-with-matrices-we-2a-solution

b) Explain why you cannot find BA.

Answer:

1-7-2-ib-ai-hl-operations-with-matrices-we-2b-solution

c) Find A2.

Answer:

rn-1-7-matrices

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

Naomi C

Author: Naomi C

Expertise: Maths Content Creator

Naomi graduated from Durham University in 2007 with a Masters degree in Civil Engineering. She has taught Mathematics in the UK, Malaysia and Switzerland covering GCSE, IGCSE, A-Level and IB. She particularly enjoys applying Mathematics to real life and endeavours to bring creativity to the content she creates.

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.