Probability of No Consecutive Stations Between X and Y

  • Thread starter Thread starter gaganpreetsingh
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary
SUMMARY

The discussion focuses on calculating the probability that a train stops at three non-consecutive stations between two cities, X and Y, given n stations. The total number of combinations for selecting three stations is represented as nC3. The analysis identifies the need to exclude cases where two or three stations are consecutive, leading to the formula Pr{event} = 1 – (n-1)(n-2)/2*nC3 = (n-3)/n. The contributors provide insights into the arrangement of stops and suggest using a summation approach to derive the total arrangements.

PREREQUISITES
  • Understanding of combinatorial mathematics, specifically combinations (nCk).
  • Familiarity with probability theory and event exclusion principles.
  • Knowledge of arithmetic progressions (A.P.) for summation calculations.
  • Basic understanding of nested summations in mathematical analysis.
NEXT STEPS
  • Study combinatorial probability, focusing on non-consecutive selections.
  • Learn about the application of arithmetic progressions in probability calculations.
  • Explore nested summations and their applications in combinatorial problems.
  • Investigate advanced combinatorial techniques, such as generating functions.
USEFUL FOR

Mathematicians, statisticians, and students studying probability theory, particularly those interested in combinatorial problems and their applications in real-world scenarios.

gaganpreetsingh
Messages
24
Reaction score
0
There are n stations between two cities X and Y. At train is to stop at three of these n stations. Find the probability that no two of these three stations are consecutive.

This is what I did:

Total number of possibilities nc3 .
Now suppose that the stations train stops at is such that exactly two of these are consecutive.
(1,2) then it may stop at (4,5,6…..n) and no. of possibilities are n-3
(2,3) then it may stop at (5,6,7…..n) and no. of possibilities are n-4
…………………………………….
(n-3,n-2) then it may stop only at n and no. of possibilities are 1

So the number of ways in which the train may stop at exactly two consecutive stations is
(n-3) + (n-4) + ……… + 1 n-3 terms

using formula of A.P. [n/2 (a+l)] n is no. of terms, a is first term, l last ]
possibilities are (n-3)(n-2)/2

Now if exactly 3 stations are consecutive then (1,2,3) (2,3,4)….. (n-2,n-2,n)
Hence here the no. of possibilities are n-2

So the things I have to exclude are (n-3)(n-2)/2 + (n-2)
Which is equal to (n-1)(n-2)/2

So we have Pr{event} = 1 – (n-1)(n-2)/2*nC3 = (n-3)/n

But I am not getting the right answer. Any help where my analysis is wrong?
 
Physics news on Phys.org
Let's see... Suppose the train were to make 2 stops. You could make an n-by-n table, where a row shows the 1st stop and a column shows the 2nd stop. (E.g. if n=7 then the table will have 49 cells.) Since 1st stop < 2nd stop, you need to consider the cells above the diagonal only. The consecutive stops are of the form (k, k+1); they are the cells just above the diagonal. There are n-1 such cells.

Now you could apply this logic to your case (with 3 stops).
 
Gaganpreet Singh, nice to see another sardar here. :wink: WJKK WJKF! _/|\_
 
OptimusPrime said:
Gaganpreet Singh, nice to see another sardar here. :wink: WJKK WJKF! _/|\_
Do you have something to contribute to the discussion here?
 
gaganpreetsingh said:
There are n stations between two cities X and Y. At train is to stop at three of these n stations. Find the probability that no two of these three stations are consecutive.
The first stop can be anything betveen 1 and n-4. Let it be "j".
The second stop "k" can be any number from j+2 to n-2.
The third stop "l" can be any number from k+2 to n.
The number of possible arrangement of stops is
M = \sum_{1}^{n-4} \sum_{j+2}^{n-2} \sum_{k+2}^{n}1=\frac{(n-2)(n-3)(n-4)}{6}

ehild
 

Similar threads

Replies
12
Views
4K
Replies
14
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 21 ·
Replies
21
Views
1K
Replies
16
Views
2K