Tool to calculate if a function is decreasing / monotonic or on which interval is decreasing or strictly decreasing.

Decreasing Function - dCode

Tag(s) : Functions

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*!

A function $ f $ is strictly decreasing if for any $$ x_1 < x_2 , f(x_1) > f(x_2) $$ (signs are inverted)

In other words, $ f $ has a decreasing direction of variation, when $ x $ decreases, $ f(x) $ also decreases (not necessarily by the same quantity).

A function is said to be decreasing (not strictly, in the broad sense) if for all $$ x_1 < x_2 , f(x_1) \geq f(x_2) $$

__Example:__ The function $ f(x) = -x + 1 $ is decreasing over its whole domain of definition $ \mathbb{R} $, hense its monotony.

The decrease of a function can also be defined over an interval.

__Example:__ The function $ f(x) = x^2 $ is strictly decreasing over $ \mathbb{R}^- $ also noted $ x < 0 $ or also $ ] -\infty ; 0 [ $

Several methods allow to to find the direction of variation for knowing if a function is decreasing:

— From its derivative: When the derivative of the function is less than $ 0 $ then the function is decreasing.

__Example:__ The derivative of the function $ f(x) = x^2+1 $ is $ f'(x) = 2x $, the calculation of $ f'(x) < 0 $ is simplified as $ x < 0 $ so the function $ f $ is decreasing when $ x < 0 $

— From its equation: Some functions are notoriously decreasing, ie. the inverse function, the opposite of increasing functions, etc.

__Example:__ $ \frac{1}{x} $ is decreasing over $ \mathbb{R}^* $

— From the curve of the function: a decreasing function has its curve which is directed downwards.

A linear function of the form $ f(x) = ax + b $ is decreasing over $ \mathbb{R} $ when the coefficient $ a $ is positive ($ a < 0 $). If $ a $ is positive then the function is increasing.

dCode retains ownership of the "Decreasing Function" source code. Except explicit open source licence (indicated Creative Commons / free), the "Decreasing Function" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Decreasing 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 "Decreasing Function" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!

Reminder : dCode is free to use.

The copy-paste of the page "Decreasing Function" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!

Exporting results as a .csv or .txt file is free by clicking on the *export* icon

Cite as source (bibliography):

*Decreasing Function* on dCode.fr [online website], retrieved on 2024-11-11,

decreasing,monotony,strictly,interval,direction,variation

https://www.dcode.fr/decreasing-function

© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback