The sum of the absolute maximum and minimum values of the function \(f(x)=\left|x^2-5 x+6\right|-3 x+2\)in the interval \([-1,3]\) is equal to :
When working with absolute value functions, carefully split the function into intervals based on where the absolute value changes. Evaluate critical points and boundaries to find extrema.
10
24
13
To solve the problem of finding the sum of the absolute maximum and minimum values of the function \( f(x) = \left|x^2 - 5x + 6\right| - 3x + 2 \) in the interval \([-1, 3]\), we need to perform the following steps:
The function inside the absolute value is \( x^2 - 5x + 6 \), which can be factored as:
\(x^2 - 5x + 6 = (x - 2)(x - 3)\)
The factored form \( (x-2)(x-3) \) indicates that the expression is zero at \( x = 2 \) and \( x = 3 \). Between these values, the expression changes signs. To find the values of the quadratic expression at key points:
Thus, the function becomes \( \left|x^2 - 5x + 6\right| \), which behaves as:
\( f(-1) = |(-1)^2 - 5(-1) + 6| - 3(-1) + 2 = |1 + 5 + 6| + 3 + 2 = 17 \)
\( f(0) = |0^2 - 5(0) + 6| - 3(0) + 2 = 6 + 2 = 8 \)
\( f(2) = |2^2 - 5(2) + 6| - 3(2) + 2 = 0 - 6 + 2 = -4 \)
\( f(3) = |3^2 - 5(3) + 6| - 3(3) + 2 = |0| - 9 + 2 = -7 \)
From the calculated values:
The sum is:
\(17 + (-7) = 10\)
This matches the correct answer, which is:
10