In applications of probability theory one usually has to deal simultaneously with several random phenomena. In section 7 of Chapter 4, we indicated one way of treating several random phenomena by means of the notion of a numerical
The notion of a random variable is intimately related to the notion of a function, as the following definitions indicate.
The Definition of a Function . An object
The Definition of a Random Variable . An object
A random variable then is a function defined on the outcome of a random phenomenon; consequently, the value of a random variable is a random phenomenon and indeed is a numerical valued random phenomenon. Conversely, every numerical valued random phenomenon can be interpreted as the value of a random variable
One of the major difficulties students have with the notion of a random variable is that objects that are random variables are not always defined in a manner to make this fact explicit. However, we have previously encountered a similar situation with regard to the notion of a random event. We have defined a random event as a set on a sample description space on which a probability function is defined. In every day discourse random events are defined verbally, so that in order to discuss a random event one must first formulate the event in a mathematical manner as a set. Similarly, with regard to random variables, one must learn how to recognize, and formulate mathematically as functions , verbally described objects that are random variables.
Example 1A. The number of white balls in a sample is a random variable. Let us consider the object
Exercise
1.1 . Show that the following quantities are random variables by explaining how they may be defined as functions on a probability space:
(i) The sum of 2 dice that are tossed independently.
(ii) The number of times a coin is tossed until a head appears for the first time.
(iii) The second digit in the decimal expansion of a number chosen on the unit interval in accordance with a uniform probability law.
(iv) The absolute value of a number chosen on the real line in accordance with a normal probability law.
(v) The number of urns that contain balls bearing the same number, when 52 balls, numbered 1 to 52, are distributed, one to an urn, among 52 urns, numbered 1 to 52.
(vi) The distance from the origin of a 2-tuple