Min

Min[x1,x2,]

yields the numerically smallest of the xi.

Min[{x1,x2,},{y1,},]

yields the smallest element of any of the lists.

Details

  • Min yields a definite result if all its arguments are real numbers.
  • In other cases, Min carries out some simplifications.
  • Min[] gives Infinity.
  • Min works on SparseArray objects.

Examples

open allclose all

Basic Examples  (2)

Minimum of two numbers:

In[1]:=
Click for copyable input
Out[1]=

Minimum of a list:

In[1]:=
Click for copyable input
Out[1]=

Scope  (8)

Generalizations & Extensions  (1)

Applications  (4)

Properties & Relations  (6)

Possible Issues  (2)

Neat Examples  (2)

See Also

Max  MinMax  TakeSmallest  MinimalBy  RankedMin  RankedMax  Ordering  Minimize  FindMinimum  MinDetect  Clip  UpTo

Tutorials

Introduced in 1988
(1.0)
| Updated in 2003
(5.0)