Given f(x)=x2−5x+6−3x+2 on the closed interval [−1,3].
Write the quadratic inside the modulus in factored form:
x2−5x+6=(x−2)(x−3)
Its zeros are x=2 and x=3, which lie inside [−1,3].
Hence the sign of x2−5x+6 is:
• positive on [−1,2], because a test point x=0 gives 6>0.
• negative on (2,3], because a test point x=2.5 gives −0.25<0.
Therefore split f(x) into two smooth pieces.
Case 1:
For x∈[−1,2], ∣x2−5x+6∣=x2−5x+6, so
f1(x)=x2−5x+6−3x+2=x2−8x+8.
Find extrema of f1(x) on [−1,2].
Derivative: f1′(x)=2x−8.
Set f1′(x)=0 ⇒ 2x−8=0 ⇒ x=4, which lies outside [−1,2].
Thus only the endpoints need checking.
f1(−1)=(−1)2−8(−1)+8=1+8+8=17
f1(2)=22−8⋅2+8=4−16+8=−4
On [−1,2]: absolute maximum =17, absolute minimum =−4.
Case 2:
For x∈[2,3], ∣x2−5x+6∣=−(x2−5x+6)=−x2+5x−6, so
f2(x)=−x2+5x−6−3x+2=−x2+2x−4.
Find extrema of f2(x) on [2,3].
Derivative: f2′(x)=−2x+2.
Set f2′(x)=0 ⇒ −2x+2=0 ⇒ x=1, which lies outside [2,3].
Again, check only the endpoints.
f2(2)=−(2)2+2⋅2−4=−4+4−4=−4
f2(3)=−(3)2+2⋅3−4=−9+6−4=−7
On [2,3]: absolute maximum =−4, absolute minimum =−7.
Combining both cases, on the whole interval [−1,3] we have
absolute maximum value =17 (at x=−1) and
absolute minimum value =−7 (at x=3).
Required sum = 17+(−7)=10.
Hence the correct option is Option A (10).