There are m persons sitting in a row. two of them are selected at random. The probability that the two selected persons are not together is 1−2m. If true enter 1 else 0.
Open in App
Solution
Total number of ways of selecting two persons out of m is mC2=m(m−1)2
Number of ways in which the two selected persons are together is (m−1)
Therefore, number of ways in which the two selected persons are not together is mC2−(m−1)=(m−1)(m−2)2
Thus the probability of the required event is (m−1)(m−2)/2m(m−1)/2=m−2m=1−2m