Problem:
Let f(x)=β£xβ2β£+β£xβ4β£ββ£2xβ6β£, for 2β©½xβ©½8. The sum of the largest and smallest values of f(x) is
Answer Choices:
A. 1
B. 2
C. 4
D. 6
E. none of these
Solution:
When 2β©½xβ©½3,f(x)=(xβ2)β(xβ4)+(2xβ6)=β4+2x. Similar algebra shows that when 3β©½xβ©½4,f(x)=8β2x; and when 4β©½xβ©½8,f(x)=0. The graph of f(x) given in the adjoining figure shows that the maximum and minimum of f(x) are 2 and 0, respectively.