Theory
Probability and distributions
How to count outcomes using combinatorics, how to find the probability of an event using the addition and multiplication rules, conditional probability, and Bayes’ theorem, what discrete and continuous random variables are and how their means and variances are defined, and how to use the binomial, Poisson, uniform, exponential, and normal distributions.
Review of counting methods
1. Ordered selections and permutations
Suppose we have distinct objects and a natural number . An ordered selection without replacement of size is an ordered sequence of objects chosen from the objects, with no repetitions. Two selections differ if they contain different objects or the same objects in a different order. There are choices for the first object, remaining choices for the second, and so on up to the th object, so the number of ordered selections without replacement is
If objects can be repeated, there are choices for each position, giving ordered selections with replacement, of which there are . The permutations of objects are the ordered selections without replacement of size , that is, all the ways to arrange all the objects in a line. Their number is , where is read as “ factorial.” We also define .
For example, in a race with athletes there are possible podium finishes. The number of codes with digits, allowing repetitions, is , and the number of ways to arrange people in a line is .
2. Combinations and the binomial coefficient
Given distinct objects, a combination without repetition of size is a group of objects chosen from the objects, without repetitions and regardless of order. The objects in a combination can be arranged in ways, so each combination corresponds to ordered selections. Therefore the number of combinations is
The number is called a binomial coefficient and is read as “ choose .” We have and . For example, the number of ways to choose students out of for an oral examination is
Binomial coefficients are also the coefficients in the expansion of a power of a binomial and appear in the binomial distribution.
Three ways to count pairs of letters
Form pairs from the letters , , , and .
- If order matters and the letters must be different, and are different pairs, and the number of pairs is .
- If order matters and the letters may repeat, include , , , and as well, giving pairs.
- If order does not matter, and are the same group, and the number of groups is .
Events and classical probability
1. Sample space and events
A random experiment is an experiment whose outcome cannot be predicted, such as rolling a die or drawing a card. The set of all possible outcomes is called the sample space and is denoted by . An event is a subset of . The event occurs if the outcome of the experiment belongs to that subset. The space is the certain event, and the empty set is the impossible event.
Operations on events are the same as operations on sets.
- The union occurs when at least one of the two events occurs.
- The intersection occurs when both events occur.
- The complementary event is the complement of in and occurs when does not occur.
Two events are mutually exclusive if , meaning that they cannot occur together. For one roll of a die, . The events “the number rolled is even” and “the number rolled is greater than ” are and , so , , and .
2. Classical probability
Let be a finite set of equally likely outcomes, meaning that they all have the same chance of occurring. The probability of an event is the ratio of the number of favorable outcomes, that is, the elements of , to the number of possible outcomes, that is, the elements of :
The number of favorable outcomes cannot exceed the number of possible outcomes, so . Also, and . When rolling a die, the probability of an even number is . When rolling two dice, the possible outcomes are the ordered pairs of individual results, giving possibilities. The sum is in the cases , , , , , and , so its probability is .
Empirical and subjective probability
When outcomes are not equally likely, other definitions are used. In the empirical definition, the probability of an event is the relative frequency with which it occurred in a large number of trials repeated under the same conditions. For example, if out of parts inspected, are defective, the probability of a defective part is estimated as . In the subjective definition, probability is the amount a person with consistent beliefs is willing to pay to receive if the event occurs. The following theorems apply to all these definitions.
3. Probability of the complement
For every event , we have
In classical probability, the outcomes favorable to are all the possible outcomes except those favorable to , which gives the formula. The rule is useful for “at least one” events, whose complements are simpler. For example, when tossing three coins, the complement of “at least one head” is “three tails,” which has probability because there are possible outcomes. Therefore the probability of at least one head is .
Calculating probability with combinations
An urn contains red balls and white balls, and balls are drawn at once. Order does not matter, so there are possible outcomes. There are ways for all three balls to be red, so
To obtain exactly two red balls, choose red balls from and white ball from , in ways, so the probability is .
End of the free preview
The theory of this topic continues with 9 more sections
- Addition and multiplication rules
- Bayes’ theorem
- Discrete random variables
- Binomial distribution
- Poisson distribution
- Continuous random variables
- Uniform and exponential distributions
- Normal distribution
- Keep studying
Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.
Unlock Maths 5th year · €29Read the first 3 worked examples in this chapter for free.