\(f(x)=|x+4|+|x+1|+|x−2|\)
In this type of question, we generally look for critical values.
These critical values are where the sign of equation inside absolute values will change.
These values will be \(x = -4\), \(x = -1\), and \(x = 2\).
We need to analyze interval to determine where we can find minimum values.
There are 4 cases: \((-∞, -4), (-4, -1), (-1, 2) and (2, ∞).\)
For \(-∞ < x < -4\):\(| x + 4 | = -(x + 4) = - x - 4\)
\(| x + 1 | = -(x + 1) = - x - 1\)
\(| x − 2 | = -(x - 2) = - x + 2\)
\(f(x) = - x - 4 - x - 1 - x + 2 = - 3x - 3\)
\(- 3x - 3\) will decrease as \(x\) increases, so on \(f(-4) = 9\) would be minimum value for this interval.
For \(-4 < x < -1\):\(| x + 4 | = (x + 4) = x + 4\)
\(| x + 1 | = -(x + 1) = - x - 1\)
\(| x − 2 | = -(x - 2) = - x + 2\)
\(f(x) = x + 4 - x - 1 - x + 2 = - x + 5\)
\(-x + 5\) will decreases as \(x\) increases, so on \(f(-1) = 6\) would be minimum value for this interval.
For \(-1 < x < 2\):\(| x + 4 | = (x + 4) = x + 4\)
\(| x + 1 | = (x + 1) = x + 1\)
\(| x − 2 | = -(x - 2) = - x + 2\)
\(f(x) = x + 4 + x + 1 - x + 2 = x + 7\)
\(x + 7\) will increases as \(x\) increases, so on \(f(-1) = 6\) would be minimum value for this interval.
For \(2 < x < ∞\):\(| x + 4 | = (x + 4) = x + 4\)
\(| x + 1 | = (x + 1) = x + 1\)
\(| x − 2 | = (x - 2) = x - 2\)
\(f(x) = x + 4 + x + 1 + x - 2 = 3x + 3\)
\(3x + 3\) will increases as \(x\) increases, so on \(f(2) = 9\) would be minimum value for this interval.
Comparing all 4, we can say that minimum value would occur when x = -1.
\(f(-1) = |-1+4|+|-1+1|+|-1−2| = 3 + 3 = 6\)
Answer =
D. 6