Given parameters w_1, \ldots, w_n > 0 with \sum_{j=1}^n w_j = 1 (n\ge 2), define function
with
for x_1, \dots, x_{n-1} \in (0,1).
For example, for n=3 the function is
Working on a conjecture in this MO question, for n= 3, 4, 5, I want to numerically check whether the Hessian matrix of f(x_1, \ldots, x_{n-1}) is positive semi-definite over the hypercube (0,1)^{n-1} for any parameters w_1, \ldots, w_n > 0 with \sum_{j=1}^n w_j = 1.
I could manage the case n=3 using a desmos graph, which shows the answer is yes. Could you help me efficiently use Mathematica to handle the two remaining cases n=4,5?
I found a related question discussing how one can check whether a matrix is positive semi-definite by Mathematica.