All right, now let's check out matrix multiplication, as you can see here, there are two madrases.
Matrix is having elements one, two, three, four.
And Matrix B, having elements five, six, seven, eight, now, in case of matrix multiplication,
gays will always follow a rule that four matrix a V will always traverse the elements from left to right.
And for Matrix B, we will always travels through the elements from top to bottom.
That's why you can see everyone four steps, one, two, three and four, in that I have shown always
the direction for Matrix here from left to right and for Matrix B from top to bottom.
So in case of step one.
In case of Matrix, it Will Travers from left to right for the first row and for Matrix B.
Top to bottom first column.
Second step, Matrix eight, we will Travers from left to right, first rule.
Matrix B will travel from top to bottom second column.
Step three, matrix A, we will traverse from left to right.
Second row.
For Matrix B.
Top to bottom first column.
Fourth step matrix is left-to-right, second row.
Matrix be top to bottom second column.
So you've seen that with Matrix E, I'm always talking about rules for Matrix B. It's always columns
for Matrix E, I always travels from left to right.
For Matrix B, it's top to bottom.
Now let's see how matrix multiplication is done.
All right, so now let's multiply these two matrices and be.
One multiplied by five.
Plus two multiplied by seven.
One multiplied by six.
Plus two multiplied by eight.
Three multiplied by five.
Plus four multiplied by seven.
Three multiplied by six.
Plus four multiplied by eight.
And here you get the final output.
So this is how you do matrix multiplication.
And this stands true for N Dimensional Matrix as well.
That is just one timbrell case while doing the product of two madrases.
That is the number of columns of the left hand side of the Matrix should be equal to the number of rows
to the right hand side of the Matrix.
I hope it's clear now just.