Probability & Combinatorics Flashcards
There are:
3 green marbles
2 red marbles
1 yellow marble
What is the probability of choosing a green OR yellow marble?
What does OR translate to?
There are 6 total marbles, so denominator is 6
OR translates to +
So, we add: 3/6 chance of green + 1/6 chance of yellow = 4/6 = 2/3
There are:
3 green marbles
2 red marbles
1 yellow marble
If we choose 2 marbles without replacement,
what is the probability of choosing a green AND a red?
What does AND translate to?
AND means we multiply the individual probabilities
There are 2 ways to get a green and a red:
A) 1st marble green, 2nd marble red:
3/6 * 2/5 = 1/2 * 2/5 = 1/5 (once we’ve picked one, there’s only 5 left)
B) 1st marble red, 2nd marble green:
2/6 * 3/5 = 1/3*3/5 = 1/5
Overall, we have (Green AND Red) OR (Red AND Green), so we add:
1/5 + 1/5 = 2/5
There are:
3 green marbles
2 red marbles
1 yellow marble
If we choose 2 marbles without replacement,
what is the probability of choosing 2 greens?
Choosing 2 greens means Green AND Green
AND means we multiply the individual probabilities
3/6 * 2/5 = 1/2 * 2/5 = 1/5
(after we’ve chosen one green, there’s only 2 out of 5 left)
There are:
3 green marbles
2 red marbles
1 yellow marble
If we choose 2 marbles with replacement,
What is the probability of choosing a yellow first, and then a red?
This one is with replacement, so the denominator stays at 6.
There is only 1 option, since it says yellow is first. (we can’t have red, then yellow)
1/6 * 2/6 = 1/18
There are 3 dogs and 2 cats.
If two are chosen at random, what is the probability that they will both be the same type?
Translate: AND is *, OR is +
2 ways: both dogs, OR both cats
(Dog AND Dog) OR (Cat AND Cat)
3/5 * 2/4 + 2/5 * 1/4 = 3/10 + 1/10 = 4/10 = 2/5
If we flip a coin 4 times, what is the probability of it landing on the same side on all 4 flips?
We could have all heads, OR all tails, so we add these 2 probabilities:
A) All heads: 1/2 * 1/2 * 1/2 * 1/2 = 1/16
B) All tails: 1/2 * 1/2 * 1/2 * 1/2 = 1/16
1/16 + 1/16 = 1/8
If there is a 40% chance of rain,
What is the probability that it will NOT rain on the first day, and rain on the second day
Express as a fraction
Probability of NOT A = 1 - Probability of A
Probability of NOT rain = 1 - 40% = 1 - 2/5 = 3/5
AND translates to multiply:
Not Rain * Rain = 3/5 * 2/5 = 6/25
There are 2 sets of cards with numbers:
Set A {1, 2, 4, 6, 9} and Set B {1, 2, 3, 5, 6, 8}
If Joe randomly chooses 1 card from each set,
what is the probability that the numbers multiplied together will be an even number?
There are 3 ways to get an even:
Even * Even
Odd * Even
Even * Odd
There’s only 1 way to get odd: Odd * Odd = Odd
So, it is easier to do 1 - Probability of Odd
Set A: 2/5 chance to get Odd (1 or 9)
Set B: 3/6 = 1/2 chance to get Odd (1, 3, or 5)
Chance of Odd AND Odd = 2/5 * 1/2 = 1/5
1 - 1/5 = 4/5
Two dice are rolled. If the sum of the numbers on the dice was 7, what is the probability that one of the dice showed a number greater than 4?
The possibilities are limited to those that give a sum of 7. (“IF the sum…)
Without this condition, there would be 36 total possibilities (6 for first die * 6 for second die)
List the possibilities:
1-6, 2-5, 3-4, 4-3, 5-2, 6-1
There are 6 total –> that’s the denominator.
4 have a number greater than 4.
4/6 = 2/3
What are Permutations?
Permutations are the number of ways to choose, when order matters.
Ex: How many different license plates can be made, using 3 DISTINCT letters, choosing from the letters A, B, C, D, E, F, G
Write out 3 “Slots”, one for each letter.
___ ___ ___
There are 7 possibilites for the first slot, then 6 possibilites for the 2nd slot, then 5 for the 3rd slot (because the letters must be distinct). We multiply them to find the total number of ways.
_7_ * _6_ *_5_ = 210
What are Combinations?
How are Combinations different from Permutations?
Combinations are the number of ways to choose, when order doesn’t matter.
We count similarly to Permutations, but then we must divide by the number chosen, Factorial.
Combinations are most commonly used for picking groups – See example below
We must divide by 3! because we have overcounted the same teams chosen in a different order.
Team ABC is the same as ACB, BAC, BCA, CAB, and CBA.