There are 20 students participating in an after-school program offering classes in yoga, bridge, and painting. Each student must take at least one of these three classes, but may take two or all three. There are 10 students taking yoga, 13 taking bridge, and 9 taking painting. There are 9 students taking at least two classes. How many students are taking all three classes?
Pick one
Solution
By PIE (Property of Inclusion/Exclusion), we have ∣A1∪A2∪A3∣=∑∣Ai∣−∑∣Ai∩Aj∣+∣A1∩A2∩A3∣. Number of people in at least two sets is ∑∣Ai∩Aj∣−2∣A1∩A2∩A3∣=9. So, 20=(10+13+9)−(9+2x)+x, which gives x=(C) 3.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.