Put quadratic form into sum of squares The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Simultaneous diagonalization of quadratic formsCompleting squares by symplectic transformationsWhy must P be orthonormal, and not just orthogonal, for change of variable in Quadratic Form? [Kolman P560 8.8.24]Quadratic Form - New Axes = Eigenvectors of P, Order of Eigenvectors Important? [Kolman P539 Example 6]Find the orthogonal matrix and new quadratic formExpress a quadratic form as a sum of squares using Schur complementsMatrix exponential of non diagonalizable matrix?Matrix of the quadratic formGraph of curve defined by $3x^2+3y^2-2xy-2=0$Quadratic Form - Finding the Coefficient matrix

Does Parliament hold absolute power in the UK?

Simulating Exploding Dice

Am I ethically obligated to go into work on an off day if the reason is sudden?

Do I have Disadvantage attacking with an off-hand weapon?

What other Star Trek series did the main TNG cast show up in?

Windows 10: How to Lock (not sleep) laptop on lid close?

"is" operation returns false even though two objects have same id

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

What force causes entropy to increase?

Define a list range inside a list

Didn't get enough time to take a Coding Test - what to do now?

Keeping a retro style to sci-fi spaceships?

Could an empire control the whole planet with today's comunication methods?

Student Loan from years ago pops up and is taking my salary

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Nested ellipses in tikzpicture: Chomsky hierarchy

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Can withdrawing asylum be illegal?

Identify 80s or 90s comics with ripped creatures (not dwarves)

Working through the single responsibility principle (SRP) in Python when calls are expensive

How to make Illustrator type tool selection automatically adapt with text length

One-dimensional Japanese puzzle

Why not take a picture of a closer black hole?



Put quadratic form into sum of squares



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Simultaneous diagonalization of quadratic formsCompleting squares by symplectic transformationsWhy must P be orthonormal, and not just orthogonal, for change of variable in Quadratic Form? [Kolman P560 8.8.24]Quadratic Form - New Axes = Eigenvectors of P, Order of Eigenvectors Important? [Kolman P539 Example 6]Find the orthogonal matrix and new quadratic formExpress a quadratic form as a sum of squares using Schur complementsMatrix exponential of non diagonalizable matrix?Matrix of the quadratic formGraph of curve defined by $3x^2+3y^2-2xy-2=0$Quadratic Form - Finding the Coefficient matrix










0












$begingroup$


Is there a method or process that doesn't require a matrix to put quadratic forms into a sum of squares ?



Two examples that I find extremely challenging.



i)



$q(x, y, z) = (x − y)
^2 + (y − z)
^2 − (z − x)
^2$



ii)
Finding the linear forms that constitute the orthogonal matrix that diagonalizes the symmetric matrix:



$ M= beginbmatrix3&1&-3/2\1&1&0\-3/2&0&0 endbmatrix$



the quadratic form should look something like this:



$q(x,y,z) =3x^2 + 2xy -3xz+y^2$



Not looking for the solution, but for a method I can apply in most cases.










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    Isn’t (i) already a sum of squares?
    $endgroup$
    – amd
    Sep 4 '17 at 3:20















0












$begingroup$


Is there a method or process that doesn't require a matrix to put quadratic forms into a sum of squares ?



Two examples that I find extremely challenging.



i)



$q(x, y, z) = (x − y)
^2 + (y − z)
^2 − (z − x)
^2$



ii)
Finding the linear forms that constitute the orthogonal matrix that diagonalizes the symmetric matrix:



$ M= beginbmatrix3&1&-3/2\1&1&0\-3/2&0&0 endbmatrix$



the quadratic form should look something like this:



$q(x,y,z) =3x^2 + 2xy -3xz+y^2$



Not looking for the solution, but for a method I can apply in most cases.










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    Isn’t (i) already a sum of squares?
    $endgroup$
    – amd
    Sep 4 '17 at 3:20













0












0








0





$begingroup$


Is there a method or process that doesn't require a matrix to put quadratic forms into a sum of squares ?



Two examples that I find extremely challenging.



i)



$q(x, y, z) = (x − y)
^2 + (y − z)
^2 − (z − x)
^2$



ii)
Finding the linear forms that constitute the orthogonal matrix that diagonalizes the symmetric matrix:



$ M= beginbmatrix3&1&-3/2\1&1&0\-3/2&0&0 endbmatrix$



the quadratic form should look something like this:



$q(x,y,z) =3x^2 + 2xy -3xz+y^2$



Not looking for the solution, but for a method I can apply in most cases.










share|cite|improve this question









$endgroup$




Is there a method or process that doesn't require a matrix to put quadratic forms into a sum of squares ?



Two examples that I find extremely challenging.



i)



$q(x, y, z) = (x − y)
^2 + (y − z)
^2 − (z − x)
^2$



ii)
Finding the linear forms that constitute the orthogonal matrix that diagonalizes the symmetric matrix:



$ M= beginbmatrix3&1&-3/2\1&1&0\-3/2&0&0 endbmatrix$



the quadratic form should look something like this:



$q(x,y,z) =3x^2 + 2xy -3xz+y^2$



Not looking for the solution, but for a method I can apply in most cases.







linear-algebra matrices quadratic-forms sums-of-squares






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Sep 4 '17 at 2:07









LeroyLeroy

1267




1267







  • 1




    $begingroup$
    Isn’t (i) already a sum of squares?
    $endgroup$
    – amd
    Sep 4 '17 at 3:20












  • 1




    $begingroup$
    Isn’t (i) already a sum of squares?
    $endgroup$
    – amd
    Sep 4 '17 at 3:20







1




1




$begingroup$
Isn’t (i) already a sum of squares?
$endgroup$
– amd
Sep 4 '17 at 3:20




$begingroup$
Isn’t (i) already a sum of squares?
$endgroup$
– amd
Sep 4 '17 at 3:20










1 Answer
1






active

oldest

votes


















0












$begingroup$

Let's tackle your second quadratic form. Start by choosing one of the variables which appears as a square (if there isn't such a variable, you can always make a change of variables to get one). Let's start with $y$. This variable appears only with $x,y$ so we should try and complete the square to get all the terms that occur. In our case,



$$ 3x^2 + 2xy - 3xz + y^2 = (y + x)^2 + 2x^2 - 3xz. $$



This way, we have eliminated $y$ from the problem and now we handle only $2x^2 - 3xz$ in which $y$ doesn't appear and repeat the process. Then



$$ 2x^2 - 3xz = left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2$$



so the final answer can be



$$ q(x,y,z) = (y + x)^2 + left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2.$$



If we would have started with $x$, the process would look like this:



$$ q(x,y,z) = 3x^2 + 2xy - 3xz + y^2 = left( sqrt3x + frac1sqrt3y - fracsqrt32z right)^2 + frac23y^2 - frac34z^2.$$






share|cite|improve this answer









$endgroup$













    Your Answer








    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%2f2415940%2fput-quadratic-form-into-sum-of-squares%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









    0












    $begingroup$

    Let's tackle your second quadratic form. Start by choosing one of the variables which appears as a square (if there isn't such a variable, you can always make a change of variables to get one). Let's start with $y$. This variable appears only with $x,y$ so we should try and complete the square to get all the terms that occur. In our case,



    $$ 3x^2 + 2xy - 3xz + y^2 = (y + x)^2 + 2x^2 - 3xz. $$



    This way, we have eliminated $y$ from the problem and now we handle only $2x^2 - 3xz$ in which $y$ doesn't appear and repeat the process. Then



    $$ 2x^2 - 3xz = left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2$$



    so the final answer can be



    $$ q(x,y,z) = (y + x)^2 + left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2.$$



    If we would have started with $x$, the process would look like this:



    $$ q(x,y,z) = 3x^2 + 2xy - 3xz + y^2 = left( sqrt3x + frac1sqrt3y - fracsqrt32z right)^2 + frac23y^2 - frac34z^2.$$






    share|cite|improve this answer









    $endgroup$

















      0












      $begingroup$

      Let's tackle your second quadratic form. Start by choosing one of the variables which appears as a square (if there isn't such a variable, you can always make a change of variables to get one). Let's start with $y$. This variable appears only with $x,y$ so we should try and complete the square to get all the terms that occur. In our case,



      $$ 3x^2 + 2xy - 3xz + y^2 = (y + x)^2 + 2x^2 - 3xz. $$



      This way, we have eliminated $y$ from the problem and now we handle only $2x^2 - 3xz$ in which $y$ doesn't appear and repeat the process. Then



      $$ 2x^2 - 3xz = left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2$$



      so the final answer can be



      $$ q(x,y,z) = (y + x)^2 + left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2.$$



      If we would have started with $x$, the process would look like this:



      $$ q(x,y,z) = 3x^2 + 2xy - 3xz + y^2 = left( sqrt3x + frac1sqrt3y - fracsqrt32z right)^2 + frac23y^2 - frac34z^2.$$






      share|cite|improve this answer









      $endgroup$















        0












        0








        0





        $begingroup$

        Let's tackle your second quadratic form. Start by choosing one of the variables which appears as a square (if there isn't such a variable, you can always make a change of variables to get one). Let's start with $y$. This variable appears only with $x,y$ so we should try and complete the square to get all the terms that occur. In our case,



        $$ 3x^2 + 2xy - 3xz + y^2 = (y + x)^2 + 2x^2 - 3xz. $$



        This way, we have eliminated $y$ from the problem and now we handle only $2x^2 - 3xz$ in which $y$ doesn't appear and repeat the process. Then



        $$ 2x^2 - 3xz = left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2$$



        so the final answer can be



        $$ q(x,y,z) = (y + x)^2 + left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2.$$



        If we would have started with $x$, the process would look like this:



        $$ q(x,y,z) = 3x^2 + 2xy - 3xz + y^2 = left( sqrt3x + frac1sqrt3y - fracsqrt32z right)^2 + frac23y^2 - frac34z^2.$$






        share|cite|improve this answer









        $endgroup$



        Let's tackle your second quadratic form. Start by choosing one of the variables which appears as a square (if there isn't such a variable, you can always make a change of variables to get one). Let's start with $y$. This variable appears only with $x,y$ so we should try and complete the square to get all the terms that occur. In our case,



        $$ 3x^2 + 2xy - 3xz + y^2 = (y + x)^2 + 2x^2 - 3xz. $$



        This way, we have eliminated $y$ from the problem and now we handle only $2x^2 - 3xz$ in which $y$ doesn't appear and repeat the process. Then



        $$ 2x^2 - 3xz = left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2$$



        so the final answer can be



        $$ q(x,y,z) = (y + x)^2 + left( sqrt2x - frac32sqrt2z right)^2 - frac98z^2.$$



        If we would have started with $x$, the process would look like this:



        $$ q(x,y,z) = 3x^2 + 2xy - 3xz + y^2 = left( sqrt3x + frac1sqrt3y - fracsqrt32z right)^2 + frac23y^2 - frac34z^2.$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Sep 4 '17 at 8:13









        levaplevap

        48k33274




        48k33274



























            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%2f2415940%2fput-quadratic-form-into-sum-of-squares%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

            Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

            Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

            Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ