In mathematics, specifically in calculus and complex analysis, the logarithmic derivative of a function f is defined by the formula f ′ f {\displaystyle {\frac {f'}{f}}} where f ′ {\displaystyle f'} is the derivative of f. Intuitively, this is the infinitesimal relative change in f; that is, the infinitesimal absolute change in f, namely f ′ , {\displaystyle f',} scaled by the current value of f.
When f is a function f(x) of a real variable x, and takes real, strictly positive values, this is equal to the derivative of ln(f), or the natural logarithm of f. This follows directly from the chain rule: d d x ln f ( x ) = 1 f ( x ) d f ( x ) d x {\displaystyle {\frac {d}{dx}}\ln f(x)={\frac {1}{f(x)}}{\frac {df(x)}{dx}}}