Max[x1, x2, ...]
yields the numerically largest of the .

Max[{x1, x2, ...}, {y1, ...}, ...]
yields the largest element of any of the lists.


  • Max yields a definite result if all its arguments are real numbers.
  • In other cases, Max carries out some simplifications.
  • Max[] gives -Infinity.
  • Max works on SparseArray objects.
New in 1 | Last modified in 5
New to Mathematica? Find your learning path »
Have a question? Ask support »