# Probability of getting aces?

Five cards are drawn from a deck of 52 cards without replacement. Find the probability of:

a) exactly two Aces

2) less than two Aces

3) at least two Aces

Relevance

You can use the hypergeometric distribution to find the solution

Let X be the number of aces drawn. X has the hypergeometric distribution with the following parameters.

K = number of items to be drawn = 5

N = total objects = 52

M = number of objects of a given type = 4

The probability mass function for the hypergeometric distribution is defined as:

P(X = x | N, M, K) = ( M C x ) * ( (N - M) C (K - x) ) / ( N C K )

for x = {0, ..., K}; M - (N - K) ≤ x ≤ K

P(X = 0 | N, M, K) = 0 otherwise

Note that the constraints on x here are very generic and it is possible to have value of K, N and M such that for x in {0, ..., K} P(X = x) = 0.

If you have n objects and chose r of them, the number of combinations is:

n! / ( r! (n-r)! )

this can be written as nCr

the N C K is the total number of possible combinations of K objects drawn from N objects.

the M C x is the number of combinations of getting x objects of the given type

the (N - M) C ( K - x) is the number of combinations of non typed objects to be drawn.

Looking at the PMF you should be able to see that it is the ratio of the number of combination of selecting the X of the items of interest times the number of combinations of choosing K - X items from the remaining items and this is all divided by the total number of combination for choosing K items from N objects.

The expectations of the Hypergeometric distribution is KM / N = 0.3846154

The Probability Mass Function, PMF,

f(X) = P(X = x) is:

P(X = 0 ) = 0.658842

P(X = 1 ) = 0.2994736

P(X = 2 ) = 0.03992982 ← answer to a

P(X = 3 ) = 0.001736079

P(X = 4 ) = 1.846893e-05

P(X = 5 ) = 0

The Cumulative Distribution Function, CDF,

F(X) = P(X ≤ x) is:

x

∑ P(X = t) =

t = 0

P( X ≤ 0 ) = 0.658841998337797

P( X ≤ 1 ) = 0.958315633945886 ← answer to 2)

P( X ≤ 2 ) = 0.998245452026965

P( X ≤ 3 ) = 0.999981531073968

P( X ≤ 4 ) = 1

P( X ≤ 5 ) = 1

1 - F(X) is:

K

∑ P(X = t) =

t = x

P( X ≥ 0 ) = 1

P( X ≥ 1 ) = 0.3411580016622033

P( X ≥ 2 ) = 0.04168436605411396 ← answer to 3)

P( X ≥ 3 ) = 0.001754547973035425

P( X ≥ 4 ) = 1.846892603196704e-05

P( X ≥ 5 ) = 0

• 1) ((48!/45!) / (52!/47!)) x 4 x 3 x 5!/2!3! =

48x47x46x4x3x10/52x51x50x49x48=0,0399298 (4%)

2) (48!/43!)/(52!/47!)+

((48!/44!)/(52!/47!))x4x5

= 48x47x46x45x44/52x51x50x49x48

+ 48x47x46x45x20/52x51x50x49x48

= 48x47x46x45x64/52x51x50x49x48

=0,9583156 (96%)

3) = 1 - 2) = 0,0416844 (4%)

• Anonymous

a. 25%

b. 50%

c. 25%

i'm not sure if i'm right

• a- 3.8%

b- <3.8%

c- 1.9%