Skip to main content
Search IntMath

Multiplying matrices

By Murray Bourne, 07 Feb 2011

A lot of students get mixed up when trying to multiply 2 matrices.

They either cannot follow the procedure, or get lost with the mental multiplication and addition steps (or lose track of what they are doing in their calculator).

Considering there are 27 multiplications and 18 additions (45 operations in all) for a basic 3×3 times 3×3 matrix multiplication, it's probably not that surprising.

I wrote an interactive applet that demonstrates matrix multiplication with animations. It allows the user to choose different matrix sizes and then see how they are added, subtracted or multiplied (including by a scalar). Different random numbers are used for each example.

You can find the applet here: Add, Subtract and Multiply matrices interactive.

Other help

Here's a matrix multiplication explanation page. You can choose a few different sized matrices to get an idea what happens in those cases.

You can find it here: Multiplying matrices - examples.

The script is PHP and the output uses tables, not images. This gives the quickest and cleanest output for mobile devices.

Of course (and I can't help myself here), it would be better to get students to use a computer to multiply matrices, rather than churn their way through hundreds of calculation steps, and still have no idea why. My explanation page still has a place though - we still need to know the concept of matrix multiplication!

Any suggestions or comments?

See the 2 Comments below.

2 Comments on “Multiplying matrices”

  1. raji says:

    gussian elimination. equation solver i need more explanation about it.

  2. Murray says:

    Hello Raji

    This link is in the post:

    This may help, too:

Leave a comment

Comment Preview

HTML: You can use simple tags like <b>, <a href="...">, etc.

To enter math, you can can either:

  1. Use simple calculator-like input in the following format (surround your math in backticks, or qq on tablet or phone):
    `a^2 = sqrt(b^2 + c^2)`
    (See more on ASCIIMath syntax); or
  2. Use simple LaTeX in the following format. Surround your math with \( and \).
    \( \int g dx = \sqrt{\frac{a}{b}} \)
    (This is standard simple LaTeX.)

NOTE: You can mix both types of math entry in your comment.


Tips, tricks, lessons, and tutoring to help reduce test anxiety and move to the top of the class.