Probability theory provides a formal framework for reasoning about the likelihood of events.
Definitions
- An experiment is a procedure that yields one of a set of possible outcomes. As our ongoing example, consider the experiment of tossing two six-sided dice, one red and one blue, with each face bearing a distinct integer .
- A sample space is the set of possible outcomes of an experiment. In our dice example, there are 36 possible outcomes
- An event is a specified subset of the outcomes of an experiment. The event that the sum of the dice equals 7 or 11 (the conditions to win at craps on the first roll) is the subset
- The probability of an outcome , denoted , is a number with the two properties:
- For each outcome in sample space , we have
- The sum of probabilities of all outcomes adds to one:
- In our example, if we assume two distinct fair dice, the probability for all outcomes .
- The probability of an event is the sum of probabilities of the outcomes of the event (members of event subset). Thus,
- The complement of the event , the case when does not occur. Then
- A random variable is s a numerical function on the outcomes of a probability space. The function “sum the values of two dice” () produces an integer results between 2 and 12. This implies a probability distribution of the possible values of the random variable. The probability , while .
- The expected value of a random variable defined on a sample space , , is defined