If $x,y,z>0$ and $x+y+z=1$,then find the maximum value of $(1-x)(2-y)(3-z)$.
My Attempt:
We have $0<1-x<1,1<2-y<2,2<3-z<3$ so A.M-G.M inequality cannot be used since we can never have
$1-x=2-y=3-z$.
Is there any other way out
If $x,y,z>0$ and $x+y+z=1$,then find the maximum value of $(1-x)(2-y)(3-z)$.
My Attempt:
We have $0<1-x<1,1<2-y<2,2<3-z<3$ so A.M-G.M inequality cannot be used since we can never have
$1-x=2-y=3-z$.
Is there any other way out
On
As pointed out in the comments, equality holds at a boundary point. With that in mind, we use a smoothing argument, and show that
$$f(x,y,z) \leq f(0, y, x+z) \leq f(0, 0, x+y+z) = f(0, 0, 1) = 4.$$
Each of the inequalities should be obvious.
Notes
On
Remarks: Once we motivate the point $(0, 0, 1)$, we can write a terse solution. Often, the motivation of a solution is complicated while the solution itself is terse.
We have \begin{align*} (1-x)(2-y)(3-z) &= (2 -2x - y + xy)(3 - z)\\ &\le (2 - 2x - y + x)(3 - z)\\ &= (2 - x - y)(3 - z)\\ &= (1 + z)(3 - z)\\ &= -(z - 1)^2 + 4\\ &\le 4. \end{align*}
Let us put $z=1-x-y$. Then the expression becomes
$$(1-x)(2-y)(2+x+y).$$
Rewrite it as:
$$x^2\cdot(y-2)+x\cdot(y^2-y-2)+(4-y^2).$$
If we consider this as a quadratic function of $x$ then we see that the branches of parabola look down, and its vertex is at
$$-\frac{y^2-y-2}{2(y-2)}=-\frac{y+1}2.$$
As $y$ changes from $0$ to $1$, $-\frac{y+1}2$ changes from $-1/2$ to $-1$. Hence the maximum is when $x=0$.
Our expression then becomes $$(2-y)(2+y),$$ which has supremum at $4$ when $y\to 0$.