Visualizing Local Extrema of Multivariable Functions

Visualizing Local Extrema of Multivariable Functions
Loading the math board and drawing, please wait…
2016-06-12 22:01
This GeoGebra example dynamically demonstrates the determination of local extrema for a two-variable function at a given point, visually illustrating the role of the Hessian matrix and its discriminant in extremum analysis. Core mathematical concepts include partial derivatives, gradient, second-order partial derivatives, Hessian matrix and its determinant, as well as conditions for local maxima, minima, and saddle points. Construction highlights: the Derivative command computes first and second partial derivatives, Determinant calculates the Hessian determinant, Vector and CurveCartesian are used to draw gradient vectors and the function surface, while Textfield and Text objects display numerical results interactively. Sliders ε, a, b allow users to adjust the point of interest. This resource is suitable for university-level calculus or advanced mathematics courses focusing on multivariable extrema, and also serves as an interactive tool for students to explore extremum behavior across different function types.

GeoGebra Commands & Parameters

  1. Derivative(f, x, 1) → f1x
  2. Derivative(f, y, 1) → f1y
  3. Derivative(f, x, 2) → f2xx
  4. Derivative(f, y, 2) → f2yy
  5. Derivative(Derivative[f, x, 1], y, 1) → f2xy
  6. Segment(P, C) → g
  7. Textfield(f) → Eingabefeld1
  8. Determinant(Hess) → det
  9. Vector(P, P + (f1x(x_0, y_0), f1y(x_0, y_0))) → grad
  10. CurveCartesian(x(P) + (ε * cos(t)), y(P) + (ε * sin(t)), f(x(P) + (ε * cos(t)), y(P) + (ε * sin(t))), t, 0, (2 * π)) → a
  11. CurveCartesian(x(P) + (ε * cos(t)), y(P) + (ε * sin(t)), 0, t, 0, (2 * π)) → b
  12. Function(f(x_0, y_0) + (f1x(x_0, y_0) * (x - x_0)) + (f1y(x_0, y_0) * (y - y_0)), x_0 - w, x_0 + w, y_0 - w, y_0 + w) → t_1