Maximizing xy with Given Constraints: [SOLVED]

  • Thread starter Thread starter rohanprabhu
  • Start date Start date
  • Tags Tags
    Maximum Value
Click For Summary

Homework Help Overview

The problem involves maximizing the product xy under the constraints that x is in the interval [1, 2] and y is in the interval [-1, 1], with the additional condition that x + y = 0.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the relationship between x and y given the constraint x + y = 0, with some attempting to apply calculus concepts such as derivatives and Lagrange multipliers. Others express uncertainty about the methods and reasoning involved.

Discussion Status

There are various approaches being discussed, including direct evaluation of the function and the use of calculus. Some participants suggest that the problem may be simpler than it appears, while others express confusion about the application of certain mathematical techniques. No explicit consensus has been reached, but several lines of reasoning are being explored.

Contextual Notes

Participants mention the need to check boundaries and the implications of the defined intervals for x and y. There is also a reference to the potential misunderstanding of Lagrange multipliers and its relevance to the problem.

rohanprabhu
Messages
410
Reaction score
2
[SOLVED] Maximum value of xy

Homework Statement



Q] Given that [itex]x \in [1, 2][/itex] and [itex]y \in [-1, 1][/itex] and [itex]x + y = 0[/itex], find the maximum value of [itex]xy[/itex]

The Attempt at a Solution


I have no idea at all. Does this have something to do with the maxima/minima. In that case, i can get that:

[tex] \frac{dx}{dy} = xdy + ydx[/tex]

also,
[tex] dx = -dy[/tex]

hence, for the condition of [itex]f'(x) = 0[/itex],

[tex] xdy + ydx = 0[/tex]

[tex] xdy = - ydx[/tex]

[tex] \frac{dy}{dx} = \frac{-y}{x}[/tex]

i don't even know what I'm doing till now.
 
Physics news on Phys.org
If f = xy, and x + y = 0, then f = -x^2. I think it should be fairly straight forward to find the maximum value of this function. Of course if this is not in the region for which the function is defined, then you just need to check at the boundaries.
 
This looks like a problem too easy for Lagrange multipliers, so I'll keep it simple. In case you don't know, [itex]u[/itex] is defined to be [itex]xy[/itex], so that's what we want to maximize.
[tex]x+y=0 \Rightarrow y=-x[/tex]
[tex]u=xy=-x\times x=-x^2[/tex]
Take the derivative and set to zero,
[tex]\frac{du}{dx}=0=-2x\Rightarrow x=0 \Rightarrow y=0[/tex]
This makes sense because it's going to be the product of a negative number and its absolute value. So the largest is going to be at zero.
 
In fact you don't need to differentiate at all. Once you realize that u(x)= -x2, it is clear that u is negative for all x except x= 0.
 
Perhaps it may be solved by Lagrange multiplier, you should obtain the minimum of

[tex]xy-{\lambda}(x+y)[/tex]

differenentiating respect to x , y and lambda we get the equations

[tex]y-{\lambda}=0[/tex]

[tex]x-{\lambda}=0[/tex]

[tex]x+y=0[/tex]

it seems that only a minimum at x=y=0 exists , no maximum.
 
thanks to everybody.. i got it now. I really feel stupid about this problem. I have no idea about Lagrange multiplier, but calculating f(x) is something i should've done... thanks to everyone again.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
3K
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
19
Views
3K
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K