Question
Question: There are 12 intermediate stations between two places A and B. Find the number of ways in which a tr...
There are 12 intermediate stations between two places A and B. Find the number of ways in which a train can be made to stop at 4 of these intermediate stations so that no two stopping stations are consecutive.
Solution
Hint: In this question we need to find the number of ways a train travels between two stations, given some constraints. In order to solve this question, we will assume the number of stations missed before every stopping station as xi. This will help us simplify the question and reach the answer.
Complete step-by-step answer:
We have been given that there are 12 intermediate stations between two places A and B and trains will stop only at four stations which are not consecutive.
So, let x1 be the number of stations before Stop 1, x2 be the number of stations before Stop 2, x3 be the number of stations before Stop 3 and x4 be the number of stations before Stop 4. Also, x5 be the number of stations on the right of 5th station.
So, x1⩾0,x2⩾1,x3⩾1,x4⩾1
And ⇒x1+x2+x3+x4+x5=8
So, let x2−1=y2,x2−1=y3,x4−1=y4
⇒x1+y2−1+y3−1+y4−1+x5=8
⇒x1+y2+y3+y4+x5=5
So, the number of solutions of this equation using the formula; Number of ways=n+r−1Cr−1,
where n = 5, r = 5
⇒5+5−1C5−1=9C4
Now, as nCr=r!(n−r)!n!
So, 9C4=4!(9−4)!9!=4!5!9!=126
Hence, there are 126 ways in which a train can be made to stop at 4 of these intermediate stations so that no two stopping stations are consecutive.
Note: Whenever we face such types of problems the value point to remember is that we need to have a good grasp over combinations and its formulas. The formula to calculate the required combination has been discussed above. This helps in getting us the required expressions and gets us on the right track to reach the answer.