"A basic strategy in tackling inequalities of few variables is to write things into sum of squares..." is a quote from an answer, intended as commenting the post entitled "Can this inequality proof be demystified?".
I'd like to know what the Sum Of Squares strategy yields for the AM-GM inequality with $\,n$ variables. In the low-dimensional cases $\,n=2,3,4\,$ one has \begin{align*} a^2+b^2-2ab &\;=\;(a-b)^2\;\geqslant\;0\,, \\[2ex] a^3+b^3+c^3-3abc &\;=\;(a+b+c)\cdot\underbrace{\frac 12\left((a-b)^2+(b-c)^2+(c-a)^2\right)}_{a^2+b^2+c^2-ab-bc-ca}\;\geqslant\;0\,,\\[2ex] a^4+b^4+c^4+d^4-4abcd &\;=\;\left(a^2-b^2\right)^2 +\left(c^2-d^2\right)^2 + 2(ab-cd)^2\;\geqslant\;0\,, \end{align*} and for $\,n=5\,$ cf this math.SE answer.
Now fix some $n\in\mathbb{N}$, let $\,a_1,a_2,\cdots,a_n\geqslant 0$, and consider $$\sum_{k=1}^n a_k^n\, -\, n\prod_{k=1}^n a_k\tag{AM-GM}$$ which, I'm pretty convinced, can be expressed involving Sums Of Squares and then recognised to be non-negative.
- But how does such an expression look like?
- Can it be derived in a (a sort of) uniform procedure?
There's the post Proofs of AM-GM inequality (tagged as 'big-list') with 14 answers currently, but none of them would answer this question.
I've considered to add the 'computer-algebra-systems' tag.
Added in edit
Pedro Tamaroff introduced the central keyword Certificate of positivity in his comment which, amongst further insights, led me to rediscover the above $n=4$ expression.
$\exists$ recommended readings:
(1) An algorithm for sums of squares of real polynomials, J. Pure & Appl. Alg. 127 (1998), pp 99–104, is a nice paper by Victoria Powers and Thorsten Wörmann
(2) Computing sum of squares decompositions with rational coefficients
by Helfried Peyrl and Pablo A. Parrilo, Theor. Comp. Sci. 409 (2008), pp 269-281
My hope is $\ddot\smile$ that coefficients can be found which are homogeneous of degree 1. Would Maple be able to detect corresponding decompositions?
– Hanno Aug 17 '17 at 09:26