Fox, the FoxSumKids mascotFoxSumKids Start FoxSumKids

Paths on a grid: math practice, grade 9

Practise “Paths on a grid” online for free. Five right answers in a row make the tasks harder, two mistakes in a row make them easier. Right answers earn coins for games.

  • grade 9
  • Levels 1–5
  • Step-by-step solutions
  • Free

Start FoxSumKids

What the topic is about

Paths on a grid: from corner A to corner B along the streets, only right and up. How many different ways are there? Sometimes a crossing is closed or you must pass through the star.

Where it leads

Counting paths on a grid is where combinatorics meets Pascal's triangle. The same numbers appear in probability, the binomial theorem and programming (dynamic programming). "At each crossing, add the paths from the neighbours" is an example of solving a hard problem in small steps.

How to solve

  • Write the number of ways at each crossing: the sum of the numbers to its left and below.
  • Write 0 at a closed crossing.
  • If you must pass through a point, multiply the ways to it by the ways from it.

A worked example

Go from A to B along the streets, only right and up. Crossings with ✖ are closed. How many different ways are there?

Answer: 23

  1. You reach each crossing from the left or from below, so the ways to it are the sum of the numbers at its left and lower neighbours. A closed crossing has 0. Write the numbers from A to B:
  2. 12 + 11 = 23

Typical mistakes

  • Counting paths by hand and missing some.
  • Adding instead of multiplying for a path through a point.

How to tell it is learnt

  • Labels each crossing with its number of paths by adding neighbours.
  • Handles closed crossings and points that must be passed.
  • Recognises Pascal's triangle on the grid.

How to help at home

Count how many short ways there are from home to school along the blocks, only ever "forwards".

A game without a phone

Draw a 3 × 3 grid and count the paths from the bottom-left corner to the top-right, moving only right and up. Write the number of paths at each crossing: it is the sum of its two neighbours. Spot Pascal's triangle in the picture. Then "close" one crossing and count again.

Example problems

These are only examples: the practice makes new tasks every time. 🖨 Printable worksheet

  1. Go from A to B along the streets, only right and up. How many different ways are there?

    Answer

    3

    1. You reach each crossing from the left or from below, so the ways to it are the sum of the numbers at its left and lower neighbours. Write the numbers from A to B:
    2. 1 + 2 = 3
  2. Go from A to B along the streets, only right and up. How many different ways are there?

    Answer

    15

    1. You reach each crossing from the left or from below, so the ways to it are the sum of the numbers at its left and lower neighbours. Write the numbers from A to B:
    2. 10 + 5 = 15
  3. Go from A to B along the streets, only right and up. Crossings with ✖ are closed. How many different ways are there?

    Answer

    65

    1. You reach each crossing from the left or from below, so the ways to it are the sum of the numbers at its left and lower neighbours. A closed crossing has 0. Write the numbers from A to B:
    2. 31 + 34 = 65
  4. Go from A to B along the streets, only right and up. Crossings with ✖ are closed. How many different ways are there?

    Answer

    25

    1. You reach each crossing from the left or from below, so the ways to it are the sum of the numbers at its left and lower neighbours. A closed crossing has 0. Write the numbers from A to B:
    2. 10 + 15 = 25
  5. Go from A to B along the streets, only right and up, and always through ★. How many different ways are there?

    Answer

    15

    1. The way has two parts. Ways from A to ★: 3, from ★ to B: 5. Any first part goes with any second part:
    2. 3 × 5 = 15
  6. Go from A to B along the streets, only right and up. Crossings with ✖ are closed. How many different ways are there?

    Answer

    92

    1. You reach each crossing from the left or from below, so the ways to it are the sum of the numbers at its left and lower neighbours. A closed crossing has 0. Write the numbers from A to B:
    2. 56 + 36 = 92

Practise “Paths on a grid” online

Free and with no sign-up: the first task opens in a couple of seconds.

Start FoxSumKids

More topics: Grade 9

← All topics