Gradient and directional derivative
Objective. Use gradients to find steepest change and tangent planes.
- 1. Learn
- 2. Worked example
- 3. Practice
- 4. Feedback
- 5. Continue
Learn: the key idea
The gradient of a scalar function f(x, y, z), written ∇f, is the vector of its partial derivatives (fₓ, fᵧ, f_z), and it points in the direction of steepest increase of f at a given point, with magnitude equal to the maximum rate of change. The directional derivative of f at a point in the direction of a unit vector u is D_uf = ∇f · u, giving the rate of change along any chosen direction. At a point where f = c, the gradient ∇f is normal to the level surface, which is exactly why ∇f at a point gives the normal vector needed for the tangent plane there. For f(x, y) = x² + y² at (1, 2), ∇f = (2, 4), so the steepest ascent direction there is (2, 4).
Worked example
Find the gradient of f(x, y) = x²y + 3y² at the point (2, 1).
- 1Compute the partial derivatives: fₓ = 2xy and fᵧ = x² + 6y.
- 2Evaluate fₓ at (2, 1): fₓ = 2(2)(1) = 4.
- 3Evaluate fᵧ at (2, 1): fᵧ = (2)² + 6(1) = 10.
- 4Write the gradient vector using these two components.
Answer: ∇f(2, 1) = (4, 10)
Concept mastery
Based on your past attempts at this lesson — the question types to practise again come first.
Complete a practice set to see your concept breakdown here.
Practice
Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.
Start practisingCommon mistake. Students often normalise the direction vector incorrectly or forget to do so at all before computing a directional derivative; D_uf = ∇f · u only gives the true rate of change when u is a unit vector.
Your progress
Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.
0 of 5 steps complete
Your place saves automatically as you read.