b=.]
二、填空题
6.设函数f =x,则f(x)=________.
(x≠-1) [设t=(t≠-1),∴x=,
∴f(t)=(t≠-1),
∴f(x)=(x≠-1).]
7.已知函数y=使函数值为5的x的值是________.
-2 [若x2+1=5,则x2=4,又∵x≤0,∴x=-2;
若-2x=5,则x=-,与x>0矛盾,故答案为-2.]
8.若函数f(x)满足关系式f(x)+2f =3x,则f(2)的值为________.
-1 [把x=2代入得f(2)+2f =6,把x=代入得f +2f(2)=,解方程组可得f(2)=-1.]
三、解答题
9.已知二次函数f(x)满足f(0)=0,且对任意x∈R总有f(x+1)=f(x)+x+1,求f(x).
[解] 设f(x)=ax2+bx+c(a≠0),
∵f(0)=c=0,
∴f(x+1)=a(x+1)2+b(x+1)
=ax2+(2a+b)x+a+b,
f(x)+x+1=ax2+bx+x+1