What is the definition of a random variable?
A random variable is a mathematical function where the domain is the set of possible outcomes in a sample space and the range is a measurable space. This definition emerged from the rigorous axiomatic setup of measure theory to allow mathematicians to analyze chance without philosophical debates about uncertainty.