Completing the Square: Solving Multivariable Equations

  • Thread starter Thread starter Ted123
  • Start date Start date
  • Tags Tags
    Square
Click For Summary

Homework Help Overview

The discussion revolves around the process of completing the square for a multivariable polynomial: x^2 + 2y^2 + 2z^2 + 4xy + 4xz + 4yz. Participants express uncertainty about how to apply techniques typically used for single-variable quadratics to this more complex expression.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the possibility of identifying perfect squares within the polynomial, particularly focusing on the terms involving y and z. There are discussions about factoring and the implications of different approaches to completing the square. Questions arise regarding the rank and signature of the resulting expression.

Discussion Status

Several participants have offered insights into the factorization process and the structure of the polynomial. There is an ongoing exploration of different methods to complete the square, with no clear consensus on a single approach or outcome yet reached.

Contextual Notes

Some participants express doubt about the existence of a unique solution, indicating that multiple interpretations and methods may be valid in this context.

Ted123
Messages
428
Reaction score
0
How do I complete the square for: [tex]x^2 + 2y^2 + 2z^2 + 4xy +4xz + 4yz[/tex]
I can do it for a normal quadratic [itex]ax^2 + bx + c[/itex] but how do I do it for something like this with more than one variable?
 
Physics news on Phys.org
Ted123 said:
How do I complete the square for: [tex]x^2 + 2y^2 + 2z^2 + 4xy +4xz + 4yz[/tex]
I can do it for a normal quadratic [itex]ax^2 + bx + c[/itex] but how do I do it for something like this with more than one variable?
I doubt that there is one particular "correct" result for this.

Notice that this polynomial does contain a perfect square for two of the variables, y & z: [itex]2y^2+4yz+2z^2=2(y+z)^2\,.[/itex]

Factor 4x out of the two remaining "mixed" terms.
[itex]x^2+4x(y+z)+2(y+z)^2[/itex]​
I see two ways to finish. You can figure out how many terms of (y+z)2 to add & subtract, or you can figure out how many terms of x2 to add & subtract. The latter way gives a simpler looking answer.
 
SammyS said:
I doubt that there is one particular "correct" result for this.

Notice that this polynomial does contain a perfect square for two of the variables, y & z: [itex]2y^2+4yz+2z^2=2(y+z)^2\,.[/itex]

Factor 4x out of the two remaining "mixed" terms.
[itex]x^2+4x(y+z)+2(y+z)^2[/itex]​
I see two ways to finish. You can figure out how many terms of (y+z)2 to add & subtract, or you can figure out how many terms of x2 to add & subtract. The latter way gives a simpler looking answer.

I've got it equal to the sum of squares: [tex]2(x+y+z)^2 - x^2[/tex] What does this mean the rank and signature is? There is 1 positive square and 1 negative square so is the rank 1+1=2 and the signature 1-1=0?
 
Ted123 said:
How do I complete the square for: [tex]x^2 + 2y^2 + 2z^2 + 4xy +4xz + 4yz[/tex]
I can do it for a normal quadratic [itex]ax^2 + bx + c[/itex] but how do I do it for something like this with more than one variable?

You can apply (essentially) the algorithm that leads to Cholesky factorization of a matrix. In your example, start by looking at the x-terms, which are [itex]x^2 + 4xz + 4yz .[/itex] These are what you would get if you looked at [itex](x+2y+2z)^2,[/itex] because that is where you would get terms of the form 4xy and 4xz. Anyway, we have [tex]x^2 + 4xy + 4xz = (x+2y + 2z)^2 - 4y^2 - 4z^2 - 8yz,[/tex], so your function f(x,y,z) is
[tex](x+2y+2z)^2 -2y^2 - 2z^2 -4yz.[/tex] Now [tex]2y^2+2z^2+4yz = 2(y+z)^2,[/tex]
so we finally have [tex]f(x,y,z) = (x+2y+2z)^2-2(y+z)^2.[/tex]

RGV
 
Ray Vickson said:
You can apply (essentially) the algorithm that leads to Cholesky factorization of a matrix. In your example, start by looking at the x-terms, which are [itex]x^2 + 4xz + 4yz .[/itex] These are what you would get if you looked at [itex](x+2y+2z)^2,[/itex] because that is where you would get terms of the form 4xy and 4xz. Anyway, we have [tex]x^2 + 4xy + 4xz = (x+2y + 2z)^2 - 4y^2 - 4z^2 - 8yz,[/tex], so your function f(x,y,z) is
[tex](x+2y+2z)^2 -2y^2 - 2z^2 -4yz.[/tex] Now [tex]2y^2+2z^2+4yz = 2(y+z)^2,[/tex]
so we finally have [tex]f(x,y,z) = (x+2y+2z)^2-2(y+z)^2.[/tex]

RGV

So is the rank 2 and the signature 0?
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 18 ·
Replies
18
Views
6K
Replies
4
Views
5K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
1K
Replies
4
Views
2K
Replies
12
Views
2K