For what kind of matrix $A$, there is a (symmetric) positive definite matrix $B$ such that $BA$ is symmetric












0














Let $A$ be a $ntimes n$ real matrix. My ultimate goal is to find a sufficient condition on $A$ such that all the eigenvalues of $A$ are real.



Therefore, I want $A$ to be self-adjoint with respect to some inner-product. A general inner product associated with a positive definite matrix $B$ is given by $<x,y>=x^tBy$. Then $A$ is self-adjoint if $A^tB=BA$, i.e. $BA$ is symmetric.



So my problem reduces to "for what kind of matrix $A$, there is a (symmetric) positive definite matrix $B$ such that $BA$ is symmetric".



My idea: Given $A$, we want to find a positive definite $ntimes n$ matrix $B$ by solving the equation $A^tB=BA$. There are $frac{n(n+1)}{2}$ variables (not $n^2$) as $B$ is symmetric. There are $n^2$ equations but it seems that only $frac{n(n-1)}{2}$ of them are independent. Therefore, the solutions should be abundant as there are more variables than equations. However, I don't know how to make sure the solution is positive definite. It is possible that the solution space does not intersect with the positive cone of positive definite matrices, except at $0$.










share|cite|improve this question



























    0














    Let $A$ be a $ntimes n$ real matrix. My ultimate goal is to find a sufficient condition on $A$ such that all the eigenvalues of $A$ are real.



    Therefore, I want $A$ to be self-adjoint with respect to some inner-product. A general inner product associated with a positive definite matrix $B$ is given by $<x,y>=x^tBy$. Then $A$ is self-adjoint if $A^tB=BA$, i.e. $BA$ is symmetric.



    So my problem reduces to "for what kind of matrix $A$, there is a (symmetric) positive definite matrix $B$ such that $BA$ is symmetric".



    My idea: Given $A$, we want to find a positive definite $ntimes n$ matrix $B$ by solving the equation $A^tB=BA$. There are $frac{n(n+1)}{2}$ variables (not $n^2$) as $B$ is symmetric. There are $n^2$ equations but it seems that only $frac{n(n-1)}{2}$ of them are independent. Therefore, the solutions should be abundant as there are more variables than equations. However, I don't know how to make sure the solution is positive definite. It is possible that the solution space does not intersect with the positive cone of positive definite matrices, except at $0$.










    share|cite|improve this question

























      0












      0








      0







      Let $A$ be a $ntimes n$ real matrix. My ultimate goal is to find a sufficient condition on $A$ such that all the eigenvalues of $A$ are real.



      Therefore, I want $A$ to be self-adjoint with respect to some inner-product. A general inner product associated with a positive definite matrix $B$ is given by $<x,y>=x^tBy$. Then $A$ is self-adjoint if $A^tB=BA$, i.e. $BA$ is symmetric.



      So my problem reduces to "for what kind of matrix $A$, there is a (symmetric) positive definite matrix $B$ such that $BA$ is symmetric".



      My idea: Given $A$, we want to find a positive definite $ntimes n$ matrix $B$ by solving the equation $A^tB=BA$. There are $frac{n(n+1)}{2}$ variables (not $n^2$) as $B$ is symmetric. There are $n^2$ equations but it seems that only $frac{n(n-1)}{2}$ of them are independent. Therefore, the solutions should be abundant as there are more variables than equations. However, I don't know how to make sure the solution is positive definite. It is possible that the solution space does not intersect with the positive cone of positive definite matrices, except at $0$.










      share|cite|improve this question













      Let $A$ be a $ntimes n$ real matrix. My ultimate goal is to find a sufficient condition on $A$ such that all the eigenvalues of $A$ are real.



      Therefore, I want $A$ to be self-adjoint with respect to some inner-product. A general inner product associated with a positive definite matrix $B$ is given by $<x,y>=x^tBy$. Then $A$ is self-adjoint if $A^tB=BA$, i.e. $BA$ is symmetric.



      So my problem reduces to "for what kind of matrix $A$, there is a (symmetric) positive definite matrix $B$ such that $BA$ is symmetric".



      My idea: Given $A$, we want to find a positive definite $ntimes n$ matrix $B$ by solving the equation $A^tB=BA$. There are $frac{n(n+1)}{2}$ variables (not $n^2$) as $B$ is symmetric. There are $n^2$ equations but it seems that only $frac{n(n-1)}{2}$ of them are independent. Therefore, the solutions should be abundant as there are more variables than equations. However, I don't know how to make sure the solution is positive definite. It is possible that the solution space does not intersect with the positive cone of positive definite matrices, except at $0$.







      linear-algebra matrices matrix-equations positive-definite symmetric-matrices






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 21 '18 at 15:25









      Tony B

      776418




      776418






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Indeed, such a matrix $B$ exists if and only if $A$ has a real spectrum.



          If $A$ has a real spectrum, then $A=P^{-1}DP$ for some real matrix $P$ and diagonal matrix $D$. Therefore, $B:=P^TP$ is positive definite and $BA=P^TDP$ is symmetric.



          Conversely, suppose $S:=BA$ is symmetric for some positive definite $B$. Then $A=B^{-1}S$ is similar to $B^{-1/2}SB^{-1/2}$ and hence it has a real spectrum.






          share|cite|improve this answer





















            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            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%2f3007859%2ffor-what-kind-of-matrix-a-there-is-a-symmetric-positive-definite-matrix-b%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Indeed, such a matrix $B$ exists if and only if $A$ has a real spectrum.



            If $A$ has a real spectrum, then $A=P^{-1}DP$ for some real matrix $P$ and diagonal matrix $D$. Therefore, $B:=P^TP$ is positive definite and $BA=P^TDP$ is symmetric.



            Conversely, suppose $S:=BA$ is symmetric for some positive definite $B$. Then $A=B^{-1}S$ is similar to $B^{-1/2}SB^{-1/2}$ and hence it has a real spectrum.






            share|cite|improve this answer


























              0














              Indeed, such a matrix $B$ exists if and only if $A$ has a real spectrum.



              If $A$ has a real spectrum, then $A=P^{-1}DP$ for some real matrix $P$ and diagonal matrix $D$. Therefore, $B:=P^TP$ is positive definite and $BA=P^TDP$ is symmetric.



              Conversely, suppose $S:=BA$ is symmetric for some positive definite $B$. Then $A=B^{-1}S$ is similar to $B^{-1/2}SB^{-1/2}$ and hence it has a real spectrum.






              share|cite|improve this answer
























                0












                0








                0






                Indeed, such a matrix $B$ exists if and only if $A$ has a real spectrum.



                If $A$ has a real spectrum, then $A=P^{-1}DP$ for some real matrix $P$ and diagonal matrix $D$. Therefore, $B:=P^TP$ is positive definite and $BA=P^TDP$ is symmetric.



                Conversely, suppose $S:=BA$ is symmetric for some positive definite $B$. Then $A=B^{-1}S$ is similar to $B^{-1/2}SB^{-1/2}$ and hence it has a real spectrum.






                share|cite|improve this answer












                Indeed, such a matrix $B$ exists if and only if $A$ has a real spectrum.



                If $A$ has a real spectrum, then $A=P^{-1}DP$ for some real matrix $P$ and diagonal matrix $D$. Therefore, $B:=P^TP$ is positive definite and $BA=P^TDP$ is symmetric.



                Conversely, suppose $S:=BA$ is symmetric for some positive definite $B$. Then $A=B^{-1}S$ is similar to $B^{-1/2}SB^{-1/2}$ and hence it has a real spectrum.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 21 '18 at 15:56









                user1551

                71.7k566125




                71.7k566125






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2f3007859%2ffor-what-kind-of-matrix-a-there-is-a-symmetric-positive-definite-matrix-b%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

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    SQL update select statement

                    'app-layout' is not a known element: how to share Component with different Modules