Tool to determine the minimum value of a function: the minimal value that can take a function. It is a global minimum and not a local minimum.
Minimum 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!
For any function $ f $ defined on an interval $ I $ and $ m $ a real number belonging to $ I $, if $ f(x) <= f(m) $ on the interval $ I $ then $ f $ reaches its minimum in $ x=m $ over $ I $. In that case, $ f(m) $ is the minimum value of the function, reached when $ x=m $.
The minimum of a function is always defined with an interval (which may be the whole domain of definition of the function).
Finding the minimum of a function $ f $, is equivalent to calculate $ f(m) $. To find $ m $, use the derivative of the function. The minimum value of a function is found when its derivative is null and changes of sign, from negative to positive.
Example: $ f(x) = x^2 $ defined over $ \mathbb{R} $, its derivative is $ f'(x) = 2x $, that is equal to zero in $ x = 0 $ because $ f'(x) = 0 \iff 2x = 0 \iff x=0 $. The derivative goes from negative to positive in $ x = 0 $ so the function has a minimum in $ x=0 $, $ f(x=0) = 0 $ and $ f(x) >= 0 $ over $ \mathbb{R} $.
Add one or more conditions indicating the interval constraints for each variable.
Example: Find the minimum of $ \sin{x} $ for $ 0 < x < \pi $
Indicate several equations with the operator logical AND && to separate the equations
An extremum is an extreme value of a function, this value can be maximum (the maximum value of the function) or minimum (the minimum value of the function).
The minorant is any value lower than or equal to the minimum value reached by the function.
A constant function $ f (x) = c $ is a line that always equals $ c $, so its minimum is $ c $, reached for any value of $ x $
An line/affine function $ f (x) = ax + b $ always has for minimum $ -\infty $
— If $ a < 0 $, the minimum of $ f $ is $ -\infty $ when $ x $ tends to $ +\infty $
— If $ a > 0 $, the minimum of $ f $ is $ -\infty $ when $ x $ tends to $ -\infty $
A quadratic polynomial function of the form $ f(x) = ax^2+bx+c $ then
— If $ a > 0 $, the minimum of $ f $ is $ (-b^2 + 4 a c)/(4 a) $ reached when $ x = -\frac{b}{2a} $
— If $ a < 0 $, the minimum of $ f $ is $ +\infty $ when $ x $ tends to $ +\infty $
dCode retains ownership of the "Minimum of a Function" source code. Except explicit open source licence (indicated Creative Commons / free), the "Minimum of a Function" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Minimum 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.) and all data download, script, or API access for "Minimum of a 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 "Minimum of a 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):
Minimum of a Function on dCode.fr [online website], retrieved on 2024-11-21,