90 332
Assignments Done
99.3%
Successfully Done
In September 2020

# Answer to Question #6439 in Algebra for anil jha

Question #6439
minimum of a function

In the following roblem,
find the least value of the function:
f(x)= +|x-a| +|x-b| + |x-c|
where x is real and, a&lt;B&lt;C&lt; real fixed are a,b,c,d&gt;
i tried using the AM-GM inequality but it was of no use. how should i start?
1
2012-02-10T10:52:25-0500
Notice that f(x) is the sum of three non-negative functions
|x-a|,
|x-b|, |x-c|
having minimums at a,b,c respectively.

Also notice that
since a<b<c

f(a) = |a-a| + |a-b| + |a-c| = b-a+c-a =
b+c-2a

f(b) = |b-a| + |b-b| + |b-c| = b-a+c-b = c-a

f(c) = |c-a| +
|c-b| + |c-c| = c-a+c-b = 2c-a-b

Since
f(a) = b-a + c-a = b-a +
f(b)
f(c) = c-a + c-b = f(b) + c-b

Thus f(b) < f(a), and f(b)
< f(c).

We claim that x=b is the minimum of f, so
min f = f(b) =
c-a.

It remains to show that for any number x distinct from a,b,c we have
that
f(x) > f(b) = c-a.

Consider the following 4
cases:

1) If x<a<b<c, then

|x-c| > c-a, whence

f(x)= |x-a| +|x-b| + |x-c| > c-a = f(b)

2) If
a<x<b<c, then

|x-a| + |x-c| = c-a,
and

|x-b|>0,
whence

f(x)= |x-a| +|x-b| + |x-c| > c-a = f(b)

3) If a<b<x<c, then

|x-a| + |x-c| = c-a,
and

|x-b|>0,
whence

f(x)= |x-a| +|x-b| + |x-c| > c-a = f(b)

4) If a<b<c<x, then

|x-a| > c-a,
whence

f(x)= |x-a| +|x-b| + |x-c| > c-a = f(b)

Thus
min(f) =
f(b) = c-a.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}