PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
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
>
Built-in
Mathematica
Symbol
Some Mathematical Functions
Numerical Functions
Ordering in Lists
Piecewise Functions
Basic Statistics
Tutorials »
|
Min
Ordering
Maximize
FindMaximum
See Also »
|
Math & Counting Operations on Lists
Mathematical Functions
Numerical Data
Numerical Functions
More About »
Max
Max
[
x
1
,
x
2
,
...
]
yields the numerically largest of the
x
i
.
Max
[{
x
1
,
x
2
,
...
}, {
y
1
,
...
},
...
]
yields the largest element of any of the lists.
MORE INFORMATION
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.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Maximum of two numbers:
Maximum of a list:
Maximum of two numbers:
In[1]:=
Out[1]=
Maximum of a list:
In[1]:=
Out[1]=
Scope
(7)
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
:
Generalizations & Extensions
(1)
Max
works on sparse arrays:
Applications
(5)
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:
Properties & Relations
(6)
Max
is
Flat
and
Orderless
:
Use
FullSimplify
to simplify
Max
expressions:
Maximize a function containing
Max
:
Max
can be differentiated:
Possible Issues
(2)
Max
flattens lists, rather than being
Listable
:
The one-argument form evaluates for any argument:
SEE ALSO
Min
Ordering
Maximize
FindMaximum
TUTORIALS
Some Mathematical Functions
Numerical Functions
Ordering in Lists
Piecewise Functions
Basic Statistics
RELATED LINKS
Demonstrations with Max
(
Wolfram Demonstrations Project
)
MathWorld
The Wolfram Functions Site
NKS|Online
(
A New Kind of Science
)
MORE ABOUT
Math & Counting Operations on Lists
Mathematical Functions
Numerical Data
Numerical Functions
New in 1 | Last modified in 5