PROBABILITY_0
PROBABILITY_0
Introduction to Probability
• If an event E can occur in 'r' ways out of 'n' possible ways, then the probability of
the event occurring is:
o P(E) = r / n
o The probability that the event will not occur is: P(E') = (n - r) / n = 1 - (r /
n)
o P(E) + P(E') = 1
• Example:
o In a bag with 5 red balls and 3 blue balls, the probability of drawing a red
ball is 5/8 (5 favorable outcomes out of 8 total outcomes).
• Events that have the same probability of occurring are called equally likely events.
• Example:
o When you roll a fair die, each number (1, 2, 3, 4, 5, and 6) has an equal
probability of 1/6.
• Complementary events are two events where there are only two possible
outcomes: either an event will occur, or it will not occur.
• Examples:
o A coin toss resulting in heads or tails.
o A student passing or not passing an exam.
o It will rain or not rain today.
• These rules help calculate probabilities of events based on the probabilities of other
events.
• Mutually Exclusive Events:
o Two events are mutually exclusive if they cannot occur at the same time.
• Conditional Probability:
o The probability of event A occurring, given that event B has occurred, is
called conditional probability, denoted by P(A|B).
• Complement of an Event:
o The complement of an event A is the event that A does not occur, denoted
by P(A').
• Intersection of Events:
o The probability that both events A and B occur is the probability of the
intersection of A and B, denoted by P(A ∩ B). If A and B are mutually
exclusive, P(A ∩ B) = 0.
• Union of Events:
o The probability that event A or event B occurs is the probability of the union
of A and B, denoted by P(A ∪ B).
• Independent Events:
o If the occurrence of event A does not change the probability of event B,
then events A and B are independent.
• Dependent Events:
o If the occurrence of event A changes the probability of event B, then events
A and B are dependent.
• Rule of Subtraction:
o The probability that event A will occur is equal to 1 minus the probability
that event A will not occur: P(A) = 1 - P(A').
• Example:
o If the probability that it will rain is 0.3, then the probability that it will not
rain is 1 - 0.3 = 0.7.
• Rule of Multiplication:
o The probability that events A and B both occur is: P(A ∩ B) = P(A) *
P(B|A).
• Example:
o If you draw two cards from a deck without replacement, the probability of
drawing a heart and then another heart is (13/52) * (12/51).
• Rule of Addition:
o The probability that event A or event B occurs is: P(A ∪ B) = P(A) + P(B) -
P(A ∩ B).
• Example:
o If the probability of an event A is 0.4 and the probability of event B is 0.5,
and the probability of both events occurring is 0.2, then the probability of
either event A or B occurring is 0.4 + 0.5 - 0.2 = 0.7.
• Conditional Probability
o The conditional probability of an event B given A is: P(B|A) = P(A and B) /
P(A)
• Bayes's Formula
o Bayes's formula is another way to calculate conditional probabilities: P(A|B)
= [P(B|A) * P(A)] / [P(B|A) * P(A) + P(B|A') * P(A')].