Search for a tool
Monotonic Function

Tool to calculate the monotonicity (or not) of a function, i.e. check its direction of variation, if a function is (strictly?) monotonic (increasing or decreasing)

Results

Monotonic Function -

Tag(s) : Functions

Share dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Thanks to your feedback and relevant comments, dCode has developed the best 'Monotonic Function' tool, so feel free to write! Thank you!

# Monotonic Function

## Monotonic Function Tester

### What is a monotonic function?

A monotonic function is a function $f$ such that for any $x_1, x_2$ if $x_1 < x_2$ then either $f(x_1) < f(x_2)$ (increasing function) or $f(x_1) > f(x_2)$ (decreasing function) but not both.

In other words, a monotonic function is a function which preserves or reverses the order.

### How to determine if a function is monotone?

Several methods are used to calculate the direction of variation of a function in order to know if a function is monotonic:

— Calculation with its derivative: When the derivative of the function is always less than $0$ or always greater than $0$ then the function is monotonic.

Example: The derivative of the function $f(x) = x^3+1$ is $f'(x) = 3x^2$, the calculation of $f'(x) >= 0$ is always verified, whatever the value of $x$ so the function $f$ is monotonic (and increasing) on $\mathbb{R}$

— Calculation with its equation: Certain functions are notoriously monotonic (either increasing or decreasing): the exponential function, etc.

Example: $x+1$ is increasing over $\mathbb{R}$

— Calculation with the curve of the function: a monotonic function has its curve which goes either always downwards or always upwards

### What is a monotonic sequence?

A monotonic sequence is a series of numbers either always increasing or always decreasing.

## Source code

dCode retains ownership of the "Monotonic Function" source code. Except explicit open source licence (indicated Creative Commons / free), the "Monotonic Function" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Monotonic Function" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Monotonic Function" are not public, same for offline use on PC, tablet, iPhone or Android !
The copy-paste of the page "Monotonic Function" or any of its results, is allowed as long as you cite the online source https://www.dcode.fr/monotonic-function
Reminder : dCode is free to use.

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!