Two numbers are selected at random from the numbers 1, 2, . .. . . n. The probability that the difference between the first and second is not less than m (where 0 < m < n), is
A
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is D Let the first number be x and second is y. Let A denotes the event that the difference between the first and second number is at least m. let Ex denote the event that the number chosen is x, we must have x–y≥mory≤x–m. Therefore x > m and y < n – m. Thus P(Ex)=0 for 0<x≤m and P(Ex)=1n for m<x≤n. Also P(AEx)=(x−m)(n−1) Therefore, P(A) = ∑nx=1P(Ex)(PAEx) =∑nx=m+1P(Ex)(PAEx)=∑nx=m+11n.x−mn−1 =1n(n−1)[1+2+3+...+(n−m)] =(n−m)(n−m+1)2n(n−1)