Skip to main content

Section 5.2 Random Variables

For a given set of events, we might have difficulty doing mathematics since the outcomes are not numerical. In order to accomodate our desire to convert to numerical measures we want to assign numerical values to all outcomes. The process of doing this creates what is known as a random variable.

Definition 5.2.1 Random Variable
Given a random experiment with sample space S, a function X mapping each element of S to a unique real number is called a random variable. For each element s from the sample space S, denote this function by X(s) = x and call the range of X the space of X: R={ x : X(s)=x, for some s in S}

We will make various restrictions on the range of the random variable to fit different generalized problems. Then, we will be able to work on a problem (which may be inherently non-numerical) by using the random variable in subsequent calculations.

When dealing with only two outcomes, one might use

\begin{equation*} S = \text{{ success, failure }}. \end{equation*}

Choose

\begin{gather*} X(success)=1\\ X(failure)=0. \end{gather*}

Then, R={0,1}.

When gambling with a pair of dice, one might use S=ordered pairs of all possible rolls. Then

\begin{equation*} S = \text{ {(a,b): a=die 1 outcome, b=die 2 outcome}}. \end{equation*}

Choose

\begin{equation*} X( (a,b) ) = a+b. \end{equation*}

Then, R={2, 3, 4, 5, ..., 12}.

When rolling dice in a board game (like RISK), one might use

\begin{equation*} S= \text{{(a,b): a=die 1 outcome, b=die 2 outcome}} \end{equation*}

Choose

\begin{equation*} X( (a,b) ) = \text{max{a,b}}. \end{equation*}

Then, R={1, 2, 3, 4, 5, 6}.

Definition 5.2.5
R contains a countable number of points if either R is finite or there is a one to one correspondence between R and the positive integers. Such a set will be called discrete. We will see that often the set R is not countable. If R consists of an interval of points (or a union of intervals), then we call X a continuous random variable.