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

Notes on Lesson 29: Addition formula for probability (Maths 11 Ket noi tri thuc)

Lesson summary

The union event of AA and BB is the event "AA happens or BB happens", written A∪BA \cup B.

This formula is called the addition formula for probability.

The word "union" here is like the word "or" in everyday life: buy a ticket or get one as a gift, and either way you get into the cinema.

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

  • Dùng công thức cộng xác suất; tính xác suất bằng sơ đồ hình cây, phương pháp tổ hợp.

A box has 5 white spheres and 3 black spheres, and two are taken out. What is the probability of getting at least one white one? Counting directly works, but if a problem has three or four events tangled together, counting easily misses something. This lesson gives you a neater tool: the addition formula for probability, used to find the probability of a union event, that is, the event "this one or that one happens".

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Union events and mutually exclusive events

  • Given two events AA and BB. The union event of AA and BB is the event "AA happens or BB happens", written A∪BA \cup B.
  • Mutually exclusive events: the event AA and the event BB are called mutually exclusive if AA and BB do not happen at the same time. Two events AA and BB are mutually exclusive if and only if A∩B=∅A \cap B = \varnothing.
  • Reminder (Lesson 28): the intersection event A∩BA \cap B is also written ABAB.
  • Example: roll a die. Let AA be the event "the number of dots is divisible by 2", BB be the event "the number of dots is divisible by 3". Then A∪BA \cup B is "the number of dots is divisible by 2 or divisible by 3", that is, 2, 3, 4 or 6 dots come up. These two events are not mutually exclusive because the 6-dot face makes both happen.
  • While AA is "an even number of dots comes up", CC is "an odd number of dots comes up", then AA and CC are mutually exclusive, because one roll cannot be both even and odd.

In plain words: The word "union" here is like the word "or" in everyday life: buy a ticket or get one as a gift, and either way you get into the cinema. While "mutually exclusive" means two things that cannot happen at the same time, like a student who cannot both pass and fail. To know whether two events are mutually exclusive, ask yourself: is there any outcome that makes both happen? If yes, they are not mutually exclusive. This question matters a lot, because the addition formula has two versions, and which one to use depends on that answer.

Phrase by phrase
Union event
The event "AA happens or BB happens", written A∪BA \cup B.Example: Roll a die: if AA is "rolling a 2" and BB is "rolling a 5", then A∪BA \cup B is "rolling a 2 or a 5".
do not happen at the same time
No outcome makes both events true at once.Example: Toss a coin: "heads" and "tails" do not happen at the same time.
A∩B=∅A \cap B = \varnothing
The set of favourable outcomes for both AA and BB is empty.Example: With AA even number and CC odd number when rolling a die: A∩C=∅A \cap C = \varnothing.

The addition formula for probability for any two events

Given two events AA and BB. Then we have P(A∪B)=P(A)+P(B)−P(AB)P(A \cup B) = P(A) + P(B) - P(AB). This formula is called the addition formula for probability.

  • P(AB)P(AB), that is P(A∩B)P(A \cap B), is the probability that both AA and BB happen together.
  • Example: roll a die. AA is "the number of dots is divisible by 2", so A={2;4;6}A = \{2; 4; 6\}, P(A)=36P(A) = \frac{3}{6}. BB is "the number of dots is divisible by 3", so B={3;6}B = \{3; 6\}, P(B)=26P(B) = \frac{2}{6}. A∩B={6}A \cap B = \{6\} so P(A∩B)=16P(A \cap B) = \frac{1}{6}. Therefore P(A∪B)=36+26−16=46=23P(A \cup B) = \frac{3}{6} + \frac{2}{6} - \frac{1}{6} = \frac{4}{6} = \frac{2}{3}.
  • Check again by counting: A∪B={2;3;4;6}A \cup B = \{2; 3; 4; 6\} has 4 outcomes, exactly equal to 46\frac{4}{6}.

In plain words: Why must we subtract P(A∩B)P(A \cap B)? Because when we add P(A)P(A) and P(B)P(B), the shared part is counted twice: the face with 6 dots belongs to both AA and BB, so it is counted once in P(A)P(A) and once in P(B)P(B). Subtracting it once makes things fair again. It is like counting the friends who like football or basketball: anyone who likes both is counted twice, so you must subtract. If the two events are mutually exclusive, the shared part is empty, P(A∩B)=0P(A \cap B) = 0, and this formula simplifies to a simpler form.

Phrase by phrase
P(A∪B)=P(A)+P(B)−P(AB)P(A \cup B) = P(A) + P(B) - P(AB)
Add the two probabilities, then subtract the part counted twice.Example: 36+26−16=23\frac{3}{6} + \frac{2}{6} - \frac{1}{6} = \frac{2}{3}.
both AA and BB happen together
The intersection, that is, the outcomes that make both events true.Example: The face with 6 dots makes "divisible by 2" and "divisible by 3" both true.
Given two events AA and BB
The addition formula for probability holds for any two events, with no need for them to be mutually exclusive or independent.Example: It can be applied to two events that have a shared part.

TipRemember the addition formula by the phrase "add two, subtract the common": P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B); when mutually exclusive the common part is 0, so no subtraction is needed.

The addition formula for two mutually exclusive events

If AA and BB are two mutually exclusive events, then P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B). This is a corollary of the addition formula for probability.

  • Since A∩B=∅A \cap B = \varnothing, we have P(A∩B)=0P(A \cap B) = 0, and the general formula simplifies to a sum.
  • Example: a box has 4 red spheres numbered 1, 2, 3, 4 and 3 blue spheres numbered 5, 6, 7, all the same size. Take one sphere at random. Let AA be "a red sphere is drawn" and BB be "a sphere numbered 7 is drawn". The two events are mutually exclusive because sphere number 7 is blue. P(A)=47P(A) = \frac{4}{7}, P(B)=17P(B) = \frac{1}{7}, so P(A∪B)=57P(A \cup B) = \frac{5}{7}.
  • Extension, not given in the book: if A1,A2,...,AkA_1, A_2, ..., A_k are pairwise mutually exclusive, then P(A1∪A2∪...∪Ak)=P(A1)+P(A2)+...+P(Ak)P(A_1 \cup A_2 \cup ... \cup A_k) = P(A_1) + P(A_2) + ... + P(A_k).

In plain words: When two things cannot happen at the same time, there is no shared part to subtract, so just add them directly. Remember well: you may only add directly after checking that they are mutually exclusive. Many students think that two "different" events can just be added, but being different does not mean mutually exclusive: "rolling an even number" and "rolling a number greater than 3" are different, yet they both happen on faces 4 and 6. But once events are mutually exclusive, you can add as many as you like, as long as every pair does not overlap.

Phrase by phrase
mutually exclusive
They cannot happen together in one run of the experiment.Example: "A red sphere is drawn" and "a sphere numbered 7 is drawn" are mutually exclusive.
P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)
The simplified addition formula, used when A∩B=∅A \cap B = \varnothing.Example: 47+17=57\frac{4}{7} + \frac{1}{7} = \frac{5}{7}.
pairwise mutually exclusive
Pick any two events in the group and they do not happen together.Example: The three events "rolling a 1", "rolling a 2", "rolling a 3" are pairwise mutually exclusive.

Common mistakesAdding P(A)+P(B)P(A) + P(B) directly when AA, BB are not yet mutually exclusive, forgetting to subtract P(A∩B)P(A \cap B).

Common mistakesThinking two different events are mutually exclusive. "An even number comes up" and "a number greater than 3 comes up" are different but happen together on faces 4 and 6.

Use complementary events to compute probability

  • The complementary event of event AA, denoted A‾\overline{A}, is the event "AA does not happen". The two events AA and A‾\overline{A} are mutually exclusive and A∪A‾=ΩA \cup \overline{A} = \Omega.
  • For every event AA: P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A).
  • Example: roll a fair die three times. Find the probability of getting a face with 6 dots at least once. Each roll has 6 outcomes, so n(Ω)=6⋅6⋅6=216n(\Omega) = 6 \cdot 6 \cdot 6 = 216. Let AA be the event "a face with 6 appears at least once", then A‾\overline{A} is "all three rolls do not show a face with 6"; each roll has 5 outcomes that are not a face with 6, so n(A‾)=5⋅5⋅5=125n(\overline{A}) = 5 \cdot 5 \cdot 5 = 125. Therefore P(A‾)=125216P(\overline{A}) = \frac{125}{216} and P(A)=1−125216=91216P(A) = 1 - \frac{125}{216} = \frac{91}{216}.
  • How to use it: when the phrase "at least" appears, you should usually think of the complementary event, because "at least one" is the opposite of "none", which is much easier to compute.

In plain words: Counting "at least one" means considering one time, two times, three times, which is very messy. Looking from the opposite side, there is only one situation: none at all. It is like wanting to know whether anyone in the class has a birthday in month 12: counting each student is tiring, you only need to consider the case where nobody does. The probabilities of an event and its complementary event always add up to 1, because it either happens or does not happen, there is no third possibility.

Phrase by phrase
Complementary event
The event "AA does not happen", denoted A‾\overline{A}.Example: If AA is "rolling a 6", then A‾\overline{A} is "not rolling a 6".
P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A)
The two probabilities add up to 1.Example: P(A)=91216P(A) = \frac{91}{216} then P(A‾)=125216P(\overline{A}) = \frac{125}{216}.
at least once
The phrase signals that you should switch to the complementary event, "not once".Example: In three rolls there is at least one face with 6.

Common mistakesAdding probabilities to more than 1 and leaving it as is, while probability always lies between 0 and 1.

TipSeeing the words "at least" should make you think at once of complementary events, because the complement of "at least one" is "none at all".

Compute probability using the combination method

When the outcomes of the experiment are equally likely outcomes, the probability of event AA is P(A)=n(A)n(Ω)P(A) = \frac{n(A)}{n(\Omega)} (learned in grade 10), where n(Ω)n(\Omega) is the number of elements of the sample space, and n(A)n(A) is the number of favourable outcomes for AA.

  • For a problem of choosing a group of objects, count with combinations: choosing kk out of nn objects has CnkC_n^k ways, order does not matter.
  • Example: a box has 5 white spheres and 3 black spheres, all the same size. Take 2 spheres at random. The number of ways to take them is n(Ω)=C82=28n(\Omega) = C_8^2 = 28. Let AA be "at least one white sphere is taken". The complementary event A‾\overline{A} is "2 black spheres are taken", which has C32=3C_3^2 = 3 ways. So P(A)=1−328=2528P(A) = 1 - \frac{3}{28} = \frac{25}{28}.
  • If counting directly: 1 white and 1 black has 5⋅3=155 \cdot 3 = 15 ways, 2 white has C52=10C_5^2 = 10 ways, the sum is 15+10=2515 + 10 = 25, which matches 2528\frac{25}{28}.

In plain words: The combination method is clever counting instead of listing. Choosing 2 spheres from 8 does not need to know which comes first and which comes after, so use C82C_8^2, not a k-permutation. Why say "all the same size"? Because only when every way of taking is equally likely outcomes may you divide the number of ways. When you see "at least", combine combinations with complementary events: counting the complement usually has far fewer cases.

Phrase by phrase
equally likely outcomes
Every outcome of the experiment has the same likelihood.Example: Rolling a fair die, the 6 faces are equally likely outcomes.
P(A)=n(A)n(Ω)P(A) = \frac{n(A)}{n(\Omega)}
Probability equals the number of favourable outcomes divided by the number of possible outcomes.Example: 2528\frac{25}{28} in the example above.
CnkC_n^k
The number of ways to choose kk elements from nn elements, regardless of order.Example: C82=28C_8^2 = 28.
order does not matter
Taking sphere 1 then sphere 2, or sphere 2 then sphere 1, is still one way of taking.Example: Taking 2 spheres at the same time uses combinations, not k-permutations.

Common mistakesMixing two counting methods: the sample space is counted with k-permutations A102A_{10}^2 but the favourable outcomes are counted with combinations C102C_{10}^2 (or the other way round), giving a wrong result. The numerator and denominator must use the same counting method, both counting order or both not counting order.

Worked examples

Example 1

Roll a fair die. Let AA be the event "the number of dots is divisible by 2", BB be the event "the number of dots is divisible by 3". Are the two events AA, BB mutually exclusive? Calculate P(A∪B)P(A \cup B).

Show the solution to example 1

Step 1: List A={2;4;6}A = \{2; 4; 6\}, B={3;6}B = \{3; 6\}.
Step 2: Find the common part: A∩B={6}A \cap B = \{6\}, which is not empty, so AA and BB are not mutually exclusive.
Why: The face with 6 dots makes both events happen at once, so you cannot simply add P(A)+P(B)P(A) + P(B).
Step 3: P(A)=36P(A) = \frac{3}{6}, P(B)=26P(B) = \frac{2}{6}, P(A∩B)=16P(A \cap B) = \frac{1}{6}.
Step 4: P(A∪B)=36+26−16=46=23P(A \cup B) = \frac{3}{6} + \frac{2}{6} - \frac{1}{6} = \frac{4}{6} = \frac{2}{3}.
Step 5: Check again by counting: A∪B={2;3;4;6}A \cup B = \{2; 3; 4; 6\} has 4 outcomes, exactly equal to 46\frac{4}{6}.
Result: AA and BB are not mutually exclusive; P(A∪B)=23P(A \cup B) = \frac{2}{3}.

Common mistakesUsing P(A∩B)=0P(A \cap B) = 0 without checking whether AA and BB are mutually exclusive: you must list the common part of the two events before deciding whether to subtract or not.

Example 2

A box has 4 red spheres numbered 1, 2, 3, 4 and 3 blue spheres numbered 5, 6, 7, all the same size. Take one sphere at random. Let AA be "a red sphere is taken", BB be "a sphere numbered 7 is taken". Show that AA, BB are mutually exclusive, then calculate P(A∪B)P(A \cup B).

Show the solution to example 2

Step 1: The sample space has 7 equally likely outcomes.
Step 2: The sphere numbered 7 is blue, so no outcome is both red and numbered 7: A∩B=∅A \cap B = \varnothing.
Why: Once they are mutually exclusive, P(A∩B)=0P(A \cap B) = 0, and the addition formula reduces to the sum of the two probabilities.
Step 3: P(A)=47P(A) = \frac{4}{7}, P(B)=17P(B) = \frac{1}{7}.
Step 4: P(A∪B)=47+17=57P(A \cup B) = \frac{4}{7} + \frac{1}{7} = \frac{5}{7}.
Result: P(A∪B)=57P(A \cup B) = \frac{5}{7}.

TipBefore using the formula, ask yourself two questions: is there any outcome that makes both happen together, and are the outcomes equally likely outcomes.

Example 3

Roll a fair die three times. Calculate the probability that at least one roll shows the face with 6 dots.

Show the solution to example 3

Step 1: Let AA be the event "at least one roll shows the face with 6". The complementary event A‾\overline{A} is "all three rolls do not show the face with 6".
Why: "At least one" includes one time, two times, three times, and counting directly easily misses cases; the complement has only one situation.
Step 2: Each roll has 6 equally likely outcomes, three rolls have n(Ω)=6⋅6⋅6=216n(\Omega) = 6 \cdot 6 \cdot 6 = 216.
Step 3: Each roll has 5 outcomes that are not the face with 6, so n(A‾)=5⋅5⋅5=125n(\overline{A}) = 5 \cdot 5 \cdot 5 = 125, therefore P(A‾)=125216P(\overline{A}) = \frac{125}{216}.
Step 4: P(A)=1−125216=91216P(A) = 1 - \frac{125}{216} = \frac{91}{216}.
Result: P(A)=91216P(A) = \frac{91}{216}.

Common mistakesUsing P(A‾)=1−P(A)P(\overline{A}) = 1 - P(A) but misunderstanding complementary events: the complement of "at least one 6" is "no 6 at all", not "all three are 6".

Example 4

A box has 5 white spheres and 3 black spheres, all the same size. Take 2 spheres at random. Calculate the probability of taking at least one white sphere.

Show the solution to example 4

Step 1: The number of ways to take 2 spheres from 8, regardless of order: n(Ω)=C82=28n(\Omega) = C_8^2 = 28.
Step 2: Let AA be "at least one white sphere is taken". The complementary event A‾\overline{A} is "2 black spheres are taken".
Why: Taking 2 spheres at the same time does not care which comes first, so use combinations, not k-permutations.
Step 3: n(A‾)=C32=3n(\overline{A}) = C_3^2 = 3, so P(A‾)=328P(\overline{A}) = \frac{3}{28}.
Step 4: P(A)=1−328=2528P(A) = 1 - \frac{3}{28} = \frac{25}{28}.
Step 5: Check by direct counting: 1 white and 1 black has 5⋅3=155 \cdot 3 = 15 ways, 2 white has C52=10C_5^2 = 10 ways, the sum is 25 ways, which matches.
Result: P(A)=2528P(A) = \frac{25}{28}.

Example 5

A class has 40 students, of whom 20 are gifted student competition in Maths, 15 are gifted student competition in Literature and 8 are gifted student competition in both subjects. Choose one student of the class at random. Calculate the probability that this student is gifted student competition in at least one of the two subjects, Maths and Literature.

Show the solution to example 5

Step 1: The sample space consists of 40 students, n(Ω)=40n(\Omega) = 40. Let AA be "a gifted student in Maths is chosen", BB be "a gifted student in Literature is chosen".
Step 2: P(A)=2040P(A) = \frac{20}{40}, P(B)=1540P(B) = \frac{15}{40}, P(A∩B)=840P(A \cap B) = \frac{8}{40} because there are 8 students gifted in both subjects.
Step 3: P(A∪B)=2040+1540−840=2740P(A \cup B) = \frac{20}{40} + \frac{15}{40} - \frac{8}{40} = \frac{27}{40}.
Why: the 8 students gifted in both are counted twice when adding 20 and 15, so one count must be subtracted; the number of students gifted in at least one subject is 20+15−8=2720 + 15 - 8 = 27.
Step 4: Check by counting: the class has 40−27=1340 - 27 = 13 students gifted in neither of these two subjects, so the required probability is 2740\frac{27}{40}, which matches.
Result: P(A∪B)=2740P(A \cup B) = \frac{27}{40}.

Example 6

A box has 6 white spheres and 4 black spheres, all the same size. Two spheres are drawn at random one after another, without putting the drawn sphere back into the box. Find the probability that the two drawn spheres are of different colours.

Show the solution to example 6

Step 1: The number of ways to draw 2 spheres from 10 in order, counting order: n(Ω)=10⋅9=90n(\Omega) = 10 \cdot 9 = 90.
Why: drawing one after another means the first sphere differs from the second, so order must be counted.
Step 2: Let AA be "the first sphere is white, the second is black", BB be "the first sphere is black, the second is white". These two events are mutually exclusive.
Step 3: n(A)=6⋅4=24n(A) = 6 \cdot 4 = 24, n(B)=4⋅6=24n(B) = 4 \cdot 6 = 24.
Step 4: P(A)=2490P(A) = \frac{24}{90}, P(B)=2490P(B) = \frac{24}{90}, so P(A∪B)=2490+2490=4890=815P(A \cup B) = \frac{24}{90} + \frac{24}{90} = \frac{48}{90} = \frac{8}{15}.
Why: "different colours" is the union of two cases that cannot happen together, so the two probabilities are simply added.
Step 5: Check with complementary events: two spheres of the same colour have 6⋅5+4⋅3=426 \cdot 5 + 4 \cdot 3 = 42 ways, so P=1−4290=4890P = 1 - \frac{42}{90} = \frac{48}{90}, which matches.
Result: P=815P = \frac{8}{15}.

TipAfter calculating, check in one of two ways: count the favourable outcomes directly, or calculate through complementary events; both ways must give the same number.

Example 7

(Extension, not in the book: addition of probabilities for three pairwise mutually exclusive events.) A box has 6 red spheres, 5 blue spheres and 4 yellow spheres, all the same size. Two spheres are drawn at random at the same time. Find the probability that the two drawn spheres are of the same colour.

Show the solution to example 7

Step 1: Unordered selection of 2 spheres from 15, order not counted: n(Ω)=C152=105n(\Omega) = C_{15}^2 = 105.
Step 2: Let A1A_1, A2A_2, A3A_3 be the events "both spheres are red", "both spheres are blue", "both spheres are yellow" respectively. These three events are pairwise mutually exclusive, because two spheres of the same colour can only be one colour. The event "the two spheres are of the same colour" is A1∪A2∪A3A_1 \cup A_2 \cup A_3.
Why: the three cases cannot happen at the same time, so the three probabilities are simply added, with no common part to subtract.
Step 3: n(A1)=C62=15n(A_1) = C_6^2 = 15, n(A2)=C52=10n(A_2) = C_5^2 = 10, n(A3)=C42=6n(A_3) = C_4^2 = 6.
Step 4: P(A1∪A2∪A3)=15+10+6105=31105P(A_1 \cup A_2 \cup A_3) = \frac{15 + 10 + 6}{105} = \frac{31}{105}.
Result: The probability that the two drawn spheres are of the same colour is 31105\frac{31}{105}.

Terms

Union event
The event "AA happens or BB happens", written A∪BA \cup B.Example: "An even number comes up or a number divisible by 3 comes up".
Mutually exclusive events
Two events that do not happen at the same time.Example: "Tails comes up" and "heads comes up".
Complementary event
The event "AA does not happen", denoted A‾\overline{A}.Example: The A‾\overline{A} of "at least one 6" is "no 6 at all".
The addition formula for probability
P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).Example: 36+26−16=23\frac{3}{6} + \frac{2}{6} - \frac{1}{6} = \frac{2}{3}.
Intersection
The set of outcomes that make both AA and BB happen together.Example: The face with 6 pips is the intersection of "even number" and "divisible by 3".
Equally likely outcomes
Outcomes that have the same likelihood of happening.Example: The 6 faces of a fair die.
Combination CnkC_n^k
The number of ways to choose kk from nn elements, order not counted.Example: C32=3C_3^2 = 3.
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\}.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 11.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 1 of 1Written answer · Applying

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

Một hộp đựng 8 viên bi màu xanh và 6 viên bi màu đỏ, có cùng kích thước và khối lượng. Bạn Sơn lấy ngẫu nhiên một viên bi từ hộp (lấy xong không trả lại vào hộp). Tiếp đó đến lượt bạn Tùng lấy ngẫu nhiên một viên bi từ hộp đó. Tính xác suất để bạn Tùng lấy được viên bi màu xanh.

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

Additional exercises

  • Dùng công thức cộng xác suất tổng quát (Advanced applying)
  • Phối hợp công thức cộng với biến cố đối (Advanced applying)

Challenge yourself

  • Phối hợp công thức cộng với biến cố đối (Applying)
  • Dùng công thức cộng xác suất tổng quát (Applying)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in