How do I multiply 2 matrices?

To multiply two matrices we need to name them A and B.

If for example we have 2 2X2 square matrices we know this will create a 3rd 2x2 martix

For this example we will use :

A:

2 -1 

3 4 

and B:

5 0

 -2 -2

To multiply these we complete this table:

(1st row of A X 1st column B) |  (1st row A X 2nd column B)

---------------------------------------------------------------------------------------

(2nd row A X 1st column B )| (2nd row A X 2nd     column B)

this therefore gives us :

(2X5)+(-1X-2) | (2X0)+(-1X-3)

-------------------------------------------

(3X5)+(4X2) |  (3X0)+(4X-3)

resulting in the matrix AB= 

12  3

7  -12

if you have trouble with this its easy to remmeber, multiply the rows by the columns

by doing this you can tell what order a matrix will come out as for example

a 2X2 matrix multiplied by a 2X1 matrix will give a 2X1 matrix as you are multiplying the rows of the first by the columns of the second. 

Hope this helped, feel free to ask any questions for futher clarification 

CR
Answered by Ciara R. Maths tutor

15656 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

I'm supposed to calculate the differential of f(x)= sin(x)*ln(x)*(x-4)^2 using the product rule. I know what the product rule is but I can't split this into two bits that are easy to differentiate. How do I do it?


Find the Total Area between the curve x^3 -3x^2 +2x and the x-axis, when 0 ≤ x ≤ 2.


Find the derivative of sinx, use that to find the derivative of xsinx


Find the tangent and normal to the curve y=(4-x)(x+2) at the point (2, 8)


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning