
Autor: 06.02.2024
How to Multiply Matrices?
In this article, we will discuss the method of matrix multiplication. We will show the formula for multiplication and analyze the multiplication process step by step. We assume that the reader has a basic knowledge of matrices.
Matrix Multiplication - Formula and Rules
We will focus on the multiplication of two 2x2 matrices. Multiplication involves calculating the products of the corresponding elements of these matrices and summing up the results.
We have matrices A and B:

The result of the multiplication should be matrix C:

The general formula for multiplying matrices A and B looks as follows:

In the first step: we calculate the sum of the products of the elements from the first row of matrix A and the first column of matrix B.
In the second step: we calculate the sum of the products of the elements from the first row of matrix A and the second column of matrix B.
In the third step: In the third step: we calculate the sum of the products of the elements from the second row of matrix A and the first column of matrix B.
In the fourth step: we calculate the sum of the products of the elements from the second row of matrix A and the second column of matrix B.
Practical Example
Look at how matrix multiplication works in a practical example:

Now everything should be clear - we applied the formula we just learned, and multiplied two matrices.