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 > Max >
Mathematica > Data Manipulation > Handling Arrays of Data > Math & Counting Operations on Lists > Max >
Mathematica > Data Manipulation > Image Processing & Analysis > Basic Image Manipulation > Handling Arrays of Data > Math & Counting Operations on Lists > Max >

Max

Max
yields the numerically largest of the .
Max
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:
Maximum of two numbers:
In[1]:=
Click for copyable input
Out[1]=
 
Maximum of a list:
In[1]:=
Click for copyable input
Out[1]=
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:
Two-dimensional sublevel sets:
Three-dimensional sublevel sets:
New in 1 | Last modified in 5
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF