NDA · Question 40
Consider the function f(x) = |x - 2| + |3 - x| + |4 - x|, where x ∈ ℝ. What is the minimum value of the function?
Show answer & explanationShow explanation
Answer: (A) 2
The function f(x) = |x - 2| + |3 - x| + |4 - x| attains its minimum at x = 3. Substituting x = 3, we get f(3) = |3 - 2| + |3 - 3| + |4 - 3| = 1 + 0 + 1 = 2.