This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Built-in Mathematica Symbol Tutorials »| See Also »| More About »

# Maximize

 Maximize[f, {x, y, ...}]maximizes f with respect to x, y, .... Maximize[{f, cons}, {x, y, ...}]maximizes f subject to the constraints cons. Maximize[{f, cons}, {x, y, ...}, dom]maximizes with variables over the domain dom, typically Reals or Integers.
• Maximize returns a list of the form {fmax, {x->xmax, y->ymax, ...}}.
• cons can contain equations, inequalities or logical combinations of these.
• If f and cons are linear or polynomial, Maximize will always find a global maximum.
• Maximize will return exact results if given exact input.
• If Maximize is given an expression containing approximate numbers, it automatically calls NMaximize.
• If the maximum is achieved only infinitesimally outside the region defined by the constraints, or only asymptotically, Maximize will return the supremum and the closest specifiable point.
• If no domain is specified, all variables are assumed to be real.
• can be used to specify that a particular variable can take on only integer values.
Maximize a univariate function:
 Out[1]=

Maximize a multivariate function:
 Out[1]=

Maximize a function subject to constraints:
 Out[1]=

A maximization problem containing parameters:
 Out[1]=
 Scope   (15)
 Options   (1)
 Applications   (3)
New in 5 | Last modified in 6