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

Notes on Lesson 2: Union events and the addition rule for probability (Maths 11 Chan troi sang tao, Chapter IX)

Lesson summary

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

Two events AA and BB are called mutually exclusive if they do not occur at the same time.

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.

  • Nhận biết được biến cố hợp, biến cố xung khắc
  • Tính được xác suất bằng công thức cộng, dùng sơ đồ hình cây

A box has 5 white spheres and 3 black spheres; two are drawn. What is the probability of getting at least one white sphere? Direct counting works, but if a problem involves three or four events tangled together, counting easily misses cases. This lesson gives you a neater tool: union events and the addition rule for probabilities, used to compute the probability of the event "this or that happens". Through it you also learn when you may add two probabilities directly, when you must subtract the common part, and how to use a tree diagram to compute the probability of a union event.

Practise similar problems

Key ideas: what do you need to know?

Union event

  • Given two events AA and BB. The event: "AA or BB happens", denoted A∪BA \cup B, is called the union event of AA and BB.
  • The event A∪BA \cup B happens when at least one of the two events AA and BB happens.
  • The set describing event A∪BA \cup B is the union of the two sets describing event AA and event BB.
  • Example: roll a die. Let AA be the event "the number of dots is divisible by 2", BB 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.

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. The union event A∪BA \cup B is the event "at least one of the two events happens", not excluding the case where both happen together. When listing the favourable outcomes for A∪BA \cup B, you gather all the elements of AA and of BB, writing a common element only once. As in the example above, 6 is divisible by both 2 and 3, and it appears in A∪BA \cup B exactly once.

Phrase by phrase
union event
The event "AA or BB happens", denoted A∪BA \cup B.Example: Rolling a die, if AA is "2 dots" and BB is "5 dots", then A∪BA \cup B is "2 or 5 dots".
happens when at least one of the two events AA and BB happens
The condition for the union event to happen, including the case where both happen together.Example: If AA happens and BB does not happen, then A∪BA \cup B still happens.
the union of the two sets describing event AA and event BB
The set of favourable outcomes for A∪BA \cup B is the union of the set of favourable outcomes for AA and for BB.Example: For A={2;4;6}A = \{2; 4; 6\}, B={3;6}B = \{3; 6\}, we have A∪B={2;3;4;6}A \cup B = \{2; 3; 4; 6\}.

Mutually exclusive events

  • Two events AA and BB are called mutually exclusive if they do not occur at the same time.
  • Two events AA and BB are mutually exclusive if and only if A∩B=∅A \cap B = \varnothing.
  • Example: roll a die. Let AA be the event "the number of dots is an even number", CC be the event "the number of dots is an odd number". These two events are mutually exclusive because one roll cannot show both an even number and an odd number.
  • Note: two complementary events are mutually exclusive, but two mutually exclusive events are not necessarily complementary.

In plain words: Mutually exclusive means the two things cannot happen at the same time, like you 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. Also note: two complementary events are certainly mutually exclusive, but two mutually exclusive events are not necessarily complementary, for example "rolling a 1" and "rolling a 2" are mutually exclusive but not complementary because there are many other outcomes.

Phrase by phrase
mutually exclusive
Two events that do not occur at the same time.Example: Toss a coin, "heads" and "tails" are mutually exclusive.
A∩B=∅A \cap B = \varnothing
The set of favourable outcomes for both AA and BB is empty.Example: With AA even number, CC odd number when rolling a die: A∩C=∅A \cap C = \varnothing.
do not occur at the same time
No outcome makes both events true at the same time.Example: Toss a coin, "heads" and "tails" do not occur at the same time.

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

Addition formula for probability of two mutually exclusive events

  • Given two mutually exclusive events AA and BB. Then P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B).
  • This is the addition rule for two mutually exclusive events.
  • 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 "getting a red sphere", BB be "getting a sphere numbered 7". 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}.

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

Phrase by phrase
mutually exclusive
They cannot occur together in one run of the experiment.Example: "Getting a red sphere" and "getting a sphere numbered 7" 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 occur together.Example: The three events "rolling a 1", "rolling a 2", "rolling a 3" are pairwise mutually exclusive.

Common mistakesSeeing two different events and assuming they are mutually exclusive. "Even number" and "greater than 3" are different but happen together on faces 4 and 6, so they are not mutually exclusive.

Addition formula for probability of two arbitrary events

  • Given two events AA and BB. Then 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 occur together.
  • Example: roll a die. AA is "the number of dots 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 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}. Thus 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 subtract P(A∩B)P(A \cap B)? Because when adding P(A)P(A) and P(B)P(B), the overlap 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 it fair again. It is like counting friends who like football or basketball: those who like both are counted twice, so you must subtract. If the two events are mutually exclusive, the overlap is empty, P(A∩B)=0P(A \cap B) = 0, and this formula reduces to the 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 occur 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 two arbitrary events, no need for mutually exclusive or independent.Example: It can be applied to two events that overlap.

Common mistakesAdding straight P(A)+P(B)P(A) + P(B) when AA, BB are not yet mutually exclusive, forgetting to subtract P(A∩B)P(A \cap B). You must check whether the two events can happen together before deciding which formula to use.

Tree diagram

  • A tree diagram is a diagram describing the possible outcomes of an experiment with several steps; each step corresponds to a layer of branches, and each outcome of that step is a branch.
  • On each branch segment we usually write the probability of the corresponding outcome at that step. If the steps are independent, the probability of a path from root to leaf equals the product of the probabilities written on the segments of that path.
  • To compute the probability of an event, we add the probabilities of the paths (from root to leaf) that make that event happen.
  • Example: toss a fair coin twice. The tree diagram has two steps, each step with two branches (S,N)(S, N) with probability 12\frac{1}{2}. The four paths SS,SN,NS,NNSS, SN, NS, NN all have probability 12⋅12=14\frac{1}{2}\cdot\frac{1}{2}=\frac{1}{4}. The probability of getting heads at least once is the sum of the probabilities of the paths SS,SN,NSSS, SN, NS: 14+14+14=34\frac{1}{4}+\frac{1}{4}+\frac{1}{4}=\frac{3}{4}.

In plain words: A tree diagram helps you see the steps of the experiment clearly and not miss any case. Each path from the root to a leaf is a complete outcome; the probability of a path equals the product of the probabilities along that path (when the steps are independent). To find the probability of an event, add the probabilities of all the paths that make that event happen. This method is especially useful when the experiment has many steps.

Phrase by phrase
Tree diagram
A diagram that describes the outcomes of a multi-step experiment using branches.Example: Toss a coin twice: step 1 has branches S/NS/N, and from each branch there are S/NS/N for step 2.
probability of a path
It equals the product of the probabilities written on the segments of that path (when the steps are independent).Example: The path SSSS when tossing a coin twice has probability 12⋅12=14\frac{1}{2}\cdot\frac{1}{2}=\frac{1}{4}.
add the probabilities of the corresponding paths
The probability of an event equals the sum of the probabilities of the paths that make that event happen.Example: The probability of at least one heads is 14+14+14=34\frac{1}{4}+\frac{1}{4}+\frac{1}{4}=\frac{3}{4}.

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 the same time, 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 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 mistakesGiving P(A∩B)=0P(A \cap B) = 0 without checking whether AA and BB are mutually exclusive: you must list the intersection of the two events before deciding whether to subtract or not.

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

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 drawn”, BB be “a sphere numbered 7 is drawn”. 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: Since they are mutually exclusive, P(A∩B)=0P(A \cap B) = 0, 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}.

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 6”. The complementary event A‾\overline{A} is “all three rolls do not show the face 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 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 the complementary event: the complement of "at least one 6" is "no 6 at all", not "all three are 6".

TipWhen you see "at least", think straight away of the complementary event, because the complement of "at least one" is "none".

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 drawing at least one white sphere.

Show the solution to example 4

Step 1: The number of ways to take 2 spheres from 8, order not mattering: n(Ω)=C82=28n(\Omega) = C_8^2 = 28.
Step 2: Let AA be “at least one white sphere is drawn”. The complementary event A‾\overline{A} is “2 black spheres are drawn”.
Why: Taking 2 spheres at the same time means we do not care which comes first, so use a combination, not a k-permutation.
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, 25 ways in total, which matches.
Result: P(A)=2528P(A) = \frac{25}{28}.

Example 5

A class has 40 students, of whom 20 are gifted students in Math, 15 are gifted students in Literature and 8 are gifted students in both subjects. Choose one student of the class at random. Calculate the probability that this student is gifted in at least one of the two subjects, Math 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 student gifted in Math is chosen”, BB be “a student gifted 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 8 students are 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}.

Common mistakesMixing two counting methods: the sample space is counted with k-permutations A102A_{10}^2 but the favourable outcome is 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.

Example 6

A box has 6 white spheres and 4 black spheres, all the same size. Take 2 spheres one after another at random, without putting the drawn sphere back in the box. Calculate the probability that the two drawn spheres have different colours.

Show the solution to example 6

Step 1: The number of ways to take 2 fruits from 10 fruits in order, counting order: n(Ω)=10⋅9=90n(\Omega) = 10 \cdot 9 = 90.
Why: Taking them in order means the first fruit is different from the second, so order must be counted.
Step 2: Let AA be "first fruit white, second fruit black", BB be "first fruit black, second fruit 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 just add the two probabilities.
Step 5: Check with complementary events: two fruits 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}, it matches.
Result: P=815P = \frac{8}{15}.

Terms

Union event
The event "AA happens or BB happens", written A∪BA \cup B.Example: "Even number or number divisible by 3".
Mutually exclusive events
Two events that do not occur at the same time.Example: "Tails" and "heads".
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 6 face is the intersection of "even number" and "divisible by 3".
Tree diagram
A diagram describing the outcomes of a multi-step experiment with branches, with the probability written on each branch.Example: Tossing a coin twice: the first branch S/NS/N, each branch then has S/NS/N.
Sample space
The set of all possible outcomes of the experiment, written Ω\Omega.Example: Rolling a die: Ω={1;2;3;4;5;6}\Omega = \{1; 2; 3; 4; 5; 6\}.
Equally likely outcomes
Outcomes that have the same likelihood of happening.Example: The 6 faces of a balanced die.