f(x)=-x-ln(-x)的导数怎么算?

问题描述:

f(x)=-x-ln(-x)的导数怎么算?
答案是-1-1/x,这道题好容易错啊!!!

f'(x)=(-x)'-(ln(-x))'
=-1-(1/(-x))*(-1)
=-1-1/x

设y=-x
df(x)/dx=(df(x)/dy)*(dy/dx)
=(d(-x-ln(-x))/dy)*(dy/dx)
=(d(y-lny)/dy)*((dy/dx)
=(1-1/y)*(-1)
=(1+1/x)*(-1)
=-1-1/x