Max and min value, multi variable (open sets)

Click For Summary

Discussion Overview

The discussion revolves around finding the maximum and minimum values of the function $$f(x,y)=x^2+y^2-2x-4y+8$$ within the constraint defined by the inequality $$x^2+y^2≤9$$. Participants explore methods for identifying critical points both in the interior of the region and along the boundary, including the use of parametric equations and Lagrange multipliers.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant identifies a critical point at (1,2) and expresses uncertainty about how to proceed with the boundary defined by $$x^2+y^2≤9$$.
  • Another participant suggests using parametric equations to represent the boundary and reformulates the function as a single-variable function of $$t$$.
  • There is a discussion about differentiating the function with respect to $$t$$ and finding critical points, with one participant questioning whether they can use an alternative method.
  • Some participants discuss the implications of the equation $$\sin(t)=2\cos(t)$$ and how to solve it, suggesting the use of Lagrange multipliers as an alternative approach.
  • There are exchanges about the quadrants where solutions to $$\tan(t)=2$$ can be found, with participants identifying first and third quadrant solutions.
  • One participant expresses confusion about how the third quadrant relates to the problem, while others clarify the relationship between the critical points and the intersection of the circle and the line $$y=2x$$.
  • Participants calculate the critical coordinates for the first quadrant and discuss the evaluation of these coordinates using trigonometric identities and the Pythagorean theorem.

Areas of Agreement / Disagreement

Participants generally agree on the methods for finding critical points and the use of parametric equations, but there is no consensus on the best approach to take or the implications of the results. Multiple competing views on the methods and interpretations remain present throughout the discussion.

Contextual Notes

Participants express uncertainty about the implications of their calculations and the relationship between different methods. The discussion includes various assumptions about the behavior of the function on the boundary and the nature of the critical points.

Who May Find This Useful

This discussion may be useful for students and practitioners interested in multivariable calculus, optimization problems, and methods for finding extrema under constraints.

  • #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
3
Views
2K
  • · Replies 3 ·
Replies
3
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