Ellipsoid representation by PSD matrix and by linear mapping












1












$begingroup$


Consider the following two representations of ellipsoid:



$$E_1 = {x mid x^TSxleq 1, , S succ 0}$$
and $$E_2 = {y mid y = Ax, , |x|leq 1, , det(A) neq 0}$$



If I want $E_1=E_2$, I can do



$$x^TSx = x^TS^{1/2}S^{1/2}x = |S^{1/2}x|^2_2 leq 1$$
and $$y=Ax longrightarrow A^{-1}y = x longrightarrow |A^{-1}y| = |x| le1 longrightarrow |A^{-1}y|^2_2leq 1$$



So comparing both equations,




$$A^{-1} = S^{1/2}$$




In this case, $A$ has to be symmetric.



However, if I do the following



$$|A^{-1}y|^2_2leq 1 longrightarrow y^T(AA^T)^{-1}y leq 1$$



and let $(AA^T)^{-1}=S$ with $S = QLambda Q^T$, $A$ can be chosen as




$$A = QLambda^{-1/2}$$




In this case, $A$ does not have to be symmetric.



What's wrong with the first approach? Or are both correct?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Consider the following two representations of ellipsoid:



    $$E_1 = {x mid x^TSxleq 1, , S succ 0}$$
    and $$E_2 = {y mid y = Ax, , |x|leq 1, , det(A) neq 0}$$



    If I want $E_1=E_2$, I can do



    $$x^TSx = x^TS^{1/2}S^{1/2}x = |S^{1/2}x|^2_2 leq 1$$
    and $$y=Ax longrightarrow A^{-1}y = x longrightarrow |A^{-1}y| = |x| le1 longrightarrow |A^{-1}y|^2_2leq 1$$



    So comparing both equations,




    $$A^{-1} = S^{1/2}$$




    In this case, $A$ has to be symmetric.



    However, if I do the following



    $$|A^{-1}y|^2_2leq 1 longrightarrow y^T(AA^T)^{-1}y leq 1$$



    and let $(AA^T)^{-1}=S$ with $S = QLambda Q^T$, $A$ can be chosen as




    $$A = QLambda^{-1/2}$$




    In this case, $A$ does not have to be symmetric.



    What's wrong with the first approach? Or are both correct?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Consider the following two representations of ellipsoid:



      $$E_1 = {x mid x^TSxleq 1, , S succ 0}$$
      and $$E_2 = {y mid y = Ax, , |x|leq 1, , det(A) neq 0}$$



      If I want $E_1=E_2$, I can do



      $$x^TSx = x^TS^{1/2}S^{1/2}x = |S^{1/2}x|^2_2 leq 1$$
      and $$y=Ax longrightarrow A^{-1}y = x longrightarrow |A^{-1}y| = |x| le1 longrightarrow |A^{-1}y|^2_2leq 1$$



      So comparing both equations,




      $$A^{-1} = S^{1/2}$$




      In this case, $A$ has to be symmetric.



      However, if I do the following



      $$|A^{-1}y|^2_2leq 1 longrightarrow y^T(AA^T)^{-1}y leq 1$$



      and let $(AA^T)^{-1}=S$ with $S = QLambda Q^T$, $A$ can be chosen as




      $$A = QLambda^{-1/2}$$




      In this case, $A$ does not have to be symmetric.



      What's wrong with the first approach? Or are both correct?










      share|cite|improve this question











      $endgroup$




      Consider the following two representations of ellipsoid:



      $$E_1 = {x mid x^TSxleq 1, , S succ 0}$$
      and $$E_2 = {y mid y = Ax, , |x|leq 1, , det(A) neq 0}$$



      If I want $E_1=E_2$, I can do



      $$x^TSx = x^TS^{1/2}S^{1/2}x = |S^{1/2}x|^2_2 leq 1$$
      and $$y=Ax longrightarrow A^{-1}y = x longrightarrow |A^{-1}y| = |x| le1 longrightarrow |A^{-1}y|^2_2leq 1$$



      So comparing both equations,




      $$A^{-1} = S^{1/2}$$




      In this case, $A$ has to be symmetric.



      However, if I do the following



      $$|A^{-1}y|^2_2leq 1 longrightarrow y^T(AA^T)^{-1}y leq 1$$



      and let $(AA^T)^{-1}=S$ with $S = QLambda Q^T$, $A$ can be chosen as




      $$A = QLambda^{-1/2}$$




      In this case, $A$ does not have to be symmetric.



      What's wrong with the first approach? Or are both correct?







      linear-algebra matrices positive-definite positive-semidefinite






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 30 '18 at 0:05







      sleeve chen

















      asked Nov 29 '18 at 23:38









      sleeve chensleeve chen

      3,10641852




      3,10641852






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          $S$ does not have to be symmetric, and neither does $A$.



          Consider for instance:
          $$x^2+2y^2+2xy=
          begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&2\0&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          =begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&1\1&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          $$

          It's just that we usually choose $S$ to be symmetric, since then we can do a useful eigenvalue decomposition.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
            $endgroup$
            – amd
            Nov 30 '18 at 0:41













          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%2f3019404%2fellipsoid-representation-by-psd-matrix-and-by-linear-mapping%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$

          $S$ does not have to be symmetric, and neither does $A$.



          Consider for instance:
          $$x^2+2y^2+2xy=
          begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&2\0&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          =begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&1\1&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          $$

          It's just that we usually choose $S$ to be symmetric, since then we can do a useful eigenvalue decomposition.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
            $endgroup$
            – amd
            Nov 30 '18 at 0:41


















          1












          $begingroup$

          $S$ does not have to be symmetric, and neither does $A$.



          Consider for instance:
          $$x^2+2y^2+2xy=
          begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&2\0&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          =begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&1\1&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          $$

          It's just that we usually choose $S$ to be symmetric, since then we can do a useful eigenvalue decomposition.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
            $endgroup$
            – amd
            Nov 30 '18 at 0:41
















          1












          1








          1





          $begingroup$

          $S$ does not have to be symmetric, and neither does $A$.



          Consider for instance:
          $$x^2+2y^2+2xy=
          begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&2\0&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          =begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&1\1&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          $$

          It's just that we usually choose $S$ to be symmetric, since then we can do a useful eigenvalue decomposition.






          share|cite|improve this answer









          $endgroup$



          $S$ does not have to be symmetric, and neither does $A$.



          Consider for instance:
          $$x^2+2y^2+2xy=
          begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&2\0&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          =begin{pmatrix}x&yend{pmatrix}begin{pmatrix}1&1\1&2end{pmatrix}begin{pmatrix}x\yend{pmatrix}
          $$

          It's just that we usually choose $S$ to be symmetric, since then we can do a useful eigenvalue decomposition.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 30 '18 at 0:08









          I like SerenaI like Serena

          4,1771722




          4,1771722












          • $begingroup$
            That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
            $endgroup$
            – amd
            Nov 30 '18 at 0:41




















          • $begingroup$
            That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
            $endgroup$
            – amd
            Nov 30 '18 at 0:41


















          $begingroup$
          That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
          $endgroup$
          – amd
          Nov 30 '18 at 0:41






          $begingroup$
          That said, only the symmetric part of $S$ actually contributes to the quadratic form, which is why one usually assumes that it’s symmetric, anyway.
          $endgroup$
          – amd
          Nov 30 '18 at 0:41




















          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%2f3019404%2fellipsoid-representation-by-psd-matrix-and-by-linear-mapping%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

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?