Optimizing Product with Three Positive Numbers

  • Thread starter Thread starter fk378
  • Start date Start date
  • Tags Tags
    Product
fk378
Messages
366
Reaction score
0

Homework Statement


Find three positive numbers x, y, and z whose sum is 100 such that (x^a)(y^b)(z^c) is a maximum.


Homework Equations


constraint: x+y+z=100
maximize: (x^a)(y^b)(z^c)


The Attempt at a Solution


First I replaced the z in the maximization problem with 100-y-z. Then I took the partial derivatives of the maximization function with respect to x and to y. Solving these, I got x=100. This implies that y=-z. But the question asks for all positive numbers. I don't know what else to do...any tips?
 
Physics news on Phys.org
You most certainly haven't done this correctly!

I advise you to use Lagranfe multipliers.
 
We haven't learned that yet.
 
All right, then!

Post the equations you got after taking the partial derivatives and setting them to zero.
 
x=(100a-100ay)/(c+a)
y=100c/a
Plugging this into x+y+z=100, I get z=-100c/a
 
fk378 said:
x=(100a-100ay)/(c+a)
y=100c/a
Plugging this into x+y+z=100, I get z=-100c/a

This is wrong!

You are to differentiate:
g(x,y)=x^{a}y^{b}(100-x-y)^{c}
The partial derivative of g with respect to x becomes, using the product&chain rules:
\frac{\partial{g}}{\partial{x}}=ax^{a-1}y^{b}(100-x-y)^{c}-cx^{a}y^{b}(100-x-y)^{c-1}

Now, if this is set to zero, it means:
ax^{a-1}y^{b}(100-x-y)^{c}=cx^{a}y^{b}(100-x-y)^{c-1}
Assuming that all factors are non-zero, we may divide through, say in this manner:
a(100-x-y)=cx
Make a similar manipulation of the equation you gain from dg/dy!
 
arildno said:
This is wrong!

You are to differentiate:
g(x,y)=x^{a}y^{b}(100-x-y)^{c}
The partial derivative of g with respect to x becomes, using the product&chain rules:
\frac{\partial{g}}{\partial{x}}=ax^{a-1}y^{b}(100-x-y)^{c}-cx^{a}y^{b}(100-x-y)^{c-1}

Now, if this is set to zero, it means:
ax^{a-1}y^{b}(100-x-y)^{c}=cx^{a}y^{b}(100-x-y)^{c-1}
Assuming that all factors are non-zero, we may divide through, say in this manner:
a(100-x-y)=cx
Make a similar manipulation of the equation you gain from dg/dy!

If you simplify the last equality you made, you get the same answer as I did for x.
 
No, you don't. For one thing, 100y will not appear anywhere.
 
Back
Top