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
The discussion focuses on finding and classifying local and absolute extrema of the function f(x,y) = x - xy within the specified region D. The critical point identified is (0,1), which is classified as a saddle point using the Hessian matrix, leading to an inconclusive test for local extrema. The participants explore converting the function to polar coordinates and parameterizing the boundary, including an arc and a line segment, to analyze extrema effectively. They suggest checking endpoints and applying trigonometric identities to simplify the function for finding extrema. The goal is to determine the maximum value of the function within the constraints of the unit circle and the line x + y = 0.
kekido
Messages
18
Reaction score
0

Homework Statement



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

Homework Equations


The Attempt at a Solution


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

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

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
r^2\cos^2\theta+r^2\sin^2\theta\leq1
r^2\leq1
0&lt;r\leq1
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 x^2+y^2\leq1, therefore, let x=r\cos\theta, y=r\sin\theta, then 0&lt;r\leq1, and from x+y\geq0, we can fix the domain for \theta as well.

However, then f(x,y)-&gt;f(r,\theta)=r\cos\theta-r\cos\theta r\sin\theta, and applying trigonometric identities doesn't lead me anywhere to solve the range for f(r, \theta)
 
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 x^2+y^2\leq1, therefore, let x=r\cos\theta, y=r\sin\theta, then 0&lt;r\leq1, and from x+y\geq0, we can fix the domain for \theta as well.

However, then f(x,y)-&gt;f(r,\theta)=r\cos\theta-r\cos\theta r\sin\theta, and applying trigonometric identities doesn't lead me anywhere to solve the range for f(r, \theta)

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 f(t)=(1+2t, 1-2t), so transform f(x,y) to f(t):
(1+2t)(1-(1-2t))=2t(2t+1)=4t^2+2t=4(t+1/4)^2-1/4, so f(t) has min value -1/4 at t=-1/4, right?

What about the other part? f(\theta)=\cos\theta-\cos\theta \sin\theta, given the domain of theta, it's still hard to find the extrema for this function since \cos\theta \sin\theta is bound to get a trig function with 2\theta and f is going to be like \cos\theta - something(2\theta), 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...
\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)}<br />
<br /> =\frac{1}{2}*2\sqrt{\cos^2\theta(1-\cos^2\theta)}<br /> =\cos\theta\sqrt{1-\cos^2\theta}
<br /> =\cos\theta \sin\theta
...
 
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
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
11
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
10
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K