# `f(x) = x ln(x) - x` Differentiate the function.

Luca B. | Certified Educator

calendarEducator since 2011

starTop subjects are Math, Science, and Business

You need to differentiate with respect to x, the given function, such that:

`f'(x) = (xln x - x)'`

`f'(x) = (xln x)' - x'`

You need to use the product rule to differentiate xln x, such that:

`(xln x)' = x'*ln x + x*(ln x)'`

`(xln x)' =1*ln x + x*(1/x)`

Reducing like terms, yields:

`(xln x)' = ln x + 1`

`f'(x) = ln x + 1 - 1`

Reducing like terms, yields:

`f'(x) = ln x`

Hence, evaluating the derivative of the function, yields `f'(x) = ln x.`

check Approved by eNotes Editorial