Sample space is the set of first 500 natural numbers.
n (S) = 500
Let βAβ be the event of choosing the number such that it is divisible by 3
n (A) = [500/3]
= [166.67]
= 166 {where [.] represents Greatest integer function}
P (A) = n (A) / n (S)
= 166/500
= 83/250
Let βBβ be the event of choosing the number such that it is divisible by 5
n (B) = [500/5]
= [100]
= 100 {where [.] represents Greatest integer function}
P (B) = n (B) / n (S)
= 100/500
= 1/5
Now, we need to find the P (such that number chosen is divisible by 3 or 5)
P (A or B) = P (A βͺ B)
By using the definition of P (E or F) under axiomatic approach (also called addition theorem) we know that:
P (E βͺ F) = P (E) + P (F) β P (E β© F)
β΄ P (A βͺ B) = P (A) + P (B) β P (A β© B)
[Since, we donβt have value of P(A β© B) which represents event of choosing a number such that it is divisible by both 3 and 5 or we can say that it is divisible by 15.]
n(A β© B) = [500/15]
= [33.34]
= 33
P (A β© B) = n(A β© B) / n (S)
= 33/500
β΄ P (A βͺ B) = P (A) + P (B) β P (A β© B)
= 83/250 + 1/5 β 33/500
= [166 + 100 β 33]/500
= 233/500