WLJS LogoWLJS Notebook

Minimize

Minimize[f, x] minimizes f symbolically with respect to x.

Examples

Symbolic minimum:

Minimize[x^2 - 4x + 5, x]
(* {1, {x -> 2}} *)

With constraints:

Minimize[{x + y, x >= 0, y >= 0, x + y >= 1}, {x, y}]
(* {1, {x -> 0, y -> 1}} *)

Please visit the official Wolfram Language Reference for more details.

On this page