Gradient Calculator

Type a function of x, y and z, and optionally a point, to find its gradient.

Use x, y and z. Type powers with ^ and functions with brackets: sin(xy), e^(x + y), ln(x), sqrt(x).

Optional: a point such as (1, 2) to evaluate the gradient there. Leave empty for the gradient as a formula.

Try

Result

You entered∇[x2+y2+z2]\nabla\left[x^{2} + y^{2} + z^{2}\right]

∇f=(2x,2y,2z)\displaystyle \nabla f = \left(2x, 2y, 2z\right)
Show the work
  1. Gradient

    The gradient collects the partial derivatives of ff into a vector that points in the direction of steepest increase. Each component treats the other variables as constants.

    Using ∇f=(fx,fy,fz)\nabla f = \left(f_{x}, f_{y}, f_{z}\right)

    ∂f∂x=2x∂f∂y=2y∂f∂z=2z\begin{gathered} \frac{\partial f}{\partial x} = 2x \\ \frac{\partial f}{\partial y} = 2y \\ \frac{\partial f}{\partial z} = 2z \end{gathered}
  2. Gradient vector

    Put the partial derivatives together, in the order of the variables.

    ∇f=(2x,2y,2z)\nabla f = \left(2x, 2y, 2z\right)
  3. Result

    The gradient of the function.

Worked examples