In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a monotonic function (or monotone function) is a
function between
ordered sets that preserves or reverses the given
order
Order, ORDER or Orders may refer to:
* A socio-political or established or existing order, e.g. World order, Ancien Regime, Pax Britannica
* Categorization, the process in which ideas and objects are recognized, differentiated, and understood
...
.
This concept first arose in
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
, and was later generalized to the more abstract setting of
order theory
Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
.
In calculus and analysis
In
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
, a function
defined on a
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
of the
real numbers
In mathematics, a real number is a number that can be used to measurement, measure a continuous variable, continuous one-dimensional quantity such as a time, duration or temperature. Here, ''continuous'' means that pairs of values can have arbi ...
with real values is called ''monotonic'' if it is either entirely non-decreasing, or entirely non-increasing.
That is, as per Fig. 1, a function that increases monotonically does not exclusively have to increase, it simply must not decrease.
A function is termed ''monotonically increasing'' (also ''increasing'' or ''non-decreasing'')
if for all
and
such that
one has
, so
preserves the order (see Figure 1). Likewise, a function is called ''monotonically decreasing'' (also ''decreasing'' or ''non-increasing'')
if, whenever
, then
, so it ''reverses'' the order (see Figure 2).
If the order
in the definition of monotonicity is replaced by the strict order
, one obtains a stronger requirement. A function with this property is called ''strictly increasing'' (also ''increasing'').
Again, by inverting the order symbol, one finds a corresponding concept called ''strictly decreasing'' (also ''decreasing'').
A function with either property is called ''strictly monotone''. Functions that are strictly monotone are
one-to-one (because for
not equal to
, either
or
and so, by monotonicity, either
or
, thus
.)
To avoid ambiguity, the terms ''weakly monotone'', ''weakly increasing'' and ''weakly decreasing'' are often used to refer to non-strict monotonicity.
The terms "non-decreasing" and "non-increasing" should not be confused with the (much weaker) negative qualifications "not decreasing" and "not increasing". For example, the non-monotonic function shown in figure 3 first falls, then rises, then falls again. It is therefore not decreasing and not increasing, but it is neither non-decreasing nor non-increasing.
A function
is said to be ''absolutely monotonic'' over an interval
if the derivatives of all orders of
are
nonnegative
In mathematics, the sign of a real number is its property of being either positive, negative, or 0. Depending on local conventions, zero may be considered as having its own unique sign, having no sign, or having both positive and negative sign. ...
or all
nonpositive at all points on the interval.
Inverse of function
All strictly monotonic functions are
invertible
In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers.
Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
because they are guaranteed to have a one-to-one mapping from their range to their domain.
However, functions that are only weakly monotone are not invertible because they are constant on some interval (and therefore are not one-to-one).
A function may be strictly monotonic over a limited a range of values and thus have an inverse on that range even though it is not strictly monotonic everywhere. For example, if
is strictly increasing on the range