how to deduce two matrices $P$ and $Q$ are square if $PQ=I_n$ and $QP=I_m$ The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Which of the following matrices are diagonalizable over $mathbbC$polar decomposition for non square matricesUnderstanding dimension of matrixInteger matrices whose $m$-th power are identity matrixAre $10times 10$ matrices spanned by powers of a single matrix?If $A$ and $B$ are real matrices and $X,Y$ are are non-singular square matrices such that $XA=BY$Are these two matrices necessarily entrywise-nonnegative?Tensors and matrices multiplicationProve that a square matrix with integer entries can be decomposed into a product of square matrices with integer matrixesTwo invertible matrices

Wolves and sheep

How to split my screen on my Macbook Air?

Mortgage adviser recommends a longer term than necessary combined with overpayments

What do you call a plan that's an alternative plan in case your initial plan fails?

How do you keep chess fun when your opponent constantly beats you?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

Simulating Exploding Dice

Cooking pasta in a water boiler

How many people can fit inside Mordenkainen's Magnificent Mansion?

Arduino Pro Micro - switch off LEDs

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Match Roman Numerals

Wall plug outlet change

Can the DM override racial traits?

What aspect of planet Earth must be changed to prevent the industrial revolution?

The variadic template constructor of my class cannot modify my class members, why is that so?

Can undead you have reanimated wait inside a portable hole?

Make it rain characters

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

What information about me do stores get via my credit card?

system() function string length limit

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Sort a list of pairs representing an acyclic, partial automorphism

Why can't devices on different VLANs, but on the same subnet, communicate?



how to deduce two matrices $P$ and $Q$ are square if $PQ=I_n$ and $QP=I_m$



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Which of the following matrices are diagonalizable over $mathbbC$polar decomposition for non square matricesUnderstanding dimension of matrixInteger matrices whose $m$-th power are identity matrixAre $10times 10$ matrices spanned by powers of a single matrix?If $A$ and $B$ are real matrices and $X,Y$ are are non-singular square matrices such that $XA=BY$Are these two matrices necessarily entrywise-nonnegative?Tensors and matrices multiplicationProve that a square matrix with integer entries can be decomposed into a product of square matrices with integer matrixesTwo invertible matrices










1












$begingroup$


If you had two matrices $P$ and $Q$ where $P$ is an $ntimes m$ matrix and $Q$ is an $m times n$ matrix both with integer entries satisfying:



$$PQ = I_n text and QP = I_m$$



How would you prove that $n=m$? I read somewhere that because $mathbbZ subset mathbbQ $ you can think of the matrices with entries over $mathbbQ$ so that makes $P=Q^-1$ but I don't understand how that conclusion has been made.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    The rank of $PQ$, $QP$ is at most max of the ranks for $P,Q$.
    $endgroup$
    – dan_fulea
    Apr 8 at 13:15






  • 1




    $begingroup$
    This has absolutely nothing to do with the fact that $Bbb ZsubsetBbb Q$.
    $endgroup$
    – TonyK
    Apr 8 at 14:50















1












$begingroup$


If you had two matrices $P$ and $Q$ where $P$ is an $ntimes m$ matrix and $Q$ is an $m times n$ matrix both with integer entries satisfying:



$$PQ = I_n text and QP = I_m$$



How would you prove that $n=m$? I read somewhere that because $mathbbZ subset mathbbQ $ you can think of the matrices with entries over $mathbbQ$ so that makes $P=Q^-1$ but I don't understand how that conclusion has been made.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    The rank of $PQ$, $QP$ is at most max of the ranks for $P,Q$.
    $endgroup$
    – dan_fulea
    Apr 8 at 13:15






  • 1




    $begingroup$
    This has absolutely nothing to do with the fact that $Bbb ZsubsetBbb Q$.
    $endgroup$
    – TonyK
    Apr 8 at 14:50













1












1








1





$begingroup$


If you had two matrices $P$ and $Q$ where $P$ is an $ntimes m$ matrix and $Q$ is an $m times n$ matrix both with integer entries satisfying:



$$PQ = I_n text and QP = I_m$$



How would you prove that $n=m$? I read somewhere that because $mathbbZ subset mathbbQ $ you can think of the matrices with entries over $mathbbQ$ so that makes $P=Q^-1$ but I don't understand how that conclusion has been made.










share|cite|improve this question











$endgroup$




If you had two matrices $P$ and $Q$ where $P$ is an $ntimes m$ matrix and $Q$ is an $m times n$ matrix both with integer entries satisfying:



$$PQ = I_n text and QP = I_m$$



How would you prove that $n=m$? I read somewhere that because $mathbbZ subset mathbbQ $ you can think of the matrices with entries over $mathbbQ$ so that makes $P=Q^-1$ but I don't understand how that conclusion has been made.







linear-algebra matrices free-abelian-group






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Apr 8 at 14:49









TonyK

44.1k358137




44.1k358137










asked Apr 8 at 13:09









BigWigBigWig

12511




12511







  • 1




    $begingroup$
    The rank of $PQ$, $QP$ is at most max of the ranks for $P,Q$.
    $endgroup$
    – dan_fulea
    Apr 8 at 13:15






  • 1




    $begingroup$
    This has absolutely nothing to do with the fact that $Bbb ZsubsetBbb Q$.
    $endgroup$
    – TonyK
    Apr 8 at 14:50












  • 1




    $begingroup$
    The rank of $PQ$, $QP$ is at most max of the ranks for $P,Q$.
    $endgroup$
    – dan_fulea
    Apr 8 at 13:15






  • 1




    $begingroup$
    This has absolutely nothing to do with the fact that $Bbb ZsubsetBbb Q$.
    $endgroup$
    – TonyK
    Apr 8 at 14:50







1




1




$begingroup$
The rank of $PQ$, $QP$ is at most max of the ranks for $P,Q$.
$endgroup$
– dan_fulea
Apr 8 at 13:15




$begingroup$
The rank of $PQ$, $QP$ is at most max of the ranks for $P,Q$.
$endgroup$
– dan_fulea
Apr 8 at 13:15




1




1




$begingroup$
This has absolutely nothing to do with the fact that $Bbb ZsubsetBbb Q$.
$endgroup$
– TonyK
Apr 8 at 14:50




$begingroup$
This has absolutely nothing to do with the fact that $Bbb ZsubsetBbb Q$.
$endgroup$
– TonyK
Apr 8 at 14:50










2 Answers
2






active

oldest

votes


















1












$begingroup$

One way is to see it as a rank thing: an operator cannot increase rank. So $PQ=I_n$ tells you that the ranks of $P$ and $Q$ are at least $n$; thus $mgeq n$. The other equality gives you $mleq n$.



Another, direct proof, can be obtained by taking the trace. The equality $operatornameTr(AB)=operatornameTr(BA)$ holds whenever $AB$ and $BA $ make sense.
Thus
$$
n=operatornameTr(I_n)=operatornameTr(PQ)=operatornameTr(QP)=operatornameTr(I_m)=m.
$$






share|cite|improve this answer









$endgroup$












  • $begingroup$
    That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
    $endgroup$
    – darij grinberg
    Apr 8 at 20:18


















2












$begingroup$

One way to see this is by thinking of an $n times m$ matrix as a linear function $mathbbR^m to mathbbR^n$. If you let $S : mathbbR^m to mathbbR^n$ be the linear function whose matrix with respect to the standard basis is $P$ and $T : mathbbR^n to mathbbR^m$ be the linear function with matrix $Q$, then we see that $T circ S = textId_m$ and $S circ T = textId_n$ means that $T$ has a two-sided inverse. Thus, $S$ must be a bijection, and therefore a vector space isomorphism. So, we see that $mathbbR^m$ is isomorphic to $mathbbR^n$. Thus, it must be the case that $n = m$, so $S : mathbbR^m to mathbbR^m$ and its matrix form, $P$, must be an $m times m$ matrix. Therefore, $P$ (and likewise $Q$) are square matrices.






share|cite|improve this answer








New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$












  • $begingroup$
    All well and good. But I fear that this won't help the OP very much.
    $endgroup$
    – TonyK
    Apr 8 at 14:53












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3179616%2fhow-to-deduce-two-matrices-p-and-q-are-square-if-pq-i-n-and-qp-i-m%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

One way is to see it as a rank thing: an operator cannot increase rank. So $PQ=I_n$ tells you that the ranks of $P$ and $Q$ are at least $n$; thus $mgeq n$. The other equality gives you $mleq n$.



Another, direct proof, can be obtained by taking the trace. The equality $operatornameTr(AB)=operatornameTr(BA)$ holds whenever $AB$ and $BA $ make sense.
Thus
$$
n=operatornameTr(I_n)=operatornameTr(PQ)=operatornameTr(QP)=operatornameTr(I_m)=m.
$$






share|cite|improve this answer









$endgroup$












  • $begingroup$
    That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
    $endgroup$
    – darij grinberg
    Apr 8 at 20:18















1












$begingroup$

One way is to see it as a rank thing: an operator cannot increase rank. So $PQ=I_n$ tells you that the ranks of $P$ and $Q$ are at least $n$; thus $mgeq n$. The other equality gives you $mleq n$.



Another, direct proof, can be obtained by taking the trace. The equality $operatornameTr(AB)=operatornameTr(BA)$ holds whenever $AB$ and $BA $ make sense.
Thus
$$
n=operatornameTr(I_n)=operatornameTr(PQ)=operatornameTr(QP)=operatornameTr(I_m)=m.
$$






share|cite|improve this answer









$endgroup$












  • $begingroup$
    That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
    $endgroup$
    – darij grinberg
    Apr 8 at 20:18













1












1








1





$begingroup$

One way is to see it as a rank thing: an operator cannot increase rank. So $PQ=I_n$ tells you that the ranks of $P$ and $Q$ are at least $n$; thus $mgeq n$. The other equality gives you $mleq n$.



Another, direct proof, can be obtained by taking the trace. The equality $operatornameTr(AB)=operatornameTr(BA)$ holds whenever $AB$ and $BA $ make sense.
Thus
$$
n=operatornameTr(I_n)=operatornameTr(PQ)=operatornameTr(QP)=operatornameTr(I_m)=m.
$$






share|cite|improve this answer









$endgroup$



One way is to see it as a rank thing: an operator cannot increase rank. So $PQ=I_n$ tells you that the ranks of $P$ and $Q$ are at least $n$; thus $mgeq n$. The other equality gives you $mleq n$.



Another, direct proof, can be obtained by taking the trace. The equality $operatornameTr(AB)=operatornameTr(BA)$ holds whenever $AB$ and $BA $ make sense.
Thus
$$
n=operatornameTr(I_n)=operatornameTr(PQ)=operatornameTr(QP)=operatornameTr(I_m)=m.
$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Apr 8 at 17:57









Martin ArgeramiMartin Argerami

129k1184185




129k1184185











  • $begingroup$
    That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
    $endgroup$
    – darij grinberg
    Apr 8 at 20:18
















  • $begingroup$
    That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
    $endgroup$
    – darij grinberg
    Apr 8 at 20:18















$begingroup$
That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
$endgroup$
– darij grinberg
Apr 8 at 20:18




$begingroup$
That's a fun one! I never thought that characteristic $0$ would help that much in this problem :)
$endgroup$
– darij grinberg
Apr 8 at 20:18











2












$begingroup$

One way to see this is by thinking of an $n times m$ matrix as a linear function $mathbbR^m to mathbbR^n$. If you let $S : mathbbR^m to mathbbR^n$ be the linear function whose matrix with respect to the standard basis is $P$ and $T : mathbbR^n to mathbbR^m$ be the linear function with matrix $Q$, then we see that $T circ S = textId_m$ and $S circ T = textId_n$ means that $T$ has a two-sided inverse. Thus, $S$ must be a bijection, and therefore a vector space isomorphism. So, we see that $mathbbR^m$ is isomorphic to $mathbbR^n$. Thus, it must be the case that $n = m$, so $S : mathbbR^m to mathbbR^m$ and its matrix form, $P$, must be an $m times m$ matrix. Therefore, $P$ (and likewise $Q$) are square matrices.






share|cite|improve this answer








New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$












  • $begingroup$
    All well and good. But I fear that this won't help the OP very much.
    $endgroup$
    – TonyK
    Apr 8 at 14:53
















2












$begingroup$

One way to see this is by thinking of an $n times m$ matrix as a linear function $mathbbR^m to mathbbR^n$. If you let $S : mathbbR^m to mathbbR^n$ be the linear function whose matrix with respect to the standard basis is $P$ and $T : mathbbR^n to mathbbR^m$ be the linear function with matrix $Q$, then we see that $T circ S = textId_m$ and $S circ T = textId_n$ means that $T$ has a two-sided inverse. Thus, $S$ must be a bijection, and therefore a vector space isomorphism. So, we see that $mathbbR^m$ is isomorphic to $mathbbR^n$. Thus, it must be the case that $n = m$, so $S : mathbbR^m to mathbbR^m$ and its matrix form, $P$, must be an $m times m$ matrix. Therefore, $P$ (and likewise $Q$) are square matrices.






share|cite|improve this answer








New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$












  • $begingroup$
    All well and good. But I fear that this won't help the OP very much.
    $endgroup$
    – TonyK
    Apr 8 at 14:53














2












2








2





$begingroup$

One way to see this is by thinking of an $n times m$ matrix as a linear function $mathbbR^m to mathbbR^n$. If you let $S : mathbbR^m to mathbbR^n$ be the linear function whose matrix with respect to the standard basis is $P$ and $T : mathbbR^n to mathbbR^m$ be the linear function with matrix $Q$, then we see that $T circ S = textId_m$ and $S circ T = textId_n$ means that $T$ has a two-sided inverse. Thus, $S$ must be a bijection, and therefore a vector space isomorphism. So, we see that $mathbbR^m$ is isomorphic to $mathbbR^n$. Thus, it must be the case that $n = m$, so $S : mathbbR^m to mathbbR^m$ and its matrix form, $P$, must be an $m times m$ matrix. Therefore, $P$ (and likewise $Q$) are square matrices.






share|cite|improve this answer








New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$



One way to see this is by thinking of an $n times m$ matrix as a linear function $mathbbR^m to mathbbR^n$. If you let $S : mathbbR^m to mathbbR^n$ be the linear function whose matrix with respect to the standard basis is $P$ and $T : mathbbR^n to mathbbR^m$ be the linear function with matrix $Q$, then we see that $T circ S = textId_m$ and $S circ T = textId_n$ means that $T$ has a two-sided inverse. Thus, $S$ must be a bijection, and therefore a vector space isomorphism. So, we see that $mathbbR^m$ is isomorphic to $mathbbR^n$. Thus, it must be the case that $n = m$, so $S : mathbbR^m to mathbbR^m$ and its matrix form, $P$, must be an $m times m$ matrix. Therefore, $P$ (and likewise $Q$) are square matrices.







share|cite|improve this answer








New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this answer



share|cite|improve this answer






New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Apr 8 at 13:20









PamelloesPamelloes

1212




1212




New contributor




Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Pamelloes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • $begingroup$
    All well and good. But I fear that this won't help the OP very much.
    $endgroup$
    – TonyK
    Apr 8 at 14:53

















  • $begingroup$
    All well and good. But I fear that this won't help the OP very much.
    $endgroup$
    – TonyK
    Apr 8 at 14:53
















$begingroup$
All well and good. But I fear that this won't help the OP very much.
$endgroup$
– TonyK
Apr 8 at 14:53





$begingroup$
All well and good. But I fear that this won't help the OP very much.
$endgroup$
– TonyK
Apr 8 at 14:53


















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3179616%2fhow-to-deduce-two-matrices-p-and-q-are-square-if-pq-i-n-and-qp-i-m%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Hidroelektrana Sadržaj Povijest | Podjela hidroelektrana | Snaga dobivena u hidroelektranama | Dijelovi hidroelektrane | Uloga hidroelektrana u suvremenom svijetu | Prednosti hidroelektrana | Nedostaci hidroelektrana | Države s najvećom proizvodnjom hidro-električne energije | Deset najvećih hidroelektrana u svijetu | Hidroelektrane u Hrvatskoj | Izvori | Poveznice | Vanjske poveznice | Navigacijski izbornikTechnical Report, Version 2Zajedničkom poslužiteljuHidroelektranaHEP Proizvodnja d.o.o. - Hidroelektrane u Hrvatskoj

WordPress Information needed

Bosc Connection Yimello Approaching Angry The produce zaps the market. 구성 기록되다 변경...