Inequalities, Continuity of P
Last modified — 02 Dec 2026
By the end of this lecture, students are anticipated to be able to:
Calculate bounds of expectations and variances
Define and use the continuity properties of the probability function for sequences of random events
Let \(X\) be a random variable with \(\mathbb{P}(X \geq 0) = 1\). Then, for any \(a > 0\), \[\mathbb{P}( X \geq a ) \le \frac{\mathbb{E}[ X ] }{a}.\]
Note that this implies that for any random variable \(Y\),
\[\mathbb{P}(|Y| \geq a) \le \mathbb{E}[|Y|] / a.\]
Let \(X\) be a random variable with finite mean \(\mu\).
Then, for any \(a > 0\), \[\mathbb{P}(| X - \mu| \geq a ) \leq \ \frac{\operatorname{Var}(X)}{a^2}.\]
Let \(X\) be a non-negative random variable with mean \(\mu\) and variance \(\mu\).
We want to examine the bounds on \(\mathbb{P}((X - \mu)/\mu \geq 1)\) given by Markov’s and Chebyshev’s inequalities.
Markov’s inequality gives \[\mathbb{P}((X - \mu)/\mu \geq 1) = \mathbb{P}( X \geq 2\mu ) \leq \ \frac{\mathbb{E}[X]}{2\mu} = \frac{\mu}{2\mu} = \frac{1}{2}.\]
Chebyshev’s inequality gives \[\mathbb{P}((X - \mu)/\mu \geq 1) = \mathbb{P}(X - \mu \geq \mu) \leq \mathbb{P}(|X - \mu| \geq \mu) \leq \frac{\operatorname{Var}(X)}{\mu^2} = \frac{\mu}{\mu^2} = \frac{1}{\mu}.\]
So for any random variable with mean \(\mu\) and variance \(\mu\), Chebyshev’s inequality gives a tighter bound whenever \(\mu > 2\).
Suppose you flip a fair coin 100 times. Use Markov’s and Chebyshev’s inequalities to approximate the probability of seeing 60 or more heads.
How many measurements should the astronomer make if they want the probability of a mismeasurement larger than 1 light year to be no more than 0.01?
Hint: recall that \(\mathbb{E}[ \overline{X}_n ] = \mathbb{E}[X_1]\) and \(\operatorname{Var}( \overline{X}_n ) = \operatorname{Var}(X_1)/n\).
Cauchy Schwarz for random variables
Let \(X\) and \(Y\) be two random variables with finite second moments. Then, \[|\mathbb{E}[XY]| \leq \sqrt{\mathbb{E}[X^2] \,\mathbb{E}[Y^2]}.\]
Let \(X\) and \(Y\) be two random variables with finite second moments. Then, \[|\operatorname{Cov}(X, Y)| \leq \sqrt{\operatorname{Var}(X) \, \operatorname{Var}(Y)}.\]
If, in addition, \(\operatorname{Var}(X) > 0\) and \(\operatorname{Var}(Y) > 0\), then \[|\operatorname{Corr}(X, Y)| \leq 1.\]
Recall that a function \(f: {\mathbb{R}}\to {\mathbb{R}}\) is convex if for any \(x, y \in {\mathbb{R}}\) and \(\lambda \in [0, 1]\), we have \[f(\lambda x + (1 - \lambda) y) \leq \lambda f(x) + (1 - \lambda) f(y).\]
Let \(X\) be a random variable with finite mean and let \(f: {\mathbb{R}}\to {\mathbb{R}}\) be a convex function. Then, \[f(\mathbb{E}[X]) \leq \mathbb{E}[f(X)].\]
Let’s play a game!
How many times should you play this game? Justify your answer.
Show that the variance of a random variable is always non-negative.
In probability, we look at the limit of a sequence of random variables, \(X_n\), as \(n\) goes to infinity.
This turns out to be more complicated, because there are different modes of convergence. We will discuss 3 types of convergence to wrap up this course!
We will consider a sequence of events, say \(A_1\), \(A_2\), … that are getting “closer” (in a sense) to another event \(A\).
It is natural to expect that \(\mathbb{P}(A_1)\), \(\mathbb{P}(A_2)\), …. are also approaching \(\mathbb{P}(A)\).
We can show that this is indeed true!
Suppose events \(A_1 \subseteq A_2 \subseteq A_3 \dots\) and \(\bigcup_{n=1}^\infty A_n= A\) for some set \(A\). Then \(\lim_{n \to \infty} \mathbb{P}(A_n) = \mathbb{P}(A)\).
Suppose events \(A_1 \supseteq A_2 \supseteq A_3 \dots\) and \(\bigcap_{n=1}^\infty A_n= A\) for some set \(A\). Then \(\lim_{n \to \infty} \mathbb{P}(A_n) = \mathbb{P}(A)\).
Consider a simple experiment where a standard 6-sided die is rolled repeatedly until we see a 6.
Let \(Z\) be the event that you eventually stop rolling. Show that \(\mathbb{P}(Z) = 1\).
Stat 302 - Winter 2025/26