Two Variable Local Extrema Calculator

Analyze stationary points with guided partial derivative checks. Classify minima, maxima, saddles, and flat cases. Download neat reports for records, lessons, and classroom use.

Calculator Form

Quadratic Polynomial Inputs

Use f(x,y) = ax² + by² + cxy + dx + ey + k.

Known Point And Hessian Inputs

Use this option when you already know partial derivative values at a point.

Example Data Table

Function Critical Point D fxx Result
f = x² + y² - 4x - 6y + 13 (2, 3) 4 2 Local minimum
f = -x² - y² + 2x + 4y (1, 2) 4 -2 Local maximum
f = x² - y² (0, 0) -4 2 Saddle point
f = x⁴ + y⁴ (0, 0) 0 0 Inconclusive by Hessian

Formula Used

For a quadratic function f(x,y) = ax² + by² + cxy + dx + ey + k, the first partial derivatives are:

fx = 2ax + cy + d

fy = cx + 2by + e

The critical point is found by solving fx = 0 and fy = 0.

The Hessian determinant is:

D = fxx fyy - fxy²

For the quadratic form, fxx = 2a, fxy = c, and fyy = 2b.

If D > 0 and fxx > 0, the point is a local minimum.

If D > 0 and fxx < 0, the point is a local maximum.

If D < 0, the point is a saddle point.

If D = 0, the second derivative test is inconclusive.

How To Use This Calculator

  1. Select quadratic mode when your function matches ax² + by² + cxy + dx + ey + k.
  2. Select known point mode when you already have derivative values at a point.
  3. Enter all required coefficients or derivative values.
  4. Choose decimal precision and tolerance for small derivative checks.
  5. Press the calculate button.
  6. Review the critical point, Hessian determinant, and classification.
  7. Use CSV or PDF download buttons for saving results.

Understanding Two Variable Extrema

A function of two variables can rise, fall, or bend in many directions. Local extrema describe special points near which values become highest or lowest. These points are important in calculus, optimization, economics, physics, and engineering. The calculator focuses on practical classification. It helps you inspect a quadratic surface, or a known critical point with Hessian data. The goal is not only to give an answer. It also shows the derivative conditions and the second derivative test.

Why Critical Points Matter

For a smooth function f(x,y), a local extremum usually appears where both first partial derivatives are zero. These equations are f_x = 0 and f_y = 0. Such points are called stationary points. They are candidates, not final answers. A candidate may be a minimum, maximum, saddle point, or an inconclusive flat case. This is why the Hessian matrix is needed after solving the first derivative equations.

Using The Hessian Test

The Hessian matrix stores second partial derivatives. For two variables, it uses f_xx, f_xy, and f_yy. Its determinant is D = f_xx f_yy - f_xy². If D is positive and f_xx is positive, the point is a local minimum. If D is positive and f_xx is negative, the point is a local maximum. If D is negative, the point is a saddle point. If D is zero, the test cannot decide.

Practical Study Benefits

This tool is useful while checking homework, preparing examples, or reviewing optimization steps. Quadratic mode is fast because the critical point can be solved from a linear system. Hessian mode is flexible because it accepts derivative values from any differentiable expression. The decimal precision option keeps answers neat. The tolerance option helps decide whether small derivative values should count as zero. The CSV export supports spreadsheets. The PDF export supports reports and class notes.

Read every output line carefully. A local result only describes behavior near the tested point. It does not always prove a global maximum or minimum. Domain boundaries, constraints, and discontinuities may change the final decision. For constrained problems, use suitable methods such as substitution, Lagrange multipliers, or boundary testing. When the Hessian is inconclusive, try direct comparison, higher derivatives, graphs, or numerical sampling around the point. For accuracy.

FAQs

What is a local extremum?

A local extremum is a point where the function is higher or lower than nearby values. It may be a local maximum or local minimum.

What is a critical point?

A critical point usually occurs where both first partial derivatives are zero. It is only a candidate until tested further.

What does the Hessian determinant show?

It shows local curvature behavior near a critical point. Its sign helps classify minima, maxima, and saddle points.

When is the result a local minimum?

The result is a local minimum when D is positive and fxx is positive at the critical point.

When is the result a local maximum?

The result is a local maximum when D is positive and fxx is negative at the critical point.

What does a saddle point mean?

A saddle point rises in one direction and falls in another. It is not a local maximum or minimum.

Why can the Hessian test be inconclusive?

The test is inconclusive when D is zero or very close to zero. Higher order tests or graph checks may be needed.

Can this calculator solve every two variable function?

No. Quadratic mode handles quadratic forms. Hessian mode can classify any known critical point when derivative values are supplied.

Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.