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 . 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 ” or ” means the inclusive or. It is the event , which contains the outcomes in , in or in both. The phrase ” and ”, also read “both and ”, is the intersection . A problem that means to leave out the overlap has to say so, for example with the words “exactly one of and ”.
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 be the event that the count is even and the event that it is greater than 4,
The count 6 passes both tests, so it lies in and also in the union. Counts 2 and 4 qualify through , counts 5 and 7 through , and 6 and 8 through both, so
The count 3 passes neither test, so it does not qualify under this rule.
Neither and not both
Definition The phrase “neither nor ” means that both conditions fail. It is the event
The phrase “not both and ” means that at least one condition fails. It is the event
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 .
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 the even counts and the counts greater than 4, the event “not ” is , the odd counts. Both conditions fail only for 1 and 3, so “neither” is , which is also what remains after removing from . “Not both” removes only 6 and 8, which leaves , six outcomes rather than two.
Exactly one
Definition The event that exactly one of and occurs is the symmetric difference
Here , read ” but not ” or “only ”, contains the outcomes in that are not in . Any two events split into four pairwise disjoint pieces, only , only , both and neither, and every outcome lies in exactly one of these pieces. In those terms “or” is only , only and both together, “exactly one” is only and only , 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 is and only is , so exactly one is . The four pieces are , , and . 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 and a fixed value , the phrase “at least ” means and “at most ” means , and both include the boundary value . The phrase “more than ” means and “fewer than ” means , and both exclude it. The phrase “exactly ” means . Within a sample space of numbers, the complement of “at least ” is “fewer than ”, and the complement of “at most ” is “more than ”. For two events, “at least one of and ” is , and “at most one of and ” is , 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,
| Phrase | Condition | Event |
|---|---|---|
| at least 4 | ||
| more than 4 | ||
| at most 4 | ||
| fewer than 4 |
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 , or .
Only if
Definition For events and , the statement ” happens only if happens” means that every outcome in also belongs to , that is . Equivalently, , and the statement can also be read “if , then ”. The statement ” happens if happens” reverses the direction and means , and ” if and only if ” means . These are claims about two events, each true or false as a whole, unlike the event , which is a set of outcomes.
In plain words Only if names a requirement. Whenever happens, happens too. It does not say that guarantees . If 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 . 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 , 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 .
Counterexample
Definition A counterexample to a claim of the form “every outcome in belongs to ” is an outcome that belongs to but not to , that is, an element of . One counterexample shows that the claim is false. Outcomes that agree with the claim do not prove it, unless every outcome in has been checked, which is possible when 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 ” only if ” above, and 5 is a counterexample to ” if ”. 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 and the even event becomes , since 0 is even. Then 0 is a new counterexample to ” only if ”, and the complement of grows from to , although the meanings of even and greater than 4 have not changed.
Check yourself
- On , let be the event that the count is at most 5 and the event that the count is odd. Which outcomes are in both events, and which are in but not ?
Show the answer
The events are and . Both conditions hold for 1, 3 and 5, so . The difference is , the even counts from 1 to 5.
- For the same events, find neither nor , exactly one of and , and not both. Does not both mean the same as neither here?
Show the answer
Not leaves 6, 7 and 8, and requiring not as well removes 7, so neither is . Only is and only is , so exactly one is . Not both removes the intersection from , which leaves . The two events differ. Not both contains the neither outcomes 6 and 8 and also the exactly one outcomes 2, 4 and 7.
- Decide whether each claim is true on , 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 . 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 . 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.