Pair the biggest price with the biggest quantity and the bill is as large as it can be.
3 lessons, about 1 h 15 min3 simulations10 problems3 practice questionsPython in every lesson
For real numbers, , with equality only when the two lists are proportional. In vector words, the dot product is at most the product of the lengths. The proof uses a quadratic in that is never negative, so its discriminant cannot be positive. The inequality finds greatest and least values on circles, spheres, lines and planes.
For positive , . This is Cauchy-Schwarz in a form made for sums of fractions, sometimes called Titu's lemma or Sedrakyan's inequality. It gives the AM-HM inequality at once, and it proves Nesbitt's inequality in two lines.
Pair two lists of numbers and add the products. The total is largest when both lists are sorted the same way and smallest when they are sorted in opposite ways: this is the rearrangement inequality. Chebyshev's inequality compares the average of the products with the product of the averages, and it follows from the same idea.
Log in to join the discussion.
Loading…