Find Local/Absolute Extrema of f(x,y) in D

  • Thread starter Thread starter kekido
  • Start date Start date
  • Tags Tags
    Extrema
Click For Summary

Homework Help Overview

The discussion revolves around finding and classifying the local and absolute extrema of the function f(x,y)=x-xy over a specified region defined by the inequalities x^2+y^2≤1 and x+y≥0. Participants are exploring methods to analyze critical points and boundaries within this context.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss identifying critical points by setting the gradient to zero and consider the implications of the Hessian matrix. There is an exploration of converting the problem to polar coordinates, but challenges arise in simplifying the function. Some participants suggest analyzing the boundary by parameterizing it and evaluating the function along these paths.

Discussion Status

Participants are actively engaging in the problem, with some providing guidance on how to parameterize the boundary and suggesting methods to analyze the function along these parameterizations. There is an acknowledgment of the need to check for extrema at the endpoints, and multiple interpretations of the problem are being explored without a clear consensus on the approach.

Contextual Notes

There are constraints related to the region defined by the inequalities, and participants are questioning the effectiveness of their parameterization methods and the implications of the function's behavior near the boundaries.

kekido
Messages
18
Reaction score
0

Homework Statement



Find and classify the local and absolute extrema of the function
[tex]f(x,y)=x-xy[/tex] over the region
[tex]D={(x,y)|x^2+y^2\leq1 and x+y\geq0}[/tex]

Homework Equations


The Attempt at a Solution


Critical points are where the first derivative (gradient) is 0.
[tex]Grad(f)=(1-y, -x)=0[/tex]
So critical point a=(0,1)

In order to classify the critical point, find the Hessian matrix of f at a:
[tex]H=\left(\begin{array}{cc}0&-1\\-1&0\end{array}\right)[/tex]
Then the quadratic form is:
[tex]Q(x,y)=Hk\cdotk=-2xy[/tex]
[tex]Q(a)=Q(0,1)=0[/tex]

Which means the test is inconclusive? I.e., the critical point a is a saddle point, which is neither local maximum or minimum. Am I right?Also, how do you find the absolute extreme of the function on the region aforementioned?

I tried to convert x^2+y^2<=1 to polar coordinates, which gives
[tex]r^2\cos^2\theta+r^2\sin^2\theta\leq1[/tex]
[tex]r^2\leq1[/tex]
[tex]0<r\leq1[/tex]
However, this doesn't help much as the original function converted to polar coordinates is not straightforward to find its extrema given the domain of r and theta.
 
Physics news on Phys.org
You've shown there are no critical points in the interior. So now analyze the boundary. Parametrize the boundary arc and segment and look at the function along them. The extrema must be there.
 
How do you parameterize f(x,y)=x-xy?

One thing I tried and was mentioned in my OP is polarize x,y, since [tex]x^2+y^2\leq1[/tex], therefore, let [tex]x=r\cos\theta[/tex], [tex]y=r\sin\theta[/tex], then [tex]0<r\leq1[/tex], and from [tex]x+y\geq0[/tex], we can fix the domain for [tex]\theta[/tex] as well.

However, then [tex]f(x,y)->f(r,\theta)=r\cos\theta-r\cos\theta r\sin\theta[/tex], and applying trigonometric identities doesn't lead me anywhere to solve the range for [tex]f(r, \theta)[/tex]
 
kekido said:
How do you parameterize f(x,y)=x-xy?

One thing I tried and was mentioned in my OP is polarize x,y, since [tex]x^2+y^2\leq1[/tex], therefore, let [tex]x=r\cos\theta[/tex], [tex]y=r\sin\theta[/tex], then [tex]0<r\leq1[/tex], and from [tex]x+y\geq0[/tex], we can fix the domain for [tex]\theta[/tex] as well.

However, then [tex]f(x,y)->f(r,\theta)=r\cos\theta-r\cos\theta r\sin\theta[/tex], and applying trigonometric identities doesn't lead me anywhere to solve the range for [tex]f(r, \theta)[/tex]

Parametrize the boundary. One part of the boundary is an arc of radius 1 from theta=-pi/4 to 3pi/4. I would parametrize that as x=cos(theta), y=sin(theta). Put that into x-xy and get a function only of theta. The other part of the boundary is a line segment connecting the arc endpoints. How would you parametrize that?
 
Dick said:
How would you parametrize that?
You mean parameterize a line segment? Since the line goes through (-1,1) and (1,-1), then [tex]f(t)=(1+2t, 1-2t)[/tex], so transform f(x,y) to f(t):
[tex](1+2t)(1-(1-2t))=2t(2t+1)=4t^2+2t=4(t+1/4)^2-1/4[/tex], so f(t) has min value -1/4 at t=-1/4, right?

What about the other part? [tex]f(\theta)=\cos\theta-\cos\theta \sin\theta[/tex], given the domain of theta, it's still hard to find the extrema for this function since [tex]\cos\theta \sin\theta[/tex] is bound to get a trig function with [tex]2\theta[/tex] and f is going to be like [tex]\cos\theta - something(2\theta)[/tex], which is hard to find a bound on.
 
Correction, the endpoints are like (-sqrt(2)/2,sqrt(2)/2), but you have the right idea. Don't forget to check for extrema AT the endpoints. As for the trig stuff, don't complain before you try it. You just might be able to turn it into a quadratic equation in sin(theta) rather than going the double angle route. Hint, hint.
 
Dick said:
Correction, the endpoints are like (-sqrt(2)/2,sqrt(2)/2),
Arrrgh...

As for the trig stuff, don't complain before you try it. You just might be able to turn it into a quadratic equation in sin(theta) rather than going the double angle route.
Well, let's see...
[tex]\cos\theta \sin\theta<br /> =\frac{1}{2}\sin2\theta<br /> =\frac{1}{2}\sqrt{1-\cos^2 2\theta}<br /> =\frac{1}{2}\sqrt{1-(2\cos^2\theta-1)^2}<br /> =\frac{1}{2}\sqrt{1-4\cos^4\theta+4\cos^2\theta-1}<br /> =\frac{1}{2}\sqrt{4(\cos^2\theta-\cos^4\theta)}[/tex]
[tex] =\frac{1}{2}*2\sqrt{\cos^2\theta(1-\cos^2\theta)}<br /> =\cos\theta\sqrt{1-\cos^2\theta}[/tex]
[tex] =\cos\theta \sin\theta[/tex]
...
 
f'(theta)=-sin(theta)-cos^2(theta)+sin^2(theta). Unless I've fluffed a sign. cos^2(theta)=1-sin^2(theta), right? See? It's quadratic.
 
This may not help at all, but doesn't that function represent a family of rectangular hyperbolas with the axis at (0,1)? Perhaps you could use that to parameterize the function. The parametric point on a hyperbola is (asec(theta), 1-btan(theta)).

So what you really want to find is the maximum possible value of that function above the line x+y=0, and inside the unit circle x^2+y^2=1 right?

Since this is a rectangular hyperbola, the max value should be where the hyperbola cuts the circle in the first quadrant. Maybe you could find the general points of intersection of the two curves. Dunno if that helps or not.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
11
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
1K
Replies
10
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K