Topic 11 / 17intermediate

Gradient, Directional Derivative, Tangent Planes

Compute gradients and directional derivatives. Find tangent planes and normal lines to surfaces. Use linearization and differentials for approximation.

The gradient packages the partial derivatives into a vector. It points in the direction of greatest increase of , with magnitude equal to the maximum rate of change. Tangent planes and linearization extend the idea of a tangent line to surfaces.

The gradient

in 2D, in 3D. Properties: it is normal to level curves (in 2D) or level surfaces (in 3D); points in the direction of greatest increase; magnitude equals the max rate of increase.
Key takeaways
  • Greatest increase: direction .
  • Greatest decrease: direction .
  • Zero rate of change directions: perpendicular to .

Directional derivative

where is a **unit vector**. If you're given a non-unit direction , divide by first. Geometrically: rate of change of along the direction .
Strategy tips
  • Always normalize the direction vector.
  • is signed: positive means increases in that direction.

Tangent plane to a surface $z = f(x, y)$

. This is the linearization used to approximate near .

Tangent plane to a level surface $F(x, y, z) = k$

Normal direction is . So the tangent plane satisfies . The normal line is .

Differentials

. Use to estimate for small changes.

Worked examples

Example 1
Find the directional derivative of at in direction .
  1. 1
    Gradient.
  2. 2
    At .
  3. 3
    Unit vector .
  4. 4
    Dot product.
Answer
.
Example 2
Find the tangent plane to at .
  1. 1
    Partials.
  2. 2
    At .
  3. 3
    Plug into formula.
Answer
.
Example 3
Find the tangent plane to the level surface at .
  1. 1
    . Gradient.
  2. 2
    At .
  3. 3
    Tangent plane.
Answer
, equivalently .

Interactive visualizations

Loading visualization…
Surface: f(x, y) = x² + y²/2
Drag the red point: the tangent plane (red translucent) updates to match the surface's slope at that point.
Loading visualization…
Contour map of with the gradient . The gradient is **normal** to the level curve through the point.

Formulas in this topic

Gradient (3D)
Partial derivatives packaged as a vector.
Directional derivative
u must be a unit vector.
Max rate of change
Achieved when u is along the gradient.
Tangent plane (z = f)
Linearization of z = f(x,y).
Tangent plane (level)
Tangent plane to F(x,y,z) = k.
Normal line
Line perpendicular to a level surface at a point.
Differential
First-order change estimate.

Related topics