The inclusion-exclusion principle is essential for solving problems involving overlapping sets or events. In this problem, we used it to determine the total percentage of people traveling by either car or bus or both.
According to the principle, for two events A and B:
- \[P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)\]
In simpler terms, you add the probability of each event happening individually and then subtract the probability that both events are happening at the same time.
Let's break down the formula based on our exercise:
- \[P(Car \text{ or } Bus) = P(Car) + P(Bus) - P(Car \text{ and } Bus)\]
- Substitute the given values: \[P(Car \text{ or } Bus) = 20\text{%} + 50\text{%} - 10\text{%} = 60\text{%}\]
Hence, 60% of the population travels by either car or bus or both. The inclusion-exclusion principle simplifies the process of calculating probabilities when there are overlaps between events.