Using matrix to complete the square

Given a quadratic form: , find the symmetric matrix that defines this, row reduce this matrix into row echelon form, and use this upper triangle matrix to complete the square and write the quadratic form as the sum/difference of squares.

So here is the matrix representation using x, y, z, and t as the diagonals from left to right and x being the first order, y second order, z third order, t fourth order:

Row echelon:

NOTE: Rows 2 and 3 were switched during this process!! (It was unavoidable.)

Now, I'm not sure what to do with this matrix, as it's no longer the same matrix that represents the original quadratic.

Re: Using matrix to complete the square

Does this help? 250L27.html