Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > List Manipulation > Math & Counting Operations on Lists >
Mathematica > Data Manipulation > Handling Arrays of Data > Math & Counting Operations on Lists >

Max

Max[x1, x2, ...]
yields the numerically largest of the xi.
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.
Maximum of two numbers:
Maximum of a list:
Max works with exact numeric quantities:
Max effectively flattens out all lists:
Basic symbolic simplification is done automatically:
Simplify a symbolic Max:
Integrate expressions involving Max:
Reduce inequalities involving Max:
Max works on sparse arrays:
Use in bounds of iterator variables:
Cumulative maxima:
Find the highest point of a plotted curve:
Mean of the length ratio of a randomly broken stick:
R-function-based solid modeling:
Use FullSimplify to simplify Max expressions:
Maximize a function containing Max:
Max can be differentiated:
Max flattens lists, rather than being Listable:
The one-argument form evaluates for any argument:
New in 1 | Last modified in 5
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team