Download ArticleDownload 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. How.com.vn English: Step 1 Confirm that the matrices can be multiplied.
    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. How.com.vn English: Step 2 Mark the dimensions of the matrix product.
    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. How.com.vn English: Step 3 Find the first dot product.
    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. How.com.vn English: Step 4 Find the second dot product.
    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. How.com.vn English: Step 5 Find the remaining two dot products.
    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. How.com.vn English: Step 6 Confirm that all four of the dot-products are in the correct location in the matrix product.
    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?
    How.com.vn English: 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?
    How.com.vn English: 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?
    How.com.vn English: 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
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: 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 134,758 times.
      55 votes - 73%
      Co-authors: 18
      Updated: September 20, 2022
      Views: 134,758
      Categories: Linear Algebra
      Article SummaryX

      To multiply matrices, count the number of rows and columns in each matrix to make sure the 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 134,758 times.

      Reader Success Stories

      • How.com.vn English: 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?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement