With rectangular axes of coordinates, the number of paths from to via , where each step from any point is either to , or to ( ), is
With rectangular axes of coordinates, the number of paths from to via , where each step from any point is either to , or to ( ), is
Entered answer:
Solution
When we move from point to either or , we're essentially:
Moving right by 1 unit:
Moving up by 1 unit:
This is called a lattice path problem.
Since we must pass through , we can split our journey into two parts:
Part 1:
Part 2:
The total number of paths = (Paths in Part 1) × (Paths in Part 2)
Why multiply? For each way to reach , we can combine it with any way to go from to . This is the multiplication principle in counting.
To go from to :
Right moves needed: steps
Up moves needed: steps
Total moves: steps
Out of these 8 steps, we need to choose which 3 will be "right" moves (the remaining 5 will automatically be "up" moves).
Number of ways =
To go from to :
Right moves needed: steps
Up moves needed: steps
Total moves: steps
Out of these 8 steps, we choose which 4 will be "right" moves.
Number of ways =
Total number of paths =
Key Insight: In lattice path problems, if you need to go right times and up times, the number of ways is (or equivalently ).