Probability
Probability
hjklzxmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopa
sdfghjklzxcvbnmqwertyu
iopasdfghjklzxcvbnmqwe
rtyuiopasdfghjklzxcvbnm
qwertyuiopasdfghjklzxcv
bnmqwertyuiopasdfghjkl
zxcvbnmrtyuiopasdfghjkl
zxcvbnmqwertyuiopasdf
ghjklzxcvbnmqwertyuiop
asdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqw
Probability
Week 3
Simple Probability
Probability means how likely is it for an event to occur.
In the real world, events cannot be predicted with 100% certainty. The best we can do is say
how likely they are to happen, using the concept of probability.
Tossing a Coin
When a coin is tossed, there are two possible outcomes:
heads (H) and
Tails (T).
We say that the probability of the coin landing H is 1/2.
Similarly, the probability of the coin landing T is 1/2.
Throwing Dice
When a single die is thrown, there are six possible outcomes: 1, 2,
3, 4, 5, 6.
The probability of throwing any one of these numbers is 1/6.
Probability
In general:
Probability of an event
happening =
Total number of
outcomes
Example1): there are 5 marbles in a bag: 3 are red, and 2 are blue. What is the probability
that a blue marble will be picked?
Number of ways it can happen: 2 (there are 2 blues)
Total number of outcomes: 5 (there are 5 marbles in total) So the probability is 2/5 = 0.4
Probability Line
Probability is the chance that something will happen. It can be shown on a line.
We can say that the probability of an event occurring will be somewhere between impossible
and certain.
As well as words we can use fractions or decimals to show the probability of something
happening. Impossible is zero and certain is one. A fraction probability line is shown below.
Page
2 of 11
We can show on our line the chance that something will happen:
a) The sun will rise tomorrow.
b) I will not have to learn math at school.
c) If I flip a coin it will land heads up.
d) If you have a choice of red, yellow, blue or green you will choose red.
Probability always lies between 0 and 1
Remember the probability of an event will not be more than 1.
This is because 1 is certain that something will happen.
And the probability of an event will not be less than 0.
This is because 0 is impossible (sure that something will not happen).
Formulae:
1. Probability of an event:
In an experiment, an event is the result that we are interested in. The probability of an
event A, written P(A), is defined as
P(A) =
2. Complementary Event:
If the probability of an event, A, is P(A), then the probability that the event would not occur
(also called the complementary event) is 1 P(A)
3. P (A OR B) = P(A) + P(B)
which means the probability of A or B occurring is equal to the probability of A plus the
probability of B
4. P (A AND B) = P(A) x P(B)
which means the probability of A and B BOTH occurring is equal to the probability of A
multiplied by the probability of B
Page
3 of 11
If two (or more) events are mutually exclusive meaning they cannot occur simultaneously, we
can find the probability that one or the other of them happens by adding the probabilities of
each of them.
Example: the addition rule - What is the probability the first card is a king or a queen? It has
to be a king or queen, it cant be both simultaneously.
The Multiplication Rule:
When two events, A and B, are independent, the probability of both occurring is
the product:
P(A and B) = P(A) P(B)
Independent means they do not affect each other.
Examples of independent events are:
Landing on heads after tossing a coin AND rolling a 5 on a single 6-sided die.
Choosing a marble from a jar AND landing on heads after tossing a coin.
Choosing a 3 from a deck of cards, replacing it, AND then choosing an ace as the second
card.
Rolling a 4 on a single 6-sided die, AND then rolling a 1 on a second roll of the die.
Problems on probability of an event
Example 1:
When a fair dice is thrown, what is the probability of getting
a) the number 5
b) a number that is a multiple of 3
c) a number that is greater than 6
d) a number that is less than 7
Solution:
A fair die is an unbiased die where each of the six numbers is equally likely to turn up.
S = {1, 2, 3, 4, 5, 6}
a) Let A = event of getting the number 5 = {5}
Let n(A) = number of outcomes in event A = 1
n(S) = number of outcomes in S = 6
4 of 11
C ={}
Example 2 :
Each of the letters HELLO is written on a card. A card is chosen at random from the bag.
What is the probability of getting the letter L?
Solution: Since the card is randomly selected, it means that each card has the same
chance of being selected.
S = {H, E, L 1, L 2, O} There are two cards with the letter L
Let A = event of getting the letter L = {L 1, L 2}
Page
5 of 11
.
What is the probability of not getting a white ball?
Solution:
Example 4:
.
What is the probability of drawing a blue card?
Solution:
Let A = event of drawing a red card
B = event of drawing a blue card
P(B) is the probability of drawing a blue card which is also the same as the probability of not
drawing a red card (Since the cards are either red or blue)
Page
6 of 11
Example 5:
A number is chosen at random from a set of whole numbers from 1 to 50. Calculate the
probability that the chosen number is not a perfect square.
Solution:
We are going to use the complement and subtraction method. We find the
Probability that it is a perfect square and Subtract from 1.
Let A be the event of choosing a perfect square.
Let A be the event that the number chosen is not a perfect square.
A = {1, 4, 9, 16, 25, 36, 49}
Number of elements in A, n (A) = 7
Total number of elements, n(S) = 50
Page
7 of 11
c) If either a bike or van had left first, then there would be 99 vehicles remaining, 60 of
which are cars. Let T be the sample space and C be the event of a car leaving.
n(T) = 99
n(C) = 60
Probability of a car leaving after a bike or van has left:
Example 7:
A survey was taken on 30 classes at a school to find the total number of left-handed
students in each class. The table below shows the results:
No. of left-handed
0
1
2
3
4
5
students
Frequency (no. of
1
2
5
12
8
2
classes)
A class was selected at random.
a) Find the probability that the class has 2 left-handed students.
b) What is the probability that the class has at least 3 left-handed students?
c) Given that the total number of students in the 30 classes is 960, find the probability that a
student randomly chosen from these 30 classes is left-handed.
Solution:
a) Let S be the sample space and
A be the event of a class having 2 left-handed students.
n(S) = 30
n(A) = 5
Page
8 of 11
Page
9 of 11
HTH
THH
HHH
Only one of those eight results in three correct (three Heads). So the probability of that
result is ]
5) A fruit cocktail tree grows oranges, grapefruits, and lemons. This season, there are 4
oranges, 6 grapefruits, and a number of lemons on the tree. If the probability of picking a
lemon is 2/3, then how many lemons are on the fruit cocktail tree?
Solution 5)
Probability of picking 1 lemon out of x lemons is
x/(6+4+x) = 2/3
Therefore, 3*x = 2*(10+x)
x = 20
There are 20 lemons.
Because 1/3 of the tree is oranges and grapefruits, then 10 fruits is 1/3 of the tree.
10 times 3 is 30, and 2/3 of 30 is 20, so there's 20 lemons.
6) If two cards are selected out of a deck of 52 cards, what is the probability that they are
both hearts without being replaced?
Solution 6) The probability of drawing the first heart is 13/52. Now we do not replace the
card so we have 12 hearts left and 51 cards left. The probability of drawing a second heart
given that the first one is a heart is 12/51. Therefore, the probability is (13/52)*(12/51).
7) When a fair die is thrown, what is the probability of getting a number greater than 4?
Solution 7) 2/6= 1/3 (6 faces, 5 and 6 are greater than 4)
8) If a number is chosen at random from the numbers 1 to 20 inclusive, what is the
probability that:
a) a prime number will be picked?
b) an even number will be picked?
c) a single digit number will be picked?
Solution 8)
a) a prime number will be picked? 8/20=2/5 (prime numbers 2, 3, 5, 7, 11,13, 17,19)
b) an even number will be picked? 10/20=1/2
c) a single digit number will be picked? 9/20
9) Each of the letters of the word SUCCESS is written on a card and all the cards are
placed into a bag. A card is randomly selected from the bag. Find the probability that the
card bears:
a) the letter S
b) a vowel
c) the letter A
Solution 9)
a) the letter S 3/7
b) a vowel 2/7
c) the letter A 0
10) A bag contains 7 white balls, 3 red balls and 2 black balls. A ball is picked from the bag
at random. Find the probability of:
Page
10 of 11
Page
11 of 11