Absolute extrema 2 variable function

In summary, the absolute extrema of the function f(x,y) = 2x - 2xy + y^2 in the region bounded by the graphs of y=x^2 and y=1 in the xy plane are a minimum of z = -11/16 at (-1/2, 1/4) and a maximum of z = 1 at (1,1). This was found by setting up and solving a system of equations using the Lagrange multiplier method, and also by using the Rational Root Theorem to find the roots of the equation 2x^3 - 3x^2 + 1 = 0.
  • #1
toothpaste666
516
20

Homework Statement


find the absolute extrema of f(x,y) = 2x - 2xy + y^2
in the region in the xy plane bounded by the graphs of y= x^2 and y = 1

The Attempt at a Solution


first we find the first partials
fx(x,y) = 2 - 2y
fy(x,y) = 2y-2x
2-2y = 0 when y = 1
2y - 2x = 0 when y=x in this case y=1 so x =1
f(1,1) = 1

now we check along y = 1
f(x,1) = 2x - 2x + 1 = 1
so z = 1 along the entire line y =1 . this includes the points where y=1 intersects with y=x^2

now we check along y = = x^2
f(x, x^2) = 2x -2x^3 + x^4
f'(x,x^2) = 2 - 6x^2 + 4x^3
we need this to equal 0
2 - 6x^2 + 4x^3 = 0
1 - 3x^2 + 2x^3 = 0
now I am a little lost. I need to solve this for x but there doesn't seem to be an easy way to do this. After I solve for x I plug the corresponding point into the original function to find the minimum. (the minimum has to be along this curve because it was nowhere else and it is a bounded region) I could be doing this wrong though as these types of problems are very confusing to me .
 
Physics news on Phys.org
  • #2
toothpaste666 said:

Homework Statement


find the absolute extrema of f(x,y) = 2x - 2xy + y^2
in the region in the xy plane bounded by the graphs of y= x^2 and y = 1

The Attempt at a Solution


first we find the first partials
fx(x,y) = 2 - 2y
fy(x,y) = 2y-2x
2-2y = 0 when y = 1
2y - 2x = 0 when y=x in this case y=1 so x =1
f(1,1) = 1

now we check along y = 1
f(x,1) = 2x - 2x + 1 = 1
so z = 1 along the entire line y =1 . this includes the points where y=1 intersects with y=x^2

now we check along y = = x^2
f(x, x^2) = 2x -2x^3 + x^4
f'(x,x^2) = 2 - 6x^2 + 4x^3
we need this to equal 0
2 - 6x^2 + 4x^3 = 0
1 - 3x^2 + 2x^3 = 0
now I am a little lost. I need to solve this for x but there doesn't seem to be an easy way to do this. After I solve for x I plug the corresponding point into the original function to find the minimum. (the minimum has to be along this curve because it was nowhere else and it is a bounded region) I could be doing this wrong though as these types of problems are very confusing to me .

If you want the max or min of f(x,y) along the parabola, just solve the equality-constrained problem
[tex] \begin{array}{rl}\max / \min & 2x - 2 xy + y^2\\
\text{subject to} &y - x^2 = 0
\end{array}
[/tex]
You can do that fairly easily using the Lagrange multiplier method.

Alternatively, you can try to solve your equation ##2 x^3 - 3 x^2 + 1 = 0##, using the Rational Root Theorem, for example. Or, you can do it numerically if you are satisfied with an approximate numerical answer.
 
  • #3
Ok i will use lagrange multipliers.
The gradient of f=(2-2y)i + (2y-2x)j
Let g= y-x^2 =0
Then the gradient of g
= -2xi + j
Multiply the gradient of g by a constant c
= -2cxi + cj

We must solve the system
2-2y = -2cx
2y-2x = c
Y-x^2 = 0
Plug in our value for c into the first equation
2-2y=-2(2y-2x)x
2-2y = -4yx + 4x^2
Plug in y=x^2
2-2x^2= -4x^3 + 4x^2
2= 6x^3 - 4x^3

Wait i ended up with the same equation. I can't figure out where i went wrong
 
  • #4
Thats supposed to be a 6x^2
 
  • #5
I think I figured it out using the rational roots theorem.
for the equation 2x^3-3x^2 + 1
the possible rational roots are
-1/2 , 1/2 , -1 and 1
plugging them all in the only ones that give 0 are
1 and -1/2
since y = x^2 if x =1 y = 1 we already know z = 1 at this point
if x = -1/2 y = 1/4
plugging this into the original equation
f(-1/2, 1/4) = 2(-1/2) - 2(-1/2)(1/4) + (1/16)
= - 1 + (1/4) + (1/16)
= -(16/16) + (4/16) + (1/16)
= (5-16)/16
= -11/16
so the min is z = -11/16
and the max is z = 1
 
  • #6
toothpaste666 said:
Ok i will use lagrange multipliers.
The gradient of f=(2-2y)i + (2y-2x)j
Let g= y-x^2 =0
Then the gradient of g
= -2xi + j
Multiply the gradient of g by a constant c
= -2cxi + cj

We must solve the system
2-2y = -2cx
2y-2x = c
Y-x^2 = 0
Plug in our value for c into the first equation
2-2y=-2(2y-2x)x
2-2y = -4yx + 4x^2
Plug in y=x^2
2-2x^2= -4x^3 + 4x^2
2= 6x^3 - 4x^3

Wait i ended up with the same equation. I can't figure out where i went wrong

Use the equations to solve for x and y in terms of c, giving
[tex] x = x(c) = \frac{2-c}{2(1-c)}, \; y = y(c) = \frac{2-c^2}{2(1-c)} [/tex]
Then plug those expressions into the function g, which will now be a function ##g = G(c)## of c alone. You set ##G(c) = 0## to figure out the value (or values) of c. In this case,
[tex] g(x(c),y(c)) = G(c) = -\frac{c^2 (3 + 2c)}{4(1+c)^2}, [/tex]
so we need (i) ##c = 0##, giving ##x=1, \:y=1##; or (ii) ##c = -3/2##, giving ##x=-1/2, \:y = 1/4##.

That is usually (not always) the way these things are done: express the variables in terms of the multiplier, then use the constraint to fix the value of the multiplier.
 
  • Like
Likes toothpaste666
  • #7
thank you
 

1. What is the definition of absolute extrema for a 2 variable function?

Absolute extrema for a 2 variable function refers to the maximum and minimum values of the function over its entire domain, regardless of whether they occur at a critical point or not.

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

To find the absolute extrema of a 2 variable function, you need to first find the critical points by taking the partial derivatives of the function and setting them equal to 0. Then, you need to evaluate the function at these critical points as well as the boundary points of the domain. The maximum and minimum values among these points will be the absolute extrema of the function.

3. Can a 2 variable function have more than one absolute extremum?

Yes, a 2 variable function can have multiple absolute extrema. This can occur when there are multiple critical points or when the function has a curved boundary.

4. How do absolute extrema differ from local extrema?

Absolute extrema refer to the maximum and minimum values of a function over its entire domain, while local extrema refer to the maximum and minimum values within a specific interval or region. Local extrema can occur at critical points or at points where the function changes from increasing to decreasing or vice versa.

5. Are absolute extrema always guaranteed to exist for a 2 variable function?

No, absolute extrema are not always guaranteed to exist for a 2 variable function. This can occur when the function is unbounded or when the domain of the function is not a closed and bounded region. In these cases, the function may approach infinity or negative infinity, but there will not be a maximum or minimum value in the traditional sense.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
538
  • Calculus and Beyond Homework Help
Replies
6
Views
849
  • Calculus and Beyond Homework Help
Replies
1
Views
458
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
433
  • Calculus and Beyond Homework Help
Replies
8
Views
873
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
604
  • Calculus and Beyond Homework Help
Replies
2
Views
504
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
Back
Top