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

                    Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

                    random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

                    How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer