问题 填空题

若函数y=f(x)是函数y=ax(a>0,且a≠1)的反函数,且f(2)=1,则f(x)=________.

答案

log2x

f(x)=logax,∵f(2)=1,

∴loga2=1.∴a=2.∴f(x)=log2x.

单项选择题
单项选择题