Solveeit Logo

Question

Question: A person starts at the bottom left corner O(0, 0) of a rectangular grid and moves to the top right c...

A person starts at the bottom left corner O(0, 0) of a rectangular grid and moves to the top right corner T(5, 4) by taking only one unit right or one unit up. All shortest path form O to T are equally likely. Then the probability that the path passes through P(2, 1) given that it will also pass through Q(4, 3) is

A

15\frac{1}{5}

B

1735\frac{17}{35}

C

35\frac{3}{5}

D

1835\frac{18}{35}

Answer

1835\frac{18}{35}

Explanation

Solution

The number of shortest paths from (x1,y1)(x_1, y_1) to (x2,y2)(x_2, y_2) is ((x2x1)+(y2y1)x2x1)\binom{(x_2-x_1)+(y_2-y_1)}{x_2-x_1}. The number of paths through Q(4,3) is N(OQ)×N(QT)=(4+34)×((54)+(43)54)=(74)×(21)=35×2=70N(O \to Q) \times N(Q \to T) = \binom{4+3}{4} \times \binom{(5-4)+(4-3)}{5-4} = \binom{7}{4} \times \binom{2}{1} = 35 \times 2 = 70. The number of paths through P(2,1) and Q(4,3) is N(OP)×N(PQ)×N(QT)=(2+12)×((42)+(31)42)×((54)+(43)54)=(32)×(42)×(21)=3×6×2=36N(O \to P) \times N(P \to Q) \times N(Q \to T) = \binom{2+1}{2} \times \binom{(4-2)+(3-1)}{4-2} \times \binom{(5-4)+(4-3)}{5-4} = \binom{3}{2} \times \binom{4}{2} \times \binom{2}{1} = 3 \times 6 \times 2 = 36. The conditional probability is the ratio of these counts: 3670=1835\frac{36}{70} = \frac{18}{35}.