Location of the minimum

Tries to find the x-value where the function attains its minimum. If lower and upper limits are given, the minimum is searched within that interval.

Syntax

fMin(Expression, Variable)
fMin(Expression, Variable, Lower limit)
fMin(Expression, Variable, Lower limit, Upper limit)
fMin(Expression, Variable) | Lower limitVariableUpper limit

Examples

Finding the location of a function’s minimum and maximum

With the commands fMin and fMax, you can determine the location of a function’s minimum and maximum values. Extrema can be studied more comprehensively using the derivative. With the solve command, the zeros of the derivative function can be determined easily.

See more

Graph illustrating fMin and fMax

Distance from a point to a line

The well-known formula for the distance from a point to a line can be derived using the Pythagorean Theorem and finding the shortest distance.