|
| 1 | +--- |
| 2 | +layout: proof |
| 3 | +mathjax: true |
| 4 | + |
| 5 | +author: "Joram Soch" |
| 6 | +affiliation: "BCCN Berlin" |
| 7 | +e_mail: "joram.soch@bccn-berlin.de" |
| 8 | +date: 2022-10-11 01:39:00 |
| 9 | + |
| 10 | +title: "Square of expectation of product is less than or equal to product of expectation of squares" |
| 11 | +chapter: "General Theorems" |
| 12 | +section: "Probability theory" |
| 13 | +topic: "Expected value" |
| 14 | +theorem: "Squared expectation of product" |
| 15 | + |
| 16 | +sources: |
| 17 | + - authors: "ProofWiki" |
| 18 | + year: 2022 |
| 19 | + title: "Square of Expectation of Product is Less Than or Equal to Product of Expectation of Squares" |
| 20 | + in: "ProofWiki" |
| 21 | + pages: "retrieved on 2022-10-11" |
| 22 | + url: "https://proofwiki.org/wiki/Square_of_Expectation_of_Product_is_Less_Than_or_Equal_to_Product_of_Expectation_of_Squares" |
| 23 | + |
| 24 | +proof_id: "P359" |
| 25 | +shortcut: "mean-prodsqr" |
| 26 | +username: "JoramSoch" |
| 27 | +--- |
| 28 | + |
| 29 | + |
| 30 | +**Theorem:** Let $X$ and $Y$ be two [random variables](/D/rvar) with [expected values](/D/mean) $\mathrm{E}(X)$ and $\mathrm{E}(Y)$ and let $\mathrm{E}(XY)$ exist and be finite. Then, the square of the expectation of the product of $X$ and $Y$ is less than or equal to the product of the expectation of the squares of $X$ and $Y$: |
| 31 | + |
| 32 | +$$ \label{eq:EXY2-EX2-EY2} |
| 33 | +\left[ \mathrm{E}(XY) \right]^2 \leq \mathrm{E}\left( X^2 \right) \mathrm{E}\left( Y^2 \right) \; . |
| 34 | +$$ |
| 35 | + |
| 36 | + |
| 37 | +**Proof:** Note that $Y^2$ is a non-negative [random variable](/D/rvar) whose [expected value is also non-negative](/P/mean-nonneg): |
| 38 | + |
| 39 | +$$ \label{eq:mean-Y2-nonneg} |
| 40 | +\mathrm{E}\left( Y^2 \right) \geq 0 \; . |
| 41 | +$$ |
| 42 | + |
| 43 | +1) First, consider the case that $\mathrm{E}\left( Y^2 \right) > 0$. Define a new random variable Z as |
| 44 | + |
| 45 | +$$ \label{eq:Z} |
| 46 | +Z = X - Y \, \frac{\mathrm{E}(XY)}{\mathrm{E}\left( Y^2 \right)} \; . |
| 47 | +$$ |
| 48 | + |
| 49 | +Once again, because $Z^2$ is always non-negative, we have the expected value: |
| 50 | + |
| 51 | +$$ \label{eq:mean-Z2-nonneg} |
| 52 | +\mathrm{E}\left( Z^2 \right) \geq 0 \; . |
| 53 | +$$ |
| 54 | + |
| 55 | +Thus, using the [linearity of the expected value](/P/mean-lin), we have |
| 56 | + |
| 57 | +$$ \label{eq:mean-prodsqr-v1} |
| 58 | +\begin{split} |
| 59 | +0 &\leq \mathrm{E}\left( Z^2 \right) \\ |
| 60 | +&\leq \mathrm{E}\left( \left( X - Y \, \frac{\mathrm{E}(XY)}{\mathrm{E}\left( Y^2 \right)} \right)^2 \right) \\ |
| 61 | +&\leq \mathrm{E}\left( X^2 - 2 X Y \, \frac{\mathrm{E}(XY)}{\mathrm{E}\left( Y^2 \right)} + Y^2 \, \frac{\left[ \mathrm{E}(XY) \right]^2}{\left[ \mathrm{E}\left( Y^2 \right) \right]^2} \right) \\ |
| 62 | +&\leq \mathrm{E}\left( X^2 \right) - 2 \, \mathrm{E}(XY) \, \frac{\mathrm{E}(XY)}{\mathrm{E}\left( Y^2 \right)} + \mathrm{E}\left( Y^2 \right) \, \frac{\left[ \mathrm{E}(XY) \right]^2}{\left[ \mathrm{E}\left( Y^2 \right) \right]^2} \\ |
| 63 | +&\leq \mathrm{E}\left( X^2 \right) - 2 \, \frac{\left[ \mathrm{E}(XY) \right]^2}{\mathrm{E}\left( Y^2 \right)} + \frac{\left[ \mathrm{E}(XY) \right]^2}{\mathrm{E}\left( Y^2 \right)} \\ |
| 64 | +&\leq \mathrm{E}\left( X^2 \right) - \frac{\left[ \mathrm{E}(XY) \right]^2}{\mathrm{E}\left( Y^2 \right)} \; , \\ |
| 65 | +\end{split} |
| 66 | +$$ |
| 67 | + |
| 68 | +giving |
| 69 | + |
| 70 | +$$ \label{eq:EXY2-EX2-EY2-qed-v1} |
| 71 | +\left[ \mathrm{E}(XY) \right]^2 \leq \mathrm{E}\left( X^2 \right) \mathrm{E}\left( Y^2 \right) |
| 72 | +$$ |
| 73 | + |
| 74 | +as required. |
| 75 | + |
| 76 | +2) Next, consider the case that $\mathrm{E}\left( Y^2 \right) = 0$. In this case, $Y$ [must be a constant](/D/const) with [mean](/D/mean) $\mathrm{E}(Y) = 0$ and [variance](/D/var) $\mathrm{Var}(Y) = 0$, thus we have |
| 77 | + |
| 78 | +$$ \label{eq:Pr-Y-0} |
| 79 | +\mathrm{Pr}(Y = 0) = 1 \; . |
| 80 | +$$ |
| 81 | + |
| 82 | +This implies |
| 83 | + |
| 84 | +$$ \label{eq:Pr-XY-0} |
| 85 | +\mathrm{Pr}(XY = 0) = 1 \; , |
| 86 | +$$ |
| 87 | + |
| 88 | +such that |
| 89 | + |
| 90 | +$$ \label{eq:EXY} |
| 91 | +\mathrm{E}(XY) = 0 \; . |
| 92 | +$$ |
| 93 | + |
| 94 | +Thus, we can write |
| 95 | + |
| 96 | +$$ \label{eq:mean-prodsqr-v2} |
| 97 | +0 = \left[ \mathrm{E}(XY) \right]^2 = \mathrm{E}\left( X^2 \right) \mathrm{E}\left( Y^2 \right) = 0 \; , |
| 98 | +$$ |
| 99 | + |
| 100 | +giving |
| 101 | + |
| 102 | +$$ \label{eq:EXY2-EX2-EY2-qed-v2} |
| 103 | +\left[ \mathrm{E}(XY) \right]^2 \leq \mathrm{E}\left( X^2 \right) \mathrm{E}\left( Y^2 \right) |
| 104 | +$$ |
| 105 | + |
| 106 | +as required. |
0 commit comments