Absolute Extrema: Find f(x,y) over x^2 & y=4

In summary, to find the absolute extrema of a function over a region, first find the critical points of the function (where the partial derivatives are 0) and then consider any points on the boundary of the region and the points where the boundaries intersect. These points are then evaluated and the smallest value is the absolute minimum and the largest value is the absolute maximum. In this specific problem, the function is strictly convex and any stationary point is automatically a global min in the whole plane.
  • #1
mikky05v
53
0

Homework Statement


Find absolute extrema of the function over the region R. f(x,y) = 3x2 +2y2 -4y, R: the region in the xy plane bounded by the graphs of y=x^2 and y=4

Homework Equations


second partial derivative test
d=fxxfyy-fxy2

The Attempt at a Solution


This is my practice test for the final next week and I'm really unsure how to do problems like this one. I can find the critical points easily enough
fx= 6x
6x=0
x=0

fy=4y-4
4y-4=0
4y=4
y=1

Critical point at (0,1)

and I know how to test for extrema at this point
fxx = 6
fyy = 4
fxy = 0

d= 6*4 - 0 = 24
d>0 so there is a saddle point at (0,1,-2)

I do not, however, know how to test for extrema at the bounds. I know I need to be looking at f(x,4) and f(x,x2) but i don't know what to do with them. If anyone could give me directions I would greatly appreciate it
 
Last edited:
Physics news on Phys.org
  • #2
you know how to find extreema in y=f(x) don't you?
 
  • Like
Likes 1 person
  • #3
ok so i think I've made some progress but I'm still unsure if I'm doing it correctly.
for y=4
f(x,4) = 3x2+16
d/dx = 6x
6x = 0 at x = 0
so (0,4) ?
f(0,4) = 16
this would end up being my absolute maximum
for y=x2
f(x,x2) = 2x4-x2
d/dx = 8x3-2x
8x3-2x = 0
2x (4x2-1)=0
4x2-1=0
4x2=1
x2=1/4
x=√(1/4)=1/2
then plug x=1/2 back into the original function
3(1/2)2+2y2-4y=0
-3/4=2y2-4y
divide both sides by 2 and complete the square
5/8=(y-1)2
√(5/8) = y-1
y=(√(10)/4) +1
so f(1/2, (√(10)/4) +1) = 3/4 which ends up being my absolute minimum

can anyone tell me if this is right?
 
  • #4
mikky05v said:

Homework Statement


Find absolute extrema of the function over the region R. f(x,y) = 3x2 +2y2 -4y, R: the region in the xy plane bounded by the graphs of y=x^2 and y=4


Homework Equations


second partial derivative test
d=fxxfyy-fxy2


The Attempt at a Solution


This is my practice test for the final next week and I'm really unsure how to do problems like this one. I can find the critical points easily enough
fx= 6x
6x=0
x=0

fy=4y-4
4y-4=0
4y=4
y=1

Critical point at (0,1)

and I know how to test for extrema at this point
fxx = 6
fyy = 4
fxy = 0

d= 6*4 - 0 = 24
d>0 so there is a saddle point at (0,1,-2)

I do not, however, know how to test for extrema at the bounds. I know I need to be looking at f(x,4) and f(x,x2) but i don't know what to do with them. If anyone could give me directions I would greatly appreciate it

You have mis-characterized the nature of the point (0,1).

Have you taken the Karush-Kuhn-Tucker conditions yet? If so, use them to characterize the boundary extrema (local max or saddle point). If you have not taken them yet, just look at the relationship between the gradient vector of f and the tangent directions at the tight constraints: (1) on a single constraint boundary, the gradient must point out of the feasible region and be perpendicular to the tangent line of the constraint at that point; and (2) at an intersection of two constraint boundaries the gradient of f must point outward and be between the two perpendiculars to the two tangent lines of the constraint boundaries (draw yourself a picture to clarify).
 
  • #5
First, there is no point in finding the second partials. That test is to determine whether or not a critical point is a relative maximum or minimum and you are asked for absolute extrema.

Any possible extremum in the interior of the region must be where the partial derivatives are 0 so first find where [itex]f_x(x, y)= 0[/itex] and [itex]f_y(x,y)= 0[/itex] and list them.

Now look on the boundaries. One boundary is y= 4 and [itex]f(x, 4)= 3x^2- 8[/itex]. Find any points where the derivative of that is 0 and add them to the list.

Another boundary is [itex]y= x^2[/itex] and [itex]f(x, x^2)= 2x^4- x^2[/itex]. Find any points where the derivative of that is 0 and add them to the list.

Finally, look at the "boundaries of the boundaries". That is, the points (2, 4) and (-2, 4) where the line y= 4 and the curve [itex]y= x^2[/itex] intersect. Add those to the list.

The only way to determine absolute extrema is to actually calculate f(x, y) for all of the points now on that list (I get 6) and observe which value is smallest and which is largest.
 
Last edited by a moderator:
  • Like
Likes 1 person
  • #6
HallsofIvy said:
First, there is no point in finding the second partials. That test is to determine whether or not a critical point is a relative maximum or minimum and you are asked for absolute extrema.

Any possible extremum in the interior of the region must be where the partial derivatives are 0 so first find where [itex]f_x(x, y)= 0[/itex] and [itex]f_y(x,y)= 0[/itex] and list them.

Now look on the boundaries. One boundary is y= 4 and [itex]f(x, 4)= 3x^2- 8[/itex]. Find any points where the derivative of that is 0 and add them to the list.

Another boundary is [itex]y= x^2[/itex] and [itex]f(x, x^2)= 2x^4- x^2[/itex]. Find any points where the derivative of that is 0 and add them to the list.

Finally, look at the "boundaries of the boundaries". That is, the points (2, 4) and (-2, 4) where the line y= 4 and the curve [itex]y= x^2[/itex] intersect. Add those to the list.

The only way to determine absolute extrema is to actually calculate f(x, y) for all of the points now on that list (I get 6) and observe which value is smallest and which is largest.

Actually, we can say more in this case, but using material that is, perhaps, beyond what the OP has seen. In this case the function ##f(x,y)= 3 x^2+2y^2-4y## is strictly convex, so any stationary point is automatically a global min in the whole plane. If that stationary point lies inside or on the boundary of the feasible region, it is the min in the constrained problem as well. Furthermore, since the constraint region is a convex set and f is strictly convex, the constrained max lies at an extreme point of the feasible region, and these are the two upper corners plus the lower parabola; points on the upper boundary line strictly between the corners are not candidates for the max.

However, as I indicated, these are theorems, etc., in optimization courses and may be unavailable to the OP.
 
  • #7
mikky05v said:
ok so i think I've made some progress but I'm still unsure if I'm doing it correctly.
for y=4
f(x,4) = 3x2+16
d/dx = 6x
6x = 0 at x = 0
so (0,4) ?
f(0,4) = 16
this would end up being my absolute maximum
I assume you concluded this after calculating f(x,y) at the other points.

for y=x2
f(x,x2) = 2x4-x2
d/dx = 8x3-2x
8x3-2x = 0
2x (4x2-1)=0
4x2-1=0
4x2=1
x2=1/4
x=√(1/4)=1/2
then plug x=1/2 back into the original function
3(1/2)2+2y2-4y=0
That should be f(1/2, 1/4) because you're trying to find the extrema of f(x, x2).

-3/4=2y2-4y
divide both sides by 2 and complete the square
5/8=(y-1)2
√(5/8) = y-1
y=(√(10)/4) +1
so f(1/2, (√(10)/4) +1) = 3/4 which ends up being my absolute minimum

can anyone tell me if this is right?
What happened to the root x=0?
 
  • #8
mikky05v said:
ok so i think I've made some progress but I'm still unsure if I'm doing it correctly.
for y=4
f(x,4) = 3x2+16
d/dx = 6x
6x = 0 at x = 0
so (0,4) ?
f(0,4) = 16
this would end up being my absolute maximum
for y=x2
f(x,x2) = 2x4-x2
d/dx = 8x3-2x
8x3-2x = 0
2x (4x2-1)=0
4x2-1=0
4x2=1
x2=1/4
x=√(1/4)=1/2
then plug x=1/2 back into the original function
3(1/2)2+2y2-4y=0
-3/4=2y2-4y
divide both sides by 2 and complete the square
5/8=(y-1)2
√(5/8) = y-1
y=(√(10)/4) +1
so f(1/2, (√(10)/4) +1) = 3/4 which ends up being my absolute minimum

can anyone tell me if this is right?

Nope: the function f can take values < 0 in R, so your alleged "minimum" value of +3/4 is not at all a minimum.
 

1. What is the definition of absolute extrema?

Absolute extrema refers to the maximum and minimum values of a function over a given interval or domain. These values are the highest and lowest points on a graph and represent the extreme values of the function.

2. How do you find the absolute extrema of a function?

To find the absolute extrema, you need to first find the critical points of the function by taking the partial derivatives with respect to each variable and setting them equal to zero. Then, evaluate the function at these critical points and the endpoints of the interval to determine the absolute maximum and minimum values.

3. What is the difference between absolute extrema and local extrema?

Absolute extrema refer to the overall highest and lowest points of a function over a given interval, while local extrema refer to the highest and lowest points within a specific region or neighborhood of the function. Local extrema can occur at critical points, where the derivative is equal to zero, or at points where the derivative does not exist.

4. Can a function have multiple absolute extrema?

Yes, a function can have multiple absolute extrema. This can happen when the function has multiple critical points or when the endpoints of the interval also happen to be the highest or lowest points of the function.

5. How does the number of variables affect finding absolute extrema?

The number of variables does not affect finding absolute extrema. The process of finding absolute extrema is the same for functions with one variable or multiple variables. The only difference is that the partial derivatives will be taken with respect to each variable when there are multiple variables involved.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
556
  • Calculus and Beyond Homework Help
Replies
20
Views
446
  • Calculus and Beyond Homework Help
Replies
2
Views
520
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
764
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
Back
Top