2010 AMC 12A Problems/Problem 18

Revision as of 14:46, 24 October 2024 by Wes (talk | contribs) (Further Explanation(for Solution 1))

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 1

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 is $1$ path 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 is $1$ path 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+64+784) = \boxed{1698}$.

Solution 2

We will use the concept of complimentary counting. If you go in the square you have to go out by these labeled points(click the link) https://imgur.com/VysX4P0 and go out through the borders because if you didnt, you would touch another point in one of those points in the set of points in the link(Call it $S$). There is symmetry about $y=x$, so we only have to consider $(1,-1), (1,0)$, and $(1,1)$. $(1,1)$ can go on the boundary in two ways, so we can only consider one case and multiply it by two. For $(1,0)$ and $(1,-1)$ we can just multiply by two. So we count paths from $(-4,4)$ to each of these points, and then multiply that by the number of ways to get from the point one unit right of that to $(4,4)$, and all in all, we get the answer is $\dbinom{16}{8}-2\left[\dbinom{8}{3}\dbinom{7}{2}+\dbinom{9}{4}\dbinom{6}{2}+\dbinom{10}{5}\dbinom{5}{2}\right]=1698$, which is answer choice $\textbf{(D)}$ -vsamc Note: Sorry if this was rushed.

Further Explanation(for Solution 1)

As stated in the solution, there are $6$ points along the line $y=-x$ that constitute a sort of "boundary". Once the ant reaches one of these $6$ points, it is exactly halfway to $(4, 4)$. Also notice that the ant will only cross one of the $6$ points during any one of its paths. Therefore we can divide the problem into $3$ cases, focusing on $1$ quadrant; then multiplying the sum by $2$ to get the total (because there is symmetry).


For the sake of this explanation, we will focus on the fourth quadrant (it really doesn't matter which quadrant because, again the layout is symmetrical) The three cases are when the ant crosses $(4, -4), (3, -3),$ and $(2, -2)$.


For each of the cases, notice that the path the ant takes can be expressed as a sequence of steps, such as:


right, right, up, right,..., etc.


Also notice that there are always $8$ steps per sequence (if there were more or less steps, the ant would be breaking the conditions given in the problem). This means we can figure out the number of ways to get to a point based on the particular sequence of steps that denote each path. For example, there is only one way for the ant to pass through $(4, -4);$ it MUST keep traveling right for all $8$ steps. This seems fairly obvious; however, notice that this is equivalent to


$\binom{8}{0}$


Now we consider the number of ways to get from $(4, -4)$ to $(4, 4)$. by symmetry, there is only $1$ such way. So the number of paths containing $(4, -4)$ is $1^2,$ or $1$.


Moving on to the next case, we see that the ant MUST travel right exactly $7$ times and up exactly once. So each sequence of this type will have $7$ "right"s and $1$ "up". So, the total number of paths that go through $(3, -3)$ is equivalent to the number of ways to arrange $1$ "up" into $8$ spots. This is


$\binom{8}{1} = 8$


Similarly to the first case, we square this value to account for the second half of the journey: $8^2 = 64$.


Finally, for the third case (ant passes through $(2, -2)$) the ant must travel right exactly $6$ times and up exactly $2$ times. This is equivalent to the number of ways to arrange $2$ "ups" in a sequence of $8$ movements, or


$\binom{8}{2} = 28$


Again, we square $28$: $28^2 = 784$. Adding up all of these cases we get


$1+64+784 = 849$


paths through the fourth quadrant. Doubling this number to account for the paths through the second quadrant, we have


$849*2=1698 \Rightarrow \boxed{\text{D}}$.


For all the notation geeks out there, the solution can be expressed as such:


$2\sum_{k=0}^2 \binom{8}{k}^2$

Solution 3

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