The minimum value of f(x)=|3−x|+|2+x|+|5−x| is
0
7
8
10
f can be written as f(x)=3−x−(2+x)+5−x if x≤−2 3−x+2+x+5−x if −2<x<3x−3+2+x+5−x if 3≤x<5 x−3+2+x+x−5 if x≥5 =6−3x if x≤−210−x if −2<x<3x+4 if 3≤x<53x−6 if x≥5
By drawing the graph of f(x) we see that minimum value of f is 7.