已知函数 f(x)=xeax−exf(x)=x\mathrm{e}^{ax}-\mathrm{e}^{x}f(x)=xeax−ex。
(1)当 a=1a=1a=1 时,讨论 f(x)f(x)f(x) 的单调性;
当 a=1a=1a=1 时,f(x)=(x−1)exf(x)=(x-1)\mathrm{e}^{x}f(x)=(x−1)ex,则 f′(x)=xexf'(x)=x\mathrm{e}^{x}f′(x)=xex,
当 x<0x<0x<0 时,f′(x)<0f'(x)<0f′(x)<0,当 x>0x>0x>0 时,f′(x)>0f'(x)>0f′(x)>0,
故 f(x)f(x)f(x) 的减区间为 (−∞,0)(-\infty,0)(−∞,0),增区间为 (0,+∞)(0,+\infty)(0,+∞)。