Finding a transformation between two matrices

Click For Summary

Discussion Overview

The discussion revolves around finding a transformation between two matrices, specifically how to determine the matrix that relates them, given two matrices A and B. The scope includes theoretical aspects of matrix equivalence, transformations, and numerical methods for finding solutions.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • One participant asks how to find the transformation linking two matrices, assuming they are connected by some transformation.
  • Another participant states that if two matrices are equivalent (A = P^{-1}BP), they share the same eigenvalues, and the transformation matrix P changes the basis of the corresponding eigenvectors.
  • A different viewpoint suggests that the original question may be more general, inquiring how to find a matrix C such that AC = B when A and B are not necessarily equivalent.
  • It is noted that in general, one cannot find such a matrix C if A is not square, with a counterexample provided (A = 0 and B ≠ 0).
  • A numerical approach is proposed involving singular value decomposition (SVD) to find C, with conditions on the singular values affecting the existence of a solution.
  • A participant acknowledges a mistake in their previous post, indicating a collaborative atmosphere where participants correct each other.

Areas of Agreement / Disagreement

Participants express differing views on the conditions under which a transformation can be found between two matrices. There is no consensus on the general case, as some argue it is not possible while others provide methods for specific scenarios.

Contextual Notes

Limitations include the dependence on the properties of matrices A and B, particularly regarding their dimensions and whether they are square or not. The discussion also highlights the challenges in finding solutions when singular values are zero.

Who May Find This Useful

Readers interested in linear algebra, matrix theory, or numerical methods for solving matrix equations may find this discussion relevant.

epsi00
Messages
84
Reaction score
0
How do we go about finding the transformation that was used to go from one matrix to another ( provided of course that the two are linked by a transformation) in general if all we have is two matrices.
 
Physics news on Phys.org
IF two matrices are equivalent, that is, A= P^{-1}BP or, equivalently PA= BP, for some matrix P, then they have the same eigenvalues and the corresponding eigenvectors correspond to the same vectors written in different bases. P is the matrix giving the transformation from one basis to another.
 
HallsofIvy answered the question for the specific case that the two matrices are equivalent, and is probably what epsi00 is looking for. If so, read no further.

However, could it be that epsi00 is asking a more general and basic question, that is, given an n x m matrix A and a n x p matrix B such that A and B are not necessarily equivalent, how does one find the m x p matrix C such that AC = B? That is, how to find C = A-1B?
 
nomadreid said:
However, could it be that epsi00 is asking a more general and basic question, that is, given an n x m matrix A and a n x p matrix B such that A and B are not necessarily equivalent, how does one find the m x p matrix C such that AC = B? That is, how to find C = A-1B?

In general, you can't. An obvious counterexample is if A = 0 and B ≠ 0.

Also your notation of A-1 does't mean anything if A is not square.

A good way to do it numerically would be find the singular value decomposition of ##A = U \Sigma V^T## and then ##C = V \Sigma^{-1} U^T B##. That works for rectangular as well as square matrices. If some of the singular values are zero, there will not be a solution for an arbitrary matrix C, but you can find a least-squares solution that minimizes ||AC-B||. If the minimum is zero for a particular matrix C, the least-squares solution is exact.
 
AlephZero: oops, right. I should get more sleep before posting. Thanks.
 

Similar threads

Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K