Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Matrix Multiplication Explained with Rules and Applications

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

How to Multiply Matrices Step by Step with Formula Properties and Solved Examples

The concept of matrix multiplication plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios. Whether you're studying for boards or preparing for competitive exams like JEE, knowing how to multiply matrices accurately will make solving linear equations, transformations, and data calculations far easier.


What Is Matrix Multiplication?

Matrix multiplication is a special mathematical operation where two matrices are combined to produce a new matrix by multiplying rows of the first matrix with columns of the second. This process is guided by specific rules based on matrix size and order. You’ll find this concept applied in areas such as algebra, computer science, and physics.


Key Formula for Matrix Multiplication

Here’s the standard formula: If \( A \) is an \( m \times n \) matrix and \( B \) is an \( n \times p \) matrix, then their product \( AB \) is an \( m \times p \) matrix. Each entry in the product is found by:
\( (AB)_{ij} = \sum_{k=1}^{n} A_{ik} \times B_{kj} \)
This means: multiply elements across the row of the first matrix with the matching column of the second and add up the results.


Cross-Disciplinary Usage

Matrix multiplication is not only useful in Maths but also plays an important role in Physics, Computer Science, and daily logical reasoning. It can represent transformations, solve systems of equations, model population growth, and is fundamental for programming and algorithms. Students preparing for JEE, NEET, or CBSE boards will see its relevance in various questions — especially those involving vectors, transformations, and advanced algebra.


Rules and Conditions for Matrix Multiplication

Not all matrices can be multiplied. Remember these two simple rules:

  • The number of columns in the first matrix must equal the number of rows in the second matrix.
  • The order of the product matrix will be (Rows of first matrix) × (Columns of second matrix).

For example, you can multiply a 2×3 matrix with a 3×2 matrix, but not a 2×3 with a 2×2 matrix.


Step-by-Step Illustration

  1. Suppose:
    \( A = \begin{bmatrix} 3 & 5 \\ 1 & 4 \end{bmatrix} \), \( B = \begin{bmatrix} 2 & 6 \\ 7 & 1 \end{bmatrix} \)
  2. Multiply row 1 of A with column 1 of B:
    \( (3 \times 2) + (5 \times 7) = 6 + 35 = 41 \)
  3. Multiply row 1 of A with column 2 of B:
    \( (3 \times 6) + (5 \times 1) = 18 + 5 = 23 \)
  4. Multiply row 2 of A with column 1 of B:
    \( (1 \times 2) + (4 \times 7) = 2 + 28 = 30 \)
  5. Multiply row 2 of A with column 2 of B:
    \( (1 \times 6) + (4 \times 1) = 6 + 4 = 10 \)
  6. So, product matrix \( AB = \begin{bmatrix} 41 & 23 \\ 30 & 10 \end{bmatrix} \)

Common Types and Properties of Matrix Multiplication

Rule / Property Applies To
Associative Law: (AB)C = A(BC) All compatible matrices
Distributive Law: A(B+C) = AB + AC All compatible matrices
Matrix multiplication is not commutative: AB ≠ BA in general General, unless both matrices are square and commute
Multiplying by identity matrix: AI = IA = A A is any square matrix

Speed Trick or Vedic Shortcut

When practicing matrix multiplication, some patterns help save time, especially in MCQ-based exams:

  • If multiplying by an identity matrix, the result is the same matrix.
  • For diagonal or triangular matrices, you only need to multiply along the diagonals or in upper/lower triangle, reducing calculations.
  • Spotting zero-rows or columns helps quickly identify zero elements in the product.

Tricks like these are often covered in Vedantu’s live classes to build your speed and accuracy for board and competitive exams.


Try These Yourself

  • Multiply \( \begin{bmatrix}1 & 2 \\ 3 & 4\end{bmatrix} \) and \( \begin{bmatrix}0 & 1 \\ 1 & 0\end{bmatrix} \).
  • Can you multiply a 2×3 matrix by a 3×1 matrix? What will be the size of the result?
  • Solve: Multiply \( \begin{bmatrix}2 \\ -1\end{bmatrix} \) with \( \begin{bmatrix}4 & 7\end{bmatrix} \). What’s the order of the product?
  • What is the result if you multiply any matrix with a zero matrix?

Frequent Errors and Misunderstandings

  • Attempting to multiply two matrices without checking dimensional compatibility.
  • Adding, not multiplying, row and column elements.
  • Assuming AB = BA for all matrices (commutative property does not usually hold).
  • Miscalculating the order of the resulting matrix.

Relation to Other Concepts

The idea of matrix multiplication connects closely with topics such as matrix addition, matrix inverse, and determinants. Mastering matrix product operations helps you solve systems of linear equations, transformations, and even certain calculus problems.


Classroom Tip

A simple way to remember matrix multiplication: “Row of the first × Column of the second = Entry in the product.” Write small arrows linking each row to each column while practicing. Vedantu’s teachers often use colored highlighters or visual board animations for this in live classes.


We explored matrix multiplication—from its definition, formula, compatible orders, solved examples, shortcuts, and links to other areas of Maths. Continue practicing and review topics like matrices, types of matrices, and elementary operations to strengthen your understanding. The more you try, the easier and faster matrix multiplication becomes in both class and exams!


FAQs on Matrix Multiplication Explained with Rules and Applications

1. What is matrix multiplication?

Matrix multiplication is a method of multiplying two matrices to produce a new matrix by taking the dot product of rows and columns. In matrix multiplication, each entry of the resulting matrix is found by multiplying corresponding elements of a row from the first matrix with a column from the second matrix and adding the results.

  • If A is of order m × n and B is of order n × p, then AB is of order m × p.
  • The number of columns in the first matrix must equal the number of rows in the second matrix.

2. What is the formula for matrix multiplication?

The formula for matrix multiplication is (AB)ij = Σ AikBkj, where the summation runs over k. This means:

  • Take the i-th row of matrix A.
  • Take the j-th column of matrix B.
  • Multiply corresponding elements and add them together.
This formula defines each element of the product matrix AB.

3. How do you multiply two matrices step by step?

To multiply two matrices, multiply rows of the first matrix by columns of the second matrix and add the products. Steps:

  • Check that the number of columns in the first matrix equals the number of rows in the second.
  • Choose a row from the first matrix.
  • Choose a column from the second matrix.
  • Multiply corresponding entries and add them.
Example: If A = [[1, 2]] and B = [[3], [4]], then AB = [11] because 1×3 + 2×4 = 11.

4. When is matrix multiplication defined?

Matrix multiplication is defined only when the number of columns in the first matrix equals the number of rows in the second matrix. If A is m × n and B is n × p, then AB exists and the result is of order m × p. If these inner dimensions do not match, the product is not defined.

5. Is matrix multiplication commutative?

Matrix multiplication is not commutative, meaning in general AB ≠ BA. Even if both products exist, they may give different results. For example:

  • A = [[1, 0], [0, 1]]
  • B = [[2, 3], [4, 5]]
Here AB = BA, but for most matrices, changing the order changes the result or makes the product undefined.

6. What are the properties of matrix multiplication?

The main properties of matrix multiplication include associativity, distributivity, and the existence of an identity element. Key properties:

  • Associative: (AB)C = A(BC)
  • Distributive: A(B + C) = AB + AC
  • Identity: AI = IA = A
However, it is not commutative in general.

7. What is the identity matrix in matrix multiplication?

The identity matrix is a square matrix with 1s on the diagonal and 0s elsewhere that leaves a matrix unchanged when multiplied. For a 2 × 2 case, the identity matrix is [[1, 0], [0, 1]]. If A is any compatible matrix, then AI = IA = A.

8. Can you give an example of matrix multiplication?

Yes, an example of matrix multiplication is multiplying A = [[1, 2], [3, 4]] and B = [[5, 6], [7, 8]]. The product AB is calculated as:

  • First row: (1×5 + 2×7, 1×6 + 2×8) = (19, 22)
  • Second row: (3×5 + 4×7, 3×6 + 4×8) = (43, 50)
So, AB = [[19, 22], [43, 50]].

9. What is the difference between matrix multiplication and element-wise multiplication?

Matrix multiplication uses row-by-column dot products, while element-wise multiplication multiplies corresponding entries directly. In matrix multiplication, dimensions must follow the m × n and n × p rule. In element-wise multiplication (Hadamard product), both matrices must have the same order, and each entry is multiplied directly without summing.

10. What are common mistakes in matrix multiplication?

Common mistakes in matrix multiplication include ignoring dimension rules and multiplying elements incorrectly. Frequent errors:

  • Multiplying matrices when inner dimensions do not match.
  • Multiplying corresponding elements instead of using row-by-column dot products.
  • Assuming AB = BA.
  • Making arithmetic errors while adding products.
Always check matrix order and carefully compute each dot product.