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

Line 17: Line 17:
 
-vsamc
 
-vsamc
 
Note: Sorry if this was rushed.
 
Note: Sorry if this was rushed.
 +
 +
==Further Explanation(For Solution 1)==
 +
As stated in the solution, there are <math>6</math> points along the line <math>y=x</math> that constitute a sort of "boundary". Once the ant reaches one of these <math>6</math> points, it is exactly halfway to <math>(4, 4)</math>. Also notice that the ant will only cross one of the <math>6</math> points during any one of its paths. Therefore we can divide the problem into <math>3</math> cases, focusing on <math>1</math> quadrant; then multiplying the sum by <math>2</math> 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 <math>(4, -4), (3, -3),</math> and <math>(2, -2)</math>.
 +
 +
 +
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 <math>8</math> 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 <math>(4, -4);</math> it MUST keep traveling right for all <math>8</math> steps. This seems fairly obvious; however, notice that this is equivalent to
 +
 +
 +
<math>\binom{8}{0}</math>
 +
 +
 +
Now we consider the number of ways to get from <math>(4, -4)</math> to <math>(4, -4)</math>. by symmetry, there is only <math>1</math> such way. So the number of paths containing <math>(4, -4)</math> is <math>1^2,</math> or <math>1</math>.
 +
 +
 +
Moving on to the next case, we see that the ant MUST travel right exactly <math>7</math> times and up exactly once. So each sequence of this type will have <math>7</math> "right"s and <math>1</math> "up". So, the total number of paths that go through <math>(3, -3)</math> is equivalent to the number of ways to arrange <math>1</math> "up" into <math>8</math> spots. This is
 +
 +
 +
<math>\binom{8}{1} = 8</math>
 +
 +
 +
Similarly to the first case, we square this value to account for the second half of the journey: <math>8^2 = 64</math>.
 +
 +
 +
Finally, for the third case (ant passes through <math>(2, -2)</math>) the ant must travel right exactly <math>6</math> times and up exactly <math>2</math> times. This is equivalent to the number of ways to arrange <math>2</math> "ups" in a sequence of <math>8</math> movements, or
 +
 +
 +
<math>\binom{8}{2} = 28</math>
 +
 +
 +
Again, we square <math>28</math>: <math>28^2 = 784</math>. Adding up all of these cases we get
 +
 +
 +
<math>1+64+784 = 849</math>
 +
 +
 +
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}}.
 +
 +
 
== See also ==
 
== See also ==
 
{{AMC12 box|year=2010|num-b=17|num-a=19|ab=A}}
 
{{AMC12 box|year=2010|num-b=17|num-a=19|ab=A}}

Revision as of 10:38, 2 August 2020

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[\dbinom{8}{3}\dbinom{7}{2}+\dbinom{9}{4}\dbinom{6}{2}+\dbinom{10}{5}\dbinom{5}{2}]=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}}.


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