If $x+y+z=21$ then what is the maximum value of $(x-6)(y+7)(z-4)$?
My attempt:
The value of $(x-6)(y+7)(z-4)$ will be maximum iff $$x-6=y+7=z-4=k$$ Now, substituting $x=k+6, \ y=k-7, \ z=k+4$, $$k+6+k-7+k+4=21$$ this gives us $k=6$ so the maximum value of $(x-6)(y+7)(z-4)$ $$6\cdot6\cdot6=216$$
I am not sure whether my answer is correct. Can somebody please help me or suggest me if I am wrong? Thanks you very much.
I think your answer is not correct.
Try $x=100$, $y=-45$ and $z=-34$.
The correct answer: The maximum does not exist.