What is the minimum value of f(x) = |x − 2| + |x − 5|?
A0
B2
C3
D7
Show answer & solution
Correct answer: C. 3
Solution: The sum of distances from x to 2 and to 5 is smallest (= 5 − 2 = 3) for any x between 2 and 5.
MCQ · Medium
Correct answer: C. 3