Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Multivariable Calculus / Partial derivatives

The Gradient

The vector of partial derivatives — pointing in the direction of steepest ascent.

3 min read · 5 sections · 1 checks

Contents 6 sections
  1. §1Introduction
  2. §2Key Properties
  3. §3Worked Example
  4. §4Common Mistakes
  5. §5Summary
  6. ?Check yourself

By the end you can

  • Compute the gradient of a function of several variables
  • Interpret the gradient as the direction of steepest increase
  • Use the gradient to find tangent planes and normal lines

Helps to know: Partial Derivatives

§1Introduction

The gradient ∇f=⟨fx,fy,fz⟩\nabla f = \langle f_{x}, f_{y}, f_{z}\rangle collects all partial derivatives into a vector. It points in the direction of steepest increase of ff, with magnitude equal to that maximum rate.

§2Key Properties

  • The gradient is perpendicular to the level curves (or surfaces) of ff.
  • The directional derivative is maximized in the direction of ∇f\nabla f.
  • At a maximum or minimum of ff, the gradient is the zero vector.
Preparing the instrument…
Fig. 1 Click anywhere to follow the gradient uphill across the level curves.

§3Worked Example

Find the direction of steepest ascent of f(x,y)=x2+y2f(x, y) = x^{2} + y^{2} at (1, 1).

Example 1Solution

  1. ∇f=⟨2x,2y⟩=⟨2,2⟩\nabla f = \langle 2x, 2y\rangle = \langle 2, 2\rangle at (1, 1).

§4Common Mistakes

  • Forgetting that the gradient points uphill, not downhill.
  • Confusing the gradient with a level curve direction (it is perpendicular to it).
  • Not normalizing when a direction (not a rate) is asked for.

§5Summary

  1. The gradient is the vector of partial derivatives.
  2. It points in the direction of steepest increase.
  3. It is perpendicular to level surfaces.

Check yourself

  1. Q1
    For f(x,y)=x²+y², what is ∇f(1,2)?