Defence PYQWritten Exam 2023MathematicsFunctions & Maxima-Minima

NDA · Question 40

Consider the function f(x) = |x - 2| + |3 - x| + |4 - x|, where x ∈ ℝ. What is the minimum value of the function?

  1. 2

  2. 3

  3. 4

  4. 0

Show answer & explanationShow explanation

Answer: (A) 2

Explanation

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.