Is it possible to design this?

  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Design
AI Thread Summary
The discussion centers on the feasibility of designing a matrix P that satisfies the equation P^TQP = Q^T for any N-by-N matrix Q. Participants express skepticism about the general possibility of this condition being met, suggesting that counterexamples should be explored, particularly with simple cases like Q=[[0,1],[0,0]]. The conversation reveals that if Q is Hermitian, it does not aid in finding a suitable P, as demonstrated through various mathematical arguments and examples. Ultimately, the consensus is that such a matrix P likely does not exist, especially when considering specific forms of Q. The exploration of this topic highlights the complexity of matrix transformations and their limitations in satisfying the given equation.
EngWiPy
Messages
1,361
Reaction score
61
Hello,

I wish to design the matrix P such that it satisfies the following:

P^TQP=Q^T

where all matrices are N-by-N. Is it possible?

Thanks
 
Mathematics news on Phys.org
For all Q?
Did you try some simple cases, e.g. Q=[[0,1],[0,0]]?

I doubt this is possible in general, so searching for counterexamples looks like a good idea.

Edit: And that is a good idea for a counterexample if you combine it with another matrix.
 
Last edited:
mfb said:
For all Q?
Did you try some simple cases, e.g. Q=[[0,1],[0,0]]?

I doubt this is possible in general, so searching for counterexamples looks like a good idea.

Edit: And that is a good idea for a counterexample if you combine it with another matrix.

Actually, yes I wanted it in general, but if there are some special cases of Q I would like to know what are they, if possible. I know for example if Q is circulant, then any permutation matrix will satisfies the above equality. Unfortunately, in my case Q is not circulant!

Thanks
 
S_David said:
Actually, yes I wanted it in general
P=[[a,c][b,d]] and Q=[[0,1],[0,0]] lead to the conditions a=d=0 and bc=1, and this leads to a contradiction if you try to apply this to Q=[[1,0],[0,0]].
So in general, this is not possible.
 
mfb said:
P=[[a,c][b,d]] and Q=[[0,1],[0,0]] lead to the conditions a=d=0 and bc=1, and this leads to a contradiction if you try to apply this to Q=[[1,0],[0,0]].
So in general, this is not possible.

OK, what if the matrix is Hermitian?
 
Did you test some simple cases, as I suggested?
I would not expect that being Hermitian helps, but I don't know.
 
mfb said:
Did you test some simple cases, as I suggested?
I would not expect that being Hermitian helps, but I don't know.

After trying, I don't think it helps neither.
 
The right hand side is a linear operation on the space of nxn matrices (which is a vector space of dimension n2), and the left hand side is a linear operation on the space of nxn matrices picked from a vector space of dimension n2. But the set of all linear transformations on the space of nxn matrices has dimension (n2)2 = n4. So in general most linear transformations on a set of matrices cannot be represented as conjugation by a matrix like the left hand side of your equation.

This doesn't answer the specific question of whether transposing is a special case, but it does heavily suggest that there will not exist such a matrix P, and as mfb said you should look for counterexamples in small dimensions.

There is a general disproof I believe that works for when Q is Hermitian. Plugging in Q the identity matrix we get that Pt = P-1. Plugging in Q an arbitrary real symmetric matrix, we want to find P that commutes with every Q which is symmetric. Checking Q an arbitrary elementary symmetric matrix (has only a 1 in the (i,j) and (j,i) spots and 0 everywhere else) we find P has to be a scalar multiple of the identity matrix, which because its transpose is its inverse means it has to be the identity matrix or negative the identity matrix. Checking Q basically any non real Hermitian matrix shows that neither of those work.

If testing simple cases didn't help, then you should show us what cases you tested and we can show you where you went wrong in missing the counterexample
 
Do you mean it is possible for Hermitian matrices? I tried a matrix [a b; conj(b) a] which is Hermitian and P is a real matrix. But I was wondering since for a Hermitian matrix we have the following eigenvalue decomposition:

\mathbf{Q}=\mathbf{U}\Sigma\mathbf{U}^H

where the eigenvalues are real, which implies that:

\mathbf{U}^H\mathbf{Q}\mathbf{U}=\Sigma=\Sigma^T=\mathbf{U}^T\mathbf{Q}^T\mathbf{U}^*

if we can use that in a way.
 
  • #10
S_David said:
Do you mean it is possible for Hermitian matrices?

No, I gave a proof that it isn't possible for Hermitian matrices
 
  • Like
Likes 1 person
Back
Top