Notes on Lesson 25: Random experiment and sample space (Maths 9 Ket noi tri thuc)
Lesson summary
The result is not known in advance before doing it.
The set of all possible outcomes of an experiment is called the sample space of the experiment, denoted by (read as "omega").
Notice the two phrases "not known in advance" and "list them all".
This content is not yet available in English. It is shown below in the original Vietnamese.
- Nhận biết được phép thử ngẫu nhiên và không gian mẫu
- Mô tả không gian mẫu bằng liệt kê, bảng, sơ đồ hình cây
Before a match, the referee tosses a coin to choose the side. Nobody knows in advance which side the coin will land on, but everyone knows there are only two possibilities: tails or heads. This lesson helps you name the things where "the result is not known in advance but all the possibilities can be listed", and list all those possibilities using a list, a table or a tree diagram.
Key ideas: what do you need to know?
Random experiment
One or several actions or trials done one after another or at the same time are called a random experiment (short for experiment) if both of these hold:
- The result is not known in advance before doing it.
- All possible outcomes can be listed.
Examples:
- Rolling a die: you do not know in advance how many pips will show, but you know it can only be 1, 2, 3, 4, 5 or 6 pips.
- Lan rolls a die and Hoa tosses a coin at the same time: these two actions together form one experiment.
- Dropping a stone from a height, it certainly falls: the result is known in advance, so it is not a random experiment.
In plain words: Notice the two phrases "not known in advance" and "list them all". Drawing lots for the order of the talent show, drawing a card, spinning a lucky wheel: before doing it nobody can guess for sure, but sitting down to list them gives all the possibilities. Why is the second condition needed? Because only if you can list them all can you count them, and in the next lesson you will use exactly this counting to work out probability.
Phrase by phrase
- random experiment
- An action whose result is not known for sure before doing it, but all possible outcomes can be listed.Example: Drawing one card from a box with three cards marked 1, 2, 3.
- The result is not known in advance
- Only after doing it do you know which result came out.Example: Toss a coin, wait for it to land to see tails or heads.
- All possible outcomes can be listed
- List them all, missing no possibility.Example: Rolling a die has 6 possible outcomes: 1, 2, 3, 4, 5, 6 pips.
- one after another or at the same time
- The actions can be done one by one or all in one go, and it still counts as one experiment.Example: Tossing a coin twice in a row is one experiment.
Sample space
The set of all possible outcomes of an experiment is called the sample space of the experiment, denoted by (read as "omega").
- Each possible outcome is an element of .
- Rolling a die: , which has 6 elements.
- Tossing a coin: , where S is tails and N is heads.
- To know how many elements the sample space has, count the possible outcomes, with nothing missed and nothing repeated.
In plain words: The sample space is like a class list: write every student's name, each student once. If you miss a student, the roll call is wrong; if you write a student's name twice, the class size has a remainder. It is the same with an experiment: write all the possible outcomes inside braces. Counting the elements of correctly is the most important step, because later this number sits in the denominator when working out probability.
Phrase by phrase
- sample space
- The set of all possible outcomes of an experiment.Example: Rolling a die: .
- an element
- One possible outcome, inside the braces of .Example: The face with 4 pips is an element of the sample space when rolling a die.
- nothing missed and nothing repeated
- Each possible outcome must appear exactly once.Example: Tossing a coin twice but writing only SS, SN, NN misses NS.
Describing the sample space by the listing method
The simplest way is the listing method: write each outcome inside braces, separated by semicolons.
- When the experiment consists of several actions, each outcome is written as an ordered pair: the first part is the outcome of the first action, the second part is the outcome of the second action.
- Tossing a coin twice in a row: . Here SN and NS are two different outcomes: SN means tails first, heads second.
- It is best to list in a fixed order (fix the first action, vary the second action) so nothing is missed.
In plain words: Listing is like writing a menu: every dish is written down. The hardest part is order. Tails first then heads is different from heads first then tails, just as going to school first and playing afterwards is different from playing first and going to school afterwards. So keep the first toss as S, list all the second tosses, then change the first toss to N.
Phrase by phrase
- listing method
- Write out each outcome one by one.Example: .
- an ordered pair
- Two outcomes joined together, where which comes first and which comes second matters.Example: : the die shows 2 pips, the coin shows tails.
- SN and NS are two different outcomes
- Swapping the two tosses gives a different outcome.Example: SN: toss 1 tails, toss 2 heads; NS: toss 1 heads, toss 2 tails.
Common mistakesListing in a messy, unordered way, so an outcome is missed or written twice.
TipListing by "keep the first, change the last": keep the outcome of the first action, list all the later actions, then change the first action.
Describing the sample space by a table
When the experiment consists of two actions, you can draw a table:
- Each row corresponds to one outcome of the first action, each column to one outcome of the second action.
- Each cell is one possible outcome. The number of elements of equals the number of cells, that is, the number of rows times the number of columns.
Example: Lan rolls a die, Hoa tosses a coin. The table has 6 rows (1 to 6 pips) and 2 columns (S, N), so there are cells:
.
In plain words: The table is like a chessboard or a seating chart in a cinema: the rows are one action, the columns are the other action, and each seat is one outcome. Why is the table handy? Because you can see everything at a glance, you are not afraid of missing any, and counting is quick too: 6 rows with 2 seats each gives 12 seats. When rolling two dice, listing 36 outcomes is very easy to miss, but drawing a 6 by 6 table is much neater.
Phrase by phrase
- two actions
- The experiment consists of two tasks, each with its own outcomes.Example: Rolling a die and tossing a coin.
- Each cell is one possible outcome
- The cell in a given row and column combines the outcome of that row with that column.Example: The cell in row 3, column T is the outcome .
- number of rows times number of columns
- A quick way to count the cells of the table.Example: Two dice: outcomes.
TipAfter counting, check again by multiplying the numbers of outcomes of each action.
Describe the sample space with a tree diagram
A tree diagram suits an experiment made of several actions done one after another:
- From the root, draw branches for the outcomes of the first action.
- From the end of each of those branches, draw further branches for the outcomes of the second action, and so on for the later actions.
- Each path from the root to a leaf (the last branch) is one possible outcome. The number of outcomes equals the number of leaves.
Example: Toss a coin three times. The first toss splits into 2 branches, each branch splits into 2 at the second toss, and each of those splits into 2 at the third toss, giving leaves: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT.
In plain words: A tree diagram is like a map of forks in the road. You leave home and reach a fork, choose left or right; go on and reach another fork. Each complete route from home to the destination is one outcome. Why is the tree useful? When an experiment has three or more steps, a two-way table can no longer be drawn, but the tree simply grows one more layer of branches for each step.
Phrase by phrase
- Tree diagram
- A drawing that splits into branches step by step, each layer of branches being one action.Example: Toss a coin twice: the root splits into H, T; each branch then splits into H, T.
- branch
- A segment corresponding to one outcome of one action.Example: The H branch in the first layer means the first toss came up heads.
- leaf
- The end of a path, corresponding to one complete outcome.Example: The leaf HTH: heads, tails, heads.
TipFor two actions, draw a table; for three or more actions, draw a tree.
Worked examples
Example 1
Which of the following activities is a random experiment? Explain.
a) Rolling a die and looking at the number of dots.
b) Drawing one card from a box with 5 cards numbered 1, 2, 3, 4, 5.
c) Putting an ice cube into a glass of hot water and seeing whether it melts.
d) Asking the birthday of a classmate you do not know yet at school and seeing which day of the week it falls on this year.
Show the solution to example 1
Step 1: For each activity, check two things: can you know the outcome in advance, and can you list all the possible outcomes.
Step 2: a) You do not know which face will come up, but you can list 6 outcomes. It is an experiment.
Step 3: b) You do not know which numbered card will be drawn, but you can list 5 outcomes. It is an experiment.
Step 4: c) An ice cube in hot water will certainly melt, the outcome is known in advance. It is not a random experiment.
Why: Without the condition "you do not know the outcome in advance" it is no longer random, even though it is still an action.
Step 5: d) You do not know which day it is, but you can list 7 possibilities from Monday to Sunday. It is an experiment.
Result: a), b), d) are random experiments; c) is not.
Common mistakesCalling a task whose outcome is already known for sure a random experiment.
Example 2
Toss a coin twice in a row. List the sample space and say how many elements it has.
Show the solution to example 2
Step 1: Write each outcome with two letters: the first letter is toss 1, the second is toss 2.
Step 2: Fix toss 1 as H: you get HH, HT. Change toss 1 to T: you get TH, TT.
Why: HT (toss 1 heads, toss 2 tails) and TH (toss 1 tails, toss 2 heads) are two different outcomes. Many students merge them into one and so list only 3 elements.
Step 3: .
Result: The sample space has 4 elements.
Common mistakesTreating SN and NS as one, so tossing a coin twice gives only 3 outcomes instead of 4.
Example 3
Lan rolls a die, and at the same time Hoa tosses a coin. Use a table to describe the sample space.
Show the solution to example 3
Step 1: Draw a table: the rows give the numbers of dots 1 to 6 on the die, the columns give the faces H, T of the coin.
| H | T | |
|---|---|---|
| 1 | (1, H) | (1, T) |
| 2 | (2, H) | (2, T) |
| 3 | (3, H) | (3, T) |
| 4 | (4, H) | (4, T) |
| 5 | (5, H) | (5, T) |
| 6 | (6, H) | (6, T) |
Step 2: Each cell is one outcome. The table has 6 rows and 2 columns, so it has cells.
Why: Each number of dots on the die can go with both the H face and the T face, so you must multiply, not add .
Step 3: .
Result: The sample space has 12 elements.
Common mistakesAdding the numbers of outcomes of each action () instead of multiplying them ().
Example 4
Roll two dice, one blue and one red. Describe the sample space with a table and count the elements. Are the outcomes "blue 1 dot, red 2 dots" and "blue 2 dots, red 1 dot" the same?
Show the solution to example 4
Step 1: Draw a table with 6 rows for the number of dots on the blue die and 6 columns for the number of dots on the red die. The cell in row , column is the outcome .
Step 2: The number of cells is .
Step 3: is in row 1 column 2, while is in row 2 column 1: two different cells.
Why: The two dice can be told apart (different colours), so swapping the numbers of dots between them gives a different outcome.
Result: has 36 elements; and are two different outcomes.
Example 5
The canteen has 2 main dishes, rice (R) and pho (P), and 3 drinks, tea (T), orange juice (O), milk (M). An randomly chooses one main dish and then randomly chooses one drink. Draw a tree diagram describing the sample space.
Show the solution to example 5
Step 1: First level: from the root, split into 2 branches C and P.
Step 2: Second level: from each branch C and P, split further into 3 branches T, O, S.
Why: Whether you choose rice or choose pho, there are still all 3 kinds of drinks, so every branch grows all 3 sub-branches.
Step 3: Read each path from root to tip: CT, CO, CS, PT, PO, PS.
Step 4: Count the tips: .
Result: , which has 6 elements.
Example 6
A box has 3 marbles numbered 1, 2, 3. Draw two marbles one after another at random, without putting the drawn marble back in the box. Describe the sample space. If after the first draw the marble is put back in the box before the second draw, how many elements does the sample space have?
Show the solution to example 6
Step 1: Write each result as a pair : is the number of the marble drawn first, is the number of the marble drawn second.
Step 2: Without replacement: the first draw has 3 ways, the second draw has only 2 marbles left. Listing method: , , , , , .
Why: The marble already drawn is no longer in the box, so the pairs , , do not occur.
Step 3: With replacement: the second draw still has all 3 marbles, so 3 more pairs with the same number can be added. The number of elements is .
Result: Without replacement, , which has 6 elements; with replacement, the sample space has 9 elements.
Common mistakesDrawing without replacement but still writing pairs with the same number such as .
Terms
- Random experiment
- A task whose outcome is not known in advance but whose possible outcomes can all be listed.Example: Roll one die.
- Possible outcomes
- One possibility that can happen when performing the experiment.Example: Heads is one possible outcome when tossing a coin.
- Sample space
- The set of all possible outcomes of the experiment, denoted .Example: .
- Element of the sample space
- One possible outcome that belongs to .Example: is one element when rolling a die and tossing a coin.
- Tails, heads
- The two sides of a coin, usually written S and N.Example: Tossing a coin once: .
- Table describing the sample space
- A table whose rows are the outcomes of action 1 and whose columns are the outcomes of action 2, with each cell being one outcome.Example: Two dice: a table with 6 rows, 6 columns, 36 cells.
- Tree diagram
- A diagram that splits into branches level by level, where each path from root to tip is one outcome.Example: Tossing a coin three times has 8 tips.
- Drawing without replacement
- Taking something out and not putting it back, so the next time there are fewer choices.Example: Drawing two of three marbles without replacement has 6 outcomes.
Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 9.
Practice
Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.
This content is not yet available in English. It is shown below in the original Vietnamese.
Màu hạt của đậu Hà Lan có hai kiểu hình: màu vàng và màu xanh, có hai gene ứng với hai kiểu hình này allele trội A và allele lặn a. Hình dạng hạt của đậu Hà Lan có hai kiểu hình: hạt trơn và hạt nhăn, có hai gene ứng với hai kiểu hình này allele trội B và allele lặn b.
Khi cho lai hai cây đậu Hà Lan, cây con lấy ngẫu nhiên một gene từ cây bố và một gene từ cây mẹ để hình thành một cặp gene. Phép thử là cho lai hai cây đậu Hà Lan, trong đó cây bố có kiểu gene là (AA, Bb), cây mẹ có kiểu gene là (Aa, Bb).
Hãy mô tả không gian mẫu của phép thử trên. Không gian mẫu có bao nhiêu phần tử?
Gợi ý. Về kiểu gene, có hai kiểu gene ứng với màu hạt của cây con là AA; Aa.
Có bốn kiểu gene ứng với hình dạng hạt của cây con là BB; Bb; bB; bb.
Liệt kê được tất cả các kết quả có thể của phép thử bằng cách lập bảng theo mẫu sau:

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.
Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.
More practice questions for you
Extra practice
- Đếm số phần tử không gian mẫu khi thực hiện hai hành động liên tiếp (Understanding, Applying)
- Liệt kê kết quả thuận lợi cho một biến cố (Applying, Advanced applying)
- Xác định phép thử ngẫu nhiên và mô tả không gian mẫu (Applying)
Additional exercises
- Xác định phép thử ngẫu nhiên và mô tả không gian mẫu (Recall, Understanding, Applying)
- Đếm số phần tử không gian mẫu khi thực hiện hai hành động liên tiếp (Understanding, Applying)
- Liệt kê kết quả thuận lợi cho một biến cố (Understanding, Applying)
Challenge yourself
- Đếm số phần tử không gian mẫu khi thực hiện hai hành động liên tiếp (Understanding, Applying)
- Dạng khác (Understanding)
Ask a parent to sign in and create your profile to unlock more. It's free. Sign in
Skills in this lesson
Tap a skill to see what to secure first, what comes next, and more practice.