VeritasKarishma
eaakbari
Karishma,
What about a function with evenly spaced numbers?
for instance
f(x) = | 4x + 1| + | 2x + 1| + | 4x + 3| + | x |
What will be the min. value of x for this?
The function will take a minimum value for a range of values of x (between the second and the third values). Think 'Why?'
Hi
VeritasKarishmaRegarding the question given above, using your approach, shouldn't the minimum value be at x = -1/2 ?
Taking critical points as -1/4, -1/2, -3/4 and 0. So, there are four people each at -1/4 and -3/4, and 2 people at -1/2 and one person at 0.
Representing on number line as follows.
(4)........(2)...........(4)........(1)
-3/4......-1/2........-1/4..........0
So, 4 guys at -3/4 and 4 guys at -1/4 come to -1/2. Now there are 10 people at -1/2 and 1 person at 0. So minimum f(x) should be at x = -1/2.
Had they been
not equidistant then the value of x could have been in a range for f(x) to be minimum?