Chebyshev's sum inequality

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

and

then

Similarly, if

and

then