Calculus & Numerical Methods
Gradient Magnitude (2D)
Length of the gradient vector of f(x, y).
Formula
Formula
∇f = √(∂f∂x)2 + (∂f∂y)2
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| f | function of x and y | expression / text | x, y | input |
| x, y | evaluation point | real number (ℝ) | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenf(x, y) = x*x + y*y, x = 3, y = 4
Result10
Example 2
Givenf(x, y) = x*y, x = 1, y = 2
Result2.236067977