问题 填空题
f(x)=
e|x|-sinx+1
e|x|+1
在[-m,m](m>0)上的最大值为p,最小值为q,则p+q=______.
答案

f(x)=1-

sinx
e|x|+1
,令g(x)=f(x)-1=-
sinx
e|x|+1
,x∈[-m,m](m>0),

g(-x)=-

sin(-x)
e|x|+1
=
sinx
e|x|+1
=-g(x),所以g(x)为奇函数.

当x∈[-m,m]时,设g(x)max=g(x0),即[f(x)-1]max=g(x0),所以f(x)max=1+g(x0);

又g(x)是奇函数,所以g(x)min=-g(x0),即[f(x)-1]min=-g(x0),所以f(x)min=1-g(x0),

所以p+q=[1+g(x0)]+[1-g(x0)]=2.

故答案为:2.

单项选择题
单项选择题