1982 AHSME Problems/Problem 19

Revision as of 18:12, 12 September 2021 by MRENTHUSIASM (talk | contribs) (Created page with "== Problem == Let <math>f(x)=|x-2|+|x-4|-|2x-6|</math> for <math>2 \leq x\leq 8</math>. The sum of the largest and smallest values of <math>f(x)</math> is <math>\textbf {(A)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

Let $f(x)=|x-2|+|x-4|-|2x-6|$ for $2 \leq x\leq 8$. The sum of the largest and smallest values of $f(x)$ is

$\textbf {(A)}\ 1 \qquad  \textbf {(B)}\ 2 \qquad  \textbf {(C)}\ 4 \qquad  \textbf {(D)}\ 6 \qquad  \textbf {(E)}\ \text{none of these}$

Solution

Note that at $x=2,3,4,$ one of the three absolute values is equal to $0.$

Without using absolute values, we rewrite $f(x)$ as a piecewise function: \[f(x) = \begin{cases} (x-2)+(4-x)-(6-2x) & \mathrm{if} \ 2\leq x<3 \\ (x-2)+(4-x)-(2x-6) & \mathrm{if} \ 3\leq x<4 \\ (x-2)+(x-4)-(2x-6) & \mathrm{if} \ 4\leq x\leq8 \end{cases},\] which simplify to \[f(x) = \begin{cases} 2x-4 & \mathrm{if} \ 2\leq x<3 \\ -2x+8 & \mathrm{if} \ 3\leq x<4 \\ 0 & \mathrm{if} \ 4\leq x\leq8 \end{cases}.\] The graph of $y=f(x)$ is shown below.

DIAGRAM NEEDED

The largest value of $f(x)$ is $2,$ and the smallest value of $f(x)$ is $0.$ So, their sum is $\boxed{\textbf {(B)}\ 2}.$

~MRENTHUSIASM

See Also

1982 AHSME (ProblemsAnswer KeyResources)
Preceded by
Problem 18
Followed by
Problem 20
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 26 27 28 29 30
All AHSME Problems and Solutions

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