Difference between revisions of "2010 AMC 12A Problems/Problem 18"

(See also)
(Solution)
Line 5: Line 5:
  
 
== Solution ==
 
== Solution ==
=== Brute Force Solution ===
+
Each path must go through either the second or the fourth quadrant.
The number of ways to reach any point <math>(x,y)</math> on the grid is equal to the number of ways to reach <math>(x-1,y)</math> plus the number of ways to reach <math>(x,y-1)</math>. 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.
+
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>.
 
 
For example:
 
 
 
<cmath>\begin{align*}&(-4,-4) \Rightarrow 1\\
 
&(-3,-4) \Rightarrow 1\\
 
&(-2,-4) \Rightarrow 1\\
 
&(-4,-3) \Rightarrow 1\\
 
&(-4,-2) \Rightarrow 1\\
 
&(-3,-3) \Rightarrow 2\\
 
&(-2,-3) \Rightarrow 3\\
 
&(-3,-2) \Rightarrow 3\\
 
&(-2,-2) \Rightarrow 6\end{align*}</cmath>
 
 
 
etc.
 
 
 
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>).
 
 
 
For each of these paths, let <math>(a,2)</math> be the first point when it reaches <math>y=2</math>. Clearly <math>a\in\{-4,-3,-2\}</math> and the previous point on such path has to be <math>(a,1)</math>.
 
 
 
Fix the value of <math>a</math>. There are <math>{a+9 \choose 5}</math> ways how the path can go from <math>(-4,-4)</math> to <math>(a,1)</math>, and then there are <math>{6-a \choose 2}</math> ways how the path can go from <math>(a,2)</math> to <math>(4,4)</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 ===
+
There are <math>1</math> paths 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.
 
+
Each path that goes through the fourth 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>.
+
Again, there are <math>1</math> paths 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.  
  
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.
+
Hence the total number of paths is <math>2(1+8+784) = 1698</math>.
  
 
== See also ==
 
== See also ==

Revision as of 16:58, 5 October 2013

Problem

A 16-step path is to go from $(-4,-4)$ to $(4,4)$ with each step increasing either the $x$-coordinate or the $y$-coordinate by 1. How many such paths stay outside or on the boundary of the square $-2 \le x \le 2$, $-2 \le y \le 2$ at each step?

$\textbf{(A)}\ 92 \qquad \textbf{(B)}\ 144 \qquad \textbf{(C)}\ 1568 \qquad \textbf{(D)}\ 1698 \qquad \textbf{(E)}\ 12,800$

Solution

Each path must go through either the second or the fourth quadrant. Each path that goes through the second quadrant must pass through exactly one of the points $(-4,4)$, $(-3,3)$, and $(-2,2)$.

There are $1$ paths of the first kind, ${8\choose 1}^2=64$ paths of the second kind, and ${8\choose 2}^2=28^2=784$ paths of the third type. Each path that goes through the fourth quadrant must pass through exactly one of the points $(4,-4)$, $(3,-3)$, and $(2,-2)$. Again, there are $1$ paths of the first kind, ${8\choose 1}^2=64$ paths of the second kind, and ${8\choose 2}^2=28^2=784$ paths of the third type.

Hence the total number of paths is $2(1+8+784) = 1698$.

See also

2010 AMC 12A (ProblemsAnswer KeyResources)
Preceded by
Problem 17
Followed by
Problem 19
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png