Is Matrix Multiplication Commutative?

  • Thread starter Thread starter Peter G.
  • Start date Start date
  • Tags Tags
    Inverse Matrices
AI Thread Summary
Matrix multiplication is not commutative, which is a crucial point in solving the equation APB = C for P. The user attempted to find P by multiplying both sides by the inverse of (A*B), leading to a discrepancy between their calculated answer and the book's answer. The user's computed values for P were 1.85, 1.95, 2.85, and 2.95, while the book provided different values of 1.6, 1.8, 2.9, and 3.2. To correctly solve for P, it is suggested to multiply by the inverses of A and B in the proper order.
Peter G.
Messages
439
Reaction score
0
Hi :smile:

I don't really know how to post a matrix here so I will try and make it as clear as possible.

Matrix A: 4 -1
2 3

Matrix B: 6 4
-5 -3

Matrix C: 1 2
3 4

We are given that APB = C and we are asked for P

What I did was I multiplied both sides by the inverse of (A*B), hence:

P = (A*B)-1 * C

I got a different answer than the book however, could anyone check?

My answer:
1.85 1.95
2.85 2.95

Book:

1.6 1.8
2.9 3.2

Thanks,
Peter G.
 
Physics news on Phys.org
Peter G. said:
Hi :smile:

I don't really know how to post a matrix here so I will try and make it as clear as possible.

Matrix A: 4 -1
2 3

Matrix B: 6 4
-5 -3

Matrix C: 1 2
3 4

We are given that APB = C and we are asked for P

What I did was I multiplied both sides by the inverse of (A*B), hence:

P = (A*B)-1 * C

I got a different answer than the book however, could anyone check?

My answer:
1.85 1.95
2.85 2.95

Book:

1.6 1.8
2.9 3.2

Thanks,
Peter G.
Hi Peter,

Matrix multiplication is not commutative!

Multiply on the left by A-1 and on the right by B-1.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top