Max
Max[x1,x2,…]
yields the numerically largest of the xi.
Max[{x1,x2,…},{y1,…},…]
yields the largest element of any of the lists.
Examples
open allclose allScope (29)
Numerical Evaluation (7)
The precision of the output tracks the precision of the input:
Evaluate efficiently at high precision:
The maximum of all elements of a matrix:
For Interval objects, Max gives the maximum element in all intervals:
For CenteredInterval objects, Max[Δ1,Δ2] gives an interval containing Max[a1,a2] for any ai∈Δi:
Compute average-case statistical intervals using Around:
Compute the elementwise values of an array using automatic threading:
Or compute the matrix Max function using MatrixFunction:
Specific Values (5)
Visualization (3)
Function Properties (9)
Max is only defined for real-valued inputs:
The range of Max is all real numbers:
Max effectively flattens out all lists:
Basic symbolic simplification is done automatically:
Additional simplification can be done using Simplify:
Multi-argument Max is generally not an analytic function:
It will have singularities where the arguments cross, but it will be continuous:
Max can have any monotonicity depending on its arguments:
Max can have any sign depending on its arguments:
Differentiation and Integration (5)
First derivative with respect to x:
Higher derivatives with respect to x:
Formula for the derivative with respect to x:
Compute the indefinite integral using Integrate:
Applications (5)
Properties & Relations (6)
Possible Issues (2)
Text
Wolfram Research (1988), Max, Wolfram Language function, https://reference.wolfram.com/language/ref/Max.html (updated 2021).
CMS
Wolfram Language. 1988. "Max." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Max.html.
APA
Wolfram Language. (1988). Max. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Max.html