$A_i$ and $x_i$ are positive numbers, I want to solve the following:
\begin{align} {\text{maximize}} &\hspace{3mm}& \prod_{i=1}^N (1 + A_{i}x_{i}) \\ \text{subject to} &\hspace{3mm}& \sum_{i=1}^N x_{i} = 1 \end{align}
I was trying to guess the pattern of ${x_i}$ by simplifying the problem with only two terms. I get $$x_0 = \frac{A_1 - A_0 + A_0A_1}{2A_0A_1}, \qquad x_1 = \frac{A_0 - A_1 + A_0A_1}{2A_0A_1}$$ but I cannot generalize the solution further.