WLJS LogoWLJS Notebook

MinValue

MinValue[f,x] gives the minimum value of f with respect to x.

MinValue[f,{x,y,…}] gives the exact minimum value of f with respect to x, y, ….

MinValue[{f,cons},{x,y,…}] gives the minimum value of f subject to the constraints cons.

MinValue[…,x∈rdom] constrains x to be in the region or domain rdom.

MinValue[…,…,dom] constrains variables to the domain dom, typically Reals or Integers.

Examples

Find the minimum value of a function:

MinValue[x^2 + 2x + 1, x]
(* 0 *)

Please visit the official Wolfram Language Reference for more details.

On this page