Monotonicity is a property of functions that describes how changes in output are related to changes in input.
Consider a function f and the values a and b from the function's domain.
The definitions most used in basic reasoning about algorithms with respect to monotonicity are as follows:
a≤b⇒f(a)≤f(b)a≤b⇒f(a)≥f(b)a<b⇒f(a)<f(b)a<b⇒f(a)>f(b)T. H. Cormen, C. E. Leiserson, R. L. Rivest, Introduction to Algorithms. MIT Press, 1990.
Copyright © 2014 Barry Watson. All rights reserved.