Explain why matrix multiplication is not commutative.

In summary, the conversation discusses the definition of matrix multiplication and the conditions in which it is defined for rectangular matrices. The product AB is defined only if the number of columns in A is equal to the number of rows in B, but the product BA may not be defined in all cases. The conversation also touches upon the topic of homework questions and requests to hold off further comments until it is determined if this is the case.
  • #1
xsgx
29
0
The title says it all.

Commutative* sorry
Mod note: fixed title.
 
Last edited by a moderator:
Mathematics news on Phys.org
  • #3
Let A = [aij] and B = [ajk] where j ≠ k, then AB is defined, but BA is not.

But consider the case where i = j = k, so that A = [ai] and B = [ai] are square matrices.

Then, take for example i = 2 and calculate AB and BA. What do you find?

Generally, AB ≠ BA, for all values of i. It just stems from the definition of matrix multiplication.
 
  • #4
Matrix multiplication is defined only for certain rectangular matrices A and B. The matrix product AB is defined only if the number of columns in A is equal to the number of rows in B. Assuming this condition is met, the product AB is defined, but the product BA may not be.
 
  • #5
h6ss and SteamKing,
Please hold off further comments until I can ascertain whether this is a homework question. If it is, it was posted in the wrong section with no efforts shown.
 

What is matrix multiplication?

Matrix multiplication is a mathematical operation that involves multiplying two matrices together to create a new matrix. It is commonly used in linear algebra and is an important tool in many scientific fields.

Why is matrix multiplication not commutative?

Matrix multiplication is not commutative because the order in which the matrices are multiplied matters. In other words, the product of two matrices A and B is not always equal to the product of B and A. This is because the dimensions of the matrices, as well as their values, affect the outcome of the multiplication.

Can you give an example of how matrix multiplication is not commutative?

Yes, consider two matrices A and B, where A is a 2x3 matrix and B is a 3x2 matrix. The product of A and B would result in a 2x2 matrix, while the product of B and A would result in a 3x3 matrix. Since the dimensions of the resulting matrices are different, the products are not equal, showing that matrix multiplication is not commutative.

What are some real-world applications of matrix multiplication?

Matrix multiplication has many practical applications, such as in computer graphics, data analysis, and image processing. It is also used in physics, engineering, and economics to model and solve complex systems.

Is there a way to make matrix multiplication commutative?

No, there is no way to make matrix multiplication commutative. The fundamental properties of matrices and the rules of matrix multiplication dictate that the order of multiplication cannot be changed. However, there are certain types of matrices, such as diagonal matrices, that do commute with each other.

Similar threads

Replies
15
Views
1K
  • General Math
Replies
8
Views
758
Replies
2
Views
995
  • Introductory Physics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
25
Views
975
  • Quantum Physics
Replies
9
Views
1K
Replies
6
Views
2K
Replies
4
Views
2K
  • Quantum Physics
Replies
1
Views
574
Back
Top