Let $a, b$ be real numbers such that all roots of $f(x) := x^4 - x^3 + ax + b$ are real. Prove that $f(-1/2) \le 3/16$.
The question was posted recently which was closed, due to missing of contexts etc.
My attempt: $f(-1/2) \le 3/16$ is equivalent to $a \ge 2b$.
Let $x_1, x_2, x_3, x_4$ be the real roots of $f(x)$. By Vieta, we have \begin{align*} x_1 + x_2 + x_3 + x_4 &= 1, \\ x_1 x_2 + x_1x_3 + x_1x_4 + x_2 x_3 + x_2x_4 + x_3x_4 &= 0, \\ x_1x_2x_3 + x_1x_2x_4 + x_1 x_3 x_4 + x_2x_3 x_4 &= -a, \\ x_1x_2x_3x_4 &= b. \end{align*}
The problem becomes:
If $x_1, x_2, x_3, x_4$ are real numbers such that $x_1 + x_2 + x_3 + x_4 = 1$ and $x_1 x_2 + x_1x_3 + x_1x_4 + x_2 x_3 + x_2x_4 + x_3x_4 = 0$, prove that $$x_1x_2x_3 + x_1x_2x_4 + x_1 x_3 x_4 + x_2x_3 x_4 + 2x_1x_2x_3x_4 \le 0.$$
This is true (e.g. verified by Mathematica). Is there a nice proof for it (or the original problem)?
A proof for the equivalent formulation with Vieta's equations can be given by using Newton's identities which "help in guessing" but are not mandatory, see below.
Let's first write the definitions, using OP's formulation:
Here, as in the link, $e_k$ are the elementary symmetric polynomials and $p_k$ is the k-th power sum.
We have the following, using Newton's identities:
$$ 3 e_3 = e_2 p_1 - e_1 p_2 + p_3 \\ 4 e_4 = e_3 p_1 - e_2 p_2 + e_1 p_3 - p_4 $$
For illustration, writing this fully expanded, the first line reads: $$ 3 (x_1x_2x_3 + x_1x_2x_4 + x_1 x_3 x_4 + x_2x_3 x_4) = \\ (x_1 x_2 + x_1x_3 + x_1x_4 + x_2 x_3 + x_2x_4 + x_3x_4)(x_1 + x_2 + x_3 + x_4)\\ - (x_1 + x_2 + x_3 + x_4)(x_1^2 + x_2^2 + x_3^2 + x_4^2) \\ + (x_1^3 + x_2^3 + x_3^3 + x_4^3) $$ It is a tedious but elementary task to check that this equality holds.
Now the questions asks for the values of $e_3 + 2 e_4$. Using the two Newton's identities this can be written as:
$$ 2(e_3 + 2 e_4) = \frac{2 + p_1}{3} [e_2 p_1 - e_1 p_2 + p_3] - e_2 p_2 + e_1 p_3 - p_4 $$
Note that so far no use of conditions given in the question has been made. The last result, if written down fully expanded, gives an utterly lengthy identity decomposition of $e_3 + 2 e_4$, which however could again be verified by elementary calculation. If someone had "guessed" this, no need would have arised to use Newton's identities.
Using the given conditions $e_1 = p_1 = 1$ and $e_2 = 0$, the sought value becomes
$$ 2(e_3 + 2 e_4) = [- p_2 + p_3 ] + p_3 - p_4 = -p_2 + 2 p_3 - p_4 $$
Expanding this gives
$$ 2(e_3 + 2 e_4) = - (x_1^2 + x_2^2 + x_3^2 + x_4^2) + 2 (x_1^3 + x_2^3 + x_3^3 + x_4^3) - (x_1^4 + x_2^4 + x_3^4 + x_4^4) \\ = - \Big[ x_1^2 (1-x_1)^2 + x_2^2 (1-x_2)^2 + x_3^2 (1-x_3)^2 + x_4^2 (1-x_4)^2 ) \Big] \le 0 $$
where the last conclusion follows since all terms are quadratic.
Indeed, equality is reached under the task's conditions only for $(x_1,x_2,x_3,x_4) = (0,0,0,1)$ and permutations thereof. $\qquad \Box$