f(a, b) ≥ f(x, y)for all (x, y) in the region.
f(a, b) ≤ f(x, y)for all (x, y) in the region.
Let f(a, b) be a local extremum (a local maximum or a local minimum) for the function f. If both fx and fy exist at (a, b), then:
fx(a, b) = 0andfy(a, b) = 0
Points (a, b) for which these conditions hold are called critical points.
If:
Then:
Case 1. If AC - B2 > 0 and A < 0, then f(a, b) is a local maximum.
Case 2. If AC - B2 > 0 and A > 0, then f(a, b) is a local minimum.
Case 3. If AC - B2 < 0, then f has a saddle point at (a, b).
Case 4. If AC - B2 = 0, the test fails.