A random variable on a probability space is just a function with domain . Rather than writing a random variable as everywhere, the convention is to write a random variable as a capital letter (, etc.) and make the argument implicit: is really . Variables that are not random (or are not variable) are written in lowercase.
For example, consider the probability space corresponding to rolling two independent fair six-sided dice. There are possible outcomes in this space, corresponding to the pairs of values we might see on the two dice. We could represent the value of each die as a random variable or given by or , but for many applications, we do not care so much about the specific values on each die. Instead, we want to know the sum of the dice. This value is also random variable; as a function on , it is defined by .