A power-sum inequality #
For nonnegative c₁, …, cₙ and k ≥ 1, Alon, Matias and Szegedy bound the product of the first
and (2 k - 1)-th power sums by the k-th one [AlonMatiasSzegedy1999, Fact in the proof of
Theorem 2.1]:
(∑ cᵢ) (∑ cᵢ ^ (2 k - 1)) ≤ n ^ (1 - 1 / k) (∑ cᵢ ^ k) ^ 2.
Finset.sum_mul_sum_pow_le states it raised to the k-th power, which avoids real exponents, with
k + 1 in place of k. The proof is the source's: with M = max cᵢ, M ^ k ≤ ∑ cᵢ ^ k and
∑ cᵢ ^ (2 k - 1) ≤ M ^ (k - 1) ∑ cᵢ ^ k, while (∑ cᵢ) ^ k ≤ n ^ (k - 1) ∑ cᵢ ^ k is the power
mean inequality pow_sum_le_card_mul_sum_pow. The source notes that c₁ = n ^ (1 / k),
c₂ = ⋯ = cₙ = 1 shows the inequality is tight up to a constant factor.
Main results #
Finset.sum_mul_sum_pow_le:((∑ cᵢ) (∑ cᵢ ^ (2 k + 1))) ^ (k + 1) ≤ n ^ k (∑ cᵢ ^ (k + 1)) ^ (2 (k + 1)).
References #
The AMS power-sum inequality [AlonMatiasSzegedy1999, Fact in the proof of Theorem 2.1]:
for nonnegative c on a finite set of size n,
((∑ cᵢ) (∑ cᵢ ^ (2 k + 1))) ^ (k + 1) ≤ n ^ k (∑ cᵢ ^ (k + 1)) ^ (2 (k + 1)), that is,
(∑ cᵢ) (∑ cᵢ ^ (2 k' - 1)) ≤ n ^ (1 - 1 / k') (∑ cᵢ ^ k') ^ 2 for k' = k + 1.