Sign in
Please select an account to continue using cracku.in
↓ →
Join Our JEE Preparation Group
Prep with like-minded aspirants; Get access to free daily tests and study material.
In the plane let the positive end of the $$π₯-axis$$ be directed towards East and the positive end of the $$y-axis$$ be directed towards North. Suppose you are at $$(0, 0)$$ and you want to go to $$(7, 12)$$. At every move you are allowed to move unit length towards East or unit length towards North from your current position but you are not allowed to visit any point $$(β, π)$$ where both $$β, π$$ are odd. Find the number of such paths $$π$$.
Correct Answer: 84
Let $$W(x,y)$$ denote the number of admissible paths from the origin $$(0,0)$$ to the lattice point $$(x,y)$$ when we are
Β Β β’ allowed moves : one step East (E) $$:(x,y)\rightarrow (x+1,y)$$ or one step North (N) $$:(x,y)\rightarrow (x,y+1)$$
Β Β β’ forbidden points : those with both coordinates odd, i.e. $$(x,y)$$ with $$x$$ odd and $$y$$ odd.
The usual additive recurrence for rectangularβgrid paths remains valid provided the destination point itself is not forbidden:
If $$(x,y)$$ is not forbidden, then
$$W(x,y)=W(x-1,y)+W(x,y-1)$$ Β Β -(1)
If $$(x,y)$$ is forbidden (both $$x,y$$ odd) we put $$W(x,y)=0$$.
Initialisation : $$W(0,0)=1$$. On the coordinate axes at least one coordinate is even, hence no point on either axis is forbidden. Therefore
$$W(x,0)=1\;(0\le x\le 7),\qquad W(0,y)=1\;(0\le y\le 12).$$
Using (1) row by row (or column by column) we fill the $$8\times 13$$ array $$\{0\le x\le 7,\;0\le y\le 12\}.$$ The forbidden points are left blank (valueΒ 0).
yΒ \xΒ Β 0Β 1Β 2Β 3Β 4Β 5Β 6Β 7
0Β Β 1Β 1Β 1Β 1Β 1Β 1Β 1Β 1
1Β Β 1Β 0Β 1Β 0Β 1Β 0Β 1Β 0
2Β Β 1Β 1Β 2Β 2Β 3Β 3Β 4Β 4
3Β Β 1Β 0Β 2Β 0Β 3Β 0Β 4Β 0
4Β Β 1Β 1Β 3Β 3Β 6Β 6Β 10Β 10
5Β Β 1Β 0Β 3Β 0Β 6Β 0Β 10Β 0
6Β Β 1Β 1Β 4Β 4Β 10Β 10Β 20Β 20
7Β Β 1Β 0Β 4Β 0Β 10Β 0Β 20Β 0
8Β Β 1Β 1Β 5Β 5Β 15Β 15Β 35Β 35
9Β Β 1Β 0Β 5Β 0Β 15Β 0Β 35Β 0
10Β 1Β 1Β 6Β 6Β 21Β 21Β 56Β 56
11Β 1Β 0Β 6Β 0Β 21Β 0Β 56Β 0
12Β 1Β 1Β 7Β 7Β 28Β 28Β 84Β 84
The last entry in the table is $$W(7,12)=84$$, because $$(7,12)$$ itself is admissible (7 is odd, 12 is even).
Hence, the required number of paths is
$$n = 84$$
Click on the Email βοΈ to Watch the Video Solution
Predict your JEE Main percentile, rank & performance in seconds
Educational materials for JEE preparation