Chebyshev's sum inequality

From HandWiki

In mathematics, Chebyshev's sum inequality, named after Pafnuty Chebyshev, states that if

a1≥a2≥⋯≥an and b1≥b2≥⋯≥bn,

then

1n∑k=1nakbk≥(1n∑k=1nak)(1n∑k=1nbk).

Similarly, if

a1≤a2≤⋯≤an and b1≥b2≥⋯≥bn,

then

1n∑k=1nakbk≤(1n∑k=1nak)(1n∑k=1nbk).[1]

Proof

Consider the sum

S=∑j=1n∑k=1n(aj−ak)(bj−bk).

The two sequences are non-increasing, therefore aj − ak and bj − bk have the same sign for any j, k. Hence S ≥ 0.

Opening the brackets, we deduce:

0≤2n∑j=1najbj−2∑j=1naj∑j=1nbj,

hence

1n∑j=1najbj≥(1n∑j=1naj)(1n∑j=1nbj).

An alternative proof is simply obtained with the rearrangement inequality, writing that

∑i=0n−1ai∑j=0n−1bj=∑i=0n−1∑j=0n−1aibj=∑i=0n−1∑k=0n−1aibi+kmodn=∑k=0n−1∑i=0n−1aibi+kmodn≤∑k=0n−1∑i=0n−1aibi=n∑iaibi.

Continuous version

There is also a continuous version of Chebyshev's sum inequality:

If f and g are real-valued, integrable functions over [a, b], both non-increasing or both non-decreasing, then

1b−a∫abf(x)g(x)dx≥(1b−a∫abf(x)dx)(1b−a∫abg(x)dx)

with the inequality reversed if one is non-increasing and the other is non-decreasing.

See also

Notes

  1. ↑ Hardy, G. H.; Littlewood, J. E.; Pólya, G. (1988). Inequalities. Cambridge Mathematical Library. Cambridge: Cambridge University Press. ISBN 0-521-35880-9.