sujoykrdatta wrote:
What is the minimum value of the function f(x) = |x – a| + |x – b| + |x – c|, where a, b, c are distinct numbers?
(1) 0< a < b < c
(2) c - a = 10
The function is |x – a| + |x – b| + |x – c|.
Whenever x is between the extreme two points, the value of function will be less than when x is greater or lesser than all three variables, a, b and c.
And it will be minimum, when x is equal to middle value as it will lead to one MOD being 0.
To explain it further, I have added a sketch.There are 4 cases:
1) Case 1: When x<a<b<c and is shown by brown line.
The value will be the sum of brown arrows, and will be (c-a)+(b-a)+3(a-x)
2) Case 2: When a<x<b<c and is shown by blue line.
The value will be the sum of blue arrows, and will be (c-a)+|b-x|
3) Case 3: When a<b=x<c and is shown by red line.
The value will be the sum of red arrows, and will be (c-a)
4) Case 4: When a<b<c<x and is shown by green line.
The value will be the sum of green arrows, and will be (c-a)+(c-b)+3(x-a)
Clearly case 3 gives the minimum value.(1) 0< a < b < c
Now we know that the value will be the minimum when x=b, as b is the middle value.
So, |x – a| + |x – b| + |x – c| = |b – a| + |b – b| + |b – c| = |b - a| + |b - c|
Now
b>a, so b-a>0 and
c>b, so b-c<0
Hence, \(|b-a|+|b-c|=b-a+c-b=c-a\)
But we do not know value of a and c.
Insufficient
(2) c - a = 10
Nothing about the values
Insufficient
Combined
From statement I, the minimum value is c-a, and statement II gives you c-a=10.Hence, the minimum value is 10.
Sufficient
C
Attachments
Untitled.png [ 43.1 KiB | Viewed 2451 times ]
_________________