Skip to main content
Calcimator

Gradient Vector Calculator

Calculate the gradient vector of f(x,y) = ax² + by² + cxy at any point. Shows magnitude and direction of steepest ascent.

Inputs

Results

∂f/∂x

4

∂f/∂y

6

Magnitude |∇f|7.2111
Direction56.31°
How to Use This Calculator
  1. Enter the partial derivative values ∂f/∂x and ∂f/∂y (and optionally ∂f/∂z for 3D functions) at the evaluation point.
  2. The gradient ∇f = (∂f/∂x, ∂f/∂y, ∂f/∂z) is a vector pointing in the direction of steepest ascent of f.
  3. Gradient magnitude |∇f| = √((∂f/∂x)² + (∂f/∂y)² + (∂f/∂z)²) tells you how steep the ascent is.
  4. The unit gradient vector (∇f / |∇f|) gives the direction of steepest ascent with magnitude normalized to 1.
  5. In optimization, the gradient is zero at critical points; gradient descent moves opposite to ∇f to minimize f.
  6. The bar chart displays each component's magnitude to visualize which variable drives the most change.
Ad Placeholder

Related Calculators

Ad Placeholder