Maximizing f(x,y) on a Triangular Region | Calc 3 Homework Solution

  • Thread starter Thread starter e^(i Pi)+1=0
  • Start date Start date
  • Tags Tags
    Calc 3
Click For Summary

Homework Help Overview

The discussion revolves around finding the maximum value of the function f(x,y) = xy + 1 on a triangular region defined by the constraints x ≥ 0, y ≥ 0, and x + y ≤ 1. Participants explore the implications of the function's partial derivatives and their behavior within the specified region.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss the reasoning behind focusing on the boundary defined by y = 1 - x, questioning why maxima might not occur at the axes where x = 0 or y = 0. There is an exploration of the implications of positive partial derivatives and whether they necessitate both variables being greater than zero.

Discussion Status

The conversation is ongoing, with various interpretations being explored. Some participants have offered insights into the reasoning behind the original poster's approach, while others have raised concerns about the generalizability of the argument presented. The discussion reflects a mix of agreement and differing perspectives on the assumptions made.

Contextual Notes

Participants note that the original problem's constraints and the behavior of the function's partial derivatives are central to the discussion, with some suggesting that the reasoning may not hold in all cases, particularly when considering different functions or boundary conditions.

e^(i Pi)+1=0
Messages
246
Reaction score
1

Homework Statement



Find the maximum value of f(x,y)=xy+1 on the triangular region: x ≥ 0, y ≥ 0, x+y ≤ 1

The Attempt at a Solution



Partial derivatives of f(x,y) with respect to both x and y are positive within the given bounds, so the maxima will be found on the boundary where y=1-x. g(x) = -x2+x+1 and max value is 1.25
 
Physics news on Phys.org
How did you reason that y = 1-x? Why could the maximum not be found where either x = 0 or y = 0?
 
verty said:
How did you reason that y = 1-x? Why could the maximum not be found where either x = 0 or y = 0?
For the reason given: since both partial derivatives are positive within the region, the max must be at a place where neither x nor y can be increased without reducing the other.
 
haruspex said:
For the reason given: since both partial derivatives are positive within the region, the max must be at a place where neither x nor y can be increased without reducing the other.

Can we extend this reasoning to the case where the partial derivatives differ in sign? I think so. This is most interesting.

Regarding the original post, I thought perhaps a leap had been made but I see now that everything was justified.
 
Last edited:
verty said:
Can we extend this reasoning to the case where the partial derivatives differ in sign? I think so. This is most interesting.

Regarding the original post, I thought perhaps a leap had been made but I see now that everything was justified.

No, it is not true in general. For example, if we want to maximize f = 2*x + y over the region x,y >= 0, x+y <= 1, the solution is at (x,y) = (1,0). This is true despite the fact that the partial derivatives of f are positive everywhere in the feasible set.

The OP happened to get lucky in his analysis, but other, more general cases are not so easily handled. I, personally, would not regard his argument as 100% airtight, but he could fairly easily fix it up.

The so-called Karush-Kuhn-Tucker conditions were devised to deal with such problems. Essentially, these look at the behavior of directional derivatives of f along feasible directions.
 
Ray Vickson said:
No, it is not true in general. For example, if we want to maximize f = 2*x + y over the region x,y >= 0, x+y <= 1, the solution is at (x,y) = (1,0).

... which lies on the line y = 1 - x.
 
pasmith said:
... which lies on the line y = 1 - x.

Yes, of course it does. However, that does not prevent one of the variables x or y from being zero at the solution.

What I was objecting to was the automatic assumption that both variables had to be > 0, just because the partials are both > 0.
 
Ray Vickson said:
What I was objecting to was the automatic assumption that both variables had to be > 0, just because the partials are both > 0.
No, that was in verty's comment, not in the OP. All e^(i Pi)+1=0 argued was that it must lie on x+y=1.
 
I know the logic doesn't hold when x or y = 0, but that obviously doesn't give the max value just by glancing at the function so I didn't think it was worth mentioning.
 
  • #10
e^(i Pi)+1=0 said:
I know the logic doesn't hold when x or y = 0
You are selling your own argument short. Even if, say, x = 0, if 0 < y < 1 then, because ∂f/∂x > 0, must be possible to increase the value of the function by increasing y. The case where it does break down is x = y = 0, because both partial derivatives are 0 there.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
Replies
5
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
3
Views
2K