Solving a quadratic vector equation with diagonal matrix for the square term

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












(This question is part of my larger quest to solve the question here: Solving simultaneous quadratic equations ("almost" linear...), arising from maximum likelihood estimation problem)



Suppose I have a quadratic vector equation of the form



$mathrmdiag(a) mathrmdiag(x) x + B x + c = 0 quad (1)$



Where $mathrmdiag(v)$ indicates the diagonal matrix having the vector $v$ on the diagonal, B is an invertible square matrix, and x and c are vectors. Is this solvable for $x$?



As part of my attempt, I noticed that this could be written as a quadratic form by "dotting" it with an arbitrary vector $v$:



$v^T mathrmdiag(a) mathrmdiag(x) x + v^T B x + v^T c = 0$



which (I'm pretty sure) can be rewritten as:



$x^T mathrmdiag(a) mathrmdiag(v) x + v^T B x + v^T c = 0$



which, if one completes the square, is the equation for an ellipsoid/hyperboloid. So I think this means that $x$ lies on an ellipsoid type surface. But, $(1)$ is much more restrictive than this, so I am hoping that it is possible to find precisely which point on the ellipsoid it describes.



Am I on the right track? Or is this clearly not possible?



Edit: I think this can be written as a quadratic matrix equation for $mathrmdiag(x)$:



$mathrmdiag(x) mathrmdiag(x) a + B mathrmdiag(x) 1 + c = 0$



which according to Is there a unique solution for this quadratic matrix equation? isn't solvable in general, but maybe it is solvable when the matrix is diagonal?







share|cite|improve this question


























    up vote
    0
    down vote

    favorite












    (This question is part of my larger quest to solve the question here: Solving simultaneous quadratic equations ("almost" linear...), arising from maximum likelihood estimation problem)



    Suppose I have a quadratic vector equation of the form



    $mathrmdiag(a) mathrmdiag(x) x + B x + c = 0 quad (1)$



    Where $mathrmdiag(v)$ indicates the diagonal matrix having the vector $v$ on the diagonal, B is an invertible square matrix, and x and c are vectors. Is this solvable for $x$?



    As part of my attempt, I noticed that this could be written as a quadratic form by "dotting" it with an arbitrary vector $v$:



    $v^T mathrmdiag(a) mathrmdiag(x) x + v^T B x + v^T c = 0$



    which (I'm pretty sure) can be rewritten as:



    $x^T mathrmdiag(a) mathrmdiag(v) x + v^T B x + v^T c = 0$



    which, if one completes the square, is the equation for an ellipsoid/hyperboloid. So I think this means that $x$ lies on an ellipsoid type surface. But, $(1)$ is much more restrictive than this, so I am hoping that it is possible to find precisely which point on the ellipsoid it describes.



    Am I on the right track? Or is this clearly not possible?



    Edit: I think this can be written as a quadratic matrix equation for $mathrmdiag(x)$:



    $mathrmdiag(x) mathrmdiag(x) a + B mathrmdiag(x) 1 + c = 0$



    which according to Is there a unique solution for this quadratic matrix equation? isn't solvable in general, but maybe it is solvable when the matrix is diagonal?







    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      (This question is part of my larger quest to solve the question here: Solving simultaneous quadratic equations ("almost" linear...), arising from maximum likelihood estimation problem)



      Suppose I have a quadratic vector equation of the form



      $mathrmdiag(a) mathrmdiag(x) x + B x + c = 0 quad (1)$



      Where $mathrmdiag(v)$ indicates the diagonal matrix having the vector $v$ on the diagonal, B is an invertible square matrix, and x and c are vectors. Is this solvable for $x$?



      As part of my attempt, I noticed that this could be written as a quadratic form by "dotting" it with an arbitrary vector $v$:



      $v^T mathrmdiag(a) mathrmdiag(x) x + v^T B x + v^T c = 0$



      which (I'm pretty sure) can be rewritten as:



      $x^T mathrmdiag(a) mathrmdiag(v) x + v^T B x + v^T c = 0$



      which, if one completes the square, is the equation for an ellipsoid/hyperboloid. So I think this means that $x$ lies on an ellipsoid type surface. But, $(1)$ is much more restrictive than this, so I am hoping that it is possible to find precisely which point on the ellipsoid it describes.



      Am I on the right track? Or is this clearly not possible?



      Edit: I think this can be written as a quadratic matrix equation for $mathrmdiag(x)$:



      $mathrmdiag(x) mathrmdiag(x) a + B mathrmdiag(x) 1 + c = 0$



      which according to Is there a unique solution for this quadratic matrix equation? isn't solvable in general, but maybe it is solvable when the matrix is diagonal?







      share|cite|improve this question














      (This question is part of my larger quest to solve the question here: Solving simultaneous quadratic equations ("almost" linear...), arising from maximum likelihood estimation problem)



      Suppose I have a quadratic vector equation of the form



      $mathrmdiag(a) mathrmdiag(x) x + B x + c = 0 quad (1)$



      Where $mathrmdiag(v)$ indicates the diagonal matrix having the vector $v$ on the diagonal, B is an invertible square matrix, and x and c are vectors. Is this solvable for $x$?



      As part of my attempt, I noticed that this could be written as a quadratic form by "dotting" it with an arbitrary vector $v$:



      $v^T mathrmdiag(a) mathrmdiag(x) x + v^T B x + v^T c = 0$



      which (I'm pretty sure) can be rewritten as:



      $x^T mathrmdiag(a) mathrmdiag(v) x + v^T B x + v^T c = 0$



      which, if one completes the square, is the equation for an ellipsoid/hyperboloid. So I think this means that $x$ lies on an ellipsoid type surface. But, $(1)$ is much more restrictive than this, so I am hoping that it is possible to find precisely which point on the ellipsoid it describes.



      Am I on the right track? Or is this clearly not possible?



      Edit: I think this can be written as a quadratic matrix equation for $mathrmdiag(x)$:



      $mathrmdiag(x) mathrmdiag(x) a + B mathrmdiag(x) 1 + c = 0$



      which according to Is there a unique solution for this quadratic matrix equation? isn't solvable in general, but maybe it is solvable when the matrix is diagonal?









      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 23 at 10:02

























      asked Aug 23 at 9:35









      Ben Farmer

      1115




      1115

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2891913%2fsolving-a-quadratic-vector-equation-with-diagonal-matrix-for-the-square-term%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2891913%2fsolving-a-quadratic-vector-equation-with-diagonal-matrix-for-the-square-term%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          How to combine Bézier curves to a surface?

          Mutual Information Always Non-negative

          Why am i infinitely getting the same tweet with the Twitter Search API?