Take things step by step.
We select an arbitrary pair, A and B.
There are two mutually exclusive cases: A and B are in the same line or different lines.
What are the probabilities?
Whatever position and line A is in, B has four ways to be in the same line and five ways to be in the other line. So the probability of same line is 4/9 and the probability of different line is 5/9.
Same line.
The number of ways to pick two positions from five is 10. (1,2; 1,3; 1,4; 1,5; 2,3; 2,4; 2,5; 3,4; 3;5; 4,5)
How many of those are adjacent. Just four. Probability of being adjacent given in same line = 4/10 = 2/5.
(4/9) * (2/5) = 8/45.
Different lines.
How many ways to pick a position in one line? Five. How many ways to pick a position in other line? Five. Twenty-five possibilities, only five of which are the same in both lines. Probability of being adjacent given in different lines = 5/25 = 1/5.
(5/9) * (1/5) = 5/45.
(8/45) + (5/45) = 13/45.
We select an arbitrary pair, A and B.
There are two mutually exclusive cases: A and B are in the same line or different lines.
What are the probabilities?
Whatever position and line A is in, B has four ways to be in the same line and five ways to be in the other line. So the probability of same line is 4/9 and the probability of different line is 5/9.
Same line.
The number of ways to pick two positions from five is 10. (1,2; 1,3; 1,4; 1,5; 2,3; 2,4; 2,5; 3,4; 3;5; 4,5)
How many of those are adjacent. Just four. Probability of being adjacent given in same line = 4/10 = 2/5.
(4/9) * (2/5) = 8/45.
Different lines.
How many ways to pick a position in one line? Five. How many ways to pick a position in other line? Five. Twenty-five possibilities, only five of which are the same in both lines. Probability of being adjacent given in different lines = 5/25 = 1/5.
(5/9) * (1/5) = 5/45.
(8/45) + (5/45) = 13/45.
Last edited: