g(x)= -x^2+6x-4
g'(x) = -2x+6 = 0
=> x= 3
g''(x) = -2 <0 (max)
maxg(x)=g(3)=-9+18-4 = 5
max |x-2| occurs at x=6
max|x-2| = 4
f(x)=max{|x-2|,-x^2+6x-4},
= max{ 4, 5 }
= 5 #
g(x)= -x^2+6x-4
g'(x) = -2x+6 = 0
=> x= 3
g''(x) = -2 <0 (max)
maxg(x)=g(3)=-9+18-4 = 5
max |x-2| occurs at x=6
max|x-2| = 4
f(x)=max{|x-2|,-x^2+6x-4},
= max{ 4, 5 }
= 5 #