In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, specifically in
calculus and
complex analysis
Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates Function (mathematics), functions of complex numbers. It is helpful in many branches of mathemati ...
, the logarithmic derivative of a
function ''f'' is defined by the formula
where
is the
derivative of ''f''.
Intuitively, this is the infinitesimal
relative change In any quantitative science, the terms relative change and relative difference are used to compare two quantities while taking into account the "sizes" of the things being compared, i.e. dividing by a ''standard'' or ''reference'' or ''starting'' va ...
in ''f''; that is, the infinitesimal absolute change in ''f,'' namely
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
The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
of ''f''. This follows directly from the
chain rule:
Basic properties
Many properties of the real logarithm also apply to the logarithmic derivative, even when the function does ''not'' take values in the positive reals. For example, since the logarithm of a product is the sum of the logarithms of the factors, we have
So for positive-real-valued functions, the logarithmic derivative of a product is the sum of the logarithmic derivatives of the factors. But we can also use the
Leibniz law for the derivative of a product to get
Thus, it is true for ''any'' function that the logarithmic derivative of a product is the sum of the logarithmic derivatives of the factors (when they are defined).
A
corollary
In mathematics and logic, a corollary ( , ) is a theorem of less importance which can be readily deduced from a previous, more notable statement. A corollary could, for instance, be a proposition which is incidentally proved while proving another ...
to this is that the logarithmic derivative of the reciprocal of a function is the negation of the logarithmic derivative of the function:
just as the logarithm of the reciprocal of a positive real number is the negation of the logarithm of the number.
More generally, the logarithmic derivative of a quotient is the difference of the logarithmic derivatives of the dividend and the divisor:
just as the logarithm of a quotient is the difference of the logarithms of the dividend and the divisor.
Generalising in another direction, the logarithmic derivative of a power (with constant real exponent) is the product of the exponent and the logarithmic derivative of the base:
just as the logarithm of a power is the product of the exponent and the logarithm of the base.
In summary, both derivatives and logarithms have a
product rule, a
reciprocal rule, a
quotient rule, and a
power rule (compare the
list of logarithmic identities In mathematics, many logarithmic identities exist. The following is a compilation of the notable of these, many of which are used for computational purposes.
Trivial identities
:
Explanations
By definition, we know that:
:\color \log \color ...
); each pair of rules is related through the logarithmic derivative.
Computing ordinary derivatives using logarithmic derivatives
Logarithmic derivatives can simplify the computation of derivatives requiring the
product rule while producing the same result. The procedure is as follows: Suppose that and that we wish to compute . Instead of computing it directly as , we compute its logarithmic derivative. That is, we compute:
Multiplying through by ƒ computes :
This technique is most useful when ƒ is a product of a large number of factors. This technique makes it possible to compute by computing the logarithmic derivative of each factor, summing, and multiplying by .
For example, we can compute the logarithmic derivative of
to be
.
Integrating factors
The logarithmic derivative idea is closely connected to the
integrating factor
In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve ordinary differential equations, but is also used within multivariable calcul ...
method for
first-order differential equation
In mathematics, an ordinary differential equation (ODE) is a differential equation whose unknown(s) consists of one (or more) function(s) of one variable and involves the derivatives of those functions. The term ''ordinary'' is used in contrast ...
s. In
operator
Operator may refer to:
Mathematics
* A symbol indicating a mathematical operation
* Logical operator or logical connective in mathematical logic
* Operator (mathematics), mapping that acts on elements of a space to produce elements of another ...
terms, write
and let ''M'' denote the operator of multiplication by some given function ''G''(''x''). Then
can be written (by the
product rule) as
where
now denotes the multiplication operator by the logarithmic derivative
In practice we are given an operator such as
and wish to solve equations
for the function ''h'', given ''f''. This then reduces to solving
which has as solution
with any
indefinite integral of ''F''.
Complex analysis
The formula as given can be applied more widely; for example if ''f''(''z'') is a
meromorphic function, it makes sense at all complex values of ''z'' at which ''f'' has neither a
zero nor a pole. Further, at a zero or a pole the logarithmic derivative behaves in a way that is easily analysed in terms of the particular case
:''z
n''
with ''n'' an integer, . The logarithmic derivative is then
and one can draw the general conclusion that for ''f'' meromorphic, the singularities of the logarithmic derivative of ''f'' are all ''simple'' poles, with
residue ''n'' from a zero of order ''n'', residue −''n'' from a pole of order ''n''. See
argument principle. This information is often exploited in
contour integration.
In the field of
Nevanlinna Theory, an important lemma states that the proximity function of a logarithmic derivative is small with respect to the Nevanlinna Characteristic of the original function, for instance
.
The multiplicative group
Behind the use of the logarithmic derivative lie two basic facts about ''GL''
1, that is, the multiplicative group of
real numbers or other
field. The
differential operator
In mathematics, a differential operator is an operator defined as a function of the differentiation operator. It is helpful, as a matter of notation first, to consider differentiation as an abstract operation that accepts a function and return ...
is
invariant
Invariant and invariance may refer to:
Computer science
* Invariant (computer science), an expression whose value doesn't change during program execution
** Loop invariant, a property of a program loop that is true before (and after) each iteratio ...
under dilation (replacing ''X'' by ''aX'' for ''a'' constant). And the
differential form
In mathematics, differential forms provide a unified approach to define integrands over curves, surfaces, solids, and higher-dimensional manifolds. The modern notion of differential forms was pioneered by Élie Cartan. It has many applications, ...
is likewise invariant. For functions ''F'' into GL
1, the formula
is therefore a ''
pullback'' of the invariant form.
Examples
*
Exponential growth and
exponential decay
A quantity is subject to exponential decay if it decreases at a rate proportional to its current value. Symbolically, this process can be expressed by the following differential equation, where is the quantity and (lambda) is a positive rate ...
are processes with constant logarithmic derivative.
* In
mathematical finance
Mathematical finance, also known as quantitative finance and financial mathematics, is a field of applied mathematics, concerned with mathematical modeling of financial markets.
In general, there exist two separate branches of finance that require ...
, the
Greek ''λ'' is the logarithmic derivative of derivative price with respect to underlying price.
* In
numerical analysis, the
condition number
In numerical analysis, the condition number of a function measures how much the output value of the function can change for a small change in the input argument. This is used to measure how sensitive a function is to changes or errors in the input ...
is the infinitesimal relative change in the output for a relative change in the input, and is thus a ratio of logarithmic derivatives.
See also
*
*
References
{{Calculus topics
Differential calculus
Complex analysis