Finding minimum for an equation with two variables

  • Thread starter Thread starter Hivoyer
  • Start date Start date
  • Tags Tags
    Minimum Variables
AI Thread Summary
To find the minimum value of the equation x^2 + 2xy + 5y^2 - 4x - 6y + 7, the correct approach involves completing the square. The answer book provides the minimum form as [x + 2(y - 1)]^2 + (y + 1)^2 + 2. The user attempted to manipulate the equation but made an error in transforming the term 2xy - 4x into 4x(y - 1), which is incorrect. Clarification on the problem's wording and the provided solution is necessary to resolve the confusion.
Hivoyer
Messages
26
Reaction score
0

Homework Statement



I have the equation: x^2 + 2*x*y + 5*y^2 - 4*x - 6*y +7 and I have to find the minimum value
I'm getting something that looks half like the correct answer, but not quite right...

Homework Equations



The answer from the answer book is:

[x + 2*(y - 1)]^2 + (y + 1)^2 + 2

The Attempt at a Solution



Ok first I took 2*x*y and -4*x and turned them into 4*x*(y - 1), so I got:

x^2 + 4*x*(y - 1) + 5*y^2 - 6*y + 7

Then I turned x^2 + 4*x*(y - 1) into a square: [(x + 2*(y - 1)]^2 and subtracted [2*(y - 1)]^2, which is 4*(y - 1)^2 to balance it out, so I got:

[x + 2*(y - 1)]^2 - 4*(y - 1)^2 + 5*y^2 - 6*y + 7

However when I complete the square for the other part I get:

[x + 2*(y - 1)]^2 - 4*(y - 1)^2 + 5*[(y - 3)^2 - 9] + 7

when then gives me:

[x + 2*(y - 1)]^2 - 4*(y - 1)^2 + 5*(y - 3)^2 - 38

and this is not what the answer in the answer book I've written above is.Where did I go wrong?
 
Physics news on Phys.org
Hivoyer said:

Homework Statement



I have the equation: x^2 + 2*x*y + 5*y^2 - 4*x - 6*y +7 and I have to find the minimum value
I'm getting something that looks half like the correct answer, but not quite right...

Homework Equations



The answer from the answer book is:

[x + 2*(y - 1)]^2 + (y + 1)^2 + 2

That doesn't look like a "minimum value" of anything. Please give the exact wording of the problem from your text.
 
LCKurtz said:
That doesn't look like a "minimum value" of anything. Please give the exact wording of the problem from your text.

Here is the problem from the book(part (c) in the red rectangle):
a3bd5adaf8a79c6b.png


Here is the solution of (c) from the answer book(again surrounded in red):
cd25dbf3ab519614.png
 
Hivoyer said:

Homework Statement



I have the equation: x^2 + 2*x*y + 5*y^2 - 4*x - 6*y +7 and I have to find the minimum value
I'm getting something that looks half like the correct answer, but not quite right...

Homework Equations



The answer from the answer book is:

[x + 2*(y - 1)]^2 + (y + 1)^2 + 2

The Attempt at a Solution



Ok first I took 2*x*y and -4*x and turned them into 4*x*(y - 1),

##2xy-4x\ne 4x(y-1)##
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top