Tool to compute extrema of a function. The extremum value of a function is the minimal or maximal value that can take a function.
Extremum of a 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!
An extremum of a function is a point where the function reaches its maximum or minimum.
To find the extreme values of a function (the highest or lowest points on the interval where the function is defined), first calculate the derivative of the function and make a study of the sign.
An extremum of a function is reached when it's derivative is equal to zero and changes of sign.
A minimum of a function $ m $ (lowercase m) exists when, for all $ x $, $ f(x) >= m $ is greater than or equal to a minimum $ m $.
Example: Find the extremum of the polynomial $ f(x) = x^2 $ defined over $ \mathbb{R} $: the function has a minimum in $ x=0 $ and $ f(x) >= 0 $ over its domain of definition $ \mathbb{R} $.
A maximum of a function $ M $ (uppercase M) exists when for all $ x $, $ f(x) <= M $ is less than or equal to the maximum.
An extremum of a function is necessarily defined on an interval. If the interval is the entire domain of definition of the function then it is a global/absolute extremum, otherwise it is a local/relative extremum.
A function always has 2 global extrema, a maximum and a minimum.
For a constant function, the minimum and the maximum are identical.
The number of local extremums depends on the function, but for a polynomial of degree $ n $, there are, at most, $ n-1 $ local extremums.
Example: The polynomial of degree 2 $ x^2 $ has $ 1 $ local minimum in $ x = 0 $
Extrema is the plural form of extremum (from latin, meaning Extremity).
dCode retains ownership of the "Extremum of a Function" source code. Any algorithm for the "Extremum of a Function" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Extremum of a Function" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Extremum of a Function" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Extremum of a Function" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Extremum of a Function on dCode.fr [online website], retrieved on 2025-04-16,