Overlapping sets!

This topic has expert replies
Senior | Next Rank: 100 Posts
Posts: 57
Joined: Sat Jan 24, 2009 7:45 am
Thanked: 1 times

Overlapping sets!

by ellexay » Sat Jan 31, 2009 9:17 am
If there are 15 fish and 3 are purple, 5 red, and 10 yellow, and there are no fish that are both purple and yellow, how many both red and yellow if only two are red and purple?
4
1
3
2
5

ANSWER:

We have

1. 15 = Nred + Nyellow + Npurple + Nred,purple + Nred,yellow
2. 3 = Npurple + Nred,purple
3. 5 = Nred + Nred,purple + Nred,yellow
4. 10 = Nyellow + Nred,yellow
5. 2 = Nred,purple

and from (1) - (2) - (4)

2 = Nred

Putting this into (3) and using (5)

1 = Nred,yellow

*********
I do not understand premise 4 (10=Nyellow +Nred, yellow). Isn't Nred,yellow the unknown? Also, why is Nred = 2? Isn't it 5-2=3? Where 2 is the number both red and purple?

Thanks in advance...=)

User avatar
Legendary Member
Posts: 535
Joined: Fri Jun 08, 2007 2:12 am
Thanked: 87 times
Followed by:5 members
GMAT Score:730

by hardik.jadeja » Sat Jan 31, 2009 5:57 pm
Refer attached graphical representation for more understanding..

The solution makes sense only once you assume that there is no fish that has all three colors.
If we assume there is no fish with all three colors then g = 0

Following things are given to us..
a + d + g + f = 3 (3 Purple fish)
b + d + g + e = 5 (5 Red fish)
c + e + g + f = 10 (10 Yellow Fish)
it is given that f = 0 and d = 2.
We have to find e.

a + b + c + d + e + f + g = 15
a + b + c + d + e = 15 (since g=f=0) …………………. (1)

a + d + g + f = 3
c = 3 (again because g=f=0) ……………………(2)

c + e + g + f = 10
c + e = 10 (g=f=0)…………………. (3)

subtract (2) and (3) from (1)
(1) – (2) – (3)
(a + b + c + d + e) – (a + d) – (c + e) = 15 – 3 – 10
Which gives us b = 2

Now,
b + d + g + e = 5
b + d + e = 5 (g =0)
2 + 2 + e = 5 (b=d=2)
e = 1

e represents red and yellow, which is our answer..

HTH..
Attachments
Set theory.jpg

User avatar
Master | Next Rank: 500 Posts
Posts: 138
Joined: Thu Jan 15, 2009 7:52 am
Location: Steamboat Springs, CO
Thanked: 15 times

by gaggleofgirls » Sat Jan 31, 2009 7:14 pm
Rather than draw, I just think of these problems this way:

Total = # groupA + # groupB + # groupc - overlap AB - Overlap AC - Overlap BC - Overlap ABC - Overlap ABC +# in none of the groups.

This is just an expansion of the equation for if you have two groups:
total = #A + #B - OverlapAB + Neither

The reason you have to subtract ABC twice is that it gets counted 3 times and you need to only count it once (to understand that, look at the diagram above). Now that I believe the theory, I just apply this formula.

So, for this problem:
15 = 3 + 5 + 10 - 2 - x - 0 - 0 + 0
15 = 16 - x
1 = x
Answer = B

-Carrie

Senior | Next Rank: 100 Posts
Posts: 57
Joined: Sat Jan 24, 2009 7:45 am
Thanked: 1 times

by ellexay » Sun Feb 01, 2009 11:40 am
Thank you both! I have a much better understanding now.