若f(x)=—x^2+2ax与g(x)=a/(x+1)在[1,2]上是减函数,则a的取值范围是?
A(-1,0)∪(0,1) B(-1,0)∪(0,1] C(0,1) D(0,1]
过程,谢谢!
由题意得:g(x)在【1,2】递减
则a>0
f(x)=-(x-a)²+a²
所以a≤1
综上D