Is matrixs multiplication random ?

Fixed the typo. In summary, when multiplying two matrices A and B, the resulting matrix C is found by taking each row of A and multiplying it with each column of B and adding the products. This is not a random process, but follows a logical pattern based on the properties of matrix multiplication.
  • #1
ManishR
88
0
lets assume matrix A = [a]mxn and B = nxp

[tex](AB)_{ij}=\sum_{r=1}^{n}A_{ir}B_{rj}[/tex]

why is that ?

i guessed it would be

[tex](AB)_{ij}=\sum_{r=1}^{n}A_{ir}B_{jr}[/tex] where m=p.

so is there any logic behind that or its just random ?
 
Mathematics news on Phys.org
  • #2
No, it isn't random. Look at a simple 2 x 2 example:

y1 = a11x1 + a12x2
y2 = a21x1 + a22x2

Now let
z1 = b11y1 + b12y2
z2 = b21y1 + b22xy2

You can write these both in matrix form y = Ax and z = By

Now solve for the z values in terms of the x values to write z = Cx.

You will see that C = BA given by the usual matrix multiplication. That is why matrices are multiplied the way they are.

[Edit] Fixed typo.
 
Last edited:
  • #3
You mean C=BA, not AB.
 
  • #4
LCKurtz said:
No, it isn't random. Look at a simple 2 x 2 example:

y1 = a11x1 + a12x2
y2 = a21x1 + a22x2

Now let
z1 = b11y1 + b12y2
z2 = b21y1 + b22xy2

You can write these both in matrix form y = Ax and z = By

Now solve for the z values in terms of the x values to write z = Cx.

You will see that C = AB given by the usual matrix multiplication. That is why matrices are multiplied the way they are.

You mean C=BA, not AB.
 
  • #5
takahashi_s said:
You mean C=BA, not AB.

Yes, of course, thanks.
 

Related to Is matrixs multiplication random ?

1. Is matrix multiplication a random process?

No, matrix multiplication is not a random process. It follows a specific set of rules and is determined by the values in the matrices being multiplied.

2. Can the result of matrix multiplication be predicted?

Yes, the result of matrix multiplication can be predicted using mathematical equations and algorithms.

3. Are there any patterns in matrix multiplication?

Yes, there are patterns in matrix multiplication. For example, the number of rows in the first matrix must match the number of columns in the second matrix in order for the multiplication to be possible.

4. Is matrix multiplication commutative?

No, matrix multiplication is not commutative. This means that the order in which the matrices are multiplied affects the result. In other words, AB is not necessarily equal to BA.

5. Why is matrix multiplication important in science and mathematics?

Matrix multiplication is important in science and mathematics because it is a fundamental operation that is used in various fields, such as physics, engineering, computer science, and economics. It allows us to solve systems of equations, represent transformations, and perform other calculations that are necessary for understanding and analyzing complex systems and data.

Similar threads

  • Linear and Abstract Algebra
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
9
Views
930
  • Linear and Abstract Algebra
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
995
Replies
1
Views
908
Replies
5
Views
538
Replies
2
Views
233
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Replies
7
Views
2K
Back
Top