I'm self learning from the Vector Calculus book available online in PDF form (page 88). The question is: Find three positive numbers $x$, $y$, $z$ whose sum is $10$ such that $x^2y^2z$ is a maximum. Searching around for similar questions I see Lagrange multipliers mentioned as helpful, but that is subsequent material in the book so not meant to be applied here. Here's what I've done:
Rewrite the product as a function of two variables $x$ and $y$ because we know $z = 10 - x - y$:
$$f(x,y) = x^2y^2(10-x-y)$$
Compute $\frac{\partial{f}}{\partial{x}} = xy^2(20-3x-2y)$ and $\frac{\partial{f}}{\partial{y}} = x^2y(20-2x-3y)$
Now I know I need to set these to $0$ and solve simultaneously then look at the possible values of $x$ and $y$. I'm stuck here as I don't know how to solve this system:
$$xy^2(20-3x-2y) = 0$$ $$x^2y(20-2x-3y) = 0$$
I thought as they're both equal to $0$ then they're both equal to each other. Then I thought I could cancel out $x$ and $y$ but then figured I'd be losing solutions. Perhaps someone can tell me a good way to approach this?
As you know $x,y$ are both not zero, you can divide by them, giving $2x+3y=20=3x+2y$ Subtracting gives $x-y=0,$ so $x=y=4, z=2$