∴-3,2是方程ax2+(b-8)x-a-ab=0的兩個根,
∴-3+2=-1=
8?b |
a |
-3×2=-6=
?a?ab |
a |
解得a=-3,b=5
∴f(x)=-3x2-3x+18
(2)∵函數(shù)f(x)=-3x2-3x+18的圖象是以x=?
1 |
2 |
故函數(shù)f(x)=-3x2-3x+18在區(qū)間[0,1]上單調(diào)遞減
∴當(dāng)x=0時,y有最大值18,
當(dāng)x=1時,y有最小值12,
∴當(dāng)x∈[0,1]時函數(shù)f(x)的值域[12,18]