In mathematics, a monotonic function is a function that preserves the given order. In calculus, a function f defined on a subset of the real numbers with real values is called monotonically increasing, if for all x and y such that x≤y one has f(x)≤f(y), so f preserves the order (As shown in Figure 1). Likewise, a function is called monotonically decreasing if, whenever x≤y, then f(x)≥f(y), so it reverses the order (As shown in Figure 2.)
Figure 1: A monotonically increasing function. It is strictly increasing on the left and right while just non-decreasing in the middle.
Figure 2: A monotonically decreasing function
Figure 3: A function that is not monotonic
References & Resources
- Dependency injection
- Directives and Pipes
- Data binding
- HTTP Get vs. Post
- Node.js is everywhere
- MongoDB root user
- Prefer Async Script Loading
- Components, Bootstrap and DOM
- What is HEAD in git?
- Show the changes in Git.
- What is AngularJS 2?
- Confidence Interval for a Population Mean
- Accuracy vs. Precision
- Sampling Distribution
- Working with the Normal Distribution
- Standardized score - Z score
- Evaluating the Normal Distribution
- What is Nodejs? Advantages and disadvantage?
- How do I debug Nodejs applications?
- Sync directory search using fs.readdirSync