A pupil points uphill on a small model hill.

Gradient definition

The gradient of a differentiable scalar function is the vector of its first partial derivatives.

In Spanish
gradiente
Topic
Multivariable calculus

Gradient in a picture

Gradient diagramThe gradient of x² + y² points outward from the concentric level circles.∇f
The gradient of x² + y² points outward from the concentric level circles.

How it works

For f(x, y), ∇f = ⟨fₓ, fᵧ⟩. For three variables, include f_z. If the gradient is nonzero, it points in the direction of steepest local increase. Its magnitude is the largest directional derivative over unit directions. It is perpendicular to a smooth level curve wherever the gradient is nonzero.

Worked examples

Find ∇f for f(x, y) = x² + 3y.

⟨2x, 3⟩.

Evaluate it at (2, 1).

⟨4, 3⟩.

What is the maximum directional derivative there?

√(4² + 3²) = 5.

Common mistake

The gradient is a vector. To find the rate along a particular unit direction, take a dot product.

Quick check

Which derivatives make up the gradient?

Show answer

The first partial derivatives.

What direction does a nonzero gradient point?

Show answer

The direction of steepest increase.

What is ∇f for a constant function?

Show answer

The zero vector.

Sources

Flashcard

Gradient

Reveal the definition

The gradient of a differentiable scalar function is the vector of its first partial derivatives.

Effortless Math. “Gradient.” Math Dictionary.