Max. and Min. values - I don't understand

  • Thread starter ChristinaMaria
  • Start date
  • Tags
    Max
In summary: No critical points within the boundaryB) ∂f/∂y = 0 ⇒ y = 0 ∈ [0, 2], ...Critical point at y=0Checking 3 ≤ x ≤ 3:ƒ(x, 0) = -13xƒ(-3, 0) = 39ƒ(3, 0) = -39⇒ ƒ has maximum and minimum values on the rectangle at ƒ(-3, 0) = 39 and ƒ(3, 0) = -39.--------In summary, the function ƒ(x, y) = 2xy -
  • #1
ChristinaMaria
10
0
Hello!
I have been working on this problem for a while. Apparently I've found the right answer, but I don't understand why it is correct.

Homework Statement


Find the maximum and minimum value for the function
ƒ(x, y) = 2xy - 13x

on the rectangle
-3 ≤ x ≤ 3
0 ≤ y ≤ 2

The Attempt at a Solution


Critical points:
  • A) ∂f/∂x = 0 = 2x - 13
  • B) ∂f/∂y = 0 = 2y
  • A) ∂f/∂x = 0 ⇒ x = 13/2 ⊄ [-3, 3] None within the boundary
  • B) ∂f/∂y = 0 ⇒ y = 0 ∈ [0, 2], Ok!
Checking 3 ≤ x ≤ 3:
ƒ(x, 0) = -13x
ƒ(-3, 0) = 39
ƒ(3, 0) = -39

⇒ ƒ has maximum and minimum values on the rectangle at ƒ(-3, 0) = 39 and ƒ(3, 0) = -39.

--------

I checked my answer and it is correct, but I don't completely understand why. I plotted the function ƒ(x,y) =2xy - 13x and the maxima and minima A=(-3,0) and B=(3,0). The points are not even on the curve. How can the function then have maximum and minimum values at these points?
FOrNXCg.png
 

Attachments

  • FOrNXCg.png
    FOrNXCg.png
    21.2 KB · Views: 696
Physics news on Phys.org
  • #2
ChristinaMaria said:
Hello!
I have been working on this problem for a while. Apparently I've found the right answer, but I don't understand why it is correct.

Homework Statement


Find the maximum and minimum value for the function
ƒ(x, y) = 2xy - 13x

on the rectangle
-3 ≤ x ≤ 3
0 ≤ y ≤ 2

The Attempt at a Solution


Critical points:
  • A) ∂f/∂x = 0 = 2x - 13
  • B) ∂f/∂y = 0 = 2y
  • A) ∂f/∂x = 0 ⇒ x = 13/2 ⊄ [-3, 3] None within the boundary
  • B) ∂f/∂y = 0 ⇒ y = 0 ∈ [0, 2], Ok!
Checking 3 ≤ x ≤ 3:
ƒ(x, 0) = -13x
ƒ(-3, 0) = 39
ƒ(3, 0) = -39

⇒ ƒ has maximum and minimum values on the rectangle at ƒ(-3, 0) = 39 and ƒ(3, 0) = -39.

--------

I checked my answer and it is correct, but I don't completely understand why. I plotted the function ƒ(x,y) =2xy - 13x and the maxima and minima A=(-3,0) and B=(3,0). The points are not even on the curve. How can the function then have maximum and minimum values at these points?

A and B are points on the x-y plane. The function value at these points is a maximum.

You can view the function as a surface with coordinates ##(x, y, f(x, y))##. Then, your maximum and minimum are points on this surface, namely:

##(-3, 0, 39)## and ##(3, 0, -39)##
 
  • Like
Likes ChristinaMaria
  • #3
ChristinaMaria said:
  • ∂f/∂x = 0 = 2x - 13
  • B) ∂f/∂y = 0 = 2y
Double check those derivatives.
 
  • Like
Likes ChristinaMaria
  • #4
Orodruin said:
Double check those derivatives.
Thank you :biggrin:

PeroK said:
A and B are points on the x-y plane. The function value at these points is a maximum.

You can view the function as a surface with coordinates ##(x, y, f(x, y))##. Then, your maximum and minimum are points on this surface, namely:
##(-3, 0, 39)## and ##(3, 0, -39)##
Thank you :biggrin: Sorry, I don't understand. How would you view it as a surface (x,y,f(x,y))?
 
  • #5
ChristinaMaria said:
Thank you :biggrin:Thank you :biggrin: Sorry, I don't understand. How would you view it as a surface (x,y,f(x,y))?

A function of one variable ##f(x)## can be viewed as a curve above (or below) the x-axis. Similarly, a function of two variables ##f(x, y)## can be viewed as a surface about the x-y plane.

You can Google for images and videos if you want to see what this looks like, but that's what your graphing software should have done.
 
  • Like
Likes ChristinaMaria
  • #6
PeroK said:
A function of one variable ##f(x)## can be viewed as a curve above (or below) the x-axis. Similarly, a function of two variables ##f(x, y)## can be viewed as a surface about the x-y plane.

You can Google for images and videos if you want to see what this looks like, but that's what your graphing software should have done.

Ok, thanks again. I will look into it. :biggrin:
 
  • #7
ChristinaMaria said:
Hello!
I have been working on this problem for a while. Apparently I've found the right answer, but I don't understand why it is correct.

Homework Statement


Find the maximum and minimum value for the function
ƒ(x, y) = 2xy - 13x

on the rectangle
-3 ≤ x ≤ 3
0 ≤ y ≤ 2

The Attempt at a Solution


Critical points:
  • A) ∂f/∂x = 0 = 2x - 13
  • B) ∂f/∂y = 0 = 2y
  • A) ∂f/∂x = 0 ⇒ x = 13/2 ⊄ [-3, 3] None within the boundary
  • B) ∂f/∂y = 0 ⇒ y = 0 ∈ [0, 2], Ok!
Checking 3 ≤ x ≤ 3:
ƒ(x, 0) = -13x
ƒ(-3, 0) = 39
ƒ(3, 0) = -39

⇒ ƒ has maximum and minimum values on the rectangle at ƒ(-3, 0) = 39 and ƒ(3, 0) = -39.

--------

I checked my answer and it is correct, but I don't completely understand why. I plotted the function ƒ(x,y) =2xy - 13x and the maxima and minima A=(-3,0) and B=(3,0). The points are not even on the curve. How can the function then have maximum and minimum values at these points?
View attachment 238881

If ##R## is the rectangle $$R = \{ (x,y): -3 \leq x \leq 3, 0 \leq y \leq 2 \}$$ then a max or min over ##R## is either on the boundary of ##R## or in the interior of ##R##. Any max or min in the interior of ##R## would have to be a stationary point of ##f(x,y) = 2 xy - 13 x##, but as you have already shown, such a stationary point lies outside ##R##. Therefore, the solution will lie on the boundary of ##R##. So, all you need to is look at four problems of optimizing ##f(x,y## over the top, bottom left-side and right-side of ##R##. For example, on the top the function is ##f(x,2) = 2(2)x - 13 x = -9x,## and this is to be either maximized or minimize, subject to the simple bound constraints ##-3 \leq x \leq 3.## Since we have a linear function of ##x##, the maximum will occur at one end of the interval and the minimum at the other end. In other words, the two optima will occur at the top two corners of ##R.##

Similarly for the optima along the bottom and the two sides of ##R##. In other words, we solve the problem just by computing ##f(x,y)## at the four corners, and picking the lowest and highest of the four values.

Note: lest you think that the method is too simple-minded and needs too much work, be assured that (theoretically) some such optimization problems are difficult, and in the worst case would need evaluation at all the corners. For a problem having ##10^{1000}## corners that could involve more computing power than the entire world's resources working for the estimated age of the universe, so getting an exact solution is likely not practical.
 
  • Like
Likes ChristinaMaria
  • #8
Ray Vickson said:
If ##R## is the rectangle $$R = \{ (x,y): -3 \leq x \leq 3, 0 \leq y \leq 2 \}$$ then a max or min over ##R## is either on the boundary of ##R## or in the interior of ##R##. Any max or min in the interior of ##R## would have to be a stationary point of ##f(x,y) = 2 xy - 13 x##, but as you have already shown, such a stationary point lies outside ##R##. Therefore, the solution will lie on the boundary of ##R##. So, all you need to is look at four problems of optimizing ##f(x,y## over the top, bottom left-side and right-side of ##R##. For example, on the top the function is ##f(x,2) = 2(2)x - 13 x = -9x,## and this is to be either maximized or minimize, subject to the simple bound constraints ##-3 \leq x \leq 3.## Since we have a linear function of ##x##, the maximum will occur at one end of the interval and the minimum at the other end. In other words, the two optima will occur at the top two corners of ##R.##

Similarly for the optima along the bottom and the two sides of ##R##. In other words, we solve the problem just by computing ##f(x,y)## at the four corners, and picking the lowest and highest of the four values.

Note: lest you think that the method is too simple-minded and needs too much work, be assured that (theoretically) some such optimization problems are difficult, and in the worst case would need evaluation at all the corners. For a problem having ##10^{1000}## corners that could involve more computing power than the entire world's resources working for the estimated age of the universe, so getting an exact solution is likely not practical.

Hello!
Thank you so much for your thorough explanation! I feel like I understand it a little better now. And I see now that I didn't evaluate the top left and right corners of the rectangle...

The points I found, (-3,0) and (3,0), give the maximum and minimum value of f(x,y) on the rectangle. They don't touch the graph because they are projections of the points (x,y,f(x,y,)), (-3,0,39) and (3,0,-39) on the rectangle in the xy-plane, when the figure in my graph is in three dimensions?
 
  • #10
ChristinaMaria said:
Hello!
Thank you so much for your thorough explanation! I feel like I understand it a little better now. And I see now that I didn't evaluate the top left and right corners of the rectangle...

The points I found, (-3,0) and (3,0), give the maximum and minimum value of f(x,y) on the rectangle. They don't touch the graph because they are projections of the points (x,y,f(x,y,)), (-3,0,39) and (3,0,-39) on the rectangle in the xy-plane, when the figure in my graph is in three dimensions?

In addition to the excellent tool suggested by alan2 in #9, you can also (or instead) use the free tool Wolfram Alpha, and just enter your problem as
"plot 2*x*y-13*x over -3 <= x <= 3, 0 <= y <= 2"
(but without the " ... ")
 
  • Like
Likes ChristinaMaria
  • #11
Thanks everyone! :smile:
 

FAQ: Max. and Min. values - I don't understand

What do "Max." and "Min." values mean?

"Max." and "Min." values refer to the maximum and minimum values of a given set of data. These values represent the highest and lowest values within the data set.

Why are "Max." and "Min." values important?

Max. and Min. values are important because they provide important information about the range of values within a data set. They can help identify outliers or extreme values that may affect the overall interpretation of the data.

How are "Max." and "Min." values determined?

The "Max." and "Min." values are determined by sorting the data set in ascending or descending order and selecting the highest and lowest values, respectively.

Can "Max." and "Min." values be the same?

Yes, it is possible for the "Max." and "Min." values to be the same if there is only one value in the data set or if there are multiple values that are equal to each other and are the highest or lowest values.

What is the difference between "Max." and "Min." values and mean or median?

"Max." and "Min." values represent the extreme values within a data set, while mean and median represent the average and middle values, respectively. Max. and Min. values can be affected by outliers, while mean and median are less affected by extreme values.

Similar threads

Back
Top