JESUS CHRIST IS THE ONLY TRUE GOD
Math calculator

Gradient Calculator

Evaluate the gradient of a quadratic two-variable scalar field.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Gradient. The example starts with x² coefficient a = 1, xy coefficient b = 2, y² coefficient c = 3.

Gradient Calculator formula

∇f=(2ax+by+d, bx+2cy+e).

Inputs and units

Inputs and example values for Gradient Calculator
InputFormat / rangeExample
x² coefficient aNumber1
xy coefficient bNumber2
y² coefficient cNumber3
x coefficient dNumber4
y coefficient eNumber5
Constant fNumber6
xNumber1
yNumber2

Worked example

The values listed in Inputs and units give (10, 19) for Gradient.

Gradient
(10, 19)
∂f/∂x
10
∂f/∂y
19

Results and assumptions

Change x² coefficient a from 1 to 1.1 and keep the other example inputs fixed. The updated answer is (10.2, 19) (Gradient).

Fix an input or unexpected result

x² coefficient a is required. Enter x² coefficient a using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

See how to check a result or report an issue.