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

Minimize

Updated In 6 Graphic
Minimize[f, {x, y, ...}]
minimizes f with respect to x, y, ....
Minimize[{f, cons}, {x, y, ...}]
minimizes f subject to the constraints cons.
Minimize[{f, cons}, {x, y, ...}, dom]
minimizes with variables over the domain dom, typically Reals or Integers.
  • Minimize returns a list of the form {fmin, {x->xmin, y->ymin, ...}}.
  • cons can contain equations, inequalities or logical combinations of these.
  • If f and cons are linear or polynomial, Minimize will always find a global minimum.
  • Minimize will return exact results if given exact input.
  • If Minimize is given an expression containing approximate numbers, it automatically calls NMinimize.
  • If the minimum is achieved only infinitesimally outside the region defined by the constraints, or only asymptotically, Minimize will return the infimum and the closest specifiable point.
  • If no domain is specified, all variables are assumed to be real.
  • xIntegers can be used to specify that a particular variable can take on only integer values.
  • Even if the same minimum is achieved at several points, only one is returned.
Minimize a univariate function:
In[1]:=
Click for copyable input
Out[1]=
 
Minimize a multivariate function:
In[1]:=
Click for copyable input
Out[1]=
 
Minimize a function subject to constraints:
In[1]:=
Click for copyable input
Out[1]=
 
A minimization problem containing parameters:
In[1]:=
Click for copyable input
Out[1]=
New in 5 | Last modified in 6