MHB Max and min value, multi variable (open sets)

Click For Summary
The discussion focuses on finding the maximum and minimum values of the function f(x,y) = x² + y² - 2x - 4y + 8 within the constraint x² + y² ≤ 9. The critical point found in the interior is (1,2). To analyze the boundary defined by the circle, the function is expressed parametrically as f(t) = 17 - 2cos(t) - 4sin(t), and the derivative is set to zero to find critical points. The solutions for tan(t) = 2 yield critical points in both the first and third quadrants, leading to coordinates that need evaluation. Finally, the endpoints of the boundary are checked, confirming the need to evaluate the function at multiple critical points to determine the overall maximum and minimum values.
  • #31
MarkFL said:
Your first two critical points are correct, but there is only a third because the parametric equations have the same value for the two endpoints because:

$$\sin(0)=\sin(2\pi)=0$$

$$\cos(0)=\cos(2\pi)=1$$

Hence, the third critical point on the boundary of the circle is

$$(x(0),y(0))=(3\cos(0),3\sin(0))=(3,0)$$.

Now you have 4 values of the function to check, one in the interior of the circle, and 3 on the boundary.

When I return, we can look at some other methods for obtaining the critical values on the boundary of the circle. (Nod)
My bad here I forgot i had 3sin(t),3cos(t) :P i Was using sin(t),cos(t) this problem Was à Hood one:)
 
Physics news on Phys.org
  • #32
Early on I was also trying to subsitate that $$y=\sqrt{9-x^2}$$ and then simplified and I did call my new function g(x)...so I did derivate and look for crit point and the put it on g(x) to get my y. May I ask why don't that method work?
 
  • #33
Petrus said:
Early on I was also trying to subsitate that $$y=\sqrt{9-x^2}$$ and then simplified and I did call my new function g(x)...so I did derivate and look for crit point and the put it on g(x) to get my y. May I ask why don't that method work?

The method will work, if we take care to recognize:

$$x^2+y^2=9$$ and $$y=\pm\sqrt{9-x^2}$$ and so:

$$g(x)=17-2x\mp4\sqrt{9-x^2}$$ hence:

$$g'(x)=-2\mp\frac{4x}{\sqrt{9-x^2}}=0$$

$$\frac{\sqrt{9-x^2}\pm 2x}{\sqrt{9-x^2}}=0$$

Observe that the numerator has the roots found from:

$$\sqrt{9-x^2}\pm 2x=0$$

$$9-x^2=4x^2$$

$$x^2=\frac{9}{5}$$

$$x=\pm\frac{3}{\sqrt{5}}$$ and so:

$$y=\pm\sqrt{9-\frac{9}{5}}=\pm\frac{6}{\sqrt{5}}$$

What critical values do we find from the denominator of the derivative?

Using the method of Lagrange multipliers, can you state the objective function and the constraint?
 
  • #34
I mean like this, if we use that method we lose 2 end point? $$f(0,0)$$ and $$f(3,0)$$ So that method would not be smart or I am wrong?

- - - Updated - - -

Ohh We get $$x_1=3$$ and $$x_2=-3$$ so what do we do next with Them?
 
  • #35
I maybe respond too fast x can't be lower or equal to 3, so we got à new end point or I am wrong...
Edit: (I did think wrong.. here is the intervall.We get this intervall. 3<_x<_-3. (Equal or less)
 
Last edited:
  • #36
Yes, we actually gain a critical point to check that we did not get from the parametrization of the boundary...but does this affect the absolute extrema values?
 
  • #37
MarkFL said:
Yes, we actually gain a critical point to check that we did not get from the parametrization of the boundary...but does this affect the absolute extrema values?
I do not know? I Should check all critical point so yes?
 
  • #38
As a recap, what are all of the critical points you have collected so far, and what is the function's value at these points?
 
  • #39
MarkFL said:
As a recap, what are all of the critical points you have collected so far, and what is the function's value at these points?
The crit point when we subsitate x. But the point is you can't divide by zero so when we did calculate that 3,-3 we say that the bottom of division is zero..?
$$f(3,11)$$,$$f(3,23)$$
 
  • #40
The derivative is undefined for $x^2=3^2$, but the original function is not. Recall that critical values come from places where the derivative is zero or undefined.

You should have the critical point in the interior (1,2), and the points on the boundary:

$$\left(\pm\frac{3}{\sqrt{5}},\pm\frac{6}{\sqrt{5}} \right),\,(\pm3,0)$$

So, you want to evaluate the original function at these 5 points...
 
  • #41
MarkFL said:
The derivative is undefined for $x^2=3^2$, but the original function is not. Recall that critical values come from places where the derivative is zero or undefined.

You should have the critical point in the interior (1,2), and the points on the boundary:

$$\left(\pm\frac{3}{\sqrt{5}},\pm\frac{6}{\sqrt{5}} \right),\,(\pm3,0)$$

So, you want to evaluate the original function at these 5 points...
Yeah my bad I forgot that we did subsitute for y. One question what did you mean with interior (1,2)
 
  • #42
Ok for Lama way.
We got our $$g(x,y)=x^2+y^2-9$$
so..
$$f_x(x,y)=\lambda*g_x(x,y)$$
$$f_y(x,y)-=\lambda*g_y(x,y)$$
And our...
$$g_x(x,y)=2x$$
$$g_y(x,y)=2y$$
so we now got..
$$f_x(x,y)=\lambda*2x$$
$$f_y(x,y)-=\lambda*2y$$
Now I don't know to do but I guess ima subsitute again $$y=\sqrt{9-x^2}$$ and then equal each to same so I got
$$2x=2\sqrt(9-x^2}*$$
I am doing correct?
 
  • #43
Petrus said:
...One question what did you mean with interior (1,2)

Recall this is the critical point you found in the interior of the circle by equating the first partials to zero.

Petrus said:
Ok for Lama way.
We got our $$g(x,y)=x^2+y^2-9$$
so..
$$f_x(x,y)=\lambda*g_x(x,y)$$
$$f_y(x,y)-=\lambda*g_y(x,y)$$
And our...
$$g_x(x,y)=2x$$
$$g_y(x,y)=2y$$
so we now got..
$$f_x(x,y)=\lambda*2x$$
$$f_y(x,y)-=\lambda*2y$$
Now I don't know to do but I guess ima subsitute again $$y=\sqrt{9-x^2}$$ and then equal each to same so I got
$$2x=2\sqrt(9-x^2}*$$
I am doing correct?

Using Lagrange multipliers, you could state $f(x,y)=17-2x-4y$ as the objective function and $g(x,y)=x^2+y^2-9=0$ as the constraint. This gives you the system:

$$-1=\lambda x$$

$$-2=\lambda y$$

What does this imply about the relationship between $x$ and $y$? Solve both for $\lambda$, then equate and simplify. Once you find this, substitute for $y$ in the constraint, and solve for $x$. This will give you two critical points on the boundary.
 
  • #44
MarkFL said:
Recall this is the critical point you found in the interior of the circle by equating the first partials to zero.
Using Lagrange multipliers, you could state $f(x,y)=17-2x-4y$ as the objective function and $g(x,y)=x^2+y^2-9=0$ as the constraint. This gives you the system:

$$-1=\lambda x$$

$$-2=\lambda y$$

What does this imply about the relationship between $x$ and $y$? Solve both for $\lambda$, then equate and simplify. Once you find this, substitute for $y$ in the constraint, and solve for $x$. This will give you two critical points on the boundary.
I get x=9 and x=7
 
  • #45
How did you get those values? Without knowing what you did, I don't know what to address.
 
  • #46
MarkFL said:
Recall this is the critical point you found in the interior of the circle by equating the first partials to zero.
Using Lagrange multipliers, you could state $f(x,y)=17-2x-4y$ as the objective function and $g(x,y)=x^2+y^2-9=0$ as the constraint. This gives you the system:

$$-1=\lambda x$$

$$-2=\lambda y$$

What does this imply about the relationship between $x$ and $y$? Solve both for $\lambda$, then equate and simplify. Once you find this, substitute for $y$ in the constraint, and solve for $x$. This will give you two critical points on the boundary.
$$\lambda=-\frac{1}{x}$$ and $$-\lambda=\frac{2}{y}$$
So we got $$-\frac{1}{x}=\frac{2}{y}$$ that means $$y=2x$$
then we got $$x^2+4x^2=9$$ and that means $$x_1=\frac{3}{\sqrt{5}}$$, $$x_2=-\frac{3}{\sqrt{5}}$$
(I want to apologize I did a misstake... I forgot I had y^2 in the constraint... I did calculate with y) Thanks Mark!:) You are a really great person!:)I got better thanks too you!
 
Last edited by a moderator:
  • #47
Yes, that is correct. Notice you have found the same critical points as with the parametrization, and with the substitution for $y$ without the unneeded end-points, and critical points from where the derivative was undefined.

So, what have you found are the absolute extrema? Where do they occur and what values do they have?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K