Maths Olympiad Prep

Library / /36 of 1394

Algebra Difficulty 4.6 AIME Find the answer United States

Problem:

For some real number cc, the graphs of the equation y=x20+x+18y = |x - 20| + |x + 18| and the line y=x+cy = x + c intersect at exactly one point. What is cc?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

We want to know the value of cc so that the graph x20+x+18x=c|x-20| + |x+18| - x = c has one solution. The graph of the function x20+x+18x|x-20| + |x+18| - x consists of an infinite section of slope 3-3 for x(,18]x \in (-\infty, -18], then a finite section of slope 1-1 for x[18,20]x \in [-18, 20], then an infinite section of slope 11 for x[20,)x \in [20, \infty). Notice that this graph is strictly decreasing on (,20](-\infty, 20] and strictly increasing on [20,)[20, \infty). Therefore any horizontal line will intersect this graph 00 or 22 times, except the one that passes through the "vertex" (20,2020+20+1820)=(20,18)(20, |20-20| + |20+18| - 20) = (20, 18), giving a value of c=18c = 18.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.