NDA2023MathematicsFunctionsActual
Paragraph: Consider the function f(x)=|x-2|+|3-x|+|4-x| , where x R Question: At what value of x does the function attain minimum value?
Options
- A2
- B3
- C4
- D0
Correct answer
B. 3
Step-by-step solution
f(x)=|x-2|+|3-x|+|4-x|f(2)=0+1+2=3f(3)=1+0+1=2f(4)=2+1+0=3f(0)=2+3+4=9 x=3 is correct.