Difference between revisions of "2010 AMC 12A Problems/Problem 18"
(→Brute Force Solution) |
m |
||
Line 32: | Line 32: | ||
We soon reach <math>(4,4) \Rightarrow 1698\ \boxed{\textbf{(D)}}</math> | We soon reach <math>(4,4) \Rightarrow 1698\ \boxed{\textbf{(D)}}</math> | ||
− | === | + | === Combinatorial Solution 1 === |
By symmetry we only need to count the paths that go through the second quadrant (<math>x<0</math>, <math>y>0</math>). | By symmetry we only need to count the paths that go through the second quadrant (<math>x<0</math>, <math>y>0</math>). | ||
Line 42: | Line 42: | ||
Hence for <math>a=-4</math> we get <math>{5 \choose 5}{10 \choose 2}=45</math> paths, for <math>a=-3</math> we get <math>{6 \choose 5}{9 \choose 2}=6\cdot 36=216</math> paths, and for <math>a=-2</math> we get <math>{7 \choose 5}{8 \choose 2}=21\cdot 28=588</math> paths. This gives us <math>45+216+588 = 849</math> paths through the second quadrant, hence the total number of paths is <math>2\cdot 849 = 1698</math>. | Hence for <math>a=-4</math> we get <math>{5 \choose 5}{10 \choose 2}=45</math> paths, for <math>a=-3</math> we get <math>{6 \choose 5}{9 \choose 2}=6\cdot 36=216</math> paths, and for <math>a=-2</math> we get <math>{7 \choose 5}{8 \choose 2}=21\cdot 28=588</math> paths. This gives us <math>45+216+588 = 849</math> paths through the second quadrant, hence the total number of paths is <math>2\cdot 849 = 1698</math>. | ||
− | === | + | === Combinatorial Solution 2 === |
Each path that goes through the second quadrant must pass through exactly one of the points <math>(-4,4)</math>, <math>(-3,3)</math>, and <math>(-2,2)</math>. | Each path that goes through the second quadrant must pass through exactly one of the points <math>(-4,4)</math>, <math>(-3,3)</math>, and <math>(-2,2)</math>. | ||
There is exactly <math>1</math> path of the first kind, <math>{8\choose 1}^2=64</math> paths of the second kind, and <math>{8\choose 2}^2=28^2=784</math> paths of the third type. The conclusion remains the same. | There is exactly <math>1</math> path of the first kind, <math>{8\choose 1}^2=64</math> paths of the second kind, and <math>{8\choose 2}^2=28^2=784</math> paths of the third type. The conclusion remains the same. |
Revision as of 20:45, 24 February 2010
Contents
Problem 18
A 16-step path is to go from to with each step increasing either the -coordinate or the -coordinate by 1. How many such paths stay outside or on the boundary of the square , at each step?
Solution
Brute Force Solution
The number of ways to reach any point on the grid is equal to the number of ways to reach plus the number of ways to reach . Using this recursion, we can draw the diagram and label each point with the number of ways to reach it and go up until we reach the end. Luckily, the figure is not so big that this is too time-consuming or difficult to do.
For example:
etc.
We soon reach
Combinatorial Solution 1
By symmetry we only need to count the paths that go through the second quadrant (, ).
For each of these paths, let be the first point when it reaches . Clearly and the previous point on such path has to be .
Fix the value of . There are ways how the path can go from to , and then there are ways how the path can go from to .
Hence for we get paths, for we get paths, and for we get paths. This gives us paths through the second quadrant, hence the total number of paths is .
Combinatorial Solution 2
Each path that goes through the second quadrant must pass through exactly one of the points , , and .
There is exactly path of the first kind, paths of the second kind, and paths of the third type. The conclusion remains the same.