I came across an interesting problem in a linear algebra problem book. This is the very first paragraph in the problem book, it deals with basic operations with matrices: multiplication by a number, addition, matrix multiplication, transposition. I solved all the previous problems without much trouble, but I can't do anything with this problem.
Problem. Let $X$ be a matrix of a general form. Is it always possible to find matrices $A$ and $B$ such that $AXB=X^T$?
I used two approaches:
Using a general formula for matrix multiplication. This is a complete nightmare. Double sums come out - a dead end.
Using some specific matrices as $X$. Matrix units seem to be a good option, they are very easy to multiply. But for any matrix unit there will always be $A$ and $B$ such that $AXB=X^T$. Dead end again.
I've seen the questions Is it possible to transpose a square matrix by multiplication? and Can you transpose a matrix using matrix multiplication? but the answers there are not really relevant to my question, I think.