Skip to content
Gioi Toan
Start learning
A smiling die next to a coin

Notes on Lesson 5: Probability of an event (Maths 10 Canh Dieu, Chapter VI)

Lesson summary

A random experiment (experiment for short) is a random experiment or an action whose outcome cannot be known in advance, even though the set of all possible outcomes is known.

A random event (event for short) is a subset of the sample space Ω\Omega.

An experiment is like one draw from a lottery: you know for sure there will be an outcome but cannot predict which one.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Nhận biết định nghĩa cổ điển của xác suất, biến cố đối, nguyên lí xác suất bé
  • Tính xác suất bằng phương pháp tổ hợp, sơ đồ hình cây

In a game, you toss a fair coin three times. You want to know the likelihood of getting heads at least once. This lesson will give you the classical definition of probability, how to compute probability using the combination method and tree diagrams, along with complementary events and the small-probability principle. Thanks to that, you can compute probabilities in many real situations.

Practise similar problems

Key ideas: what do you need to know?

Random experiment and sample space

  • A random experiment (experiment for short) is a random experiment or an action whose outcome cannot be known in advance, even though the set of all possible outcomes is known.
  • The sample space of an experiment is the set of all possible outcomes of that experiment, denoted Ω\Omega.
  • Example: Roll a fair die. The sample space is Ω={1;2;3;4;5;6}\Omega = \{1; 2; 3; 4; 5; 6\}.

In plain words: An experiment is like one draw from a lottery: you know for sure there will be an outcome but cannot predict which one. The sample space is the complete list of every possible outcome, nothing missing, nothing extra. Writing the sample space correctly is the most important step, because every count afterwards relies on it. When describing it, ask yourself: what does one outcome look like (a number, a pair of numbers, a sequence of heads and tails, or a subset)? Answer that and your listing will not get mixed up.

Phrase by phrase
Random experiment
An action or experiment whose outcome we cannot predict.Example: Roll a die, draw a card from a box.
Sample space
The set of all possible outcomes of the experiment, denoted Ω\Omega.Example: Rolling a die: Ω={1;2;3;4;5;6}\Omega = \{1; 2; 3; 4; 5; 6\}.

Event

  • A random event (event for short) is a subset of the sample space Ω\Omega.
  • An impossible event is the empty set ∅\varnothing.
  • A certain event is the set Ω\Omega.
  • Example: Roll a die, the event AA: "The number of spots showing is an even number" is the set A={2;4;6}⊂ΩA = \{2; 4; 6\} \subset \Omega.

In plain words: An event is stated in words, but to compute we turn it into a set: gather all the outcomes that make the event happen. From here, the question "how many ways can this event happen" becomes the question "how many elements does this subset have", and counting elements is something you already know. The certain event contains every outcome, so it is all of Ω\Omega; the impossible event contains no outcome, so it is the empty set.

Phrase by phrase
Event
A subset of the sample space, consisting of the favourable outcomes for it.Example: "Getting an odd number" is {1;3;5}\{1; 3; 5\}.
Impossible event
An event that never happens, the set ∅\varnothing.Example: Rolling a die, "the number of spots equal to 7" is an impossible event.
Certain event
An event that always happens, the set Ω\Omega.Example: Rolling a die, "the number of spots less than 7" is a certain event.

Complementary events

  • The complementary event of the event AA is the event "AA does not happen", denoted A‾\overline{A}.
  • If AA is a subset of Ω\Omega then A‾=Ω∖A\overline{A} = \Omega \setminus A.
  • Example: Roll a die, AA: "The number of spots is an even number" then A‾\overline{A}: "The number of spots is an odd number", and A‾={1;3;5}\overline{A} = \{1; 3; 5\}.

In plain words: The complementary event is "the rest": whenever AA does not happen, A‾\overline{A} happens, and vice versa. These two events split the sample space into two parts with no element in common, and together they make up exactly Ω\Omega. So when you say it in words, you must negate it correctly: the complement of "heads comes up at least once" is "heads never comes up", not "tails comes up at least once". The safest way is to write AA as a set, then take the remaining elements of Ω\Omega.

Phrase by phrase
Complementary events
The event happens exactly when the given event does not happen.Example: The complement of "a red ball is drawn" is "a ball that is not red is drawn".
A‾=Ω∖A\overline{A} = \Omega \setminus A
The complementary event is the complement of AA in the sample space.Example: Ω={1;2;3;4}\Omega = \{1; 2; 3; 4\}, A={1}A = \{1\} then A‾={2;3;4}\overline{A} = \{2; 3; 4\}.

Common mistakesWhen finding the probability of an event "at least one...", many students take the wrong complementary event, for example with "at least one tails" they take the complement to be "at least one heads". The correct complement must be "no tails", that is, all heads.

Common mistakesCounting the elements of the sample space and of the event in different ways: if the sample space is counted with combinations (unordered selection), then the event must also be counted with combinations; if counted with k-permutations (ordered selection), then the event must also be counted with k-permutations. Two counts of different kinds will give a wrong ratio.

TipWhen you see the phrase "at least", think at once of the complementary event, because the complement of "at least one" is "none". Use P(A)=1−P(A‾)P(A) = 1 - P(\overline{A}) when the complementary event is easier to count.

Classical definition of probability

  • Suppose an experiment has sample space Ω\Omega with finitely many outcomes, and those outcomes are equally likely outcomes. Then the probability of event AA is

P(A)=n(A)n(Ω),P(A) = \frac{n(A)}{n(\Omega)},
where n(A)n(A) and n(Ω)n(\Omega) are the numbers of elements of set AA and set Ω\Omega respectively.

  • Example: Toss a fair coin twice. The sample space Ω={SS;SN;NS;NN}\Omega = \{SS; SN; NS; NN\}, n(Ω)=4n(\Omega) = 4. Event AA: "The two tosses show the same side" is A={SS;NN}A = \{SS; NN\}, n(A)=2n(A) = 2. So P(A)=24=12P(A) = \frac{2}{4} = \frac{1}{2}.

In plain words: The formula is just "number of favourable outcomes divided by number of possible outcomes", but it is only correct when the outcomes are equally likely outcomes. That is why problems often say "fair coin", "fair die", "chosen at random": these are the signs that let you use the classical definition. The order of work is always: describe Ω\Omega, count n(Ω)n(\Omega); write AA as a set, count n(A)n(A); then divide. When the experiment has two steps (draw two cards, roll two dice), make a two-way table to list all the pairs, with each cell being one outcome.

Phrase by phrase
equally likely outcomes
Every outcome has the same chance of appearing.Example: Fair die: each face has the same chance.
n(Ω)n(\Omega) and n(A)n(A)
The number of elements of the sample space and of the event; the probability is the quotient n(A)n(Ω)\frac{n(A)}{n(\Omega)}.Example: Draw 1 of 10 cards, AA has 4 cards, so P(A)=410=0,4P(A) = \frac{4}{10} = 0,4.

Common mistakesUsing the formula P(A)=n(A)n(Ω)P(A) = \frac{n(A)}{n(\Omega)} when the outcomes are not equally likely, for example treating "the sum of two dice" as having 11 outcomes from 2 to 12 and then dividing by 11. You must use the 36 equally likely pairs.

TipThree fixed steps when finding a probability: write the sample space Ω\Omega and count n(Ω)n(\Omega); write the event AA as a set and count n(A)n(A); compute P(A)=n(A)n(Ω)P(A) = \frac{n(A)}{n(\Omega)}. Before dividing, ask yourself: are the outcomes equally likely?

TipWhen the experiment has two steps (two rolls, two bags, two boxes), make a two-way table or draw a tree diagram: the number of outcomes in the sample space equals the number of rows times the number of columns (or the number of tips of the tree).

Properties of probability

  • For every event AA, we have 0≤P(A)≤10 \le P(A) \le 1.
  • P(∅)=0P(\varnothing) = 0, P(Ω)=1P(\Omega) = 1.
  • For every event AA, P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A).
  • Example: Roll a die, event AA: "a 6 comes up" has P(A)=16P(A) = \frac{1}{6}, so P(A‾)=1−16=56P(\overline{A}) = 1 - \frac{1}{6} = \frac{5}{6}.

In plain words: Probability is a fraction whose numerator does not exceed the denominator, so it always lies between 0 and 1. If you work out a probability that is negative or greater than 1, you have certainly counted wrong, and that is a very quick self-check. The formula P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A) is very useful when the complementary event is easier to count than the original event.

Phrase by phrase
0≤P(A)≤10 \le P(A) \le 1
Probability is not negative and does not exceed 1.Example: P(A)=75P(A) = \frac{7}{5} is a wrong result.
P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A)
The probability of the complementary event equals 1 minus the probability of event AA.Example: P(A)=0,3P(A) = 0,3 then P(A‾)=0,7P(\overline{A}) = 0,7.

Common mistakesGetting a negative probability or one greater than 1 without checking again. Every probability must satisfy 0≤P(A)≤10 \le P(A) \le 1; if not, you have certainly counted wrongly.

The principle of small probabilities

  • If a random event has a very small probability, then in practice we may consider that in one experiment that event will not happen.
  • However, what probability counts as small depends on each specific problem.
  • Example: The probability of a plane crashing is very small, about 0,000000270,00000027. Every passenger on a plane believes that the event "The plane crashes" will not happen on their flight.

In plain words: This principle is how people live with risk: something with a tiny probability is treated as not happening in a single try. But "very small" has no common threshold; it depends on the consequences. A broken phone is acceptable, so 0,0010,001 is small; a plane engine catching fire has consequences that are far too serious, so 0,0010,001 is far too large. When you meet this kind of question, answer with both the probability number and how serious the consequences are.

Phrase by phrase
principle of small probabilities
An event with a very small probability is treated as not happening in one experiment.Example: Few people worry about a meteorite hitting them on the way to school.
depends on each specific problem
What counts as "very small" depends on the consequences of the event.Example: 0,0010,001 is small for a phone breaking, not small for a plane engine catching fire.

Worked examples

Example 1

A box has 5 cards of the same kind, each card is marked with one of the numbers 1, 2, 3, 4, 5; two different cards are marked with two different numbers. Draw 2 cards at random at the same time from the box.
a) Find the number of elements of the sample space.
b) Find the probability of event EE: "The sum of the numbers on the two cards is an odd number".

Show the solution to example 1

Step 1: Each outcome is a subset of 2 cards out of 5 cards, order does not matter. Therefore n(Ω)=C52=10n(\Omega) = C_5^2 = 10.
Why: drawn at the same time, so there is no order, use combination.
Step 2: The sum of two numbers is an odd number when one number is odd and one number is even. Among the 5 cards there are 3 odd-numbered cards (1, 3, 5) and 2 even-numbered cards (2, 4). The number of ways to choose one odd card and one even card is 3⋅2=63 \cdot 2 = 6. So n(E)=6n(E) = 6.
Step 3: P(E)=n(E)n(Ω)=610=35P(E) = \frac{n(E)}{n(\Omega)} = \frac{6}{10} = \frac{3}{5}.
Result: n(Ω)=10n(\Omega) = 10; P(E)=35P(E) = \frac{3}{5}.

Common mistakesFor the event "the sum of the two numbers is 7" when rolling two dice, only counting the pairs (1,6), (2,5), (3,4) and forgetting the reversed pairs (4,3), (5,2), (6,1). When the two rolls are ordered, each reversed pair is a different outcome.

Example 2

Toss a fair coin three times in a row. Find the probability of event AA: "Heads comes up at least once".

Show the solution to example 2

Step 1: Each toss has 2 outcomes, so three tosses give n(Ω)=23=8n(\Omega) = 2^3 = 8. The outcomes are equally likely.
Step 2: The complementary event A‾\overline{A}: "no tails appears", that is, all three tosses are heads. There is only one outcome, HHH, so n(A‾)=1n(\overline{A}) = 1.
Why: Counting AA directly gives 7 outcomes, while A‾\overline{A} has only 1 outcome, so we use the complementary event.
Step 3: P(A‾)=18P(\overline{A}) = \frac{1}{8}, hence P(A)=1−P(A‾)=1−18=78P(A) = 1 - P(\overline{A}) = 1 - \frac{1}{8} = \frac{7}{8}.
Result: P(A)=78P(A) = \frac{7}{8}.

Example 3

A box has 10 white balls and 10 red balls; the balls are the same size and mass. Take 9 balls from the box at random with an unordered selection. Find the probability that among the 9 balls taken out there is at least one red ball.

Show the solution to example 3

Step 1: Each way of taking 9 balls at once from 20 balls is a combination of 9 out of 20. Therefore n(Ω)=C209n(\Omega) = C_{20}^9.
Step 2: Let KK: "Among the 9 balls taken out there is at least one red ball". The complementary event K‾\overline{K}: "Among the 9 balls taken out there is no red ball", that is, all 9 are white.
Step 3: The number of ways to take 9 white balls from 10 white balls is C109=10C_{10}^9 = 10. So n(K‾)=10n(\overline{K}) = 10.
Step 4: P(K‾)=10C209P(\overline{K}) = \frac{10}{C_{20}^9}, hence P(K)=1−10C209P(K) = 1 - \frac{10}{C_{20}^9}.
Result: P(K)=1−10C209P(K) = 1 - \frac{10}{C_{20}^9}.

Example 4

On the opening day of an electronics shop, the first customer to buy something receives a gift voucher. The gift is a pair of headphones from one of five brands, and each brand's headphones come in two colours, white or black.
a) Draw a tree diagram showing the possibilities for a gift that the first customer can receive from the gift voucher.
b) Find the probability of the event HH: "The first customer receives white headphones from the gift voucher".

Show the solution to example 4

Step 1: Tree diagram: the first level has 5 branches corresponding to the 5 headphone brands (call them brands 1, 2, 3, 4, 5). From each brand branch, 2 smaller branches split off corresponding to the two colours: white and black. So there are 5⋅2=105 \cdot 2 = 10 paths from the root to the tips in total, and each path is one outcome (one specific kind of headphones).
Step 2: The sample space Ω\Omega consists of those 10 outcomes, so n(Ω)=10n(\Omega) = 10.
Step 3: The event HH: "receiving white headphones". For each brand there is exactly one kind of white headphones, so there are 5 favourable outcomes: n(H)=5n(H) = 5.
Step 4: P(H)=n(H)n(Ω)=510=12P(H) = \frac{n(H)}{n(\Omega)} = \frac{5}{10} = \frac{1}{2}.
Result: P(H)=12P(H) = \frac{1}{2}.

Example 5

A class has 20 students, of whom 12 are boys and 8 are girls. Choose 4 students at random to attend a congress. Find the probability that the 4 chosen students include both boys and girls.

Show the solution to example 5

Step 1: Choose 4 students from 20 students, order does not matter, so n(Ω)=C204=4845n(\Omega) = C_{20}^4 = 4845.
Step 2: Let AA: "the 4 chosen students include both boys and girls". The complementary event A‾\overline{A}: "the 4 chosen students are all boys or all girls".
Step 3: The number of ways to choose 4 boys is C124=495C_{12}^4 = 495. The number of ways to choose 4 girls is C84=70C_8^4 = 70. Therefore n(A‾)=495+70=565n(\overline{A}) = 495 + 70 = 565.
Step 4: P(A‾)=5654845=113969P(\overline{A}) = \frac{565}{4845} = \frac{113}{969}. Hence P(A)=1−113969=856969P(A) = 1 - \frac{113}{969} = \frac{856}{969}.
Result: P(A)=856969P(A) = \frac{856}{969}.

Terms

Random experiment
An experiment or action whose outcome is not known in advance.Example: Draw one card from a deck.
Sample space
The set of all possible outcomes of the experiment, denoted Ω\Omega.Example: Toss a coin: Ω={S;N}\Omega = \{S; N\}.
Event
A subset of the sample space, consisting of the favourable outcomes for it.Example: "Getting an odd number" is {1;3;5}\{1; 3; 5\}.
Complementary events
The event "AA does not occur", denoted A‾\overline{A}.Example: The complement of "an odd number comes up" is "an even number comes up".
Certain event
An event that always happens, the set Ω\Omega.Example: "The number of spots is not more than 6" when rolling a die.
Impossible event
An event that never happens, the set ∅\varnothing.Example: "The number of spots is 0" when rolling a die.
Equally likely outcomes
The outcomes that can appear are equally likely.Example: The faces of the die are balanced.
Classical definition of probability
P(A)=n(A)n(Ω)P(A) = \frac{n(A)}{n(\Omega)} when the outcomes are equally likely.Example: Draw 1 of 5 cards, the event AA: "draw the card numbered 1" has P(A)=15P(A) = \frac{1}{5}.
The principle of small probabilities
An event with very small probability can in practice be considered as not going to happen in one experiment.Example: Passengers trust that the plane will not crash on their flight.