Finding the absolute minimum of a function in R2

Click For Summary

Homework Help Overview

The discussion revolves around finding the absolute minimum of the function f(x, y) = x^2 + y^2 − 2x + 4y + 1 using the technique of completing the square. Participants explore how this method can indicate the presence of an absolute minimum.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the process of completing the square and question the correctness of their derived equations. There is a focus on understanding how the completed square relates to finding the minimum value of the function.

Discussion Status

The discussion is active, with participants providing feedback on each other's attempts and clarifying misunderstandings. Some guidance has been offered regarding the correct form of the function after completing the square, and there is an exploration of the implications of the derived expressions.

Contextual Notes

Participants express uncertainty about the assumptions made during the completion of the square and the implications for finding the minimum value. There is a recognition of potential errors in previous steps and a willingness to revisit the calculations.

cantidosan
Messages
9
Reaction score
0

Homework Statement


Use technique of completing squares to Show that this function has an absolute minimum.
f(x, y) = x^2 + y^2 − 2x + 4y + 1

Homework Equations


Not entirely sure how completing the squares will indicate an absolute minimum.Is there some additional reasoning required?

The Attempt at a Solution


Having completed the square i arrived at this equation.
(x-1)^2 +(y+2)^2 = 4
Again,all i can extrapolate from this is the center point of an obvious circle of radius 4.
 
Physics news on Phys.org
cantidosan said:

Homework Statement


Use technique of completing squares to Show that this function has an absolute minimum.
f(x, y) = x^2 + y^2 − 2x + 4y + 1

Homework Equations


Not entirely sure how completing the squares will indicate an absolute minimum.Is there some additional reasoning required?

The Attempt at a Solution


Having completed the square i arrived at this equation.
(x-1)^2 +(y+2)^2 = 4
Again,all i can extrapolate from this is the center point of an obvious circle of radius 4.

There is no way you could have arrived at the equation ##(x-1)^2 + (y-2)^2 = 4## if you had done correct work. Show your steps.
 
cantidosan said:

Homework Statement


Use technique of completing squares to Show that this function has an absolute minimum.
f(x, y) = x^2 + y^2 − 2x + 4y + 1

Homework Equations


Not entirely sure how completing the squares will indicate an absolute minimum.Is there some additional reasoning required?

The Attempt at a Solution


Having completed the square i arrived at this equation.
(x-1)^2 +(y+2)^2 = 4
Again,all i can extrapolate from this is the center point of an obvious circle of radius 4.
But that doesn't answer the question.
By completing the square, you can rewrite the formula for f(x, y). From that, it's not hard to show that this function has an absolute minimum.
 
Last edited:
cantidosan said:

Homework Statement


Use technique of completing squares to Show that this function has an absolute minimum.
f(x, y) = x^2 + y^2 − 2x + 4y + 1

Homework Equations


Not entirely sure how completing the squares will indicate an absolute minimum.Is there some additional reasoning required?

The Attempt at a Solution


Having completed the square i arrived at this equation.
(x-1)^2 +(y+2)^2 = 4
Again,all i can extrapolate from this is the center point of an obvious circle of radius 4.

There is no equation here. You want the minimum of the function (x-1)^2+(y+2)^2-4. What might that be? How small can (x-1)^2 and (y+2)^2 be?
 
Ray Vickson said:
There is no way you could have arrived at the equation ##(x-1)^2 + (y-2)^2 = 4## if you had done correct work. Show your steps.
Perhaps it was a typo on your part,because my solution was (x-1)^2 + (y+2)^2, I have done it several times.However if it is still incorrect I'm more than willing to attempt to complete the square again.
The issue of using this new version of the function to find the absolute minimum, The first thing that comes to mind would be to substitute the values (0,0) into the function.Am I on the right path?
 
cantidosan said:
Perhaps it was a typo on your part,because my solution was (x-1)^2 + (y+2)^2, I have done it several times.However if it is still incorrect I'm more than willing to attempt to complete the square again.
The issue of using this new version of the function to find the absolute minimum, The first thing that comes to mind would be to substitute the values (0,0) into the function.Am I on the right path?

The function f(x,y) is NOT equal to (x-1)^2 + (y+2)^2. What IS it equal to?
 
Ray Vickson said:
The function f(x,y) is NOT equal to (x-1)^2 + (y+2)^2. What IS it equal to?

Here are the steps i went through to arrive at my new version of f(x,y).
Given :f(x, y) = x^2 + y^2 − 2x + 4y + 1
By taking the half the coefficients of (-2x) and (4y) then squaring them to find the missing values for (__) within the brackets.
(x^2 - 2x + __ )+ (y^2 + 4y + __) = -1

which gave me

(x^2 -2x +1) + (y^2 +4y +4) = -1

Then adding both 1 and 4 to the LHS of the equation to get

(x^2 -2x +1) + (y^2 +4y +4) = -1 + 1 + 4
thus
(x - 1)^2 + (y+2)^2 =4

where did i go wrong?
 
cantidosan said:
Here are the steps i went through to arrive at my new version of f(x,y).
Given :f(x, y) = x^2 + y^2 − 2x + 4y + 1
By taking the half the coefficients of (-2x) and (4y) then squaring them to find the missing values for (__) within the brackets.
(x^2 - 2x + __ )+ (y^2 + 4y + __) = -1
The step above is wrong. You are tacitly assuming that f(x, y) = 0 to get this equation. There is no reason to make this assumption. Work with the expression x2 + y2 - 2x + 4y + 1. When you add something to the x- or y-terms, subtract the same amount to get a new expression that is equal to the one you started with.

cantidosan said:
which gave me

(x^2 -2x +1) + (y^2 +4y +4) = -1

Then adding both 1 and 4 to the LHS of the equation to get

(x^2 -2x +1) + (y^2 +4y +4) = -1 + 1 + 4
thus
(x - 1)^2 + (y+2)^2 =4

where did i go wrong?
 
Mark44 said:
The step above is wrong. You are tacitly assuming that f(x, y) = 0 to get this equation. There is no reason to make this assumption. Work with the expression x2 + y2 - 2x + 4y + 1. When you add something to the x- or y-terms, subtract the same amount to get a new expression that is equal to the one you started with.

Taking what you said into consideration;
given f(x,y): x^2 -2x +1 +y^2 +4y

The completed square should look like this -> f(x,y)= (x-1)^2 +(y+2)^2 - 4

Assuming this holds, intuitively it seems the smallest possible value would occur at (1,-2). which results in -4 being the absolute minimum.?
 
  • #10
cantidosan said:
Taking what you said into consideration;
given f(x,y): x^2 -2x +1 +y^2 +4y

The completed square should look like this -> f(x,y)= (x-1)^2 +(y+2)^2 - 4

Assuming this holds, intuitively it seems the smallest possible value would occur at (1,-2). which results in -4 being the absolute minimum.?
Yes.
 
  • #11
Thank you all.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K