Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Probability of events in an experiment

Lesson 8.2 · 20 min read · Updated

In a board game you may "bring out a piece" when you roll two dice and get at least one six. Nam argues: "Each dice has a 16\dfrac16 chance of a six, so two dice give 16+16=13\dfrac16+\dfrac16=\dfrac13." It sounds reasonable. But by the same argument, six dice would give 11, which would mean a six is certain. Yet six dice can still all miss the six. So where did Nam go wrong, and what is the correct probability? To find out, we need a method we can trust: list the sample space and count. That is what this lesson is about.

Events and favourable outcomes

In the lesson on sample spaces, we listed all the possible outcomes of an experiment. But what we care about is often an event, such as "the total score is 7". Which outcomes make that event happen?

Finding the probability of an event

Toss two fair coins. There is no reason for one outcome to happen more easily than another, so the four outcomes are equally likely. Each has a 14\dfrac14 share of the chances. The event AA above takes 22 of these 4 shares. So the probability of A is \dfrac24=\dfrac12.

Going deeper. Since 0\leq k\leq n, we have 0\leq P(A)\leq1. An impossible event (no favourable outcome) has probability 0, and a certain event (every outcome favourable) has probability 1. The formula works only when the outcomes are equally likely, and this is where many students slip. Suppose we record "the number of heads" when tossing two coins. There are three results 0, 1, 2. But they are not equally likely, because 1 head corresponds to the two outcomes (T, H) and (H, T). So the probability of "1 head" is not \dfrac13 but \dfrac24=\dfrac12. That is why we always describe outcomes "in enough detail", such as ordered pairs.

12345671234567xyO(6, 6)
Outcomes with at least one six

Look at the picture. The x-axis shows the score on the first dice and the y-axis the score on the second. The shaded row and column overlap exactly at (6, 6). That is where Nam counted twice.

Applications

The formula P(A)=\dfrac kn is not only for dice and coins. It works for any situation of random choice: drawing lots, drawing tickets, choosing people. The next example is a prize draw.

Connections. In year 8 you saw that when an experiment is repeated many times, the relative frequency of an event gets close to its probability. This lesson shows how to find a probability before experimenting. In year 10, permutations, arrangements and combinations will let us find probabilities when the sample space is too large to list.

Key terms

Summary

  • An outcome favourable to A is one that makes A happen.
  • Equally likely outcomes: P(A)=\dfrac kn (k favourable outcomes, n elements in \Omega); 0\leq P(A)\leq1.
  • Describe outcomes in enough detail (ordered pairs, naming identical objects) so that they are equally likely.
  • For "at least one", count the unfavourable outcomes and subtract from n. Back to the opening question: Nam went wrong by counting one outcome twice. Listing the outcomes and counting them with care is how we avoid that trap. Try making a table of outcomes as you work through the practice problems.

Practice

Each exercise starts with what you need to know, and gives a few steps to get going. Try it yourself first. If you get stuck, use the steps, and open the solution last to compare. A wrong attempt is not wasted: it often shows what to practise.

Exercise 1

Roll a fair dice. Find the probabilities of the events:

a) A: "The score is divisible by 3".

b) B: "The score is a prime number".

What you need and how to start

What you need: P(A)=\dfrac kn with n=6.

Steps:

  1. List the favourable outcomes.
  2. Divide by 6.
Show solution

The sample space is \Omega=\{1, 2, 3, 4, 5, 6\}, with 6 equally likely outcomes (the die is fair).

a) The outcomes favourable to the event A are the numbers divisible by 3: 3 and 6. There are 2 favourable outcomes, so P(A)=\frac26=\frac13.

b) The outcomes favourable to the event B are the prime numbers: 2, 3 and 5. There are 3 favourable outcomes, so P(B)=\frac36=\frac12.

So P(A)=\dfrac13 and P(B)=\dfrac12.

Answer. a) \dfrac13; b) \dfrac12.

Exercise 2

Toss two fair coins. Find the probability of the event "At least one coin shows heads".

What you need and how to start

What you need: \Omega has 4 equally likely outcomes.

Steps:

  1. List the outcomes with a head.
  2. Work out \dfrac k4.
Show solution

Write H for heads and T for tails. The sample space is \Omega=\{(T, T),\ (T, H),\ (H, T),\ (H, H)\}, with 4 equally likely outcomes (the coins are fair).

Let A be the event "At least one coin shows heads". The outcomes favourable to A are (T, H), (H, T), (H, H): there are 3 of them.

Hence P(A)=\dfrac34.

So the probability that at least one coin shows heads is \dfrac34.

Answer. \dfrac34.

Exercise 3

Roll two fair dice. Find the probability of the event "The total score is at least 10".

What you need and how to start

What you need: n=36; the total can be 10, 11 or 12.

Steps:

  1. List the pairs with totals 10, 11, 12.
  2. Work out \dfrac{k}{36}.
Show solution

Each outcome is a pair (i, j), where i and j are the scores on the first and the second die. The sample space has 6\cdot6=36 equally likely outcomes.

Let A be the event "The total score is not less than 10", that is the total is 10, 11 or 12.

  • Total 10: (4, 6), (5, 5), (6, 4);
  • Total 11: (5, 6), (6, 5);
  • Total 12: (6, 6).

There are 6 outcomes favourable to A. Hence P(A)=\frac{6}{36}=\frac16.

So the probability that the total score is not less than 10 is \dfrac16.

Answer. \dfrac16.

Exercise 4

Suppose the code of a lock consists of two different digits, each taken from 1, 2, 3, 4. Someone who does not know the code makes one random attempt. Find the probability of opening the lock. How does the probability change if the two digits may be the same?

What you need and how to start

What you need: the number of possible codes is the number of elements of \Omega; only one code is correct.

Steps:

  1. Count the ordered pairs of different digits: 4\cdot3.
  2. If repeats are allowed: 4\cdot4.
Show solution

There are 4\cdot3=12 equally likely codes and only 1 is correct, so the probability is \dfrac{1}{12}. If the two digits may be the same, there are 4\cdot4=16 codes.

So the probability is \dfrac1{12}; with repeats allowed, it is \dfrac1{16}.

Answer. \dfrac{1}{12}; \dfrac{1}{16}.

Exercise 5

(1.5 marks) A group of 5 students consists of 3 girls and 2 boys. Two students are chosen at random at the same time.

a) How many elements does the sample space have?

b) Find the probability that both students chosen are girls.

c) Find the probability that at least 1 of the students chosen is a boy.

What you need and how to start

What you need: name the girls N_1, N_2, N_3 and the boys M_1, M_2; choosing at the same time gives unordered pairs.

Steps:

  1. List the pairs.
  2. Count the pairs of girls only.
  3. "At least 1 boy" is all the other pairs.
Show solution

Call the three girls G_1, G_2, G_3 and the two boys B_1, B_2. Two students are chosen together, so each outcome is a group of 2 students, without order.

a) Listing the outcomes:

  • two girls: G_1G_2, G_1G_3, G_2G_3;
  • one girl and one boy: G_1B_1, G_1B_2, G_2B_1, G_2B_2, G_3B_1, G_3B_2;
  • two boys: B_1B_2.

So the sample space has 3+6+1=10 elements.

b) Let A be the event "Both students chosen are girls". The outcomes favourable to A are G_1G_2, G_1G_3, G_2G_3: there are 3 of them. Hence P(A)=\frac{3}{10}.

So the probability that both students chosen are girls is \dfrac{3}{10}.

c) Let B be the event "At least one boy is chosen". The outcomes favourable to B are exactly the outcomes not favourable to A, so there are 10-3=7 of them. Hence P(B)=\frac{7}{10}.

So the probability that at least one boy is chosen is \dfrac{7}{10}.

Answer. a) 10; b) \dfrac{3}{10}; c) \dfrac{7}{10}.

Exercise 6

Class 9A tosses two coins 200 times and finds that the event "The two coins land differently" happens 104 times. Find the relative frequency of this event and compare it with its probability. (Revise relative frequency.)

What you need and how to start

What you need: relative frequency \dfrac mn; probability found by counting.

Steps:

  1. Work out \dfrac{104}{200}.
  2. Find P from the sample space of 4 outcomes.
Show solution

The relative frequency is \dfrac{104}{200}=0.52=52\%. The event has 2 favourable outcomes, (T, H) and (H, T), so its probability is \dfrac24=0.5.

So the relative frequency of 52\% is very close to the probability of 50\%, as expected: with many trials, the relative frequency gets close to the probability.

Answer. 52\%, close to P=0.5.

Exercise 7

An and Binh roll two fair dice and multiply the two scores. If the product is even, An wins; if it is odd, Binh wins. Is the game fair?

What you need and how to start

What you need: the product is odd exactly when both numbers are odd.

Steps:

  1. Count the pairs in which both numbers are odd: 3\cdot3.
  2. Compare the two players' probabilities.
Show solution

The product is odd when both scores are odd (1, 3 or 5), which gives 3\cdot3=9 outcomes. Hence Binh's probability of winning is \dfrac{9}{36}=\dfrac14 and An's is \dfrac{36-9}{36}=\dfrac34.

So the game is not fair: An is three times as likely to win as Binh.

Answer. Not fair (\dfrac34 against \dfrac14).

Exercise 8 Challenge

Roll two fair dice. Find the probability that the product of the two scores is a perfect square.

What you need and how to start

What you need: the possible perfect squares are 1, 4, 9, 16, 25, 36.

Steps:

  1. If the two numbers are equal, the product is always a square.
  2. Look for pairs of different numbers whose product is 4, 9, 16, ….
Show solution

The pairs (i, i) give the product i^2: 6 outcomes. The pairs of different numbers with a square product are (1, 4) and (4, 1) (product 4); there are no others, because 9=1\cdot9, 16=2\cdot8 and 36=4\cdot9 all need a number greater than 6. Hence k=8 and the probability is \dfrac{8}{36}=\dfrac29.

So the required probability is \dfrac29.

Answer. \dfrac{2}{9}.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. A fair dice is rolled. The probability of getting an odd number is
Question 2. Two fair coins are tossed. The probability that both coins show heads is
Question 3. Two fair dice are rolled. The probability that the total is 4 is
Question 4. A box has 3 red marbles and 2 blue marbles. One marble is taken at random. The probability of getting a blue marble is

Part II. True or false

Question 1. A box contains four cards showing 1, 2, 3, 4. Two cards are drawn at random at the same time. Decide whether each statement is true or false.
a) The sample space has 6 elements.
b) The probability that the sum of the two numbers is even is \dfrac13.
c) The probability that the product of the two numbers is even is \dfrac56.
d) The probability that the sum of the two numbers is 5 is \dfrac12.

Part III. Short answer

Question 1. Roll two fair dice. Find the probability that both dice show the same score (give your answer to 2 decimal places).

Question 2. Two students are chosen at random at the same time from a group of 2 boys and 3 girls. Find the probability of choosing 1 boy and 1 girl (as a decimal).

Show answers and explanations
  1. Part I, question 1: D. There are 3 favourable outcomes 1, 3, 5 out of 6. A forgets that 1 is odd, B is the probability of one face, C is the number of favourable outcomes, not a probability.
  2. Part I, question 2: B. Only (H, H) out of 4 outcomes. A wrongly uses three outcomes that are not equally likely, C is the probability that one coin shows heads, D is the probability of at least one head.
  3. Part I, question 3: A. (1, 3), (2, 2), (3, 1): \dfrac{3}{36}=\dfrac{1}{12}. B ignores the order, C treats the 11 totals from 2 to 12 as equally likely, D counts (2, 2) twice.
  4. Part I, question 4: C. k=2, n=5. A divides the number of blue marbles by the number of red ones, B is the probability of a red marble, D treats the two colours as two equally likely outcomes.
  5. Part II, question 1: a) True; b) True; c) True; d) False. a) True: 12, 13, 14, 23, 24, 34. b) True: \{1, 3\}, \{2, 4\}. c) True: only \{1, 3\} has an odd product. d) False: \{1, 4\}, \{2, 3\} give \dfrac26=\dfrac13.
  6. Part III, question 1: 0.17. There are 6 outcomes (i, i) out of 36: \dfrac16\approx0.17.
  7. Part III, question 2: 0.6. There are 2\cdot3=6 boy–girl pairs out of 10 pairs: \dfrac{6}{10}=0.6.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email