Ten shortest paths: count routes without measuring distance twice
Two points on a grid can have several equally short routes between them. Choosing a different route does not necessarily change the distance. In this Academia Master Trader paper exercise, we will count paths across a small rectangular grid. The diagram is an invented mathematical example, not a record of journeys or market movements.
Define the allowed moves
Draw a rectangle three squares wide and two squares high. Put the start at the lower-left corner and the finish at the upper-right corner. Travel along the grid lines, moving only one square right or one square up at each step.
Every allowed route needs three right moves and two up moves. It therefore contains five steps. If every square has side length one centimetre, each route has length five centimetres along the grid. We are not measuring the straight line between the endpoints.
The movement rule matters. Allowing left moves, downward moves or diagonal moves would create a different question. Keep those moves outside this exercise.

Original diagram: each intersection shows the number of allowed routes from the start to that intersection. The upper-right corner receives ten routes.
Count the boundary first
There is one way to reach each intersection on the bottom edge: keep moving right. There is also one way to reach each intersection on the left edge: keep moving up.
At the start we write one. This represents the single empty sequence of moves before travelling anywhere. It gives the counting rule a consistent starting value; it does not add an extra physical journey.
Add the two possible arrivals
An interior intersection can be reached from the intersection immediately to its left or from the one immediately below it. These two groups cannot overlap because their final moves differ.
Add their counts. The intersection one square right and one square up has two routes: right then up, or up then right. Across that middle row, the counts become one, two, three and four, starting at the left boundary.
The upper row becomes one, three, six and ten. In particular, the finish has six routes arriving from its left neighbour and four arriving from below. Six plus four gives ten.
Count the same routes through their move sequences
A second method chooses which two of the five step positions contain up moves. There are five choices for a first selected position and four for a different second position, giving twenty ordered selections.
But choosing positions two and five describes the same pair as choosing five and two. Each pair was counted twice. Divide twenty by two to obtain ten. Once the two up positions are fixed, the other three positions must be right moves.
Change the rule, then count again
If the rectangle were two squares wide and two high, every route would contain four steps with two up moves. The same argument gives four times three divided by two, or six routes. The distance and the number of routes answer different questions. State both the grid and the movement rule before comparing either one.
Visit academiamastertrader.com.br to get to know the Academia Master Trader project and its structure. Continue exploring through Aprenda using the project link below.
Aprenda: https://academiamastertrader.com.br/materiais/aprenda/