This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Algebraic Computation / Calculus /

Maximize

FilledSmallSquare Maximize[f, x, y, ... ] maximizes f with respect to x, y, ... .

FilledSmallSquare Maximize[f, cons, x, y, ... ] maximizes f subject to the constraints cons.

FilledSmallSquare Maximize returns a list of the form , x -> , y -> , ... .

FilledSmallSquare cons can contain equations, inequalities or logical combinations of these.

FilledSmallSquare If f and cons are linear or polynomial, Maximize will always find a global maximum.

FilledSmallSquare Maximize will return exact results if given exact input.

FilledSmallSquare 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.

FilledSmallSquare By default, all variables are assumed to be real.

FilledSmallSquare x Integers can be used to specify that a variable can take on only integer values.

FilledSmallSquare If the constraints cannot be satisfied, Maximize returns -Infinity, x -> Indeterminate, ... .

FilledSmallSquare See Section 1.5.8 and Section 3.4.12.

FilledSmallSquare Implementation Notes: see Section A.9.5.

FilledSmallSquare See also: Minimize, NMaximize, FindMaximum, Max, D, LinearProgramming.

FilledSmallSquare New in Version 5.0.

Further Examples