Matrix Multiplication -- Commutivity versus Associativity

AI Thread Summary
Matrix multiplication is not commutative, meaning that AB does not necessarily equal BA, although there are specific cases where matrices can commute, such as with the identity matrix or an inverse matrix. The discussion emphasizes that while A^2.A^3 does not equal A^3.A^2, both expressions can be simplified to A^5 due to the associative property of matrix multiplication. Examples of commutative cases include scalars, which behave like 1x1 matrices. The conversation also touches on the concept of multiplicative inverses, clarifying that multiplying by an inverse is equivalent to division in mathematical groups. Overall, the key takeaway is the distinction between commutativity and associativity in matrix multiplication.
Crystal037
Messages
167
Reaction score
7
Homework Statement
If A is a square matrix, then A^2.A^3=A^3.A^2.
Is the above statement true or false????
Relevant Equations
A^2.A^3=A^3.A^2.
According to me matrix multiplication is not commutative. Therefore A^2.A^3=A^3.A^2 should be false. But at the same time matrix multiplication is associative so we can take whatever no. of A's we want to multiply i.e A^5=A.A^4 OR A^5=A^2.A^3
 
Physics news on Phys.org
GlassBones said:
According to me matrix multiplication is not commutative. Therefore A^2.A^3=A^3.A^2 should be false.

Matrix multiplication is not commutative which means AB is NOT NECESSARILY BA. That doesn't mean that they have to be unequal.

There are many cases where the matrices commute, such as this one. Another one is a matrix and its inverse. The definition of the inverse of ##A## is a matrix ##A^{-1}## such that ##A^{-1}A = A A^{-1} = I##. The product most definitely commutes, and in either order gives you the identity matrix.

Two additional trivial examples: the identity matrix, ##IA = AI = A## and the zero matrix ##0 A = A 0 = 0##.
 
  • Like
Likes Miles123K
I have tried for some matrices an even for general matric having elements a11,a12...
The result shows that the above statement is true
 
Crystal037 said:
I have tried for some matrices an even for general matric having elements a11,a12...
The result shows that the above statement is true
You cannot show a statement based on a couple of examples. The correct argumentation is using associativity as you outlined in the first post.
 
Crystal037 said:
I have tried for some matrices an even for general matric having elements a11,a12...
The result shows that the above statement is true

Sure, for the simple reason that both expressions are equal to ##A * A * A * A * A##, regardless of how ##A## is defined. And as you said, there's an associative property for matrices. So ##A^2 A^3 = A^3 A^2 = A A^4 = A A^3 A = \cdots##

By the way, remember that a scalar can be interpreted as a 1 x 1 matrix. And scalars definitely commute under multiplication. So ##ab = ba## is another example of "matrices" that commute under multiplication.
 
So to conclude any matrix A , A^n=A*A^(n-1)=A^2*A^(n-2)...=A^n-1*A.
 
Crystal037 said:
So to conclude any matrix A , A^n=A*A^(n-1)=A^2*A^(n-2)...=A^n-1*A.
Yes, and even further if the matrix is invertible:
$$
A^n = A^{n-k} A^k,
$$
where ##k## is any number in ##\mathbb Z## (including negative ones or ones larger than ##n##).
 
But what about matrices which are non-invertible. Please explain through an example
 
Crystal037 said:
But what about matrices which are non-invertible. Please explain through an example
Then all the exponents must be nonnegative, i.e. your list in post #6.
 
  • #10
Yes correct Also Is dividing a matrix A with B is same as multiplying A with additive inverse of B?
 
  • #11
Crystal037 said:
Yes correct Also Is dividing a matrix A with B is same as multiplying A with additive inverse of B?
Multiplicative inverse.
 
  • #12
yeah Yeah sorry multiplicative inverse
So is the above statement true for multiplicative inverse or simply inverse
 
  • #13
Crystal037 said:
yeah Yeah sorry multiplicative inverse
So is the above statement true for multiplicative inverse or simply inverse
Yes. In fact, multiplying by the multiplicative inverse is the definition of division in groups generally.
 

Similar threads

Replies
9
Views
2K
Replies
3
Views
2K
Replies
9
Views
2K
Replies
15
Views
2K
Replies
4
Views
2K
Replies
7
Views
2K
Back
Top