In a class of 40 students, 25 students like mathematics and 20 students like science. All of them like at least one subject. How many students like both mathematics and science?
A
15
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
5
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
7
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
10
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B 5 Let x be the number of students who like both subjects. ⇒ Number of students who like mathematics only =25−x
And,
Number of students who like science only =20−x
⇒Total number of students = Number of students who like mathematics only + Number of students who like science only + Number of students who like both subjects.
⇒Total number of students = (25−x)+(20−x)+x ⇒Total number of students =45−x
And, It is given that total number of students in the class is 40. ⇒45−x=40⇒x=45−40=5
So, 5 students like both subjects.
Hence, option a is correct.