(1)对称轴是x=2,函数式设为y=a(x+2)^2+k
图象过(0,3),代入上式,3=4a+k,
y=ax^2+4ax+4a+k=ax^2+4ax+3,
两根为x1,x2, x1+x2=-4,x1*x2=3/a
(X1)^2+(x2)^2=(x1+x2)^2-2x1x2=16-6/a=10,
所以a=1, 故f(x)=x^2+4x+3
(2)当-1
(1)对称轴是x=2,函数式设为y=a(x+2)^2+k
图象过(0,3),代入上式,3=4a+k,
y=ax^2+4ax+4a+k=ax^2+4ax+3,
两根为x1,x2, x1+x2=-4,x1*x2=3/a
(X1)^2+(x2)^2=(x1+x2)^2-2x1x2=16-6/a=10,
所以a=1, 故f(x)=x^2+4x+3
(2)当-1