Knowledge Base > Math> Probability Theory
A random variable is a function which assigns numerical values to all possible outcomes (or sample point) of a random experiment under certain conditions. A random variable is not a variable but rather a function that maps events to numbers. The set of values that a random variable X can assume is called space or domain of X or Domain(X). They are mutually exclusive and exhaustive. A probability space P induces a probability distribution for any random variable X, such that
![]() | (2.5.1) |
For example, probability space for rolling a dice of odd value is P(Odd = true) = P(1) + P(3) + P(5) = 1∕2
Discrete probability theory deals with events that occur in countable sample space. The set of all possible
outcomes is called the sample space, generally denoted as
. An event A is an subset of
(A ⊆
), and
each elementary events is mutually exclusive and exhaustive from one another, that
is, the probability of event A is:

For each element x 
, or sometimes called atomic event or sample point, there is a probability value that
satisfies the following properties
![∑ P (x) ∈ [0,1] ∀x ∈ Ω
P (x) = 1
x∈Ω](kb44x.png)
, and the sum of f(x) over all values x in the sample space
is exactly equal to
1.


.