SOLUTION: The following 7 × 22 grid is divided into squares that are 1 unit by 1 unit. WebAssign PlotThe shortest possible path on this grid from A to B is 29 units long. One such path is

Algebra.Com
Question 1201865: The following 7 × 22 grid is divided into squares that are 1 unit by 1 unit.
WebAssign PlotThe shortest possible path on this grid from A to B is 29 units long. One such path is shown in the figure. Let X be the set of all 29-unit-long paths from A to B.
Compute |X|, the number of 29-unit-long paths from A to B.
|X| =

Found 3 solutions by mananth, ikleyn, greenestamps:
Answer by mananth(16946)   (Show Source): You can put this solution on YOUR website!
I dont see the figure
Answer by ikleyn(52779)   (Show Source): You can put this solution on YOUR website!
.
The following 7 × 22 grid is divided into squares that are 1 unit by 1 unit.
The shortest possible path on this grid from A to B is 29 units long.
One such path is shown in the figure. Let X be the set of all 29-unit-long paths from A to B.
Compute |X|, the number of 29-unit-long paths from A to B.
~~~~~~~~~~~~~~~~~~~~~~


Indeed,  the figure is not shown,  and it can perplex a reader.

But notice that  29 = 7 + 22,  and it makes the meaning of the problem  UNIQUE  even without a plotted figure.

The points  A  and  B  are opposite vertices of the  7x22 rectangle
and the shown path is a path on the grid,  comprised of vertical and horizontal segments
of the grid from corner  A  to corner  B,  such that a path represents
a piece-wide monotonic function.

For better understanding, this grid has 7 segments in one direction and 22 segments in other direction;
but the number of the vertices of the grid is (7+1) = 8 in one direction and (22+1) = 23 in the other direction.

We can think that  22  segments of the grid are horizontal and  7  segments are vertical,
and A is the left lowest corner of the grid,  while B is the upper right corner.
So,  we can think that the associated function is a piece-wide monotonically increasing.

The meaning of the problems remains the same at any other disposition of the grid
and the corners A and B.

Notice that vertical increments of the function are not necessary one vertical segment
of the grid:  it can be two segments or three etc.,  but the governing rule is that the
associated function is a piece-wide  MONOTONIC - it provides the shortest path.

Then it becomes  CLEAR  that this problem is the same as to ask,
in how many ways  22  (undistinguishable)  objects can be distributed (placed) in 8
distinguishable boxes in a way that the empty boxes are allowed.

In other words,  it can be re-formulated in this way: how many solutions this equation

         + + + + + + + = 22         (1)

may have in integer non-negative numbers   ,  i = 1, 2, 3, . . . , 8.

In this form, it is a typical problem to be solved by the "stars-and-bars" method.


About this method, see this Wikipedia article 

https://en.wikipedia.org/wiki/Stars_and_bars_%28combinatorics%29


or my lesson

    - Stars and bars method for Combinatorics problems 

in this site.



The answer is THIS: the number of solutions to equation (1) is  

     =  =  = 1560780.


ANSWER.  The number of paths in this problem is  1560780.

Solved.



Answer by greenestamps(13200)   (Show Source): You can put this solution on YOUR website!


The figure is described as a 7x22 grid of unit squares, so we don't need to see the figure....

Assuming this is a problem where A and B are opposite corners of the grid, the number of paths of length 29 from A to B is



To understand the reason for that answer, let B be 22 units to the right of A and 7 units above A. Then any path from A to B of length 29 has to move 22 "steps" to the right ("R") and 7 steps up ("U").

So each path of length 29 from A to B consists of some arrangement of the symbols

RRRRRRRRRRRRRRRRRRRRRRUUUUUUU

By a well-known counting principle, the number of ways to do that is the number shown above.

ANSWER:


RELATED QUESTIONS

A three by three grid is divided into nine unit squares. The top left unit square is... (answered by greenestamps)
Write the vector shown in component form. (Assume that each point lies on the grid lines... (answered by MathLover1)
I dont really understand how to do the figures that are divided into squares and the... (answered by Alan3354)
A studio apartment has a floor that measures 80 feet by 64 feet. A scale drawing of the... (answered by josmiceli)
A rectangular grid whose side lengths are integers greater than 1 is given. Smaller... (answered by ikleyn)
All of the faces of a rectangular block are painted red. The rectangular block is cut... (answered by greenestamps)
https://cds.flipswitch.com/tools/asset/media/605089 Suppose your town is laid out on a (answered by Boreal)
Call the places by the first letter of their name e.g. Arachnid by A, Feline by F and so... (answered by psbhowmick)
The graph of y=f(x) is shown in red below. For how many values of c is f(c) = -1?... (answered by Edwin McCravy)