Optimizing Product with Three Positive Numbers

  • Thread starter Thread starter fk378
  • Start date Start date
  • Tags Tags
    Product
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 5K views
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
We haven't learned that yet.
 
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:
[tex]g(x,y)=x^{a}y^{b}(100-x-y)^{c}[/tex]
The partial derivative of g with respect to x becomes, using the product&chain rules:
[tex]\frac{\partial{g}}{\partial{x}}=ax^{a-1}y^{b}(100-x-y)^{c}-cx^{a}y^{b}(100-x-y)^{c-1}[/tex]

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

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

Now, if this is set to zero, it means:
[tex]ax^{a-1}y^{b}(100-x-y)^{c}=cx^{a}y^{b}(100-x-y)^{c-1}[/tex]
Assuming that all factors are non-zero, we may divide through, say in this manner:
[tex]a(100-x-y)=cx[/tex]
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.