KNOWPIA
WELCOME TO KNOWPIA

In mathematics, a **monotonic function** (or **monotone function**) is a function between ordered sets that preserves or reverses the given order.^{[1]}^{[2]}^{[3]} This concept first arose in calculus, and was later generalized to the more abstract setting of order theory.

In calculus, a function defined on a subset of the real numbers with real values is called *monotonic* if and only if it is either entirely non-increasing, or entirely non-decreasing.^{[2]} 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*)^{[3]} 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*)^{[3]} 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*).^{[3]}^{[4]} Again, by inverting the order symbol, one finds a corresponding concept called *strictly decreasing* (also *decreasing*).^{[3]}^{[4]} 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 or all nonpositive at all points on the interval.

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 , then it has an inverse on the range .

Note that the term *monotonic* is sometimes used in place of *strictly monotonic*, so a source may state that all monotonic functions are invertible when they really mean that all strictly monotonic functions are invertible.^{[citation needed]}

The term *monotonic transformation* (or *monotone transformation*) may also cause confusion because it refers to a transformation by a strictly increasing function. This is the case in economics with respect to the ordinal properties of a utility function being preserved across a monotonic transform (see also monotone preferences).^{[5]} In this context, the term "monotonic transformation" refers to a positive monotonic transformation and is intended to distinguish it from a “negative monotonic transformation,” which reverses the order of the numbers.^{[6]}

The following properties are true for a monotonic function :

- has limits from the right and from the left at every point of its domain;
- has a limit at positive or negative infinity ( ) of either a real number, , or .
- can only have jump discontinuities;
- can only have countably many discontinuities in its domain. The discontinuities, however, do not necessarily consist of isolated points and may even be dense in an interval (
*a*,*b*). For example, for any summable sequence of positive numbers and any enumeration of the rational numbers, the monotonically increasing function

These properties are the reason why monotonic functions are useful in technical work in analysis. Other important properties of these functions include:

- if is a monotonic function defined on an interval , then is differentiable almost everywhere on ; i.e. the set of numbers in such that is not differentiable in has Lebesgue measure zero. In addition, this result cannot be improved to countable: see Cantor function.
- if this set is countable, then is absolutely continuous
- if is a monotonic function defined on an interval , then is Riemann integrable.

An important application of monotonic functions is in probability theory. If is a random variable, its cumulative distribution function is a monotonically increasing function.

A function is *unimodal* if it is monotonically increasing up to some point (the *mode*) and then monotonically decreasing.

When is a *strictly monotonic* function, then is injective on its domain, and if is the range of , then there is an inverse function on for . In contrast, each constant function is monotonic, but not injective,^{[7]} and hence cannot have an inverse.

A map is said to be *monotone* if each of its fibers is connected; that is, for each element the (possibly empty) set is a connected subspace of

In functional analysis on a topological vector space , a (possibly non-linear) operator is said to be a *monotone operator* if

Kachurovskii's theorem shows that convex functions on Banach spaces have monotonic operators as their derivatives.

A subset of is said to be a *monotone set* if for every pair and in ,

is said to be *maximal monotone* if it is maximal among all monotone sets in the sense of set inclusion. The graph of a monotone operator is a monotone set. A monotone operator is said to be *maximal monotone* if its graph is a *maximal monotone set*.

Order theory deals with arbitrary partially ordered sets and preordered sets as a generalization of real numbers. The above definition of monotonicity is relevant in these cases as well. However, the terms "increasing" and "decreasing" are avoided, since their conventional pictorial representation does not apply to orders that are not total. Furthermore, the strict relations < and > are of little use in many non-total orders and hence no additional terminology is introduced for them.

Letting ≤ denote the partial order relation of any partially ordered set, a *monotone* function, also called *isotone*, or *order-preserving*, satisfies the property

*x*≤*y*implies*f*(*x*) ≤*f*(*y*),

for all *x* and *y* in its domain. The composite of two monotone mappings is also monotone.

The dual notion is often called *antitone*, *anti-monotone*, or *order-reversing*. Hence, an antitone function *f* satisfies the property

*x*≤*y*implies*f*(*y*) ≤*f*(*x*),

for all *x* and *y* in its domain.

A constant function is both monotone and antitone; conversely, if *f* is both monotone and antitone, and if the domain of *f* is a lattice, then *f* must be constant.

Monotone functions are central in order theory. They appear in most articles on the subject and examples from special applications are found in these places. Some notable special monotone functions are order embeddings (functions for which *x* ≤ *y* if and only if *f*(*x*) ≤ *f*(*y*)) and order isomorphisms (surjective order embeddings).

In the context of search algorithms monotonicity (also called consistency) is a condition applied to heuristic functions. A heuristic *h(n)* is monotonic if, for every node *n* and every successor *n'* of *n* generated by any action *a*, the estimated cost of reaching the goal from *n* is no greater than the step cost of getting to * n' * plus the estimated cost of reaching the goal from * n' *,

This is a form of triangle inequality, with *n*, *n'*, and the goal *G _{n}* closest to

In Boolean algebra, a monotonic function is one such that for all *a*_{i} and *b*_{i} in {0,1}, if *a*_{1} ≤ *b*_{1}, *a*_{2} ≤ *b*_{2}, ..., *a*_{n} ≤ *b*_{n} (i.e. the Cartesian product {0, 1}^{n} is ordered coordinatewise), then f(*a*_{1}, ..., *a*_{n}) ≤ f(*b*_{1}, ..., *b*_{n}). In other words, a Boolean function is monotonic if, for every combination of inputs, switching one of the inputs from false to true can only cause the output to switch from false to true and not from true to false. Graphically, this means that an *n*-ary Boolean function is monotonic when its representation as an *n*-cube labelled with truth values has no upward edge from *true* to *false*. (This labelled Hasse diagram is the dual of the function's labelled Venn diagram, which is the more common representation for *n* ≤ 3.)

The monotonic Boolean functions are precisely those that can be defined by an expression combining the inputs (which may appear more than once) using only the operators *and* and *or* (in particular *not* is forbidden). For instance "at least two of *a*, *b*, *c* hold" is a monotonic function of *a*, *b*, *c*, since it can be written for instance as ((*a* and *b*) or (*a* and *c*) or (*b* and *c*)).

The number of such functions on *n* variables is known as the Dedekind number of *n*.

- Monotone cubic interpolation
- Pseudo-monotone operator
- Spearman's rank correlation coefficient - measure of monotonicity in a set of data
- Total monotonicity
- Cyclical monotonicity
- Operator monotone function
- Monotone set function

**^**Clapham, Christopher; Nicholson, James (2014).*Oxford Concise Dictionary of Mathematics*(5th ed.). Oxford University Press.- ^
^{a}^{b}Stover, Christopher. "Monotonic Function".*Wolfram MathWorld*. Retrieved 2018-01-29. - ^
^{a}^{b}^{c}^{d}^{e}"Monotone function".*Encyclopedia of Mathematics*. Retrieved 2018-01-29. - ^
^{a}^{b}Spivak, Michael (1994).*Calculus*. 1572 West Gray, #377 Houston, Texas 77019: Publish or Perish, Inc. p. 192. ISBN 0-914098-89-6.`{{cite book}}`

: CS1 maint: location (link) **^**See the section on Cardinal Versus Ordinal Utility in Simon & Blume (1994).**^**Varian, Hal R. (2010).*Intermediate Microeconomics*(8th ed.). W. W. Norton & Company. p. 56. ISBN 9780393934243.**^**if its domain has more than one element**^**Conditions for optimality: Admissibility and consistency pg. 94–95 (Russell & Norvig 2010).

- Bartle, Robert G. (1976).
*The elements of real analysis*(second ed.). - Grätzer, George (1971).
*Lattice theory: first concepts and distributive lattices*. ISBN 0-7167-0442-0. - Pemberton, Malcolm; Rau, Nicholas (2001).
*Mathematics for economists: an introductory textbook*. Manchester University Press. ISBN 0-7190-3341-1. - Renardy, Michael & Rogers, Robert C. (2004).
*An introduction to partial differential equations*. Texts in Applied Mathematics 13 (Second ed.). New York: Springer-Verlag. p. 356. ISBN 0-387-00444-0. - Riesz, Frigyes & Béla Szőkefalvi-Nagy (1990).
*Functional Analysis*. Courier Dover Publications. ISBN 978-0-486-66289-3. - Russell, Stuart J.; Norvig, Peter (2010).
*Artificial Intelligence: A Modern Approach*(3rd ed.). Upper Saddle River, New Jersey: Prentice Hall. ISBN 978-0-13-604259-4. - Simon, Carl P.; Blume, Lawrence (April 1994).
*Mathematics for Economists*(first ed.). ISBN 978-0-393-95733-4. (Definition 9.31)

- "Monotone function",
*Encyclopedia of Mathematics*, EMS Press, 2001 [1994] - Convergence of a Monotonic Sequence by Anik Debnath and Thomas Roxlo (The Harker School), Wolfram Demonstrations Project.
- Weisstein, Eric W. "Monotonic Function".
*MathWorld*.