Is the Cube of matrix associative?

Click For Summary

Homework Help Overview

The discussion revolves around the properties of matrix multiplication, specifically focusing on the cube of a matrix and whether the order of multiplication affects the result. The context includes the application of these concepts to the harmonic oscillator in quantum mechanics.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore the associative property of matrix multiplication and question the implications of transposing matrices. There is a focus on the specific case of cubing a matrix and whether the order of multiplication affects the outcome.

Discussion Status

Some participants have expressed confusion regarding the results of their calculations, suggesting that they initially obtained different matrices when changing the order of multiplication. However, there appears to be a resolution as one participant confirms that the expressions are equivalent upon further examination.

Contextual Notes

Participants are working under the constraints of a homework assignment that requires direct matrix multiplication, with specific reference to the harmonic oscillator's expectation values. There is an emphasis on ensuring the correct application of matrix properties without using ladder operators.

TheMercury79
Messages
24
Reaction score
5
Homework Statement
I was wondering the same thing as the poster of this original thread:
https://www.physicsforums.com/threads/cubing-a-matrix.451979/

I have a matrix that needs to be cubed, so which order should I use:
[A]^3 = [A]^2[A] or [A][A]^2 ?
Relevant Equations
The two people that answered both say the order doesn't matter since
matrix multiplication is associative:

(A*A)*A=A*(A*A)
But I actually don't get the same matrix. What I get is the transpose of the other when I change the order

i.e when I do [A]^2[A] I get the transpose of [A][A]^2 and vice versa

What I'm trying to do is find the cube of the expectation value of x in the harmonic oscillator in matrix form.
We're supposed to use direct matrix multiplication (using ladder operators is in part b of the problem).
I seem to have got the correct matrix elements for x^2, but for x^3 the order of the multiplication does seem
to matter.
 
Physics news on Phys.org
TheMercury79 said:
Homework Statement:: I was wondering the same thing as the poster of this original thread:
https://www.physicsforums.com/threads/cubing-a-matrix.451979/

I have a matrix that needs to be cubed, so which order should I use:
[A]^3 = [A]^2[A] or [A][A]^2 ?
Relevant Equations:: The two people that answered both say the order doesn't matter since
matrix multiplication is associative:

(A*A)*A=A*(A*A)

But I actually don't get the same matrix.
Then you have made a mistake somewhere. Matrix multiplication is indeed associative and thus the order irrelevant.
 
  • Like
Likes   Reactions: TheMercury79
fresh_42 said:
Then you have made a mistake somewhere. Matrix multiplication is indeed associative and thus the order irrelevant.

Thanks. It turned out they are the same. I just ended up with different expressions on the transposes.
e.g (3/2)*sqrt(1/2) was transposed with sqrt(1/2)*(1+sqrt(1/2)), but these are equal so there was no problem
 
Transposing changes the order: ##(A\cdot B)^\tau=B^\tau \cdot A^\tau##, same does inversion: ##(A\cdot B)^{-1}=B^{-1} \cdot A^{-1}##.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
2
Views
2K
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K