I am trying to maximize the function $$f(x,y,z)=\log(2)+\log(3/2)x+\log(2)y+\log(5/2)z$$ with the following constraints: $$x\geq 0, y\geq 0, z \geq 0,$$ $$x+y+z\leq 1,$$ $$x+y\geq 4/5,$$ $$(y+z)^2+2x-x^2-2xy\leq 1-2\gamma,$$ where $$0.24 \leq \gamma \leq 0.25.$$
I claim that the maximum value is $\frac{\log(12)}{2}+\frac{\sqrt{1-4\gamma}}{2}\log\left( \frac{4}{3} \right)$, and that this maximum is obtained when $x=\frac{1+\sqrt{1-4\gamma}}{2}$, $y=\frac{1-\sqrt{1-4\gamma}}{2}$, and $z=0$.
I am trying to avoid using Lagrange Multipliers because it becomes complicated. I am wondering if there is another way. I would also be satisfied if I could show that $f(x,y,z)\leq \frac{\log(12)}{2}+\frac{\sqrt{1-4\gamma}}{2}\log\left( \frac{4}{3} \right)$. Programs like Maple and Mathematica give me solutions for specific $\gamma$, but I would like to find a step by step way to show this for ANY $\gamma$. Thank you.
Note: I want to point out that we treat $\gamma$ as a FIXED constant that lies in the real interval $[0.24, 0.25]$. Also, all logarithms considered are real.
(New solution)
The maximum is $$\ln 2 + \tfrac{1-\sqrt{1-4\gamma}}{2}\ln \tfrac{3}{2} + \tfrac{1+\sqrt{1-4\gamma}}{2}\ln 2$$ at $x = \frac{1-\sqrt{1-4\gamma}}{2}$, $y = \frac{1+\sqrt{1-4\gamma}}{2}$, and $z = 0$. Let us prove it.
We first give the following auxiliary result. The proof is given at the end.
Fact 1: At optimum, either $x+y+z = 1$ or $z = 0$.
Let us proceed. Let $f = f(x, y, z) = x\ln \frac{3}{2} + y\ln 2 + z\ln \frac{5}{2}$. From Fact 1, we split into two cases:
1) $x + y + z = 1$: The constraint $(y+z)^2 + 2x - x^2 - 2xy \le 1 - 2\gamma$ becomes $xy \ge \gamma$. By using $z = 1 - x - y$, we have $$f = f(x, y) = x\ln \tfrac{3}{2} + y\ln 2 + (1-x-y)\ln \tfrac{5}{2} = \ln \tfrac{5}{2} - x\ln \tfrac{5}{3} - y\ln \tfrac{5}{4}.$$ The constraints are: $x\ge 0, y\ge 0, x + y \ge \frac{4}{5}, x+y \le 1$, and $xy \ge \gamma$.
We claim that, at optimum, $xy = \gamma$. Indeed, suppose $xy > \gamma$ at optimum (clearly, $x>\gamma$ and $\gamma < y < 1 - \gamma$), there exists $0 < \epsilon$ such that $(x - \epsilon, y + \epsilon)$ is feasible and $f(x - \epsilon, y + \epsilon) > f(x, y)$, which contradicts the optimality of $(x,y)$.
From $xy = \gamma$, we have $x + y \ge 2\sqrt{xy} = 2\sqrt{\gamma} \ge 2\sqrt{\frac{6}{25}} > \frac{4}{5}$. From $y = \frac{\gamma}{x}$ and $x + y \le 1$, we have $\frac{1-\sqrt{1-4\gamma}}{2}\le x \le \frac{1+\sqrt{1-4\gamma}}{2}$. Then, we have $$f = f(x) = \ln \tfrac{5}{2} - x\ln \tfrac{5}{3} - \tfrac{\gamma}{x}\ln \tfrac{5}{4} .$$ The constraints are: $\frac{1-\sqrt{1-4\gamma}}{2}\le x \le \frac{1+\sqrt{1-4\gamma}}{2}$. We have \begin{align} f'(x) &= - \ln \tfrac{5}{3} + \tfrac{\gamma}{x^2}\ln \tfrac{5}{4}\\ &\le - \ln \tfrac{5}{3} + \gamma(\tfrac{1-\sqrt{1-4\gamma}}{2})^{-2}\ln \tfrac{5}{4}\\ &= - \ln \tfrac{5}{3} + \gamma^{-1}(\tfrac{1+\sqrt{1-4\gamma}}{2})^2 \ln \tfrac{5}{4}\\ &\le - \ln \tfrac{5}{3} + (\tfrac{6}{25})^{-1}(\tfrac{1+\sqrt{1-4\cdot 6/25}}{2})^2 \ln \tfrac{5}{4}\\ &< 0 \end{align} for $\frac{1-\sqrt{1-4\gamma}}{2}\le x \le \frac{1+\sqrt{1-4\gamma}}{2}$. Thus, we have $$f = f(x) \le f(\tfrac{1-\sqrt{1-4\gamma}}{2}) = \ln \tfrac{5}{2} - \tfrac{1-\sqrt{1-4\gamma}}{2}\ln \tfrac{5}{3} - \tfrac{1+\sqrt{1-4\gamma}}{2}\ln \tfrac{5}{4}$$ with equality if $x = \frac{1-\sqrt{1-4\gamma}}{2}$, $y = \frac{1+\sqrt{1-4\gamma}}{2}$, and $z = 0$.
2) $z = 0$: This case was solved by other users. Although I have my solution, I will not give it since it is not better than other users' solutions.
We are done.
$\phantom{2}$
Proof of Fact 1: Assume, for the sake of contradiction, that $x + y + z < 1$ and $z > 0$, at optimum. Let $x_1 = x + 3t, y_1 = y+t, z_1 = z - 2t$ for $0 < t < \min(\frac{z}{2}, \frac{1-x-y-z}{2})$.
We have $x_1>0$, $y_1 > 0$, $z_1 > 0$, $x_1+y_1+z_1 = x+y+z + 2t < 1$ and $x_1+y_1 = x+y + 4t > \frac{4}{5}$. Also, we have \begin{align} &\big[(y+z)^2 + 2x - x^2 - 2xy\big] - \big[(y_1+z_1)^2 + 2x_1 - x_1^2 - 2x_1y_1\big]\\ =\ & 2t(7t+4x+4y+z-3)\\ >\ & 0 \end{align} where we have used $x + y \ge \frac{4}{5} > \frac{3}{4}$. Thus, $(y_1+z_1)^2 + 2x_1 - x_1^2 - 2x_1y_1 \le 1 - 2\gamma$. Thus, $(x_1, y_1, z_1)$ is feasible.
On the other hand, we have \begin{align} &\big[\ln 2 + x_1\ln \tfrac{3}{2} + y_1\ln 2 + z_1\ln \tfrac{5}{2}\big] - \big[\ln 2 + x\ln \tfrac{3}{2} + y\ln 2 + z\ln \tfrac{5}{2}\big] \\ =\ & t \ln \tfrac{27}{25}\\ >\ & 0. \end{align} However, this contradicts the optimality of $(x, y, z)$. We are done.