How to solve this quadratic equation in matrix $X$? The Next CEO of Stack OverflowIs it possible to solve for scalar in this multiplication of two quadratic forms involving inverse matrix?How to solve the optimization problem $mathbfF=argmin_mathbfF tr((mathbfG^HmathbfF^HmathbfFmathbfG+alphamathbfI)^-1)$How to solve this quadratic matrix equation with maximum eigenvalue within it?How to solve for the matrices in this equation?Upperbound with Frobenius and Euclidean NormsMinimizing quadratic objective subject to a quadratic equality constraintMatrix Notation Form of Roots of a Quadratic EquationInversion of matrix with the sum of three Kronecker productsWeighted PSD matrix minimizationConvergence analysis for Solving quadratic matrix equation $mathbfXBX=A+lambda mathbfX$

Players Circumventing the limitations of Wish

What happened in Rome, when the western empire "fell"?

Reference request: Grassmannian and Plucker coordinates in type B, C, D

What is the difference between "hamstring tendon" and "common hamstring tendon"?

Is a distribution that is normal, but highly skewed, considered Gaussian?

Is dried pee considered dirt?

TikZ: How to fill area with a special pattern?

Can this note be analyzed as a non-chord tone?

Aggressive Under-Indexing and no data for missing index

Audio Conversion With ADS1243

Is there a difference between "Fahrstuhl" and "Aufzug"?

The Ultimate Number Sequence Puzzle

Is it convenient to ask the journal's editor for two additional days to complete a review?

What difference does it make using sed with/without whitespaces?

Is there such a thing as a proper verb, like a proper noun?

Is it ever safe to open a suspicious HTML file (e.g. email attachment)?

Help/tips for a first time writer?

What would be the main consequences for a country leaving the WTO?

Is there an equivalent of cd - for cp or mv

How do I fit a non linear curve?

How to get the last not-null value in an ordered column of a huge table?

Is it professional to write unrelated content in an almost-empty email?

Man transported from Alternate World into ours by a Neutrino Detector

It is correct to match light sources with the same color temperature?



How to solve this quadratic equation in matrix $X$?



The Next CEO of Stack OverflowIs it possible to solve for scalar in this multiplication of two quadratic forms involving inverse matrix?How to solve the optimization problem $mathbfF=argmin_mathbfF tr((mathbfG^HmathbfF^HmathbfFmathbfG+alphamathbfI)^-1)$How to solve this quadratic matrix equation with maximum eigenvalue within it?How to solve for the matrices in this equation?Upperbound with Frobenius and Euclidean NormsMinimizing quadratic objective subject to a quadratic equality constraintMatrix Notation Form of Roots of a Quadratic EquationInversion of matrix with the sum of three Kronecker productsWeighted PSD matrix minimizationConvergence analysis for Solving quadratic matrix equation $mathbfXBX=A+lambda mathbfX$










1












$begingroup$


Given $mathbfA$ and $mathbfB$ two $m times n$ real matrices, is there a closed form for the matrix equation
beginequation
|mathbfX|^2_F - 2 cdot mboxtrace (mathbfX^TmathbfA) +|mathbfB|^2_F = 0,
endequation



where $mathbfX in mathbbR^mtimes n$ and $| cdot |_F$ is the Frobenius norm? Notice that this equation can be viewed as a generalization of a simple quadratic equation.










share|cite|improve this question











$endgroup$
















    1












    $begingroup$


    Given $mathbfA$ and $mathbfB$ two $m times n$ real matrices, is there a closed form for the matrix equation
    beginequation
    |mathbfX|^2_F - 2 cdot mboxtrace (mathbfX^TmathbfA) +|mathbfB|^2_F = 0,
    endequation



    where $mathbfX in mathbbR^mtimes n$ and $| cdot |_F$ is the Frobenius norm? Notice that this equation can be viewed as a generalization of a simple quadratic equation.










    share|cite|improve this question











    $endgroup$














      1












      1








      1


      1



      $begingroup$


      Given $mathbfA$ and $mathbfB$ two $m times n$ real matrices, is there a closed form for the matrix equation
      beginequation
      |mathbfX|^2_F - 2 cdot mboxtrace (mathbfX^TmathbfA) +|mathbfB|^2_F = 0,
      endequation



      where $mathbfX in mathbbR^mtimes n$ and $| cdot |_F$ is the Frobenius norm? Notice that this equation can be viewed as a generalization of a simple quadratic equation.










      share|cite|improve this question











      $endgroup$




      Given $mathbfA$ and $mathbfB$ two $m times n$ real matrices, is there a closed form for the matrix equation
      beginequation
      |mathbfX|^2_F - 2 cdot mboxtrace (mathbfX^TmathbfA) +|mathbfB|^2_F = 0,
      endequation



      where $mathbfX in mathbbR^mtimes n$ and $| cdot |_F$ is the Frobenius norm? Notice that this equation can be viewed as a generalization of a simple quadratic equation.







      matrices quadratics matrix-equations






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Mar 19 at 20:58









      Rodrigo de Azevedo

      13k41960




      13k41960










      asked Sep 22 '14 at 16:30









      Alex SilvaAlex Silva

      2,76031432




      2,76031432




















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          $||X||_F^2=Tr(X^TX)$. So you can rewrite your equation in the following form:
          $$
          Tr(X^TX-2X^TA+B^TB)=Tr(X^TX-X^TA-A^TX+A^TA+B^TB-A^TA)=Tr((X-A)^T(X-A)+B^TB-A^TA)=0
          $$
          So
          $$
          Tr(X-A)^T(X-A))=Tr(A^TA-B^TB);
          $$
          At least we can understand now that solution may exists only if $a=Tr(A^TA-B^TB)ge 0$.
          Now all matrices such that $||Y||_F^2=a$ will generate solution as $X=Y+A$.






          share|cite|improve this answer









          $endgroup$













            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%2f941774%2fhow-to-solve-this-quadratic-equation-in-matrix-x%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









            1












            $begingroup$

            $||X||_F^2=Tr(X^TX)$. So you can rewrite your equation in the following form:
            $$
            Tr(X^TX-2X^TA+B^TB)=Tr(X^TX-X^TA-A^TX+A^TA+B^TB-A^TA)=Tr((X-A)^T(X-A)+B^TB-A^TA)=0
            $$
            So
            $$
            Tr(X-A)^T(X-A))=Tr(A^TA-B^TB);
            $$
            At least we can understand now that solution may exists only if $a=Tr(A^TA-B^TB)ge 0$.
            Now all matrices such that $||Y||_F^2=a$ will generate solution as $X=Y+A$.






            share|cite|improve this answer









            $endgroup$

















              1












              $begingroup$

              $||X||_F^2=Tr(X^TX)$. So you can rewrite your equation in the following form:
              $$
              Tr(X^TX-2X^TA+B^TB)=Tr(X^TX-X^TA-A^TX+A^TA+B^TB-A^TA)=Tr((X-A)^T(X-A)+B^TB-A^TA)=0
              $$
              So
              $$
              Tr(X-A)^T(X-A))=Tr(A^TA-B^TB);
              $$
              At least we can understand now that solution may exists only if $a=Tr(A^TA-B^TB)ge 0$.
              Now all matrices such that $||Y||_F^2=a$ will generate solution as $X=Y+A$.






              share|cite|improve this answer









              $endgroup$















                1












                1








                1





                $begingroup$

                $||X||_F^2=Tr(X^TX)$. So you can rewrite your equation in the following form:
                $$
                Tr(X^TX-2X^TA+B^TB)=Tr(X^TX-X^TA-A^TX+A^TA+B^TB-A^TA)=Tr((X-A)^T(X-A)+B^TB-A^TA)=0
                $$
                So
                $$
                Tr(X-A)^T(X-A))=Tr(A^TA-B^TB);
                $$
                At least we can understand now that solution may exists only if $a=Tr(A^TA-B^TB)ge 0$.
                Now all matrices such that $||Y||_F^2=a$ will generate solution as $X=Y+A$.






                share|cite|improve this answer









                $endgroup$



                $||X||_F^2=Tr(X^TX)$. So you can rewrite your equation in the following form:
                $$
                Tr(X^TX-2X^TA+B^TB)=Tr(X^TX-X^TA-A^TX+A^TA+B^TB-A^TA)=Tr((X-A)^T(X-A)+B^TB-A^TA)=0
                $$
                So
                $$
                Tr(X-A)^T(X-A))=Tr(A^TA-B^TB);
                $$
                At least we can understand now that solution may exists only if $a=Tr(A^TA-B^TB)ge 0$.
                Now all matrices such that $||Y||_F^2=a$ will generate solution as $X=Y+A$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Sep 24 '14 at 19:31









                Alexander VigodnerAlexander Vigodner

                2,0491713




                2,0491713



























                    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%2f941774%2fhow-to-solve-this-quadratic-equation-in-matrix-x%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

                    Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

                    John Burke, 9th Earl of Clanricarde References Navigation menuA General and heraldic dictionary of the peerage and baronetage of the British EmpireLeigh Rayment's Peerage Pages

                    Football at the 1986 Brunei Merdeka Games Contents Teams Group stage Knockout stage References Navigation menu"Brunei Merdeka Games 1986".