Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I show if $\displaystyle\bar{x}=\sum_{i=1}^n{x_ip_i}$ , then


is true?

(This claim is from page 96 of the book, "Cauchy-Schwarz Master Class".)

share|cite|improve this question
I've tagged this inequality, since this is a part of a longer proof, which includes Jensen in several places. If you can think of better tags, feel free to retag. – Martin Sleziak Dec 14 '11 at 8:28
up vote 3 down vote accepted

The first way that comes to mind is to show that both are equal to $\displaystyle \left(\sum_{i=1}^n p_ix_i^2\right)-\bar x^2$ by multiplying out and performing the sums where possible.

share|cite|improve this answer
+1. Yes, this seems to work. – Henry B. Jul 20 '11 at 2:38

This is an instance of a more general identity. Let $X$ be some random variable, and $X_1,X_2$ two independent copies of it. Then $$ V[X] = \frac{1}{2}E[(X_1-X_2)^2]. $$ This can be seen in many ways. For example, $$ \begin{align*} E[(X_1-X_2)^2] &= E[((X_1-E[X])-(X_2-E[X]))^2] \\ &= E[(X_1-E[X])^2] + E[(X_2-E[x])^2] + 2E[X_1-E[X]]E[X_2-E[X]] \\ &= 2V[X]. \end{align*} $$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.