A random variable is an indicator of the outcome of a probability experiment that always outputs numerical values. i.e. it is a function from the sample space, , to the real line, . The theory is richer than that of ordinary events because of the additional structure imposed by the number system.
Consider the previous example of a coin tossed twice with . We might define when the outcome is , when the outcome is or , and when the outcome is .
NB: A random variable is NOT a number, but is something that outputs values that are numbers, i.e. a function. In the above example , for example.