Can't find the correct max on this surface

  • Thread starter Thread starter Addez123
  • Start date Start date
  • Tags Tags
    Max Surface
Click For Summary

Homework Help Overview

The discussion revolves around finding the maximum and minimum values of the function $$f(x,y) = (x^2 + y)e^{-x-y}$$ under the constraints x >= 0 and y >= 0. Participants are analyzing critical points derived from the first derivatives of the function.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the calculation of partial derivatives and the identification of critical points. There is an exploration of boundary conditions along the x-axis and y-axis, with some questioning the correctness of derivatives and the method used to find extrema.

Discussion Status

The discussion is active, with participants providing feedback on each other's calculations and methods. Some have identified errors in derivative calculations and assumptions about the boundaries, while others have successfully found additional critical points. There is a recognition of the need to check boundaries properly to identify maximum values.

Contextual Notes

Participants are constrained by the requirement to find extrema only within the defined first quadrant (x >= 0, y >= 0) and are discussing the implications of this on their calculations. There is an acknowledgment of the potential for missing critical points if boundary conditions are not properly considered.

Addez123
Messages
199
Reaction score
21
Homework Statement
Find max and min on
$$f(x,y) = (x^2 + y)e^{-x-y}$$
x >= 0, y >= 0
Relevant Equations
Derivatives and limits
I calculate f_x to be
$$f_x = (2x - x^2)e^{-x-y}$$
$$f_y = (1 - y)e^{-x-y}$$

f_x = 0 when x_1 = 0, x_2 = 2
f_y = 0 when y = 1

This gives two critical points: (0, 1) and (2, 1) which yields e^-1 and 5e^-3 respectively.
I then check the x line and y lines by doing
$$f(x, 0) = x^2e^{-x-y}$$
$$f_x = (2x - x^2)e^{-x-y}$$
Which yields the same critical points as before
$$f(0, y) = ye^{-x-y}$$
$$f_y = (1 - y)e^{-x-y}$$
This also gives same critical points as before.

Basically all my critical points are (0,0), (0, 1), (2,1) which at best gives e^-1 ~ .37
But there's a point f(2, 0) = 4e^-2 ~= .54
How did I not find this point when I checked the y-axis boundary?
 
Physics news on Phys.org
Addez123 said:
Homework Statement:: Find max and min on
$$f(x,y) = (x^2 + y)e^{-x-y}$$
x >= 0, y >= 0
Relevant Equations:: Derivatives and limits

How did I not find this point when I checked the y-axis boundary?
What about ##f_x=0?##
 
First of all, your derivatives are incorrect.

Addez123 said:
How did I not find this point when I checked the y-axis boundary?
Your method is wrong. ##y = 1## is not on the ##y##-axis. You do not need the y-derivative to vanish when you are looking for extrema on the y-axis, just the derivative along the boundary (in the case of the y-axis, the derivative in the x-direction).
 
  • Like
Likes   Reactions: Addez123
Orodruin said:
First of all, your derivatives are incorrect.
I redid them and updated them to:
$$f_x = (2x - x^2 - y)e^{-x-y}$$
$$f_y = (1 - y - x^2)e^{-x-y}$$
This gives me a new critical point at (1/2, 3/4), when f_x, f_y = 0

This really doesn't help though.
$$f(x, 0) = x^2e^{-x}$$
$$f_x = (2x - x^2)e^{-x}$$
Going along the lines you still only get (0, 1) and (2,1) points.

I still can't find (2, 0)
 
Last edited:
If you look at the boundaries, then you have ##x=0## and ##y=0##. Each gives you a function in one variable that you can calculate maximum points of. The minimum is obviously zero, achieved at ##(0,0)## and at infinity. Remains to check whether there could be another maximum inside the surface.
 
Addez123 said:
Going along the lines you still only get (0, 1) and (2,1) points.
First, your ##f(x,0)## cannot depend on y as it does in your post. Second, there is no way you can find (2,1) when considering ##f(x,0)##. You can only find points on the ##x##-axis and the only relevant derivative for this function is wrt x.
 
  • Like
Likes   Reactions: Addez123
Ahh that was the problem!
I was considering the case when y= 0 yet I thought I was suppose to calculate the y value using f_y.
Now I get the point (2, 0) which gives correct max!

Thanks!
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
12
Views
2K
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K