1. ## Optimization, Partial Derivatives

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

At first, I thought a, b, and c needed constant values, but later realized that the numbers are in terms of a, b, and c. Can someone help?

2. Originally Posted by MathTooHard
Find three positive numbers x,y,z whose sum is 100 such that (x^a)(y^b)(z^c) is a maximum.

At first, I thought a, b, and c needed constant values, but later realized that the numbers are in terms of a, b, and c. Can someone help?

I think this exercise is (almost) impossible to solve without knowing first that relation you say there exists between the variables x,y,z and the powers a,b,c.

Tonio

3. The relations involved are

$\displaystyle x,y>0$
$\displaystyle x+y<100$
$\displaystyle x+y+z=100.$

Our task is to maximize the two-variable function

$\displaystyle u=x^a y^b (100-x-y)^c$

subject to these conditions. In order to do this, we find all critical points, including boundary points and singular points (none, in this case), and points at which $\displaystyle \nabla u=\mathbf{0},$ i.e.,

$\displaystyle \frac{\partial u}{\partial x}=\frac{\partial u}{\partial y}=0.$

To begin, we first find the partial derivative of $\displaystyle u$ with respect to $\displaystyle x$:

\displaystyle \begin{aligned} \frac{\partial u}{\partial x}&=ax^{a-1}y^b(100-x-y)^c+x^a y^b\cdot c(100-x-y)^{c-1}\cdot(-1)\\ &= ax^{a-1}y^b(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}. \end{aligned}

Because $\displaystyle x$ and $\displaystyle y$ are symmetric in the function (with $\displaystyle a$ and $\displaystyle b$ respectively), the partial derivative of $\displaystyle u$ with respect to $\displaystyle y$ is therefore

$\displaystyle \frac{\partial u}{\partial y}=bx^a y^{b-1}(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}.$

The critical points are thus all those points at which

\displaystyle \begin{aligned} ax^{a-1}y^b(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}&=0\\ bx^a y^{b-1}(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}&=0. \end{aligned}

We may simplify these equations a bit dividing by $\displaystyle x^{a-1}y^{b-1}(100-x-y)^{c-1}$, remembering that $\displaystyle x$, $\displaystyle y$, and $\displaystyle z$ are positive:

\displaystyle \begin{aligned} ay(100-x-y)-cxy&=0\\ bx(100-x-y)-cxy&=0. \end{aligned}

Now all that remains is to solve for $\displaystyle x$ and $\displaystyle y$.

4. Originally Posted by Scott H
The relations involved are

$\displaystyle x,y>0$
$\displaystyle x+y<100$
$\displaystyle x+y+z=100.$

Our task is to maximize the two-variable function

$\displaystyle u=x^a y^b (100-x-y)^c$

subject to these conditions. In order to do this, we find all critical points, including boundary points and singular points (none, in this case), and points at which $\displaystyle \nabla u=\mathbf{0},$ i.e.,

$\displaystyle \frac{\partial u}{\partial x}=\frac{\partial u}{\partial y}=0.$

To begin, we first find the partial derivative of $\displaystyle u$ with respect to $\displaystyle x$:

\displaystyle \begin{aligned} \frac{\partial u}{\partial x}&=ax^{a-1}y^b(100-x-y)^c+x^a y^b\cdot c(100-x-y)^{c-1}\cdot(-1)\\ &= ax^{a-1}y^b(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}. \end{aligned}

Because $\displaystyle x$ and $\displaystyle y$ are symmetric in the function (with $\displaystyle a$ and $\displaystyle b$ respectively), the partial derivative of $\displaystyle u$ with respect to $\displaystyle y$ is therefore

$\displaystyle \frac{\partial u}{\partial y}=bx^a y^{b-1}(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}.$

The critical points are thus all those points at which

\displaystyle \begin{aligned} ax^{a-1}y^b(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}&=0\\ bx^a y^{b-1}(100-x-y)^c-cx^a y^b(100-x-y)^{c-1}&=0. \end{aligned}

We may simplify these equations a bit dividing by $\displaystyle x^{a-1}y^{b-1}(100-x-y)^{c-1}$, remembering that $\displaystyle x$, $\displaystyle y$, and $\displaystyle z$ are positive:

\displaystyle \begin{aligned} ay(100-x-y)-cxy&=0\\ bx(100-x-y)-cxy&=0. \end{aligned}

Now all that remains is to solve for $\displaystyle x$ and $\displaystyle y$.

Wow! What a different looking question with so much more information, and a nice work.
How did you know all this? The OP didn't write it.

Tonio

5. Originally Posted by tonio
Wow! What a different looking question with so much more information, and a nice work.
How did you know all this? The OP didn't write it.
The OP wrote,

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

This translates into

$\displaystyle x,y>0$
$\displaystyle x+y<100$
$\displaystyle x+y+z=100.$

6. Originally Posted by Scott H
The OP wrote,

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

This translates into

$\displaystyle x,y>0$
$\displaystyle x+y<100$
$\displaystyle x+y+z=100.$

True, but now that I re-read carefully your answer we still don't have any idea what's that relation the OP talks about between a,b,c and the variables x,y,z. This is a must because for derivating we have to take that into account.

In fact, the OP writes "later realized that the numbers are in terms of a, b, and c. Can someone help?", and I assume "the numbers" he talks about are x,y,z.

Tonio

7. Actually, that is exactly what the OP wrote: maximize $\displaystyle x^ay^bz^c$ subject to the conditions x+y+ z= 100, x> 0, y> 0 z> 0 for fixed a, b, c. I confess that I do not understand what he meant by "At first, I thought a, b, and c needed constant values, but later realized that the numbers are in terms of a, b, and c." Yes, the result will depend upon a, b, and c, but that does not mean they are not constants. Perhaps he meant that he thought, at first, that he was to put specific values in for a, b, and c.

Because the conditions x> 0, y> 0, z> 0 make the "feasible region" an open set, I would NOT have done it by looking for etrema on the boundaries. The boundaries are not included in the set (and there may not be a maximum).

Instead of replacing z with 100- x- y, I think I would use the "Lagrange multiplier method". Let $\displaystyle F(x,y,z)= x^ay^bz^c$. Then $\displaystyle \nabla F= ax^{a-1}y^bz^c\vec{i}+ bx^ay^{b-1}z^c\vec{j}+ cx^ay^bz^{c-1}\vec{k}$. Let G(x,y,z)= x+ y+ z= 100. Then $\displaystyle \nabla G= \vec{i}+ \vec{j}+\vec{k}$. At extrema of F, satisfying G= constant, those two vectors must be parallel- one is a multiple of the other: $\displaystyle \nabla F= \lambda\nabla G$ or $\displaystyle ax^{a-1}y^bz^c\vec{i}+ bx^ay^{b-1}z^c\vec{j}+ cx^ay^bz^{c-1}\vec{k}= \lambda(\vec{i}+ \vec{j}+\vec{k})$.

Equating the components, we have $\displaystyle ax^{a-1}y^bz^c= \lambda$, $\displaystyle bx^ay^{b-1}z^c= \lambda$, and $\displaystyle cx^ay^bz^{c-1}= \lambda$.

Dividing the first equation by the second we get $\displaystyle \frac{a}{b}\frac{y}{x}= 1$ or $\displaystyle y= \frac{b}{a}x$. Dividing the first equation by the third gives $\displaystyle \frac{a}{c}\frac{z}{x}= 1$ or $\displaystyle z= \frac{c}{a}x$.

Now put those into x+ y+ z= 100 to get $\displaystyle x+ \frac{b}{a}x+ \frac{c}{a}x= \frac{a+ b+ c}{a} x= 100$.

$\displaystyle x= \frac{100a}{a+ b+ c}$. You could put that into $\displaystyle y= \frac{b}{a}x$ and $\displaystyle z= \frac{c}{a}x$ to get that $\displaystyle y= \frac{100b}{a+ b+ c}$ and $\displaystyle z= \frac{100c}{a+ b+ c}$ which follow from the symmetry also.

,

,

### find three positive numbers whose sum is 27 using partial derivatives

Click on a term to search for related topics.