MinMax
Examples
open all close allBasic Examples (1)
Scope (1)
Find the minimum and maximum of a list:
MinMax[{π, 1.3, E, Sqrt[10]}]MinMax[{π, 1.3, E, Sqrt[10]}, 1]Pad by a fraction of the difference:
MinMax[{π, 1.3, E, Sqrt[10]}, Scaled[1 / 4]]Pad the minimum and maximum differently:
MinMax[{π, 1.3, E, Sqrt[10]}, {0, 1}]Generalizations & Extensions (1)
Properties & Relations (3)
MinMax[list] is equivalent to {Min[list],Max[list]}:
list = {3, 1, 2, 5, 4};MinMax[list]{Min[list], Max[list]}MinMax[{}]{Min[{}], Max[{}]}MinMax[list] is equivalent to Quantile[list,{0,1}]:
list = {3, 1, 2, 5, 4};MinMax[list]Quantile[list, {0, 1}]CoordinateBounds generalizes MinMax to higher dimension:
coords = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}, {10, 11, 12}};CoordinateBounds[coords]That corresponds to MinMax in each dimension:
Transpose[coords]MinMax /@ %See Also
Min Max Interval CoordinateBounds CoordinateBoundingBox Between Quantile
Function Repository: MinMaxRounded
History
Text
Wolfram Research (2015), MinMax, Wolfram Language function, https://reference.wolfram.com/language/ref/MinMax.html.
CMS
Wolfram Language. 2015. "MinMax." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MinMax.html.
APA
Wolfram Language. (2015). MinMax. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MinMax.html
BibTeX
@misc{reference.wolfram_2026_minmax, author="Wolfram Research", title="{MinMax}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/MinMax.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_minmax, organization={Wolfram Research}, title={MinMax}, year={2015}, url={https://reference.wolfram.com/language/ref/MinMax.html}, note=[Accessed: 12-June-2026]}