Naive definition of Probability
Before we define this let us see what a sample space and a event mean :
- Sample space : A set of all possible outcomes of an experiment. Usually denoted by
S. - Event : An event is a subset of the sample space.
The probability of an event A is the ratio of the number of favorable outcomes to A divided by the number of possible outcomes.
Assuming all outcomes are equally likely and that the sample space is finite.
Counting
- Multiplication rule : If we have a experiment with possible outcomes, and for each outcome of the first experiment, there are outcomes for the second experiment and so on till the experiment where there are outcome, then in conclusion there are overall possible experiments.
Example : What is the probability of getting a full house in poker with a hand of 5
We get 5 cards out of a total deck of 52 cards. The total number of outcomes can be given by :
Note
This is the binomial coefficient. It is usually denoted by :
This can be interpreted as selecting a subset of size
kfrom a set of sizen. This is total outcomes when we select without any order
So now we have the denominator. Now let us focus on the numerator. Let us assume a full house means having 3 7's and 2 10's. So we first have 13 options from which we need a 7 and we 4 total cards with 7 on them. So the outcomes with us getting 3 7's can be given by . Now we want 2 10's. Since we have picked 7 from a total of 13 varieties, we have to pick 10 from the remaining 12. We have 4 total card with 10, out of which we want 2. So outcomes with us getting 2 10's after we get 3 7's can be given by . So the total outcomes of us getting a full house are
So the total probability of us getting a full house is given by
Now we choose k objects out of n without any order, what if we had to select them in order. Let us understand this through a sampling table.
Sampling Table
We want to choose k objects out of n
The proof for the total outcomes when we pick with replacement without taking order into consideration is as follows :
This problem is equivalent to finding out the number of ways there are to put k indistinguishable particles into n distinguishable boxes. We know the answer is , but how we got this is what we are going to prove.
Let us take an example to prove this :
We have 4 boxes. The first box has 3 particles, the second has none, the third has 2 particles and the fourth box has one particle.
So we have n = 4 and k = 6.
Now we will represent this in a simple code. Instead of drawing the boxes we draw the separators. They can be shown as follows ;
So here we have 3 | and 6 .
We can also say that for a general case we have in (n - 1) | and k . So the total ways we can show this is by deciding k places for the . and the rest of the places can be directly given to the |. Since order does not matter.
So we want number of ways of choosing k places from a total of n - 1 + k, which is given by :
Some properties
- Property 1 : This identity is easy enough to prove by algebra. You can also think of it is this way, we want to pick
kpeople out ofn, we can do this or we can pickn - kpeople out ofnand keep the rest.
- Property 2 : Suppose we want to pick
kpeople out ofn, with1designated as the leader. So there are two ways to do this,- One, we pick
kpeople out ofnand then pick the leader out of them - Two, we pick the leader of of the
npeople and then pick the restk - 1people from the remainingn - 1people (since we already picked the leader)
- One, we pick
- Vandermonde’s identity : Suppose we have to choose
kpeople in total out of two groups one ofmpeople and other ofnpeople. We can choosejpeople from the first group and the remainingk - jfrom the second group wherejcan be any number from0tok.
So now that we have gone through the naive definition of probability, let us go through a better and more advance definition of probability to understand it better.
A quite famous problem you could see
You can now be able to understand most of the problems solved in Problem Set 1