2009 Grade 8 CEMC Gauss Problems/Problem 18
Problem
In a class of students,
said they liked apple pie,
said they liked chocolate cake and
said they did not like either. How many students in the class liked both?
Solution
Let be the number of students in the class that liked both apple pie and chocolate cake. This means that
students liked apple pie but not chocolate cake, and
students liked chocolate cake but not apple pie.
We can now add up the individual amounts for people that liked one, both, or neither, and set it equal to the number of students in the class, which is :
Adding numbers and like-terms together, we get:
Adding to both sides, we get:
Subtracting from both sides, we get:
~anabel.disher