In the next two sections we discuss an example that illustrates the need to introduce various concepts concerning random variables, which will, in turn, be presented in the course of the discussion. We begin in this section by discussing the example in terms of the notion of a numerical valued random phenomenon in order to show the similarities and differences between this notion and that of a random variable.
Let us consider a commuter who is in the habit of taking a train to the city; the time of departure from the station is given in the railroad timetable as 7:55 A.M. However, the commuter notices that the actual time of departure is a random phenomenon, varying between 7:55 and 8 A.M. Let us assume that the probability law of the random phenomenon is specified by a probability density function
\begin{align} f_{1}\left(x_{1}\right) &= \begin{cases} \frac{2}{25}\left(5-x_{1}\right), & \text{for } 0 \leq x_{1} \leq 5 \tag{3.1}\\ 0, & \text{otherwise.} \end{cases} \end{align}
in which
Let us suppose next that the time it takes the commuter to travel from his home to the station is a numerical valued random phenomenon, varying between 25 and 30 minutes. Then, if the commuter leaves his home at 7:30 A.M. every day, his time of arrival at the station is a random phenomenon, varying between 7:55 and 8 A.M. Let us suppose that the probability law of this random phenomenon is specified by a probability density function
The question now naturally arises: will the commuter catch the 7:55 A.M. train? Of course, this question cannot be answered by us; but perhaps we can answer the question: what is the probability that fhe commuter will catch the 7:55 A.M. train?
Before any attempt can be made to answer this question, we must express mathematically as a set on a sample description space the random event described verbally as the event that the commuter catches the train. Further, to compute the probability of the event, a probability function on the sample description space must be defined.
As our sample description space

We define next a probability function
in which the second and third equations follow by the usual rules of calculus for evaluating double integrals (or integrals over the plane) by means of iterated (or repeated) single integrals.
We next determine whether the function
More generally, we consider the question: what relationship exists between the individual probability density functions
Conversely, we show by a general example that from a knowledge of
To prove (3.4), let
We next use the fact that
By differentiation of (3.5), in view of (3.6), we obtain (3.4).
Conversely, given any two probability density functions
Clearly, by construction, for all
Define the function
It may be verified, in view of (3.8), that
We now return to the question of how to determine
We define two random phenomena as independent, letting
Equivalently, two random phenomena are independent, letting
Equivalently, two continuous random phenomena are independent, letting
Equivalently, two discrete random phenomena are independent, letting
The equivalence of the foregoing statements concerning independence may be shown more or less with ease by using the relationships developed in Chapter 4; indications of the proofs are contained in section 6.
Independence may also be defined in terms of the notion of an event depending on a phenomenon , which is analogous to the notion of an event depending on a trial developed in section 2 of Chapter 3. An event
As shown in section 2 of Chapter 3, two random phenomena are independent if and only if a knowledge of the outcome of one of the phenomena does not affect the probability of any event depending upon the other phenomenon.
Let us now return to the problem of the commuter catching his train, and let us assume that the commuter’s arrival time and the train’s departure time are independent random phenomena. Then (3.12) holds, and from (3.3)
Since
The reader may have noticed that the probability density functions
By adding the two integrals in (3.16), it follows that
We conclude that the probability
Exercises
3.1 . Consider the example in the text. Let the probability law of the train’s departure time be given by