(Ⅰ)當(dāng)a=1時,函數(shù)f(x)=x-lnx,x∈(0,+∞)
∵f′(x)=1-
,令f'(x)=0得x=1
∵當(dāng)x∈(0,1)時,f'(x)<0,∴函數(shù)f(x)在(0,1)上為減函數(shù)
∵當(dāng)x∈(1,+∞)時f'(x)>0,∴函數(shù)f(x)在(1,+∞)上為增函數(shù)
∴當(dāng)x=1時,函數(shù)f(x)有最小值,f(x)
最小值=f(1)=1
(Ⅱ)∵f′(x)=a-
,
若a≤0,則對任意的x∈[1,+∞)都有f'(x)<0,∴函數(shù)f(x)在[1,+∞)上為減函數(shù)
∴函數(shù)f(x)在[1,+∞)上有最大值,沒有最小值,f(x)
最大值=f(1)=a;
若a>0,令f'(x)=0得x=
當(dāng)0<a<1時,
>1,當(dāng)x∈(1,
)時f'(x)<0,函數(shù)f(x)在(1,
)上為減函數(shù)
當(dāng)x∈(
,+∞)時f'(x)>0∴函數(shù)f(x)在(
,+∞)上為增函數(shù)
∴當(dāng)x=
時,函數(shù)f(x)有最小值,f(x)最小值=f(
)=1-ln
當(dāng)a≥1時,
≤1在[1,+∞)恒有f'(x)≥0
∴函數(shù)f(x)在[1,+∞)上為增函數(shù),函數(shù)f(x)在[1,+∞)有最小值,f(x)
最小值=f(1)=a.
綜上得:當(dāng)a≤0時,函數(shù)f(x)在[1,+∞)上有最大值,f(x)
最大值=a;
當(dāng)0<a<1時,函數(shù)f(x)有最小值,f(x)最小值=1-ln
,沒有最大值;
當(dāng)a≥1時,函數(shù)f(x)在[1,+∞)有最小值,f(x)
最小值=a,沒有最大值.