PDF download Download Article PDF download Download Article

A matrix is a rectangular arrangement of numbers, symbols, or expressions in rows and columns. To multiply matrices, you'll need to multiply the elements (or numbers) in the row of the first matrix by the elements in the rows of the second matrix and add their products. You can multiply matrices in just a few easy steps that require addition, multiplication, and the proper placement of the results.

  1. You can only multiply matrices if the number of columns of the first matrix is equal to the number of rows in the second matrix.[1]
    • These matrices can be multiplied because the first matrix, Matrix A, has 3 columns, while the second matrix, Matrix B, has 3 rows.
  2. Create a new blank matrix that will mark the dimensions of the matrix product, the product of the two matrices. The matrix that represents the product of Matrix A and Matrix B will have the same number of rows as the first matrix and the same number of columns as the second matrix. You can draw blank boxes to indicate the number of rows and columns in this matrix.[2]
    • Matrix A has 2 rows, so the matrix product will have 2 rows.
    • Matrix B has 2 columns, so the matrix product will have 2 columns.
    • The matrix product will have 2 rows and 2 columns.
    Advertisement
  3. To find a dot product, you need to multiply the first element in the first row by the first element of the first column, the second element of the first row by the second element of the first column, and the third element in the first row by the third element in the first column. Then, add their products to find the dot product.[3] Let's say you've decided to solve for the element in the 2nd row and 2nd column (bottom right) of the matrix product first. Here's how you do it:[4]
    • 6 x -5 = -30
    • 1 x 0 = 0
    • -2 x 2 = -4
    • -30 + 0 + (-4) = -34
    • The dot product is -34 and it belongs on the bottom right of the matrix product.
      • When you multiply matrices, the dot product will go in the position of the row of the first Matrix and the column of the second matrix.[5] For example, when you found the dot product of the bottom row of Matrix A and the right column of Matrix B, the answer, -34, went in the bottom row and right column of the matrix product.
  4. Let's say you want to find the term on the bottom left of the matrix product. To find this term, you simply have to multiply the elements on the bottom row of the first matrix with the elements in the first column of the second matrix and then add them up. Use the same method you used to multiply the first row and column -- find the dot product again.[6]
    • 6 x 4 = 24
    • 1 x (-3) = -3
    • (-2) x 1 = -2
    • 24 + (-3) + (-2) = 19
    • The dot product is -19 and it belongs on the bottom left of the matrix product.
  5. To find the term on the top left of the matrix product, start by finding the dot product of the top row of Matrix A and the left column of Matrix B.[7] Here's how you do it:
    • 2 x 4 = 8
    • 3 x (-3) = -9
    • (-1) x 1 = -1
    • 8 + (-9) + (-1) = -2
    • The dot product is -2 and it belongs on the top left of the matrix product.
      • To find the term on the top right of the matrix product, just find the dot product of the top row of Matrix A and the right column of Matrix B. Here's how you do it:
    • 2 x (-5) = -10
    • 3 x 0 = 0
    • (-1) x 2 = -2
    • -10 + 0 + (-2) = -12
    • The dot product is -12 and it belongs on the top right of the matrix product.
  6. 19 should be in the bottom left, -34 should be on the bottom right, -2 should be on the top left, and -12 should be on the top right.[8]
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I find the inverse with my final answer?
    Danoyachtcapt
    Danoyachtcapt
    Top Answerer
    This article should be helpful: how to find the inverse of a function.
  • Question
    How do I multiply a 2x1 matrix with a 2x2 matrix?
    Pimemorized
    Pimemorized
    Top Answerer
    You cannot multiply a 2x1 matrix with a 2x2 matrix together. To multiply two matrices together, the first matrix's columns and the second matrix's rows have to be the same. In this case, the first matrix only has 1 column, whereas the second one has two rows.
  • Question
    How do I multiply a 1×3 matrix by a 3×1 matrix?
    I_l1ke_gam3s
    I_l1ke_gam3s
    Community Answer
    Use the dot product shown in the article above. (Note: You cannot switch the order and get the same answer, as matrix multiplication isn't commutative.)
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • Write out your sums. Multiplying matrices involves a lot of calculations and it is very easy to get distracted and lose track of which numbers you are multiplying.
  • Using line segments instead of lines may result in wrong answers. If the line representing a row needs extending to cross a column then extend it! This is just a visualisation technique to make it easier to work out which row and column should be used to work out each element of the product.
  • The product of the two matrices should have the same number of rows as first matrix and the same number of columns as the second matrix.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Calculate Series and Parallel ResistanceCalculate Series and Parallel Resistance
Determine Whether Two Variables Are Directly ProportionalDetermine Whether Two Variables Are Directly Proportional
Plot the Mandelbrot Set By HandPlotting the Mandelbrot Set by Hand: A Simple How-To Guide
Find the Inverse of a 3x3 MatrixFind the Inverse of a 3x3 Matrix
Find the Null Space of a MatrixFind the Null Space of a Matrix
Reduce a Matrix to Row Echelon FormReduce a Matrix to Row Echelon Form
Divide MatricesDivide Matrices
Solve MatricesSolve Matrices
Find the Determinant of a 3X3 MatrixFind the Determinant of a 3X3 Matrix
Diagonalize a Matrix Diagonalize a Matrix: A Quick Linear Algebra Guide
Transpose a MatrixA Beginner's Guide to Transposing Matrices (with Examples)
Understand the Basics of MatricesUnderstand the Basics of Matrices
Find Eigenvalues and EigenvectorsFind Eigenvalues and Eigenvectors
Solve a 2x3 MatrixSolve a 2x3 Matrix
Advertisement

About This Article

Joseph Meyer
Reviewed by:
Math Teacher
This article was reviewed by Joseph Meyer. Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University. This article has been viewed 139,652 times.
55 votes - 73%
Co-authors: 18
Updated: September 20, 2022
Views: 139,652
Categories: Linear Algebra
Article SummaryX

To multiply matrices, count the number of rows and columns in each matrix to make sure the number of columns in matrix A is equal to the number of rows in matrix B. Then, draw a new matrix that has the same number of rows as matrix A and the same number of columns as matrix B. Find the dot products of the two matrices to fill in your new matrix by multiplying and adding the various numbers in the rows and columns. Continue finding dot products until your new matrix is completely filled. If you want to learn more, like how to organize your dot products in the new matrix, keep reading the article!

Did this summary help you?

Thanks to all authors for creating a page that has been read 139,652 times.

Reader Success Stories

  • Alaska Khan

    Alaska Khan

    Mar 14, 2017

    "I had no idea how to multiply matrices. This helped me a lot."
Share your story

Did this article help you?

Advertisement