Professional Documents
Culture Documents
Polyas Method
Polyas Method
A. How many possible distinct routes can be taken to get from A to B if only downward and to-
the-right moves are allowed?
Think of the sketch below as a diagram of city blocks (white squares) and streets/intersections
(gray rectangles and squares). You can move to the right or downwards but not to the left or
upwards (no backtracking)
(Hint: It may help to solve problem B first and then draw insights from the solution which can be
applied to problem A. This problem solving strategy is sometimes called “Solve a Simpler
Problem” in which you solve a simpler version of the problem to draw insights into how you can
solve the bigger problem.)
1 1 1 1 1 1 1 1 1 1 1
1 2 3 4 5 6 7 8 9 10 11
1 3 6 10 15 21 28 36 45 55 66
B. How many possible distinct routes can be taken to get from A to C if only downward and
to-the-right moves are allowed?
- From point A to C there are 20 possible distinct routes.
1 1 1 1
1 2 3 5
1 3 6 10
1 4 10 20
C. How many possible distinct routes can be taken to get from A to B if only downward and to-
the-right moves are allowed and you have to visit C (the blue intersection) in between?
Hint: You may have occasion to use the problem solving strategy called “Divide and Conquer”
in which you break down a problem into smaller subproblems and solve each smaller problem
in turn. Also, you may also have occasion to “Recycle” a result you may have made in the
previous 2 problems.
1 1 1 1
1 2 3 4
1 3 6 10
1 4 10 20 20 20 20 20 20 20 20
D. How many possible distinct routes can be taken to get from A to B if only downward and to-
the-right moves are allowed and you have to visit D (green) then E (yellow) in that order in
between, i.e. the path will involve going from A to D then to E and finally to B? Justify your
answer.
- In visiting D then E is not possible since the instruction was to go
downward and to the right, going upward is not on the instruction so there
is no or zero possible route.
- Visiting E before D is not possible. We have to use only downward and to
the right since D is on the left side of E, no possible route.
- There is no possible route from A to B if I need to visit both D and E or vice
versa.