Maximizing xy with Given Constraints: [SOLVED]

  • Thread starter Thread starter rohanprabhu
  • Start date Start date
  • Tags Tags
    Maximum Value
rohanprabhu
Messages
410
Reaction score
2
[SOLVED] Maximum value of xy

Homework Statement



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

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:

<br /> \frac{dx}{dy} = xdy + ydx<br />

also,
<br /> dx = -dy<br />

hence, for the condition of f&#039;(x) = 0,

<br /> xdy + ydx = 0<br />

<br /> xdy = - ydx<br />

<br /> \frac{dy}{dx} = \frac{-y}{x}<br />

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, u is defined to be xy, so that's what we want to maximize.
x+y=0 \Rightarrow y=-x
u=xy=-x\times x=-x^2
Take the derivative and set to zero,
\frac{du}{dx}=0=-2x\Rightarrow x=0 \Rightarrow y=0
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

xy-{\lambda}(x+y)

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

y-{\lambda}=0

x-{\lambda}=0

x+y=0

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.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top