Random variables
Probabilities are useful even when they do not deal strictly with events. It often occurs that we measure something that has randomness associated with it. We use random variables to represent these measurements.
A random variable \(X:\Omega\rightarrow\mathbb{R}\) is a function that maps an outcome \(\omega\) from the sample space \(\Omega\) to a real number \(x\in\mathbb{R}\), as shown in fig. ¿fig:random-variable?. A random variable will be denoted with a capital letter (e.g. \(X\) and \(K\)) and a specific value that it maps to (the value) will be denoted with a lowercase letter (e.g. \(x\) and \(k\)).
A discrete random variable \(K\) is one that takes on discrete values. A continuous random variable \(X\) is one that takes on continuous values.
Roll two unbiased dice. Let K be a random variable representing the sum of the two. Let P(k) be the probability of the result k ∈ K. Plot and interpret P(k).
[@Fig:dice-roll-sum] shows the probability of each sum occurring.
We call this a probability mass function. It tells us the probability with wich each outcome will occur.
A resistor at nonzero temperature without any applied voltage exhibits an interesting phenomenon: its voltage randomly fluctuates. This is called Johnson-Nyquist noise and is a result of thermal excitation of charge carriers (electrons, typically). For a given resistor and measurement system, let the probability density function fV of the voltage V across an unrealistically hot resistor be $$\begin{aligned} f_V(V) = \frac{1} {\sqrt{\pi}} e^{-V^2}. \end{aligned}$$ Plot and interpret the meaning of this function.
The PDF is shown in [@fig:gauss-example].
A probability density function must be integrated to find probability. The probability a randomly measured voltage will be between two voltages is the integral of fV across that voltage interval. Note that a resistor would need to be extremely hot to have such a large thermal noise. In the next lecture, we consider more probability density functions.
Online Resources for Section 3.5
No online resources.