Question
A gift store stocks baseball hats in red or green colors. Of the 35 hats on display on a given day, 20 are green. As well, 18 of the hats have a grasshopper logo on the brim. Suppose 11 of the red hats have logos. How many hats are red, or have logos, or both?
The answer in the book is 22. I do not understand how they got this. Could someone please help me? Thanks.
The answer in the book is 22. I do not understand how they got this. Could someone please help me? Thanks.
Answers
It is not clear if you have learned the inclusion/exclusion principle. If you have, you can apply it without drawing the Venn diagram.
However, for a two-set problem like this, it is easier to draw a Venn diagram and solve accordingly.
There are three sets in a universal set E where the cardinality (i.e. total number of elements) |E|=35.
We are also given that for the set of green hats G, |G|=20.
We conclude therefore that for the set R, |R|=|E|-|G|=35-20=15.
Of the 35 hats, irrespective of colour, 18 of them have logos, so belong to the set L, where |L|=18.
We are required to find the set of hats which are either red, or has a logo, that is, the cardinality of the set R∪L, or |R∪L|.
Consider now the sets L and R.
Draw a Venn diagram for the two, with an intersection, i.e. both red and have a logo. We understand that |L∩R|=11.
So if you put in the Venn diagram 18 for L, 15 for R, and 11 for R∩L. You can calculate that L-R (i.e. with a logo but not red) is 18-11=7, and R-L (i.e. red but no logo) is 15-11=4.
So therefore
|R∪L| = 7+11+4 = 22.
However, for a two-set problem like this, it is easier to draw a Venn diagram and solve accordingly.
There are three sets in a universal set E where the cardinality (i.e. total number of elements) |E|=35.
We are also given that for the set of green hats G, |G|=20.
We conclude therefore that for the set R, |R|=|E|-|G|=35-20=15.
Of the 35 hats, irrespective of colour, 18 of them have logos, so belong to the set L, where |L|=18.
We are required to find the set of hats which are either red, or has a logo, that is, the cardinality of the set R∪L, or |R∪L|.
Consider now the sets L and R.
Draw a Venn diagram for the two, with an intersection, i.e. both red and have a logo. We understand that |L∩R|=11.
So if you put in the Venn diagram 18 for L, 15 for R, and 11 for R∩L. You can calculate that L-R (i.e. with a logo but not red) is 18-11=7, and R-L (i.e. red but no logo) is 15-11=4.
So therefore
|R∪L| = 7+11+4 = 22.
Thanks a lot.
You're welcome!
Related Questions
There is a box and inside it is a bunch of hats. 1/6 of the hats are red, 1/3 of the hats are blue....
Three hats are placed on the heads of three men standing in a line. Each man can only see the men an...
At Kirt’s Hats, 342 out of the 456 hats at the store are baseball caps. What percentage of hats at t...
According to Bartholomew Cubbins, 20 of his hats had feathers. Twenty of the hats with no feathers w...