In a mathematics class, 20 children had forgotten their rulers and 17 forgotten their pencils. "Go and borrow them from someone at once”, said the teacher. If 24 children left the room, then the number of children who had forgotten both is ____.
13
Let the R be the set of children forgotten Ruler, P be the set of children forgotten Pencil.
Given that,
n(R)=20,n(P)=17
n(R∪P)=24
n(R∩P)=n(R)+n(P)−n(R∪P)
⇒n(R∩P)=20+17−24=13