Good question on sets.

164 views
Skip to first unread message

Anand Iyer

unread,
Nov 7, 2020, 12:15:16 AM11/7/20
to Discussion forum for Mathematics for Data Science I
A survey shows that 63% of Americans like cheese whereas 76% like apples.  If x% of the Americans like both cheese and apples, find the value of x.  

Hint: x is a range, not one value.

Left me scratching my head for some time, even while I was staring at the answer:)

Pradeep S

unread,
Nov 7, 2020, 2:05:25 AM11/7/20
to Anand Iyer, Discussion forum for Mathematics for Data Science I
Is it 39-63?

--
You received this message because you are subscribed to the Google Groups "Discussion forum for Mathematics for Data Science I" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ma1001-discus...@nptel.iitm.ac.in.
To view this discussion on the web visit https://groups.google.com/a/nptel.iitm.ac.in/d/msgid/ma1001-discuss/10dbd986-f9ed-4218-a508-1e51bd0af9f8n%40nptel.iitm.ac.in.

Anand Iyer

unread,
Nov 7, 2020, 2:10:56 AM11/7/20
to Pradeep S, Discussion forum for Mathematics for Data Science I
Great!  Power to you...
--
Cheers,

Malabika Guha Mustafi

unread,
Nov 7, 2020, 2:21:21 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Anand Iyer, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com
@ prdp
Exactly
Maximum people is  63Percent(not more than that since 63 percent likes cheese).
Minimum people  is  39 .( if we consider the general overlapping set solution).

@ Anand, really good one. Thank you.

Anand Iyer

unread,
Nov 7, 2020, 2:27:21 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, Anand Iyer, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com
welcome @Malabika!

Tejasvi Hegde

unread,
Nov 7, 2020, 3:31:04 AM11/7/20
to Discussion forum for Mathematics for Data Science I, anandd...@gmail.com, Malabika Guha Mustafi, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com
Thanks @Anand for bringing up question, it helps!

Sanjaykumar

unread,
Nov 7, 2020, 3:37:04 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, anandd...@gmail.com, Malabika Guha Mustafi, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com
Thanks @Anand. 

Venkatesan Shesha Srikanth

unread,
Nov 7, 2020, 3:42:19 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, anandd...@gmail.com, Malabika Guha Mustafi, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com
Hi anand,
                Thank you so much for bringing up questions like this on the discussion forum.  
Regards,
Srikanth Venkatesan
Course Instructor
IITM Online Degree Project
IIT Madras.
   

On Saturday, November 7, 2020 at 2:01:04 PM UTC+5:30 Tejasvi Hegde wrote:

Anand Iyer

unread,
Nov 7, 2020, 3:50:08 AM11/7/20
to Venkatesan Shesha Srikanth, Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, Malabika Guha Mustafi, prdp...@googlemail.com
you're welcome!  I'll look out for such unusual but relevant questions and post here.  
--
Cheers,
Message has been deleted
Message has been deleted

Tejasvi Hegde

unread,
Nov 7, 2020, 5:10:25 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, anandd...@gmail.com, Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
This is how the derivation I found on net:

>Using set (found on net)
Let C and A denotes the percentage of people likes cheese and apples respectively. 
Given, n(C)=63,n(A)=76 and n(C∩A)=x.
We know that,
n(C∪A)=n(C)+n(A)−n(C∩A)
⇒n(C∪A)=63+76−x
⇒x=139−n(C∪A)
Now, n(C∪A)≤100
⇒139−n(C∪A)≥139−100=39
⇒x≥39
Also, n(C∩A)≤n(C) and n(C∩A)≤n(A)
⇒x≤63
∴39≤x≤63.

But this is how I derived using logical calculation:

A = 76% of people who like Apple 
C = 63% of people who like Cheese
Since its %, it cannot be more than 100%

Since A + C = 76% + 63% = 139%, Since total cannot be more than 100%, the minimum percentage of people who like both should be 139 - 100 = 39

It is possible that all people who like cheese may also like Apple (or other way), 
Since people who like Apple are more, all apple lovers cannot be fond of cheese, so, since cheese percentage of cheese lovers are lesser than apple lovers, there is a possibility that all cheese lovers may like Apple, hence max 63%




On Saturday, November 7, 2020 at 3:06:43 PM UTC+5:30 Malabika Guha Mustafi wrote:
Of 60 students in a class, anyone who has chosen to study maths elects to do physics as well. But no one does maths and chemistry, 16 do physics and chemistry. All the students do at least one of the three subjects and the number of people who do exactly one of the three is more than the number who do more than one of the three. What are the maximum and minimum number of people who could have done Chemistry only?  
Message has been deleted

Malabika Guha Mustafi

unread,
Nov 7, 2020, 5:16:15 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, Anand Iyer, Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
@ Tejasvi
I followed the combined logic. To get the minimum , computed as described in net . To get maximum, the same logic as you applied.

On Saturday, 7 November 2020 at 15:41:58 UTC+5:30 Malabika Guha Mustafi wrote:
In the question, please assume  " But no one does maths and chemistry" means not only the combination of maths and chemistry only. Few people may take three subjects.  

On Saturday, 7 November 2020 at 15:06:43 UTC+5:30 Malabika Guha Mustafi wrote:
Of 60 students in a class, anyone who has chosen to study maths elects to do physics as well. But no one does maths and chemistry, 16 do physics and chemistry. All the students do at least one of the three subjects and the number of people who do exactly one of the three is more than the number who do more than one of the three. What are the maximum and minimum number of people who could have done Chemistry only?  

Vinayak Kumar

unread,
Nov 7, 2020, 5:17:00 AM11/7/20
to Tejasvi Hegde, Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, anandd...@gmail.com, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
I am getting 39 as answer but how 63 can anyone explain?


Tejasvi Hegde

unread,
Nov 7, 2020, 5:22:06 AM11/7/20
to Discussion forum for Mathematics for Data Science I, kvinay...@gmail.com, Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, anandd...@gmail.com, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in, Tejasvi Hegde
Please refer to my latest response

Anand Iyer

unread,
Nov 7, 2020, 5:35:31 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, kvinay...@gmail.com, Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, Anand Iyer, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
Unfortunately, that solution on the internet is really confusing and involves a lot of abstract stuff.  Here's something simpler I could think of.

Assume there're a totally 100 Americans.  Out of that 63 are fond of cheese, 76 are fond of apples.  

Now, there are two cases.

1.  All 100 are fond of either of these.  THis is the case where you get 39.

2.  There might be people out of the total 100, that is fond of neither.

So, there are 63 cheese guys, 76 apple guys, and some who're neither.  

We don't know for sure, how many, but sure it's more than zero, thus the total guys is somewhere upwards of 39.  Let's find the upper boundary of the range.

Since there're 76 apple guys (76 is the greater number out of the two), there should be at least 76 guys who like either.  This means, 24 guys like neither apple nor cheese.  Now, all 63 cheese guys also happen to like apple, which makes 63%.

I agree, the statement could sound confusing, but that's the best I could do.

Combining both 1 and 2, we arrive at the range 39 <= x <= 63


Tejasvi Hegde

unread,
Nov 7, 2020, 6:07:29 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, anandd...@gmail.com, Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in

@Malabika, May be you have to re-phrase the sentence ?

On Saturday, November 7, 2020 at 3:06:43 PM UTC+5:30 Malabika Guha Mustafi wrote:
Of 60 students in a class, anyone who has chosen to study maths elects to do physics as well. But no one does maths and chemistry, 16 do physics and chemistry. All the students do at least one of the three subjects and the number of people who do exactly one of the three is more than the number who do more than one of the three. What are the maximum and minimum number of people who could have done Chemistry only?  

Anand Iyer

unread,
Nov 7, 2020, 6:20:32 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Tejasvi Hegde, Malabika Guha Mustafi, Anand Iyer, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
Malabika, do you want to post your question as a separate post, so more people can see this?  It's a very nice one, and quite challenging by the way...

Malabika Guha Mustafi

unread,
Nov 7, 2020, 6:23:52 AM11/7/20
to Discussion forum for Mathematics for Data Science I, Anand Iyer, Tejasvi Hegde, Malabika Guha Mustafi, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
@ Anand,  
ok.

Malabika Guha Mustafi

unread,
Nov 7, 2020, 11:35:01 PM11/7/20
to Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, Anand Iyer, Tejasvi Hegde, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
Today's problem:
70% of the people like Coffee, 80% of the people like Tea, 85% of the people like Milk; then at least what % of people like all three?  

Malabika Guha Mustafi

unread,
Nov 8, 2020, 12:24:50 AM11/8/20
to Discussion forum for Mathematics for Data Science I, Malabika Guha Mustafi, Anand Iyer, Tejasvi Hegde, Discussion forum for Mathematics for Data Science I, prdp...@googlemail.com, venka...@onlinedegree.iitm.ac.in
Solution : 35 percent
Reply all
Reply to author
Forward
0 new messages