Example 15: Construction job on time: total probability over a strike,
A person has undertaken a construction job. The probabilities are 0.65 that there will be strike, 0.80 that the construction job will be completed on time if there is no strike, and 0.32 that the construction job will be completed on time if there is a strike. Determine the probability that the construction job will be completed on time.
Let : the job is completed on time, and : there is a strike.
and form a partition of the sample space (there is either a strike or no strike).
By the theorem of total probability,
The probability that the job is completed on time is .
Want the reason behind every step, the basics and the checks?
Split by the cause, then add. We know the chance of finishing on time in each situation (strike, no strike), and how likely each situation is. The job finishes on time either with a strike or without one, never both, so
Each piece is a product (multiplication rule). This is the theorem of total probability.
- Given
- P(strike) = 0.65; P(on time | no strike) = 0.80; P(on time | strike) = 0.32.
- To find
- P(the job is completed on time).
- Plan
- (1) Name the events and check the partition. (2) Write every probability as a fraction. (3) Apply the theorem of total probability. (4) Simplify and give the decimal.
Basics you need
"0.80 that the job will be completed on time if there is no strike" is . Lesson: conditional probability
: "no strike" has probability . Basics: rules of probability
; divide top and bottom by their highest common factor. Basics: working with fractions
For a partition : . Lesson: total probability and Bayes' theorem
Solution
Name the events
Let
- : the construction job is completed on time;
- : there is a strike, so : there is no strike.
We have to find . The events and form a partition of the sample space: they do not overlap, together they cover every possibility, and both have nonzero probability.
The strike is the "cause" that changes the chance of finishing on time; finishing on time is the event we want. An event and its complement always form a partition when neither is impossible (Section 13.5.1), so the theorem of total probability applies.Every number as a fraction
The question gives decimals; fractions keep every later step exact. "0.32 that the job will be completed on time if there is a strike" is about jobs with a strike, so it is ; the 0.80 is for no strike, . The book writes , which is .Cancel by the highest common factor: (divide by 5). Basics: working with fractionsApply the theorem of total probability
Since and form a partition, by the theorem of total probability
The tree for Example 15. The two green paths end with the job on time: strike then on time () and no strike then on time (). Their sum is . The job is on time in two ways that cannot both happen: with a strike, or without one. Each way is a path in the tree, and its probability is the product along the path (multiplication rule, ). The two paths are mutually exclusive, so they add.Multiply along a path, add the paths. Basics: tree diagramsAdd the fractions
To add, give both fractions the denominator 125: . The fraction cannot be simplified (61 is prime and does not divide 125), and since , it is exactly , the book's value.Same denominator, then add the numerators. Basics: working with fractions
The probability that the construction job will be completed on time is .
(Textbook answer: .)
Picture 10000 such jobs. A strike hits 65% of them, 6500 jobs, and 32% of those, 2080, still finish on time. The other 3500 jobs have no strike, and 80% of them, 2800, finish on time. So of the 10000 jobs finish on time: , the same as .
The answer lies between the two conditional values 0.32 and 0.80, closer to 0.32 because a strike is the more likely case. A total probability is always such a weighted average.
- Swapping the conditional probabilities. 0.80 belongs to "no strike" and 0.32 to "strike". Read which condition each number comes with.
- Adding the conditional probabilities. is more than 1. Each must first be multiplied by the probability of its own condition.
- Forgetting . The question does not give the chance of no strike; it is .
- When a probability depends on which of several situations occurs, find each situation's probability, multiply by the conditional probability, and add: the theorem of total probability.
- The next examples turn this round: given that the event happened, which cause was it? That is Bayes' theorem, starting with Example 16. An exercise like this one is Exercise 13.3, Question 1.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| An event and its complement form a partition | Step 1 | Section 13.5.1 (Lesson: total probability) |
| ; decimals as fractions | Step 2 | Class XI (Basics: rules of probability) |
| Conditional probability | Step 2 | Section 13.2 (Lesson: conditional probability) |
| Theorem of total probability | Step 3 | Section 13.5.2 (Lesson: total probability) |
| Multiplication rule | Step 3 | Section 13.3 (Lesson: multiplication rule) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →