Is matrixs multiplication random ?

  • Context: Undergrad 
  • Thread starter Thread starter ManishR
  • Start date Start date
  • Tags Tags
    Multiplication Random
Click For Summary

Discussion Overview

The discussion centers on the logic behind matrix multiplication, specifically questioning whether the method of multiplying matrices is arbitrary or has a rationale. It involves theoretical aspects of linear algebra and the properties of matrix operations.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents a formula for matrix multiplication and questions its logic, suggesting an alternative formulation.
  • Another participant argues against the idea that matrix multiplication is random, providing a 2x2 example to illustrate how the operation can be understood in terms of linear transformations.
  • A third participant points out a potential error in the notation regarding the order of multiplication, suggesting that the correct relationship is C=BA rather than C=AB.
  • A later reply acknowledges the correction about the notation but does not resolve the underlying question about the logic of matrix multiplication.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether the method of matrix multiplication is logical or arbitrary. There are competing views regarding the correct formulation of the multiplication order.

Contextual Notes

There are unresolved questions about the assumptions underlying the proposed formulations and the implications of the order of multiplication in matrix operations.

ManishR
Messages
88
Reaction score
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 ?
 
Physics news on Phys.org
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:
You mean C=BA, not AB.
 
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.
 
takahashi_s said:
You mean C=BA, not AB.

Yes, of course, thanks.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K