Probability
What is probability?
Probability measures how likely an event is to happen, on a scale from 0 (impossible) to 1 (certain):
P(A)=total number of outcomesnumber of favourable outcomesFor example, drawing a King from a standard 52-card deck: 4 of the 52 cards are Kings, so P(King)=524=131.
Independent vs. dependent events
Two events are independentwhen one doesn't affect the other's outcome, like tossing a coin and rolling a die together:
P(Head and 3)=P(Head)×P(3)=21×61=121Two events are dependent when one changes the odds of the other, like drawing two cards without replacement. Drawing a King, then a Queen from the remaining 51 cards:
P(King then Queen)=524×514=6634Conditional probability
Conditional probability asks: given that event B already happened, what's the chance of event A?
P(A∣B)=P(B)P(A and B)Worked example
Out of 50 students surveyed, 35 play basketball, and of those, 25 are boys. What's the probability that a basketball player is a boy?
Solution:Let A = "plays basketball" and B = "is a boy". Then P(A)=5035 and P(A and B)=5025:
P(B∣A)=35/5025/50=3525=75≈0.71Continue learning
Counting the "total number of outcomes" in a probability problem often comes down to a permutations or combinations calculation.