Main content

### Course: Precalculus > Unit 8

Lesson 5: Probability using combinatorics- Probability using combinations
- Example: Lottery probability
- Example: Different ways to pick officers
- Probability with permutations & combinations example: taste testing
- Probability with combinations example: choosing groups
- Probability with combinations example: choosing cards
- Probability with permutations and combinations
- Mega millions jackpot probability

© 2024 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Probability with combinations example: choosing cards

We can use combinations (when order does not matter) to find the probability of drawing two aces and two kings in a draw of four cards. Created by Sal Khan.

## Want to join the conversation?

- This is the first one in the precalc-probability playlist that tripped me conceptually. I don't understand why/how we expressed it purely in terms of combinations without even a hint of using the multiplication rule of probability (since each draw is a dependent event). But I came up with solution which I find is much easier to grasp.

Firstly, you need to realize that the probability of drawing 4 cards which has 2 aces and 2 kings of a single arrangement is the same for any other arrangement. For example, P(ace, ace, king, king) = P(king, ace, ace, king) = P(ace, king, king, ace). Let's figure out the probability of getting 2 aces and 2 kings of a single arrangement using a simple arrangement.

P(ace, ace, king, king) = (4 / 52) ⋅ (3 / 51) ⋅ (4 / 50) ⋅ (3 / 49)

Secondly, you need to realize that the probability of drawing 4 cards with 2 aces and 2 kings regardless of arrangement**is equal to**the probability of drawing 4 cards which has 2 aces and 2 kings of a single arrangement**times**all the ways to arrange 4 cards with 2 aces and 2 kings. So, let's figure out how many ways to arrange 4 cards composed of 2 aces and 2 kings. It's equivalent to figuring out how many ways to choose 2 cards from a hand of 4 kings (king, king, king, king) to turn into aces; it's simply ₄C₂.

Lastly, we multiply those two quantities to get the probability of drawing 4 cards with 2 aces and 2 kings regardless of arrangement.

P(ace, ace, king, king) ⋅ ₄C₂ = 36 / 270725

Sal's expression evaluates to the same number.

I still want to understand Sal's solution though. Any helpful explanation is appreciated.(18 votes)- I figured it out. To understand it I assume that there are 3 aces and 3 kings to replace the 4 aces and the 4 kings. To choose 2 aces from 3 aces there are 3 combinations(or 6 permutations) and its the same for choosing 2 kings from 3 kings. Now let us find how many combinations can aces and king be together. We assume that the 3 ace combinations are:AB AC BC; the 3 king combinations are: DE DF EF. So the first combination is AB & DF, the second one is AB & DE, third one is AB & EF, forth one is AC & DF, fifth one is AC & DE, sixth one is AC & EF, the seventh one is BC & DF, the eighth one is BC & DE, the ninth one is BC & EF. Now we understand that the pattern is actually just the number of ace combinations multiply by the number of king combinations(in this case 3*3). Therefore, I hope you can understand the reason why it is (4C2)*(4C2) in the formula.(3 votes)

- For anyone who is not an avid cards player, this video is probably confusing.

The key to understanding this question is realizing that there are 4 suits in a standard deck. This means that there are 4 different types of aces and 4 different types of kings.

After conceptualizing it this way, 4C2 makes much more sense as opposed to imagining all of the aces being identical.

For every 2 aces you pick, you have 4C2 scenarios of which kings you pair them with. That is why they are multiplied in the numerator.

And finally, the denominator is 52C4 because that is how many different combinations of cards you can get when drawing 4 cards from a deck of 52.

Hope this helps!(16 votes)- Yes, understanding the structure of a standard deck of cards is crucial to understanding this problem. It's important to note that each card has a unique combination of suit and rank, and that there are four different suits (hearts, diamonds, clubs, and spades) in a standard deck.

As you mentioned, there are four different types of aces and four different types of kings, so when choosing two aces out of the four, there are 4C2 = 6 possible ways to do so. Similarly, there are 4C2 = 6 possible ways to choose two kings out of the four. Multiplying these gives us the total number of draws with exactly two aces and two kings, as there are 6 ways to choose the two aces and 6 ways to choose the two kings for each of these 6 possibilities, giving a total of 36.(3 votes)

- I guess my confusion with the numerator is why we're concerned about the aces/kings we can get. I know that's the problem but if we're choosing from a deck of cards, the numerator sounds like we're choosing from a stack of 4 cards actually. They're not fitting together in my head.(7 votes)
- Honestly just ask yourself "what 4 cards do I want in my hand?", you want 2 aces and 2 kings in your hand, right? How do I get them? By drawing 4 cards from a stack of 52 DIFFERENT CARDS! But since there are more than 2 aces, and 2 kings, there will be many possibilities of getting a hand with 2 aces and 4 kings.

I know what Sal did might be confusing, but think about it this way, his hand contains 4 cards, and he wants 2 to be aces, so he RESERVED two of the four cards for the ace positions (since we want to have only 2 aces at a time) the same goes for kings, reserve the remaining 2 card spots for the kings then do the calculations.(4 votes)

- I am trying to intuitively understand why the numerator should be a product of 4C2 of the aces and 4C2 of the kings instead of the sum.

You'll note that even when Sal wrote the idea down on the board he put '2 aces + 2 kings' not '2 aces * 2 kings'. So at least using a verbal description, this is counter-intuitive since it seems like we are dealing with the addition of two possibilities - the ways of getting 2 aces and the ways of getting 2 kings.

The first question I have to answer is - are these events dependent or independent? It seems like choosing the aces and choosing the kings are independent events, except that removing those first two cards from the deck would change the probability of getting the remaining desired cards slightly, so I guess they are dependent?

If I go back to the Multiplication Rule of Probability, which has not failed us so far, I guess we can say that if picking aces and picking kings are dependent events (are they for sure?) then the probability of both events occurring is

P(A ∩ B) = P(B) * P(A|B)

I can read that as 'the probability of picking 2 aces AND the probability of picking two kings is the probability of picking two aces times the probability of picking 2 kings given that I picked two aces.'

Then I guess I have to remember that the Addition rule of Probability is used in cases where I'm choosing between A OR B? Am I on the right track?(0 votes)- This video casued me quite a headache, but i think i've got it now... it was on my mind for several days and the other questions/ answers didn't help, so i'll tell my story here in case it helps someone.

Initially, i got the answer wrong when i paused the video to work it out myself but i could't see why. My [incorrect] reasoning was thus:

starting with an analysis of what was going on as Sal advocates rather than going straight for some abstract formula, let's say you start with wanting an Ace: it's 4/52; say you then want your second Ace: 3/51; first King: 4/50; second King: 3/49.

In my mind there is no question that these need to be multiplied with each other, so whatever order you get the cards, the numerator will be 4 x 3 x 4 x 3 (the order doesn't matter as multiplication is commutative); the denominator will be (52 x 51 x 50 x 49) - in that order irrespective of how the cards are drawn (not that it matters as multiplication is still commutative). All fine and correct so far (although it's not the method Sal used). I then reasoned (this is the INCORRECT bit) that with 4 cards there are 4! (i.e., 24) ways to arrange them so 24 ways to draw those 4 cards, giving my incorrect answer of:

(4 x 3 x 4 x 3 x 4!) / (52 x 51 x 50 x 49)

or:

(4 x 3 x 4 x 3 x 4 x 3 x 2 x 1) / (52 x 51 x 50 x 49)

My answer was 4 times larger than the correct answer.

I finally sorted myself out by drawing a tree diagram (not showing all the possibilities, just those i was interested in, which made it much simpler).

It was then clear that there are just 6 ways of picking exactly 2 Kings and 2 Aces (not the 24 that my 4! gave - and that removed my factor of 4 error... the 4! requires us to be considering the specific aces or kings we get). To my way of thinking this is because at this point in the logic there is no distinguishing between the Aces and no distinguishing between the Kings: we don't care about hearts, spades, etc...

The options are, in order of picking the cards:

AAKK, AKAK, AKKA, KKAA, KAKA and KAAK (using A for each Ace and K for each King shows that there is no distinguishing between the cards of equal rank at this point). Each route has the same probability so they add together to give the combined probability, hence the probability of any individual route is multiplied by 6 (NOT 24).

So, e.g., the probability of AAKK is:

(4/52) x (3/52) x (4/50) x (3/49), and the probability of each permutation of drawing those cards is the same (although in the calculation, the 4s and 3s could come in a different order depending on the order the cards are drawn).

So, by Sal's method, the denominator is the number of ways of choosing any 4 specific cards, i.e., '52 Choose 4', and the numerator is the number of ways available to get the 4 cards we want... and so:

there are (4 Choose 2), i.e., 6, ways to get 2 Aces from 4 Aces (we are now considering the different 'suits' of Ace we might get - or in more general terms, the specific cards we might get) - and for each of those ways there are (4 Choose 2), i.e., 6 (again), ways of getting 2 Kings, so we have to multiply the 2 numbers to get 36.

It's funny: having now understood the answer and the 2 ways i've described of getting there, i've just rewatched the video and realised that Sal explained it perfectly.

I hope that helps someone having similar difficulties.(11 votes)

- why dose math have to be so confusing?(4 votes)
- This is my take on the elaboration of why we use this formula:

Probability = total number of events that fit our constraints divided by the total number of possible outcomes.

The total number of events that fit our constraints (in this case) is the product of the combinations or groups of 2 ace cards out of 4 ace cards and the combinations or groups of 2 king cards out of 4 king cards. The total number of possible outcomes are just the number of combinations or groups of 4 cards out of the total 52 cards. Those are just any groups of 4 cards, including the ones that contain 2 aces and 2 kings, and the ones that don't.

1. Why do we take the product of them?

= Well, we are using the general multiplication rule of probability, that is the convention if we are dealing with an independent or a dependent probability. In this case, we are dealing with dependent probability because we don't replace the cards that get taken out.

2. Why do we use combinations?

= Because we don't care about the order of which 2 ace cards and 2 king cards are obtained. What we do care is that the 4 cards contain 2 aces and 2 kings. Also, it might not be true, but I think that we draw 4 cards altogether in 1 draw instead of drawing 1 card four times because there is no mention about four draws of 1 card each.(4 votes) - I am confused here cause well I'd think that doing 52C4 get's you all the possible 4 cards combinations, so wouldn't 2 aces and 2 kings just be one of these combinations, so 1/52C4?(4 votes)
- You are correct that 52C4 gives us the total number of possible 4-card combinations, and that a draw of 2 aces and 2 kings is one of these combinations.

So the probability of getting a draw of 2 aces and 2 kings is indeed 1/52C4, which is approximately 0.0001333 or 0.01333%.(0 votes)

- I'm a bit confused, can someone explain in a different way why a draw with 2 aces should be 4Choose2? and likewise with kings 4choose2?(1 vote)
- Basically 4Choose2 is telling you how many different combinations there are when picking 2 aces/kings out of the 4 in the deck. You would use combinations instead of permutations here because the order in which you pick them does not matter.(3 votes)

- I understand the correct method of calculation and the answer being 0.013%. However, my first attempt using a different method was incorrect, but I do not understand what I did. I multiplied 4/52 * 3/51 * 4/50 * 3/49 = 144/6.497m = 0.002%. I also know that if I multiply this answer by 6, I get 864/6.497m = 0.013%. If anybody understands what my first calculation of 0.002% means, it would help. Thank you.(2 votes)
- Great, I want more :D Any resources where I could practice?(1 vote)

## Video transcript

- We're told that a standard
deck of 52 playing cards includes four aces, four
kings, and 44 other cards. Suppose that Luis
randomly draws four cards without replacement. What is the probability
that Luis gets two aces and two kings, in any order? So like always, pause this video and see if
you can work through this. All right. Now, to figure out this probability, we can think about this, it's going to be the number of, let's call them draws with exactly two aces and two kings, two aces and two kings. And that's going to be over the total number of
possible draws of four cards. So number of possible draws of four cards. Now, for many of y'all, this bottom, the denominator here, might be a little bit
easier to think about. We know that there's 52 total cards, of which we are choosing four. So we could say 52 choose four, and that will tell us the total number of possible draws of four cards. How many combinations
of four cards can we get when we're picking from 52? But the top here might be a
little bit more of a stumper. We can think we have
exactly two spots for aces, so we're choosing two aces out of how many possible aces? Well, there's four total aces. So if we say four choose two, this is the total number of ways, when you don't care about order, that you can have two out
of your four aces picked. And then separately, we can use similar logic to say, all right, there's also
four choose two ways of picking two kings out
of four possible kings. And now the total number of draws with two aces and two kings, this is going to be the
product of these two. And if you're wondering why
you can just multiply it, think about it. For every scenario that
you have these two aces, you have four choose two scenarios of which kings you're dealing with. So you would take the product of them. And we've already done many examples of computing combinatorics like this, so I will leave you there. If you're so motivated,
I encourage you to be, you can actually calculate this value.