Lesson 12 of 35 · Quantitative Reasoning: word problems
Overlapping sets: Venn diagrams and double-matrix tables
Count groups that overlap with the two-set formula, a double-matrix table or the three-set formula, and find the largest and smallest overlap.
About 20 minutes
In this lesson
- Solve two-group overlap questions with the formula or a Venn diagram.
- Organise two yes-or-no attributes in a double-matrix table, with counts or percents.
- Handle three overlapping groups, telling "exactly two" from pairwise counts.
- Find the greatest and least possible overlap of two groups.
The idea
Two sets
When some people belong to two groups, adding the group sizes counts the people in both groups twice. Subtract them once, then add anyone in neither group:
A typical two-set question gives four of these five numbers and asks for the fifth. A Venn diagram makes the parts visible: "only " is , "only " is , and "exactly one of the two" is the sum of those, . Read carefully which region the question asks about: "speaks French" includes the people who speak both languages, "speaks only French" does not.
The double-matrix table
When everyone is sorted by two yes-or-no attributes (men or women, and on campus or off campus), a two-by-two table with totals is faster and safer than a diagram:
| Attribute 2: yes | Attribute 2: no | Total | |
|---|---|---|---|
| Attribute 1: yes | |||
| Attribute 1: no | |||
| Total | grand total |
Every row and every column adds up, so each new number lets you fill in another. You usually need only four well-placed numbers to complete all nine cells. The table works just as well with percents: if no total is given, call the grand total 100.
Be careful with "of". "30% of the employees are remote" is a percent of the grand total; "30% of the sales staff are remote" is a percent of one row. Convert row percents into counts of the whole before you put them in the table.
Three sets
With three groups , and , the clearest bookkeeping counts how many groups each person belongs to. Let , and be the numbers of people in exactly one, exactly two and all three groups. Then
because a person in two groups is counted in two of the group totals, and a person in three groups in all three. The number of people in at least one group is . Subtracting one equation from the other gives the formula usually quoted:
Some questions instead give pairwise overlaps such as "in both and ", which include the people in all three. With those, the formula is
The difference between "exactly two" and "both and " is the most common source of error in three-set questions, so name which one you have before choosing a formula.
Greatest and least overlap
Sometimes the overlap is not fixed and the question asks how large or small it can be. In a group of 60 where 42 drink tea and 35 drink coffee:
- Greatest overlap: the smaller group sits entirely inside the larger, so at most 35 drink both.
- Least overlap: squeeze the groups apart. They can cover at most all 60 people, so at least drink both.
If the question also fixes how many are in neither group, the people in at least one group replace the 60 in that calculation.
Checking an answer
Fill in every region and add them up. If the regions do not add to the total, or a region comes out negative, a number went in the wrong place.
Worked examples
Example 1: Two languages
A company has 120 employees. 70 speak Spanish, 45 speak French and 25 speak neither. How many speak both languages?
Employees who speak at least one of the languages: .
Use the formula: , so .
Check the regions: only Spanish , only French , both 20, neither 25; .
Answer
20 employees speak both. Forgetting the 25 who speak neither gives , an impossible count that signals the slip.
Example 2: A double-matrix table
Of 200 students, 110 are women. 80 students live on campus, and 30 of the men live on campus. How many women live off campus?
Set up rows for men and women and columns for on and off campus. Men: .
Women on campus: . Women off campus: .
Check the other column: men off campus are , so off campus totals .
Answer
60 women live off campus.
Example 3: Three overlapping groups
In a survey of 100 people, 50 use app X, 40 use app Y and 30 use app Z. 18 people use exactly two of the apps and 6 use all three. How many use none of the three?
Membership count: , so .
At least one app: . None: .
Check with the formula: use at least one app, the same.
Answer
10 people use none of the apps. Subtracting the 6 triple users only once gives 96 users and 4 with none.
Common traps
Leaving out "neither"
The two-set formula has a fifth term. If some people are in neither group, the group totals describe only the rest. Subtract the "neither" count from the total before you work with the groups.
"Both" read as "only"
"70 speak Spanish" includes those who also speak French. "Only Spanish" means Spanish minus both. Questions often ask for an "only" region while giving totals, or the other way round.
Exactly two versus pairwise overlaps
"In exactly two groups" excludes the people in all three; "in both and " includes them. The three-set formulas differ accordingly. Using pairwise counts in the "exactly two" formula subtracts the triple overlap too many times.
A percent of a row taken as a percent of all
"25% of the sales staff work remotely" is 25% of one row, not of the whole company. Turn it into a count (or a percent of the grand total) before writing it in the table.
Check yourself
Answer each question before you open its answer.
Question 1: Fish but not dessert
Problem Solving
At a dinner for 150 guests, 90 ordered fish, 70 ordered dessert and 30 ordered neither. How many guests ordered fish but not dessert?
- A.20
- B.40
- C.50
- D.60
- E.80
Show the answer
Answer: C. 50
Working
At least one: . Both: . Fish but not dessert: . Check the regions: (fish only, both, dessert only, neither).
Why the other options are wrong
- A. 20 is the difference between the fish and dessert totals, , which describes no group of guests.
- B. 40 guests ordered both; the question asks for fish without dessert.
- D. This subtracts the 30 guests who ordered neither from the fish total, but none of those 30 ordered fish.
- E. 80 guests ordered exactly one of the two, fish only plus dessert only.
What carries over
Find the overlap first, then read off exactly the region the question names.
Question 2: Who works remotely?
Problem Solving
At a firm, 25% of the employees work in sales. Of the sales staff, 60% work remotely; of the other employees, 20% work remotely. What percent of the remote workers are in sales?
- A.15%
- B.25%
- C.30%
- D.50%
- E.60%
Show the answer
Answer: D. 50%
Working
Take 100 employees: 25 in sales and 75 not. Remote sales staff: . Other remote workers: . Remote workers: 30, of whom 15 are in sales, so .
Why the other options are wrong
- A. 15% of all employees are remote sales staff; the question asks for a share of the remote workers only.
- B. 25% is the share of all employees who are in sales, not the share of remote workers.
- C. 30% of all employees work remotely; that is the denominator, not the answer.
- E. 60% is the share of sales staff who are remote, the reverse of what is asked.
What carries over
Turn every "percent of a group" into a count of the whole before dividing.
Question 3: Exactly two classes
Problem Solving
Each of the 80 members of a gym takes at least one of three classes: yoga, spin and pilates. 40 members take yoga, 35 take spin and 30 take pilates, and 10 members take all three. How many members take exactly two of the classes?
- A.5
- B.15
- C.25
- D.35
- E.65
Show the answer
Answer: A. 5
Working
Membership count: , and . Subtracting, , and with , . Check: , and .
Why the other options are wrong
- B. This subtracts the 10 triple members once from the excess of 25, but each of them accounts for 2 of that excess.
- C. 25 is the excess of the class totals over the members, ; the triple members are still inside it.
- D. 35 is the sum of the pairwise overlaps, which counts each triple member three times.
- E. 65 members take exactly one class.
What carries over
Count how many groups each person is in; the class totals add those memberships up.
Key points
Two sets: Total = A + B − Both + Neither.
Use a double-matrix table for two yes-or-no attributes; rows and columns must add up.
Three sets: A + B + C = (exactly one) + 2(exactly two) + 3(all three).
Least overlap is A + B − (people in at least one); greatest is the smaller group.
All questions here are original and written for UniExamer; none comes from the test maker.
Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.