A random variable, named formula_11, is a measurable function from formula_12 to formula_13. This is written formula_14. A random variable is typically represented by capital roman letters such as formula_15, formula_16, formula_17 and formula_18, and can be either discrete (taking on a countable set of values) or continuous (taking on an interval of values).