Citation:
A monotonic function is a function that is either entirely non-decreasing or entirely non-increasing over its entire domain. In other words, a function is monotonic if it either always increases, always decreases, or remains constant as the input variable increases.