f(a+b)+f(ab)=2f(a)f(b)
当a=b=0
则:f(0)+f(0)=2f(0)f(0)
f(0)(1-f(0))=0
f(0)=0或1
当a=x,b=0
则:f(x)+f(0)=2f(0)f(x)
f(x)=f(0)/[2f(0)-1]
f(x)=0或1
所以:f(x)为常函数
f(a+b)+f(ab)=2f(a)f(b)
当a=b=0
则:f(0)+f(0)=2f(0)f(0)
f(0)(1-f(0))=0
f(0)=0或1
当a=x,b=0
则:f(x)+f(0)=2f(0)f(x)
f(x)=f(0)/[2f(0)-1]
f(x)=0或1
所以:f(x)为常函数