2003 AMC 12B Problems/Problem 24

Problem

Positive integers $a,b,$ and $c$ are chosen so that $a<b<c$, and the system of equations

$2x + y = 2003 \quad$ and $\quad y = |x-a| + |x-b| + |x-c|$

has exactly one solution. What is the minimum value of $c$?

$\mathrm{(A)}\ 668 \qquad\mathrm{(B)}\ 669 \qquad\mathrm{(C)}\ 1002 \qquad\mathrm{(D)}\ 2003 \qquad\mathrm{(E)}\ 2004$

Solution 1

Consider the graph of $f(x)=|x-a|+|x-b|+|x-c|$.

When $x<a$, the slope is $-3$.

When $a<x<b$, the slope is $-1$.

When $b<x<c$, the slope is $1$.

When $c<x$, the slope is $3$.

Setting $x=b$ gives $y=|b-a|+|b-b|+|b-c|=c-a$, so $(b,c-a)$ is a point on $f(x)$. In fact, it is the minimum of $f(x)$ considering the slope of lines to the left and right of $(b,c-a)$. Thus, graphing this will produce a figure that looks like a cup: [asy] import graph; size(100); draw((0,6)--(3,0)); xaxis(0,8.5); yaxis(0,10); real f(real x) { return -3(x-2)+5; } real f2(real x) { return -1(x-2)+5; } real f3(real x) { return 1(x-4)+3; } real f4(real x) { return 3(x-7)+6; } draw(graph(f,0,2)); draw(graph(f2,2,4)); draw(graph(f3,4,7)); draw(graph(f4,7,8.5)); draw((2,-0.25)--(2,0.25)); label("a",(2,0),N); draw((4,-0.25)--(4,0.25)); label("b",(4,0),N); draw((7,-0.25)--(7,0.25)); label("c",(7,0),N); dot((2,5)); label("P",(1.9,5.2),E); [/asy] From the graph, it is clear that $f(x)$ and $2x+y=2003$ have one intersection point if and only if they intersect at $x=a$. Since the line where $a<x<b$ has slope $-1$, the positive difference in $y$-coordinates from $x=a$ to $x=b$ must be $b-a$. Together with the fact that $(b,c-a)$ is on $f(x)$, we see that $P=(a,c-a+b-a)$. Since this point is on $x=a$, the only intersection point with $2x+y=2003$, we have $2 \cdot a+(b+c-2a)=2003 \implies b+c=2003$. As $c>b$, the smallest possible value of $c$ occurs when $b=1001$ and $c=1002$. This is indeed a solution as $a=1000$ puts $P$ on $y=2003-2x$, and thus the answer is $\boxed{\mathrm{(C)}\ 1002}$.

This indeed works for the two right segments of slope $1$ and $3$. We already know that the minimum is achieved between slopes $-3$ and $-1$ with $b+c=2003$: \[2003-2x=-a-b+c+x\longrightarrow 3x\ne a+b-c+2003 \{b<x<c\}\rightarrow (3b,3c)\ne a+2b\rightarrow b>a\text{ (true)}\] \[2003-2x=-a-b-c+3x\longrightarrow 5x\ne a+b+c+2003 \{x>c\}\rightarrow (5c,+5\infty)\ne a+2b+2c\rightarrow 3c>a+2b\text{ (true)}\] Indeed, within the restricted domain of $x$ in each segment, these inequalities prove to be unequal everywhere. So $y=2003-2x$ is strictly below $y=|x-a|+|x-b|+|x-c|$ at these domains.

Solution 2

Step 1: Finding some promising bound

Does the system have a solution where $x\leq a$?

For such a solution we would have $y=(a-x)+(b-x)+(c-x)$, hence $2x+(a+b+c-3x)=2003$, which solves to $x=a+b+c-2003$. If we want to avoid this solution, we need to have $a+b+c-2003>a$, hence $b+c>2003$, hence $c\geq 1003$. In other words, if $c<1003$, there will always be one solution $(x,y)$ such that $x\leq a$.

Step 2: Showing one solution

We will now find out whether there is a $c<1003$ for which (and some $a,b$) the system has only one solution. We already know of one such solution, so we need to make sure that no other solution appears.

Obviously, there are three more theoretically possible solutions: one $x$ in $\left(a,b\right]$, one in $\left(b,c\right]$, and one in $\left(c,\infty\right)$. The first case solves to $x=2003+a-b-c$, the second to $3x=2003+a+b-c$, and the third to $5x=2003+a+b+c$. We need to make sure that the following three conditions hold:

  1. $2003+a-b-c\not\in\left(a,b\right]$
  2. $\frac{2003+a+b-c}3\not\in \left(b,c\right]$
  3. $\frac{2003+a+b+c}5\not\in\left(c,\infty\right)$.

Let $c=1002$ and $b=1001$. We then have:

  1. $2003+a-b-c=a$
  2. $\frac{2003+a+b-c}3 = \frac{2002+a}3 \leq \frac{2002+1000}3 < 1001 = b$
  3. $\frac{2003+a+b+c}5 = \frac{4006+a}5 \leq \frac{4006+1006}5 < 1002 = a$

Hence for $c=1002$, $b=1001$ and any valid $a$ the system has exactly one solution $(x,y)=(a,2003-2a)$.

Step 3: Proving the optimality of our solution

We will now show that for $c<1002$ the system always has a solution such that $x>a$. This will mean that the system has at least two solutions, and thus the solution with $c=1002$ is optimal.

  1. As we are looking for a $c<1002$, we have $b+c\leq 2001$, hence $2003+a-b-c > a$. To make sure that the value falls outside $\left(a,b\right]$, we need to make it larger than $b$, thus $2003+a-b-c > b$, or equivalently $2003+a > 2b+c$.
  2. The condition we just derived, $2003+a > 2b+c$, can be rewritten as $2003+a+b > 3b+c$, then as $2003+a+b-c > 3b$, which becomes $\frac{2003+a+b-c}3 > b$. Thus to make sure that the second value falls outside $\left(b,c\right]$, we need to make it larger than $c$. The inequality $\frac{2003+a+b-c}3 > c$ simplifies to $2003+a+b > 4c$.
  3. To avoid the last solution, we must have $\frac{2003+a+b+c}5\leq c$, which simplifies to $2003+a+b \leq 4c$.

The last two inequalities contradict each other, thus there are no $a,b,c$ that would satisfy both of them.

Conclusion

We just showed that whenever $c<1002$, the system has at least two different solutions: one with $x\leq a$ and one with $x>a$.

We also showed that for $c=1002$ there are some $a,b$ for which the system has exactly one solution.

Hence the optimal value of $c$ is $\boxed{\mathrm{(C)}\ 1002}$.

See also

2003 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 23
Followed by
Problem 25
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