First let three positive numbers,
\(x, y, z\text{.}\) Since their sum is 80, we have
\(x + y + z = 80\text{.}\) We want to maximize
\(f(x,y,z) = xyz\text{.}\) Using the constraint, we can write
\(z = 80 - x - y\) and substitute this into the function:
\(f(x,y) = xy(80 - x - y) = 80xy - x^2y - xy^2\)
Now we find the critical points of this function of two variables.
Find the first-order partials:
\(\frac{\partial f}{\partial x} = 80y - 2xy - y^2\)
\(\frac {\partial f}{\partial y} = 80x - x^2 - 2xy\)
Setting these equal to zero:
From the first equation, we can factor out y:
Since y is positive, we have
\(80 - 2x - y = 0\text{,}\) which gives us
\(y = 80 - 2x\text{.}\)
Substituting this into the second equation:
\(80x - x^2 - 2x(80 - 2x) = 0\)
\(80x - x^2 - 160x + 4x^2 = 0\)
Since x is positive, we have
\(3x - 80 = 0\text{,}\) which gives us
\(x = \frac{80}{3}\text{.}\)
Substituting this back into the equation for y:
\(y = 80 - 2\left(\frac{80}{3}\right) = 80 - \frac{160}{3} = \frac{240 - 160}{3} = \frac{80}{3}\)
Substituting x and y back into the equation for z:
\(z = 80 - \frac{80}{3} - \frac{80}{3} = \frac{240 - 80 - 80}{3} = \frac{80}{3}\)
So the critical point is at
\(\left(\frac{80}{3}, \frac{80}{3}, \frac{80}{3}\right)\text{.}\)
We can use the second derivative test to classify this critical point. First, we find the second-order partials:
\(\frac{\partial^2 f}{\partial x^2} = -2y\)
\(\frac{\partial^2 f}{\partial y^2} = -2x\)
\(\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x} = 80 - 2x - 2y\)
Now, we can apply the second derivative test:
\(D = \frac{\partial^2 f}{\partial x^2} \cdot \frac{\partial^2 f}{\partial y^2} - \left( \frac{\partial^2 f}{\partial x \partial y} \right)^2\)
\(D = (-2y)(-2x) - (80 - 2x - 2y)^2\)
\(D = 4xy - (80 - 2x - 2y)^2\)
\(D = 4\left(\frac{80}{3}\right)\left(\frac{80}{3}\right) - (80 - 2\left(\frac{80}{3}\right) - 2\left(\frac{80}{3}\right))^2\)
\(D = \frac{25600}{9} - (80 - \frac{160}{3} - \frac{160}{3})^2\)
\(D = \frac{25600}{9} - ( - \frac{80}{3})^2\)
\(D = \frac{25600}{9} - \frac{6400}{9}\)
Since
\(D \gt 0\) and
\(\frac{\partial^2 f}{\partial x^2} = -2y \lt 0\text{,}\) the critical point is a local maximum.
Since the function value at this critical point is
\(f\left(\frac{80}{3}, \frac{80}{3}, \frac{80}{3}\right) = \left(\frac{80}{3}\right)\left(\frac{80}{3}\right)\left(\frac{80}{3}\right) = \frac{512000}{27}\text{,}\) we can conclude that the three positive numbers that maximize the product are all equal to
\(\frac{80}{3}\text{.}\)