I'm sorry for the general and kind of inaccurate title, but I'm not sure how to phrase this question in a super short way.
In calculus class a few years ago, this question was given:
Choose three positive numbers $x, y,$ and $z$, so that $x + y + z = 99$ so that $x \dot{} y \dot{} z$ is as large as possible.
We were supposed to combine the equations and take the derivative to find the maximum, but I immediately made the assumption that, because both involved equations treated $x, y,$ and $z$ exactly the same, they would all have the same value in the solution.
So I said that $x, y,$ and $z$ were all 33, and whaddaya know, that answer was right. My teacher of course said that that trick would not work in every optimization problem, but it has come in handy for a few other problems.
For a while, I thought that I could assume that all variables would have the same value in any problem where they were all treated the same, but I recently thought, "What if the question had asked me to minimize $x \dot{} y \dot{} z$ instead of maximize it? Then in the solution, one of the variables would have to be zero, and there would be infinite possibilities for the other two, none of which would result in $x, y,$ and $z$ being all equal, so there must be some other factor involved in whether or not this trick will work.
Is there some kind of test where I can look at a problem where the variables are treated the same in every equation and tell whether or not assuming that the values will all be the same in the solution or not?