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

Notes on Lesson 2: Probability of an event (Maths 10 Chan troi sang tao, Chapter X)

Lesson summary

Suppose an experiment has a sample space Ω\Omega made up of finitely many equally likely outcomes.

In many problems, the experiment is made up of a few consecutive steps.

This formula is like drawing lots: the probability is the ratio between the number of winning lots and the total number of lots, provided every lot is the same.

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

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

When you play a lucky draw game, have you ever wondered how big your chance of winning is? To answer, you need to know how to work out the probability of an event. This lesson will help you understand the classical definition of probability, use tree diagrams and the combination method to work out probabilities, and also understand the principle of small probability, a principle very close to everyday life.

Practise similar problems

Key ideas: what do you need to know?

Probability

  • Suppose an experiment has a sample space Ω\Omega made up of finitely many equally likely outcomes. Then the probability of the event AA is a number, written P(A)P(A), given by the formula:

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 the sets AA and Ω\Omega respectively.

  • Note:

+ The definition above is called the classical definition of probability.
+ For every event AA, we always have 0≤P(A)≤10 \le P(A) \le 1.
+ P(∅)=0P(\emptyset) = 0 and P(Ω)=1P(\Omega) = 1.

  • Example: Roll a fair die. The sample space Ω={1;2;3;4;5;6}\Omega = \{1;2;3;4;5;6\}, n(Ω)=6n(\Omega)=6. The event AA: "the number of spots that comes up is an even number" has A={2;4;6}A=\{2;4;6\}, n(A)=3n(A)=3. So P(A)=36=12P(A)=\frac{3}{6}=\frac{1}{2}.

In plain words: This formula is like drawing lots: the probability is the ratio between the number of winning lots and the total number of lots, provided every lot is the same. The phrase "equally likely outcomes" is very important: if the die is loaded and the 6-spot face comes up more often, you cannot share equally among the 6 faces. Once the outcomes are equally likely, working out the probability is just two counts: count the possible outcomes and count the favourable outcomes.

Phrase by phrase
probability
A measure of the likelihood of an event, written P(A)P(A).Example: Toss a fair coin, the probability of heads is 12\frac{1}{2}.
classical definition of probability
The formula P(A)=n(A)n(Ω)P(A)=\frac{n(A)}{n(\Omega)} when the outcomes are equally likely outcomes.Example: Draw 1 card from 10 cards, the probability of drawing card number 3 is 110\frac{1}{10}.
0≤P(A)≤10 \le P(A) \le 1
Probability is always a non-negative number and does not exceed 1.Example: If you work out P(A)=75P(A)=\frac{7}{5}, it is certainly wrong.

TipBefore calculating probability, ask yourself: are the possible outcomes equally likely outcomes? If so, only then may you use the formula P(A)=n(A)n(Ω)P(A) = \frac{n(A)}{n(\Omega)}.

Working out probability with a tree diagram

  • In many problems, the experiment is made up of a few consecutive steps. Then we can use a tree diagram to list all the outcomes of the sample space and the favourable outcomes for the event.
  • Each level of branches corresponds to one step of the experiment. Each path from the root to a leaf is one outcome of the experiment.
  • The number of leaves of the tree is exactly n(Ω)n(\Omega); the number of paths favourable for event AA is n(A)n(A). From that, calculate P(A)=n(A)n(Ω)P(A)=\frac{n(A)}{n(\Omega)}.
  • Example: Toss a fair coin twice in a row. The tree diagram has 4 leaves: SS,SN,NS,NNSS, SN, NS, NN. The sample space Ω={SS,SN,NS,NN}\Omega=\{SS, SN, NS, NN\}, n(Ω)=4n(\Omega)=4. Event AA: "at least one tails" has favourable outcomes SS,SN,NSSS, SN, NS, so n(A)=3n(A)=3. Therefore P(A)=34P(A)=\frac{3}{4}.

In plain words: A tree diagram is like a map of paths: each path from the root to a leaf is one outcome. Drawing the tree helps you not miss any outcome and makes it easy to see which outcomes are favourable for the event. When the experiment has many steps, the tree also helps you picture how the number of outcomes grows.

Phrase by phrase
tree diagram
A branching drawing following each step of the experiment, used to list the outcomes.Example: Roll a die twice: the tree has two levels, each level with 6 branches.
number of leaves of the tree
The number of paths from the root to a leaf, equal to the number of elements of the sample space.Example: Toss a coin twice, the tree has 4 leaves.
favourable path
A path whose outcome makes the event happen.Example: For the event "at least one tails", the paths SS,SN,NSSS, SN, NS are favourable.

Common mistakesWith a two-step experiment, forgetting to multiply the number of outcomes of each step to get n(Ω)n(\Omega). For example, tossing a coin twice, the sample space has 2⋅2=42 \cdot 2 = 4 outcomes, not 2.

Common mistakesWhen using a tree diagram for an experiment without replacement, still drawing the full number of branches at the later level as at the earlier level, leading to overcounting the outcomes of the sample space.

TipWhen the experiment has many steps, draw a tree diagram: the number of leaves is n(Ω)n(\Omega), the number of favourable paths is n(A)n(A), then form the ratio.

Complementary events

  • Let AA be an event. The event "AA does not occur", denoted A‾\overline{A}, is called the complementary event of AA.
  • We have A‾=Ω∖A\overline{A} = \Omega \setminus A.
  • The formula linking probabilities: P(A‾)+P(A)=1P(\overline{A}) + P(A) = 1, or P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A).
  • Example: Roll a die. Event AA: "the number of spots is an even number" has P(A)=12P(A)=\frac{1}{2}. The complementary event A‾\overline{A}: "the number of spots is an odd number" has P(A‾)=1−12=12P(\overline{A}) = 1 - \frac{1}{2} = \frac{1}{2}.

In plain words: A complementary event is the "rest" of the sample space: if AA does not occur then A‾\overline{A} occurs, and vice versa. These two events together make up exactly Ω\Omega without overlapping, so the sum of their probabilities equals 1. When you meet an event like "at least", "more than" where counting directly is complicated, you should think right away of the complementary event.

Phrase by phrase
complementary event
The event that occurs if and only if the given event does not occur.Example: The complement of "drawing a red ball" is "drawing a ball that is not red".
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;2}A=\{1;2\} then A‾={3;4}\overline{A}=\{3;4\}.
P(A‾)+P(A)=1P(\overline{A}) + P(A) = 1
The sum of the probabilities of an event and its complementary event is always 1.Example: P(A)=0,3P(A)=0,3 then P(A‾)=0,7P(\overline{A})=0,7.

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

TipWhen you meet the phrase "at least", "at least one", you should think at once of the complementary event, because the complement of "at least one" is "none", which is usually easier to count.

Principle of small probabilities

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

In plain words: This principle helps you make decisions in life: things with extremely small probability are usually treated as not happening in a single try. But "small" has no common threshold for every case. A phone breaking with probability 0,0010,001 may be acceptable, but a plane engine catching fire with probability 0,0010,001 cannot be considered small because the consequences are too serious. So when judging whether a probability is small, you need to consider the consequences of the event too.

Phrase by phrase
principle of small probabilities
An event with a very small probability will not occur in one experiment.Example: The probability of winning the jackpot is very small, so many people do not buy lottery tickets.
depends on each specific problem
The probability level considered small changes depending on the situation and the consequences.Example: A probability of 0,0010,001 is small for a phone fault but not small for a plane crash.

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 at random 2 cards at the same time from the box.
a) Let Ω\Omega be the sample space. Calculate the number of elements of Ω\Omega.
b) Calculate 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 way of choosing 2 cards out of 5 cards, order does not matter because they are drawn at the same time. Therefore n(Ω)=C52=10n(\Omega) = C_5^2 = 10.
Why: Drawn at the same time so order is not counted, use combination.
Step 2: The sum of two numbers is an odd number when one number is odd and one is even. Among the 5 cards there are 3 odd numbers (1, 3, 5) and 2 even numbers (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: Probability 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}.

Example 2

On its opening day, an electronics shop gives a gift to its first customer: a pair of headphones from one of five brands, each brand has two colours, white or black. All kinds of headphones are equally likely to be chosen.
a) Draw a tree diagram showing the possibilities of the gift.
b) Calculate the probability of event HH: "The first customer receives white headphones".

Show the solution to example 2

Step 1: The tree diagram has two levels: the first level is 5 brands (5 branches), from each brand 2 colour branches split off (white, black). The number of leaves is 5⋅2=105 \cdot 2 = 10, so n(Ω)=10n(\Omega) = 10.
Why: Each path from the root to a leaf is one specific type of headphones (brand and colour).
Step 2: Event HH: "getting white headphones". There are 5 brands, each brand has one white type, so n(H)=5n(H) = 5.
Step 3: 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 3

A box has 10 white balls and 10 red balls; the balls have the same size and mass. Take an unordered selection of 9 balls at random from the box. Calculate 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 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 there is at least one red ball". The complementary event K‾\overline{K}: "Among the 9 balls there is no red ball", that is, all 9 are white.
Why: Counting KK directly requires splitting into many cases (1 red, 2 red, …, 9 red), while K‾\overline{K} is only one case, so use the complementary event.
Step 3: The number of ways to take 9 white balls from 10 white balls is n(K‾)=C109=10n(\overline{K}) = C_{10}^9 = 10. Therefore P(K‾)=10C209P(\overline{K}) = \frac{10}{C_{20}^9}.
Step 4: P(K)=1−P(K‾)=1−10C209P(K) = 1 - P(\overline{K}) = 1 - \frac{10}{C_{20}^9}.
Result: P(K)=1−10C209P(K) = 1 - \frac{10}{C_{20}^9}.

Common mistakesWhen calculating the probability of an event "at least one…", many students take the wrong complementary event, for example with "at least one girl" they take the complement as "at least one boy". The correct complement must be "no girl at all", that is, all boys.

Example 4

A box has 5 blue marbles and 7 white marbles of the same size and mass. Take two marbles in two ways:
Way 1: Take one marble at random, look at its colour, then put it back in the box. After that, take one marble at random again.
Way 2: Take an unordered selection of two marbles at once from the box.
Let AA be the event "Both times a white marble is taken". With which way is the event AA more likely to happen?

Show the solution to example 4

Step 1: In way 1, each time there are 12 ways (because the marble is put back), two times give n(Ω)=12⋅12=144n(\Omega) = 12 \cdot 12 = 144. The number of favourable outcomes for AA is n(A)=7⋅7=49n(A) = 7 \cdot 7 = 49. Therefore P(A)=49144P(A) = \frac{49}{144}.
Step 2: In way 2, take an unordered selection of 2 marbles from 12 marbles, n(Ω)=C122=66n(\Omega) = C_{12}^2 = 66. The number of ways to take 2 white marbles from 7 white marbles is n(A)=C72=21n(A) = C_7^2 = 21. Therefore P(A)=2166=722P(A) = \frac{21}{66} = \frac{7}{22}.
Step 3: Compare: 49144≈0,3403\frac{49}{144} \approx 0,3403, 722≈0,3182\frac{7}{22} \approx 0,3182. So 49144>722\frac{49}{144} > \frac{7}{22}.
Result: Way 1 gives the greater probability, that is, the event AA is more likely to happen.

Common mistakesCounting n(Ω)n(\Omega) with combinations but counting n(A)n(A) with k-permutations (or the other way round), leading to a wrong ratio. You need to keep one counting method: if it is an unordered selection then both use combinations, if it is an ordered selection then both use k-permutations.

Example 5

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

Show the solution to example 5

Step 1: Choose 4 out of 20 students, order does not matter, n(Ω)=C204=4845n(\Omega) = C_{20}^4 = 4845.
Step 2: Let AA: "the 4 students include both boys and girls". The complementary event A‾\overline{A}: "the 4 students are all boys or all girls".
Why: Counting AA requires splitting into three cases (1 girl, 2 girls, 3 girls), while A‾\overline{A} is only two disjoint cases, so use P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A).
Step 3: The number of ways to choose all boys is C124=495C_{12}^4 = 495, all 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

Experiment
An experiment or action whose outcome is not known in advance.Example: Roll a die.
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: The event "an even number comes up" when rolling a die is {2;4;6}\{2;4;6\}.
Complementary events
The event "AA does not happen", denoted A‾\overline{A}.Example: The complement of "tails comes up" is "heads comes up".
Probability
A measure of the likelihood that an event happens, calculated by P(A)=n(A)n(Ω)P(A)=\frac{n(A)}{n(\Omega)}.Example: Rolling a die, the probability of getting a 6 is 16\frac{1}{6}.
Classical definition of probability
The formula for probability when the outcomes are equally likely outcomes.Example: Draw 1 card from 5 cards, the probability of drawing card number 1 is 15\frac{1}{5}.
Principle of small probabilities
An event with a very small probability will not occur in one experiment.Example: Passengers trust that the plane will not crash on their flight.
Tree diagram
A diagram that branches step by step through the experiment, used to list the outcomes.Example: Roll a die twice: the tree has two levels, each level with 6 branches.