Unit 1, lesson 3

Translating Event Language

How to translate everyday conditions such as inclusive or, neither, not both, exactly one, at least, at most and only if into sets of outcomes, and how one counterexample disproves a general claim.

  • Video 3
  • Probability Models and Events

A machine needs attention if its warning count is even or greater than four. Does a count of six qualify, and what about a count of three? Questions like these are settled by testing each possible outcome against the whole condition, not by spotting one familiar word. This lesson turns the common phrases of probability problems into sets, using a constructed inspection that records a whole-number count from 1 to 8, so that Ω={1,2,…,8}\Omega = \{1, 2, \dots, 8\}. No probabilities are assigned yet, and a list of eight counts says nothing about whether they are equally likely.

Key terms

Inclusive or

Definition In mathematics the phrase ”AA or BB” means the inclusive or. It is the event A∪BA \cup B, which contains the outcomes in AA, in BB or in both. The phrase ”AA and BB”, also read “both AA and BB”, is the intersection A∩BA \cap B. A problem that means to leave out the overlap has to say so, for example with the words “exactly one of AA and BB”.

In plain words An outcome qualifies for “or” as soon as it passes at least one of the two tests, and passing both is no reason to leave it out. A list of the union names each qualifying outcome once.

Example Let AA be the event that the count is even and BB the event that it is greater than 4,

A={2,4,6,8},B={5,6,7,8}.\begin{gathered} A = \{2, 4, 6, 8\}, \\[0.4em] B = \{5, 6, 7, 8\}. \end{gathered}

The count 6 passes both tests, so it lies in A∩B={6,8}A \cap B = \{6, 8\} and also in the union. Counts 2 and 4 qualify through AA, counts 5 and 7 through BB, and 6 and 8 through both, so

A∪B={2,4,5,6,7,8}.A \cup B = \{2, 4, 5, 6, 7, 8\}.

The count 3 passes neither test, so it does not qualify under this rule.

Neither and not both

Definition The phrase “neither AA nor BB” means that both conditions fail. It is the event

(A∪B)c=Ac∩Bc.(A \cup B)^{c} = A^{c} \cap B^{c}.

The phrase “not both AA and BB” means that at least one condition fails. It is the event

(A∩B)c=Ac∪Bc.(A \cap B)^{c} = A^{c} \cup B^{c}.

Both complements are taken in the stated sample space. Every outcome in “neither” is also in “not both”, and the two events are equal exactly when A=BA = B.

In plain words Neither rejects an outcome that passes even one test. Not both rejects only the outcomes that pass both tests, so it keeps the outcomes that pass one test as well as those that pass none.

Example With AA the even counts and BB the counts greater than 4, the event “not AA” is Ac={1,3,5,7}A^{c} = \{1, 3, 5, 7\}, the odd counts. Both conditions fail only for 1 and 3, so “neither” is {1,3}\{1, 3\}, which is also what remains after removing A∪BA \cup B from Ω\Omega. “Not both” removes only 6 and 8, which leaves {1,2,3,4,5,7}\{1, 2, 3, 4, 5, 7\}, six outcomes rather than two.

Exactly one

Definition The event that exactly one of AA and BB occurs is the symmetric difference

A△B=(A∖B)∪(B∖A).\begin{aligned} A \mathbin{\triangle} B &= (A \setminus B) \\[0.4em] &\quad \cup (B \setminus A). \end{aligned}

Here A∖BA \setminus B, read ”AA but not BB” or “only AA”, contains the outcomes in AA that are not in BB. Any two events split Ω\Omega into four pairwise disjoint pieces, only AA, only BB, both and neither, and every outcome lies in exactly one of these pieces. In those terms “or” is only AA, only BB and both together, “exactly one” is only AA and only BB, and “not both” is everything except both.

In plain words Exactly one keeps the outcomes that pass one test and fail the other. It leaves out the overlap, which the inclusive or keeps, and it leaves out the outcomes that pass neither test, which not both keeps.

Example For the warning counts, only AA is {2,4}\{2, 4\} and only BB is {5,7}\{5, 7\}, so exactly one is {2,4,5,7}\{2, 4, 5, 7\}. The four pieces are {2,4}\{2, 4\}, {5,7}\{5, 7\}, {6,8}\{6, 8\} and {1,3}\{1, 3\}. They share no count and together contain all eight, which gives a quick check on any translation that involves two events.

At least and at most

Definition For a recorded number nn and a fixed value kk, the phrase “at least kk” means n≥kn \ge k and “at most kk” means n≤kn \le k, and both include the boundary value kk. The phrase “more than kk” means n>kn > k and “fewer than kk” means n<kn < k, and both exclude it. The phrase “exactly kk” means n=kn = k. Within a sample space of numbers, the complement of “at least kk” is “fewer than kk”, and the complement of “at most kk” is “more than kk”. For two events, “at least one of AA and BB” is A∪BA \cup B, and “at most one of AA and BB” is (A∩B)c(A \cap B)^{c}, the event not both.

In plain words At least and at most keep the boundary, while more than and fewer than drop it. A single boundary outcome is easy to lose, and later it can change a probability.

Example For the warning counts and the boundary 4,

PhraseConditionEvent
at least 4n≥4n \ge 4{4,5,6,7,8}\{4, 5, 6, 7, 8\}
more than 4n>4n > 4{5,6,7,8}\{5, 6, 7, 8\}
at most 4n≤4n \le 4{1,2,3,4}\{1, 2, 3, 4\}
fewer than 4n<4n < 4{1,2,3}\{1, 2, 3\}

Because the counts are whole numbers, “more than 3” is the same event as “at least 4”. That shortcut depends on the whole-number recording rule and fails for a measurement such as 3.2. A phrase like “between 3 and 6” is incomplete until it says whether 3 and 6 are included, so write the inequalities that are meant, such as 3≤n≤63 \le n \le 6, 3<n<63 < n < 6 or 3≤n<63 \le n < 6.

Only if

Definition For events AA and BB, the statement ”AA happens only if BB happens” means that every outcome in AA also belongs to BB, that is A⊆BA \subseteq B. Equivalently, A∖B=∅A \setminus B = \varnothing, and the statement can also be read “if AA, then BB”. The statement ”AA happens if BB happens” reverses the direction and means B⊆AB \subseteq A, and ”AA if and only if BB” means A=BA = B. These are claims about two events, each true or false as a whole, unlike the event A∩BA \cap B, which is a set of outcomes.

In plain words Only if names a requirement. Whenever AA happens, BB happens too. It does not say that BB guarantees AA. If AA is empty, the claim is true automatically, since there is no outcome to check.

Example For the warning counts, “the count is even only if it is greater than 4” claims A⊆BA \subseteq B. It is false, because 2 is even but not greater than 4. The reversed claim “the count is even if it is greater than 4” claims B⊆AB \subseteq A, and it is false too, because 5 is greater than 4 but odd. By contrast, “the count is greater than 6 only if it is greater than 4” is true, since {7,8}⊆{5,6,7,8}\{7, 8\} \subseteq \{5, 6, 7, 8\}.

Counterexample

Definition A counterexample to a claim of the form “every outcome in AA belongs to BB” is an outcome that belongs to AA but not to BB, that is, an element of A∖BA \setminus B. One counterexample shows that the claim is false. Outcomes that agree with the claim do not prove it, unless every outcome in AA has been checked, which is possible when AA is finite.

In plain words To refute a general claim, one failure is enough. To confirm it, every case has to pass.

Example The count 2 is a counterexample to ”AA only if BB” above, and 5 is a counterexample to ”AA if BB”. The count 6 lies in both events, so it agrees with each claim and proves neither. Counterexamples and complements also depend on the sample space. If the inspection may also record 0 warnings, the sample space becomes {0,1,…,8}\{0, 1, \dots, 8\} and the even event becomes {0,2,4,6,8}\{0, 2, 4, 6, 8\}, since 0 is even. Then 0 is a new counterexample to ”AA only if BB”, and the complement of BB grows from {1,2,3,4}\{1, 2, 3, 4\} to {0,1,2,3,4}\{0, 1, 2, 3, 4\}, although the meanings of even and greater than 4 have not changed.

Check yourself

  1. On Ω={1,2,…,8}\Omega = \{1, 2, \dots, 8\}, let CC be the event that the count is at most 5 and DD the event that the count is odd. Which outcomes are in both events, and which are in CC but not DD?
Show the answer

The events are C={1,2,3,4,5}C = \{1, 2, 3, 4, 5\} and D={1,3,5,7}D = \{1, 3, 5, 7\}. Both conditions hold for 1, 3 and 5, so C∩D={1,3,5}C \cap D = \{1, 3, 5\}. The difference C∖DC \setminus D is {2,4}\{2, 4\}, the even counts from 1 to 5.

  1. For the same events, find neither CC nor DD, exactly one of CC and DD, and not both. Does not both mean the same as neither here?
Show the answer

Not CC leaves 6, 7 and 8, and requiring not DD as well removes 7, so neither is {6,8}\{6, 8\}. Only CC is {2,4}\{2, 4\} and only DD is {7}\{7\}, so exactly one is {2,4,7}\{2, 4, 7\}. Not both removes the intersection {1,3,5}\{1, 3, 5\} from Ω\Omega, which leaves {2,4,6,7,8}\{2, 4, 6, 7, 8\}. The two events differ. Not both contains the neither outcomes 6 and 8 and also the exactly one outcomes 2, 4 and 7.

  1. Decide whether each claim is true on Ω={1,2,…,8}\Omega = \{1, 2, \dots, 8\}, and give a counterexample when it is false. The first claim is “the count is odd only if it is at most 5”. The second is “the count is at least 7 only if it is more than 5”.
Show the answer

The first claim says D⊆CD \subseteq C. The count 7 is odd but not at most 5, so it is a counterexample and the claim is false. The odd counts 1, 3 and 5 agree with the claim, but agreement from some outcomes cannot rescue it.

The second claim says {7,8}⊆{6,7,8}\{7, 8\} \subseteq \{6, 7, 8\}. Both 7 and 8 are more than 5, so every outcome of the first event has been checked and the claim is true. No counterexample exists.

How this lesson connects