问题
解答题
已知函数f(x)=loga(x+1),g(x)=loga(1-x),(a>0,且a≠1).
(1)求函数h(x)=f(x)+g(x)的定义域;
(2)判断函数h(x)的奇偶,并说明理由.
答案
(1)∵f(x)=loga(x+1),g(x)=loga(1-x),(a>0,且a≠1)
∴h(x)=f(x)+g(x)=loga(x+1)+loga(1-x),(a>0,且a≠1)
则
,解得-1<x<1x+1>0 1-x>0
∴函数h(x)的定义域为:(-1,1)
(2)h(x)为偶函数
证明如下:
由(1)知函数h(x)的定义域关于原点对称
又∵h(-x)=loga(-x+1)+loga(1+x)=h(x)
∴函数h(x)是偶函数