Norm of a set of vectors with respect to a quadratic form












0












$begingroup$


I've got a problem that I'm struggling to put into a form that I can analyze.



Suppose I have a quadratic form $f(x,y)=ax^2+2bxy+cy^2 = mathbf{u}mathbf{A}mathbf{u}^T$ for $mathbf{u} = begin{bmatrix}x&yend{bmatrix}$, $mathbf{A} = begin{bmatrix}a & b cr b &cend{bmatrix}$



Now I have two series of coordinate pairs $mathbf{u}_k = begin{bmatrix}x_k&y_kend{bmatrix}$ and $mathbf{v}_k = begin{bmatrix}x_k&y_kend{bmatrix}$, and I want to compare the sets $U={mathbf{u}_k}$ and $V={mathbf{v}_k}$ by evaluating the metrics



$$g(U) = maxlimits_{lVert{A}rVert le 1} sumlimits_k f(x_k,y_k)$$



and comparing $g(U)$ and $g(V)$.



Is there an easy way to compute $g(U)$ from knowing the individual $(x_k,y_k)$ pairs? I can compute the following quantities easily:



$$begin{align}
S_{xx} &= sum x^2 cr
S_{xy} &= sum xy cr
S_{yy} &= sum y^2
end{align}$$



I just am not sure how to use those to compute the maximum over the constraint $lVert{A}rVert le 1$. (I have a very poor knowledge of matrix norm identities.)



(Important fact: I'm using Frobenius norms.)





Given the Frobenius norm definition, this means that I'm looking for the maximum value of $aS_{xx} + 2bS_{xy} + cS_{yy}$ subject to the constraint $a^2 + 2b^2 + c^2 le 1$.



Not sure where to go from here, though it seems like I'm really close.










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    I've got a problem that I'm struggling to put into a form that I can analyze.



    Suppose I have a quadratic form $f(x,y)=ax^2+2bxy+cy^2 = mathbf{u}mathbf{A}mathbf{u}^T$ for $mathbf{u} = begin{bmatrix}x&yend{bmatrix}$, $mathbf{A} = begin{bmatrix}a & b cr b &cend{bmatrix}$



    Now I have two series of coordinate pairs $mathbf{u}_k = begin{bmatrix}x_k&y_kend{bmatrix}$ and $mathbf{v}_k = begin{bmatrix}x_k&y_kend{bmatrix}$, and I want to compare the sets $U={mathbf{u}_k}$ and $V={mathbf{v}_k}$ by evaluating the metrics



    $$g(U) = maxlimits_{lVert{A}rVert le 1} sumlimits_k f(x_k,y_k)$$



    and comparing $g(U)$ and $g(V)$.



    Is there an easy way to compute $g(U)$ from knowing the individual $(x_k,y_k)$ pairs? I can compute the following quantities easily:



    $$begin{align}
    S_{xx} &= sum x^2 cr
    S_{xy} &= sum xy cr
    S_{yy} &= sum y^2
    end{align}$$



    I just am not sure how to use those to compute the maximum over the constraint $lVert{A}rVert le 1$. (I have a very poor knowledge of matrix norm identities.)



    (Important fact: I'm using Frobenius norms.)





    Given the Frobenius norm definition, this means that I'm looking for the maximum value of $aS_{xx} + 2bS_{xy} + cS_{yy}$ subject to the constraint $a^2 + 2b^2 + c^2 le 1$.



    Not sure where to go from here, though it seems like I'm really close.










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      I've got a problem that I'm struggling to put into a form that I can analyze.



      Suppose I have a quadratic form $f(x,y)=ax^2+2bxy+cy^2 = mathbf{u}mathbf{A}mathbf{u}^T$ for $mathbf{u} = begin{bmatrix}x&yend{bmatrix}$, $mathbf{A} = begin{bmatrix}a & b cr b &cend{bmatrix}$



      Now I have two series of coordinate pairs $mathbf{u}_k = begin{bmatrix}x_k&y_kend{bmatrix}$ and $mathbf{v}_k = begin{bmatrix}x_k&y_kend{bmatrix}$, and I want to compare the sets $U={mathbf{u}_k}$ and $V={mathbf{v}_k}$ by evaluating the metrics



      $$g(U) = maxlimits_{lVert{A}rVert le 1} sumlimits_k f(x_k,y_k)$$



      and comparing $g(U)$ and $g(V)$.



      Is there an easy way to compute $g(U)$ from knowing the individual $(x_k,y_k)$ pairs? I can compute the following quantities easily:



      $$begin{align}
      S_{xx} &= sum x^2 cr
      S_{xy} &= sum xy cr
      S_{yy} &= sum y^2
      end{align}$$



      I just am not sure how to use those to compute the maximum over the constraint $lVert{A}rVert le 1$. (I have a very poor knowledge of matrix norm identities.)



      (Important fact: I'm using Frobenius norms.)





      Given the Frobenius norm definition, this means that I'm looking for the maximum value of $aS_{xx} + 2bS_{xy} + cS_{yy}$ subject to the constraint $a^2 + 2b^2 + c^2 le 1$.



      Not sure where to go from here, though it seems like I'm really close.










      share|cite|improve this question











      $endgroup$




      I've got a problem that I'm struggling to put into a form that I can analyze.



      Suppose I have a quadratic form $f(x,y)=ax^2+2bxy+cy^2 = mathbf{u}mathbf{A}mathbf{u}^T$ for $mathbf{u} = begin{bmatrix}x&yend{bmatrix}$, $mathbf{A} = begin{bmatrix}a & b cr b &cend{bmatrix}$



      Now I have two series of coordinate pairs $mathbf{u}_k = begin{bmatrix}x_k&y_kend{bmatrix}$ and $mathbf{v}_k = begin{bmatrix}x_k&y_kend{bmatrix}$, and I want to compare the sets $U={mathbf{u}_k}$ and $V={mathbf{v}_k}$ by evaluating the metrics



      $$g(U) = maxlimits_{lVert{A}rVert le 1} sumlimits_k f(x_k,y_k)$$



      and comparing $g(U)$ and $g(V)$.



      Is there an easy way to compute $g(U)$ from knowing the individual $(x_k,y_k)$ pairs? I can compute the following quantities easily:



      $$begin{align}
      S_{xx} &= sum x^2 cr
      S_{xy} &= sum xy cr
      S_{yy} &= sum y^2
      end{align}$$



      I just am not sure how to use those to compute the maximum over the constraint $lVert{A}rVert le 1$. (I have a very poor knowledge of matrix norm identities.)



      (Important fact: I'm using Frobenius norms.)





      Given the Frobenius norm definition, this means that I'm looking for the maximum value of $aS_{xx} + 2bS_{xy} + cS_{yy}$ subject to the constraint $a^2 + 2b^2 + c^2 le 1$.



      Not sure where to go from here, though it seems like I'm really close.







      matrices norm quadratic-forms






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 24 at 21:05







      Jason S

















      asked Jan 24 at 20:52









      Jason SJason S

      2,04811617




      2,04811617






















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          Using method of Lagrange multipliers you can find that



          $$
          underset{a^2 + 2b^2 + c^2 le 1}{operatorname{max}} Big(aS_{xx} + 2bS_{xy} + cS_{yy}Big)=sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2},
          $$



          which is obtained when



          $$
          a=frac{S_{xx}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad b=frac{S_{xy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad c=frac{S_{yy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}
          $$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
            $endgroup$
            – Jason S
            Jan 24 at 22:06










          • $begingroup$
            @JasonS, seconds doesn't matter. You've done it right and simple.
            $endgroup$
            – Zeekless
            Jan 24 at 22:07










          • $begingroup$
            I think maybe I've missed a step; how do you apply Lagrange multipliers here?
            $endgroup$
            – Jason S
            Jan 24 at 22:14










          • $begingroup$
            @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
            $endgroup$
            – Zeekless
            Jan 24 at 22:29












          • $begingroup$
            ah, ok, and it's brute force calculus + algebra after that.
            $endgroup$
            – Jason S
            Jan 24 at 22:40



















          1












          $begingroup$

          Hmmm. If I write $u=a, v=2b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+S_{xy}{}^2+S_{yy}{}^2}$.



          Did I get that right?





          Take 2:



          If I write $u=a, v=sqrt{2}b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+sqrt{2}vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},sqrt{2}S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+2S_{xy}{}^2+S_{yy}{}^2}$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
            $endgroup$
            – Zeekless
            Jan 24 at 21:21












          • $begingroup$
            But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
            $endgroup$
            – Jason S
            Jan 24 at 21:55












          • $begingroup$
            Oh. You're right. Drat.
            $endgroup$
            – Jason S
            Jan 24 at 21:57






          • 1




            $begingroup$
            fixed it!!!!!!!
            $endgroup$
            – Jason S
            Jan 24 at 22:09











          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%2f3086338%2fnorm-of-a-set-of-vectors-with-respect-to-a-quadratic-form%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1












          $begingroup$

          Using method of Lagrange multipliers you can find that



          $$
          underset{a^2 + 2b^2 + c^2 le 1}{operatorname{max}} Big(aS_{xx} + 2bS_{xy} + cS_{yy}Big)=sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2},
          $$



          which is obtained when



          $$
          a=frac{S_{xx}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad b=frac{S_{xy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad c=frac{S_{yy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}
          $$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
            $endgroup$
            – Jason S
            Jan 24 at 22:06










          • $begingroup$
            @JasonS, seconds doesn't matter. You've done it right and simple.
            $endgroup$
            – Zeekless
            Jan 24 at 22:07










          • $begingroup$
            I think maybe I've missed a step; how do you apply Lagrange multipliers here?
            $endgroup$
            – Jason S
            Jan 24 at 22:14










          • $begingroup$
            @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
            $endgroup$
            – Zeekless
            Jan 24 at 22:29












          • $begingroup$
            ah, ok, and it's brute force calculus + algebra after that.
            $endgroup$
            – Jason S
            Jan 24 at 22:40
















          1












          $begingroup$

          Using method of Lagrange multipliers you can find that



          $$
          underset{a^2 + 2b^2 + c^2 le 1}{operatorname{max}} Big(aS_{xx} + 2bS_{xy} + cS_{yy}Big)=sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2},
          $$



          which is obtained when



          $$
          a=frac{S_{xx}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad b=frac{S_{xy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad c=frac{S_{yy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}
          $$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
            $endgroup$
            – Jason S
            Jan 24 at 22:06










          • $begingroup$
            @JasonS, seconds doesn't matter. You've done it right and simple.
            $endgroup$
            – Zeekless
            Jan 24 at 22:07










          • $begingroup$
            I think maybe I've missed a step; how do you apply Lagrange multipliers here?
            $endgroup$
            – Jason S
            Jan 24 at 22:14










          • $begingroup$
            @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
            $endgroup$
            – Zeekless
            Jan 24 at 22:29












          • $begingroup$
            ah, ok, and it's brute force calculus + algebra after that.
            $endgroup$
            – Jason S
            Jan 24 at 22:40














          1












          1








          1





          $begingroup$

          Using method of Lagrange multipliers you can find that



          $$
          underset{a^2 + 2b^2 + c^2 le 1}{operatorname{max}} Big(aS_{xx} + 2bS_{xy} + cS_{yy}Big)=sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2},
          $$



          which is obtained when



          $$
          a=frac{S_{xx}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad b=frac{S_{xy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad c=frac{S_{yy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}
          $$






          share|cite|improve this answer









          $endgroup$



          Using method of Lagrange multipliers you can find that



          $$
          underset{a^2 + 2b^2 + c^2 le 1}{operatorname{max}} Big(aS_{xx} + 2bS_{xy} + cS_{yy}Big)=sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2},
          $$



          which is obtained when



          $$
          a=frac{S_{xx}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad b=frac{S_{xy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}, quad c=frac{S_{yy}}{sqrt{S_{xx}^2 + 2S_{xy}^2 + S_{yy}^2}}
          $$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 24 at 22:03









          ZeeklessZeekless

          577111




          577111












          • $begingroup$
            Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
            $endgroup$
            – Jason S
            Jan 24 at 22:06










          • $begingroup$
            @JasonS, seconds doesn't matter. You've done it right and simple.
            $endgroup$
            – Zeekless
            Jan 24 at 22:07










          • $begingroup$
            I think maybe I've missed a step; how do you apply Lagrange multipliers here?
            $endgroup$
            – Jason S
            Jan 24 at 22:14










          • $begingroup$
            @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
            $endgroup$
            – Zeekless
            Jan 24 at 22:29












          • $begingroup$
            ah, ok, and it's brute force calculus + algebra after that.
            $endgroup$
            – Jason S
            Jan 24 at 22:40


















          • $begingroup$
            Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
            $endgroup$
            – Jason S
            Jan 24 at 22:06










          • $begingroup$
            @JasonS, seconds doesn't matter. You've done it right and simple.
            $endgroup$
            – Zeekless
            Jan 24 at 22:07










          • $begingroup$
            I think maybe I've missed a step; how do you apply Lagrange multipliers here?
            $endgroup$
            – Jason S
            Jan 24 at 22:14










          • $begingroup$
            @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
            $endgroup$
            – Zeekless
            Jan 24 at 22:29












          • $begingroup$
            ah, ok, and it's brute force calculus + algebra after that.
            $endgroup$
            – Jason S
            Jan 24 at 22:40
















          $begingroup$
          Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
          $endgroup$
          – Jason S
          Jan 24 at 22:06




          $begingroup$
          Beat me by 22 seconds with a fix. I'm not that familiar with Lagrange multipliers (heard of them, know what they are, don't know how to apply them), but will check out the Wikipedia page.
          $endgroup$
          – Jason S
          Jan 24 at 22:06












          $begingroup$
          @JasonS, seconds doesn't matter. You've done it right and simple.
          $endgroup$
          – Zeekless
          Jan 24 at 22:07




          $begingroup$
          @JasonS, seconds doesn't matter. You've done it right and simple.
          $endgroup$
          – Zeekless
          Jan 24 at 22:07












          $begingroup$
          I think maybe I've missed a step; how do you apply Lagrange multipliers here?
          $endgroup$
          – Jason S
          Jan 24 at 22:14




          $begingroup$
          I think maybe I've missed a step; how do you apply Lagrange multipliers here?
          $endgroup$
          – Jason S
          Jan 24 at 22:14












          $begingroup$
          @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
          $endgroup$
          – Zeekless
          Jan 24 at 22:29






          $begingroup$
          @JasonS, geometrically, $f(a,b,c) = aS_{xx} + 2bS_{xy} + cS_{yy}$ is a plane and has no local maximum. Therefore, the maximum value is obtained on the boarder, i.e. when $a^2 + 2b^2 + c^2 = 1$. Then we construct an auxiliary function $F(a,b,c,lambda)=aS_{xx} + 2bS_{xy} + cS_{yy}-lambda(a^2 + 2b^2 + c^2-1)$ and search for the points where $F'_a=F'_b=F'_c=F'_{lambda}=0$.
          $endgroup$
          – Zeekless
          Jan 24 at 22:29














          $begingroup$
          ah, ok, and it's brute force calculus + algebra after that.
          $endgroup$
          – Jason S
          Jan 24 at 22:40




          $begingroup$
          ah, ok, and it's brute force calculus + algebra after that.
          $endgroup$
          – Jason S
          Jan 24 at 22:40











          1












          $begingroup$

          Hmmm. If I write $u=a, v=2b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+S_{xy}{}^2+S_{yy}{}^2}$.



          Did I get that right?





          Take 2:



          If I write $u=a, v=sqrt{2}b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+sqrt{2}vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},sqrt{2}S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+2S_{xy}{}^2+S_{yy}{}^2}$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
            $endgroup$
            – Zeekless
            Jan 24 at 21:21












          • $begingroup$
            But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
            $endgroup$
            – Jason S
            Jan 24 at 21:55












          • $begingroup$
            Oh. You're right. Drat.
            $endgroup$
            – Jason S
            Jan 24 at 21:57






          • 1




            $begingroup$
            fixed it!!!!!!!
            $endgroup$
            – Jason S
            Jan 24 at 22:09
















          1












          $begingroup$

          Hmmm. If I write $u=a, v=2b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+S_{xy}{}^2+S_{yy}{}^2}$.



          Did I get that right?





          Take 2:



          If I write $u=a, v=sqrt{2}b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+sqrt{2}vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},sqrt{2}S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+2S_{xy}{}^2+S_{yy}{}^2}$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
            $endgroup$
            – Zeekless
            Jan 24 at 21:21












          • $begingroup$
            But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
            $endgroup$
            – Jason S
            Jan 24 at 21:55












          • $begingroup$
            Oh. You're right. Drat.
            $endgroup$
            – Jason S
            Jan 24 at 21:57






          • 1




            $begingroup$
            fixed it!!!!!!!
            $endgroup$
            – Jason S
            Jan 24 at 22:09














          1












          1








          1





          $begingroup$

          Hmmm. If I write $u=a, v=2b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+S_{xy}{}^2+S_{yy}{}^2}$.



          Did I get that right?





          Take 2:



          If I write $u=a, v=sqrt{2}b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+sqrt{2}vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},sqrt{2}S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+2S_{xy}{}^2+S_{yy}{}^2}$.






          share|cite|improve this answer











          $endgroup$



          Hmmm. If I write $u=a, v=2b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+S_{xy}{}^2+S_{yy}{}^2}$.



          Did I get that right?





          Take 2:



          If I write $u=a, v=sqrt{2}b, w=c$ then I have a 3-dimensional vector $mathbf{r} = (u,v,w)$ of magnitude 1 or less, and the function $g(S_{xx},S_{xy},S_{yy}) = uS_{xx}+sqrt{2}vS_{xy}+wS_{yy} = mathbf{r}cdotmathbf{S}$ for $mathbf{S} = (S_{xx},sqrt{2}S_{xy},S_{yy})$ is maximized when $mathbf{r}$ and $mathbf{S}$ are in the same direction, or in other words, $mathbf{r} = frac{mathbf{S}}{lvertmathbf{S}rvert}$, in which case $g(mathbf{S}) = mathbf{r}cdotmathbf{S} = |mathbf{S}| = sqrt{S_{xx}{}^2+2S_{xy}{}^2+S_{yy}{}^2}$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 24 at 22:04

























          answered Jan 24 at 21:16









          Jason SJason S

          2,04811617




          2,04811617












          • $begingroup$
            No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
            $endgroup$
            – Zeekless
            Jan 24 at 21:21












          • $begingroup$
            But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
            $endgroup$
            – Jason S
            Jan 24 at 21:55












          • $begingroup$
            Oh. You're right. Drat.
            $endgroup$
            – Jason S
            Jan 24 at 21:57






          • 1




            $begingroup$
            fixed it!!!!!!!
            $endgroup$
            – Jason S
            Jan 24 at 22:09


















          • $begingroup$
            No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
            $endgroup$
            – Zeekless
            Jan 24 at 21:21












          • $begingroup$
            But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
            $endgroup$
            – Jason S
            Jan 24 at 21:55












          • $begingroup$
            Oh. You're right. Drat.
            $endgroup$
            – Jason S
            Jan 24 at 21:57






          • 1




            $begingroup$
            fixed it!!!!!!!
            $endgroup$
            – Jason S
            Jan 24 at 22:09
















          $begingroup$
          No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
          $endgroup$
          – Zeekless
          Jan 24 at 21:21






          $begingroup$
          No, because $|mathbf{r}|^2=a^2+color{red}{4}b^2+c^2$
          $endgroup$
          – Zeekless
          Jan 24 at 21:21














          $begingroup$
          But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
          $endgroup$
          – Jason S
          Jan 24 at 21:55






          $begingroup$
          But $|mathbf{r}| = u^2+v^2+w^2$; I've gone through a change of variable.
          $endgroup$
          – Jason S
          Jan 24 at 21:55














          $begingroup$
          Oh. You're right. Drat.
          $endgroup$
          – Jason S
          Jan 24 at 21:57




          $begingroup$
          Oh. You're right. Drat.
          $endgroup$
          – Jason S
          Jan 24 at 21:57




          1




          1




          $begingroup$
          fixed it!!!!!!!
          $endgroup$
          – Jason S
          Jan 24 at 22:09




          $begingroup$
          fixed it!!!!!!!
          $endgroup$
          – Jason S
          Jan 24 at 22:09


















          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%2f3086338%2fnorm-of-a-set-of-vectors-with-respect-to-a-quadratic-form%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

          Mario Kart Wii

          The Binding of Isaac: Rebirth/Afterbirth

          Dobbiaco