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 ...
, 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:
* Categorization, the process in which ideas and objects are recognized, differentiated, and understood
* Heterarchy, a system of organization wherein the elements have the potential to be ranked a number of d ...
.
This concept first arose in
calculus, and was later generalized to the more abstract setting of
order theory.
In calculus and analysis
In
calculus, a function
defined on a
subset
In mathematics, 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 are ...
of the
real numbers
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
with real values is called ''monotonic'' if and only if it is either entirely non-increasing, or entirely non-decreasing.
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 called ''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
One-to-one or one to one may refer to:
Mathematics and communication
*One-to-one function, also called an injective function
*One-to-one correspondence, also called a bijective function
*One-to-one (communication), the act of an individual comm ...
(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 or all
nonpositive at all points on the interval.
Inverse of function
All strictly monotonic functions are
invertible 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