nonameee
The question from a textbook on probability:
A box contains 100 tickets marked 1 to 100. One ticket is picked at random. What is the probability that the number on the ticket will be divisible by either 2 or 3, but not 6?
The official answer is:
The official solution is the following:
All possibilities = 100
Numbers divisible by 2 = 50 ... A
Numbers divisible by 3 = 33 ... B
Numbers divisible by 6 = 16 ... C
Positive outcomes = A + B - 2*C
Probability = 51/100
Can someone please explain why they subtract C twice?
Thank you.
A box contains 100 tickets marked 1 to 100. One ticket is picked at random. What is the probability that the number on the ticket will be divisible by either 2 or 3, but not 6?Total = 100 numbers.
Numbers divisible by 2 = 50 ... A
Numbers divisible by 3 = 33 ... B
Numbers divisible by 6 = 16 ... C
Now,
both A (numbers divisible by 2) and B (numbers divisible by 3) contain C (numbers divisible by 6) so to get the numbers which are divisible by
either 2 or 3, but not 6 we should subtract C twice, once for A and once for B: A + B - 2*C= 51
Probability = 51/100
If it were: "What is the probability that the number on the ticket will be divisible by either 2 or 3 (or both)?" Then we would subtract C only once to get rid of double counting.