Matrix X and Y Solutions for Equations XA=B and AY=B

  • Thread starter Thread starter Physicsissuef
  • Start date Start date
  • Tags Tags
    Matrix
AI Thread Summary
The discussion revolves around solving the matrix equations XA = B and AY = B for unknown matrices X and Y. It emphasizes that matrix multiplication is non-commutative, which affects how one can manipulate these equations. The correct approach involves pre-multiplying by the inverse of matrix A to isolate X and Y, leading to the formulas X = B * A^-1 and Y = A^-1 * B. Participants clarify the importance of maintaining the order of multiplication and provide guidance on how to manipulate the equations correctly. The conversation highlights the necessity of understanding matrix properties to solve such equations effectively.
Physicsissuef
Messages
908
Reaction score
0

Homework Statement



I have two 3x3 matrices A and B

and my problem is to find XA=B and AY=B

Isn't XA=B and AY=B

Homework Equations





The Attempt at a Solution



X=A^-^1 B

Y=A^-^1 B

or I am wrong?
 
Physics news on Phys.org
remember that matrix multiplication is non-commutative

so yes you are wrong on the X=A^-^1 B, if XA=B
 
malawi_glenn said:
remember that matrix multiplication is non-commutative

so yes you are wrong on the X=A^-^1 B, if XA=B

Can you tell me please, what is the correct formula?
 
You can pre- or post-multiply a matrix equality by a matrix to yield another matrix equality: If A=B then CA = CB and AD = BD for all matrices C, D of the correct dimensionality. Use this plus the fact that matrix multiplication is associative to find a form that eliminates the matrix A from XA=B.
 
D H said:
You can pre- or post-multiply a matrix equality by a matrix to yield another matrix equality: If A=B then CA = CB and AD = BD for all matrices C, D of the correct dimensionality. Use this plus the fact that matrix multiplication is associative to find a form that eliminates the matrix A from XA=B.

Sorry, but I don't understand what you want to say... Can you please write what equals X, and what equals Y?

X= ??<br /> Y=??
 
Why don't you write out XA = AY, compare the entries and figure out what X and Y could be.
 
We don't give answers here for free!

You must multiply matrices from the correct order!

Take this for example:

XA=B

How would you do to eliminate X ? By multiplying inv(A) from the left?:
Then you'll get:

inv(A)XA = inv(A)B

And that is NOT you want right? So how would you do it?
 
You can multiply from both sides in matrix:
If you have
A=B
Then you can have
CA = CB
OR
AC = BC

The C can come in on the right or left. But you have to keep track.
 
So X=inv(a)B
and inv(a)AY=inv(a)B , so Y=inv(a)B

hm...
 
  • #10
Well the Y is correct, but not the X, try again

you have:

XA=B
 
  • #11
XA=B

inv(x)XA=inv(x)B

A=inv(x)B ??
 
  • #12
well yes, but you want to solve for X right?

Read post #8, by K.J.Healey (T, 19:38)
 
  • #13
You are supposed to be solving for X, not A. Why are you insisting on multiplying on the left? XA has two sides (left and right), and so does B.
 
  • #14
XA=B

XA(inv (a))=B(inv (a))

X=B(inv(a))

like this?
 
  • #15
yes! Good job :-)
 
  • #16
Thank you very much, guys. I love youuuu... :smile:
 
  • #17
Hi all,

Pardon me for digging up this old thread, but it is related to what I am asking.
Is there some matrix manipulation that transforms equation of type xA = B into A'x' = B'? in other words, transform Unknown.KNOWN = KNOWN into KNOWN.Unknown = KNOWN.
Thanks a bunch!
 

Similar threads

Replies
3
Views
2K
Replies
7
Views
3K
Replies
69
Views
8K
Replies
19
Views
2K
Replies
26
Views
653
Back
Top