The logarithmic derivative of a differentiable function is
|
(1)
|
at points where . When a branch
of
is defined, this is the derivative of that logarithm
and is independent of the chosen branch. For a nonzero
differentiable real
function of a real variable, it is also the
derivative of
.
Products and quotients therefore satisfy
|
(2)
| |||
|
(3)
|
where the functions are differentiable and nonzero.
Logarithmic differentiation uses this identity to compute a derivative. On an interval where a differentiable real-valued function is nonzero, differentiate
with respect to
and multiply the result by
to obtain
.
Expanding the logarithm first can simplify the calculation
for products, quotients,
and expressions with variable exponents. For example,
if
with
, then
and
.
If a meromorphic function has a root or pole at ,
it can locally be written as
,
where
is a nonzero integer and
is analytic with
. Its logarithmic derivative then has the form
|
(4)
|
Consequently,
|
(5)
|
The complex residue is the multiplicity of a root or the negative order of a pole (Orloff 2018, pp. 1-2). Integrating these complex residues gives the argument principle.
The digamma function is the logarithmic derivative of the gamma function,
|
(6)
|