Complete Question:
In a jar there are 19 red jelly beans and 10 green jelly beans. In how many ways can you pick 4 red jelly beans and the same number of green jelly beans?
Answer:
[tex]Both = 813960[/tex]
Step-by-step explanation:
Given
Red Jelly Beans = 19
Green = 10
Required
Select 4 out of 19 red jelly beans and 4 out of 10 green jelly beans
The keyword in the question is pick and this implies combination;
4 from 19 red jelly beans is calculated as follows
[tex]^nC_r = \frac{n!}{(n-r)!r!}[/tex]
Where n = 19 and r = 4
[tex]^{19}C_4 = \frac{19!}{(19-4)!4!}[/tex]
[tex]^{19}C_4 = \frac{19!}{15!4!}[/tex]
[tex]^{19}C_4 = \frac{19 * 18 * 17 * 16 * 15!}{15! * 4 * 3 * 2 * 1}[/tex]
[tex]^{19}C_4 = \frac{19 * 18 * 17 * 16}{4 * 3 * 2 * 1}[/tex]
[tex]^{19}C_4 = \frac{93024}{24}[/tex]
[tex]^{19}C_4 = 3876[/tex]
Similarly;
4 from 10 green jelly beans is calculated as follows
[tex]^{10}C_4 = \frac{10!}{(10-4)!4!}[/tex]
[tex]^{10}C_4 = \frac{10!}{6!4!}[/tex]
[tex]^{10}C_4 = \frac{10 * 9 * 8 * 7 * 6!}{6! * 4 * 3 * 2 * 1}[/tex]
[tex]^{10}C_4 = \frac{10 * 9 * 8 * 7 }{4 * 3 * 2 * 1}[/tex]
[tex]^{10}C_4 = \frac{5040}{24}[/tex]
[tex]^{10}C_4 = 210[/tex]
Ways of selecting both is calculated as follows
[tex]Both = 3876 * 210[/tex]
[tex]Both = 813960[/tex]