If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Theoretical probability distribution example: multiplication

We can create a probability distribution for the number of times someone wins a prize using the multiplication rule. Created by Sal Khan.

Want to join the conversation?

  • blobby green style avatar for user Itsmeuall
    Why 4? Where does the 4 comes from?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • cacteye blue style avatar for user Jerry Nilsson
      Each time Kai goes to the restaurant there are two possible outcomes:
      either he gets a free dessert, or he doesn't get a free dessert.

      The probabilities of these two outcomes must add up to 1.
      So, if the probability that Kai gets a free dessert is 1∕5,
      then the probability that he doesn't get a free dessert is 4∕5.
      (10 votes)
  • blobby green style avatar for user anna.pozdeeva
    Could you please explain me why Sal add up (and not multiply) the probabilities of 2 scenarii of the 2nd option (P(X=1))? (It starts at )
    (4 votes)
    Default Khan Academy avatar avatar for user
    • blobby green style avatar for user Sam
      A bit late, but for people with the same question:

      Think about the fact that the probability of getting a single pie involves two different scenarios:
      1. You get pie only the first day
      2. You get pie only the second day

      For calculating each of these two, you have to use the multiplication principle. In the first case, you multiply the probability of getting pie the first day (1/5) and the probability of not getting the pie the second day (4/5), which gives 4/25. The reasoning is the same for the second day.

      The reason why you add these two is that you're calculating the theoretical probability distribution, and you have to consider all cases. As I said earlier, getting a single pie involve these two different scenarios, so calculating the probability for this event means you have to add them (4/25 + 4/25 = 8/25). And it makes sense because adding all the probabilities together gives us 1.

      PD: the plural of "scenario" is simply "scenarios". "scenarii" is incorrect, and that only applies to word derived directly from Latin (such as radius/radii, or cactus/cacti)
      (3 votes)
  • blobby green style avatar for user nbennett
    Why the number 4? Where did it come from?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • leaf blue style avatar for user Alexandr Kozachenko
    I still don't get why on X=2 we had to calculate permutations and add them up. It didn't come up earlier when when calculated probabilities.
    (1 vote)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user cossine
      In the case you are only dealing with one event no permutations are needed.

      No permutations are actually need at X=2, I think you mean X=1. The reason for the permutation is because 1 free desert can be achieved by FN or NF, where F stands for F and N stands for not free. Both NF and FN satisfy the criteria of X=1. In other words calculating the permutation of NF times the probability of NF will give us the answer.
      (1 vote)

Video transcript

- [Instructor] We're told that Kai goes to a restaurant that advertises a promotion saying, "1 in 5 customers get a free dessert!" Suppose Kai goes to the restaurant twice in a given week, and each time he has a 1/5 probability of getting a free dessert. Let X represent the number of free desserts Kai gets in his two trips. Construct the theoretical probability distribution of X. All right, so pause this video and see if you can work through this before we do it together. All right, so first let's just think about the possible values that X could take on. This is the number of free desserts he gets, and he visits twice. So there's some world in which he doesn't get any free desserts. So that's 0 in his two visits. Maybe on one of the visits, he gets a dessert and the other one he doesn't, and maybe in both of his visits he actually is able to get a free dessert. So he's going to have someplace from 0 to 2 free desserts in a given week. So we just have to figure out the probability of each of these. So let's first of all think about the probability, let me write it over here, the probability that capital X is equal to 0 is going to be equal to what? Well, that's going to be the probability that he doesn't get a dessert on both days. And it's important to realize that these are independent events. It's not like the restaurant's gonna say, "Oh, if you didn't get a dessert on one day, you're more likely to get another the other day," or, "Somehow if you got it on a previous day, you're less likely than another day." That they are independent events. So the probability of not getting it on any one day is four out of five, and the probability of not getting it on two of the days, I would just multiply them because they are independent events. So four over five times four over five. So the probability that X is equal to 0 is going to be 16/25, 16 over 25. Now what about the probability that X is equal to 1? What is this going to be? Well, there are two scenarios over here. There's one scenario where let's say on day one he does not get the dessert, and on day two he does get the dessert. But then of course there's the other scenario where on day one he gets the dessert, and then on day two he doesn't get the dessert. These are the two scenarios where he's going to get X equals 1. And so if we add these together, let's see. 4/5 times 1/5, this is going to be 4/25, and then this is going to be 4/25 again. And you add these two together, you're going to get 8/25. And then last but not least, and actually we could figure out this last one by subtracting 16 and 8 from 25, which would actually give us 1/25th, but let's just write this out. The probability that X equals 2, this is the probability that he gets a dessert on both days. So 1/5 chance on day one and 1/5 chance on the second day. So 1/5 times 1/5 is 1/25. And you can do a reality check here. These all need to add up to one. And they do indeed add up to one. 16 plus 8 plus 1 is 25. So 25/25 is what they all add up to. And we're done.