The power mean inequality
ProvedFamousTheorems.power_mean_inequalityThe power mean inequality. Let be weights with , , and real. Then
Equivalently, the weighted arithmetic mean is at most the weighted power mean . It is the case of the power mean inequality and an instance of Jensen's inequality for the convex function . For it is the quadratic–arithmetic mean inequality.
Formalization note. Mathlib's Real.rpow_arith_mean_le_arith_mean_rpow, with the real power z ^ p (Real.rpow). The general comparison for follows by applying it to with exponent , but is not stated here.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem power_mean_inequality {ι : Type*} (s : Finset ι) (w z : ι → ℝ) (hw : ∀ i ∈ s, 0 ≤ w i) (hw' : ∑ i ∈ s, w i = 1)
(hz : ∀ i ∈ s, 0 ≤ z i) {p : ℝ} (hp : 1 ≤ p) : (∑ i ∈ s, w i * z i) ^ p ≤ ∑ i ∈ s, w i * z i ^ p := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Real.rpow_arith_mean_le_arith_mean_rpow`. Proof here reduces to that Mathlib result.