Answer:
0.0677 = 6.77% probability that they will all be nonfiction
Step-by-step explanation:
The books are chosen without replacement, which means that the hypergeometric distribution is used to solve this question.
Hypergeometric distribution:
The probability of x successes is given by the following formula:
[tex]P(X = x) = h(x,N,n,k) = \frac{C_{k,x}*C_{N-k,n-x}}{C_{N,n}}[/tex]
In which:
x is the number of successes.
N is the size of the population.
n is the size of the sample.
k is the total number of desired outcomes.
Combinations formula:
[tex]C_{n,x}[/tex] is the number of different combinations of x objects from a set of n elements, given by the following formula.
[tex]C_{n,x} = \frac{n!}{x!(n-x)!}[/tex]
In this question:
10 + 12 = 22 books.
She chooses 4 books, which means that [tex]n = 4[/tex]
12 nonfiction, which meas that [tex]k = 12[/tex]
What’s the probability that they will all be nonfiction?
This is P(X = 4). So
[tex]P(X = x) = h(x,N,n,k) = \frac{C_{k,x}*C_{N-k,n-x}}{C_{N,n}}[/tex]
[tex]P(X = 4) = h(4,22,4,12) = \frac{C_{12,4}*C_{10,0}}{C_{22,4}} = 0.0677[/tex]
0.0677 = 6.77% probability that they will all be nonfiction