Sign up freeSign in

Explore · Flashcard deck

Calculus 3: Gradient and Directional Derivatives (University)

31 cards · 7 topics · by Quizcard team · 0 hearts · Updated 2026-11-22

Directional DerivativesThe GradientMeaning of the GradientGradient RulesProblem TypesLevel Curves and SurfacesCommon Mistakes
Quiz me (15 questions) Copy to my decks Make your own flashcards

Shared from Quizcard. Flip through the cards below, or copy the deck to edit and study it in your own account — free.

  Space flips · arrows move · Esc exits

Directional Derivatives

Limit definition of the directional derivative of f(x,y) at (x0,y0) in the direction of unit vector u = <a,b>

Answer: D_u f(x0,y0) = lim as h->0 of [f(x0 + h*a, y0 + h*b) - f(x0,y0)] / h, if the limit exists.

Explanation

It measures the instantaneous rate of change of f per unit distance moved in direction u. Here u must be a unit vector, so a^2 + b^2 = 1.

How are the partial derivatives f_x and f_y special cases of directional derivatives?

Answer: f_x = D_i f with u = i = <1,0>, and f_y = D_j f with u = j = <0,1>.

Explanation

Partial derivatives give the rate of change only along the coordinate axes. Directional derivatives allow any direction.

Gradient formula for the directional derivative, and the condition for using it

Answer: D_u f = grad f · u = f_x*a + f_y*b. It holds when f is differentiable at the point and u = <a,b> is a unit vector.

Explanation

Example: f = x^2 y at (1,2) with u = <3/5, 4/5>. Then grad f = <2xy, x^2> = <4,1>, so D_u f = 12/5 + 4/5 = 16/5.

First step when the direction is given as a non-unit vector v

Answer: Normalize it: u = v / |v|. Then compute grad f · u.

Explanation

Example: v = <1,2>, so |v| = sqrt(5) and u = <1/sqrt(5), 2/sqrt(5)>.

First step when the direction is given as an angle θ measured from the positive x-axis

Answer: Use u = <cos θ, sin θ>. It is already a unit vector.

Explanation

Example: θ = π/3 gives u = <1/2, sqrt(3)/2>, so D_u f = f_x/2 + (sqrt(3)/2) f_y.

First step when asked for the rate of change at P 'in the direction toward point Q'

Answer: Form v = Q - P (the displacement vector from P to Q), then normalize: u = v/|v|.

Explanation

Example: P(1,1) and Q(4,5) give v = <3,4> and u = <3/5, 4/5>.

Directional derivative of f(x,y,z) in the direction of unit vector u = <a,b,c>

Answer: D_u f = grad f · u = f_x*a + f_y*b + f_z*c.

Explanation

Example: f = xyz at (1,1,1) with u = <1,1,1>/sqrt(3). Then grad f = <1,1,1>, so D_u f = 3/sqrt(3) = sqrt(3).

The Gradient

Definition of the gradient of f(x,y,z)

Answer: grad f = <f_x, f_y, f_z>. For f(x,y) it is <f_x, f_y>. It is a vector field on the domain of f.

Explanation

Example: f = x e^(yz) gives grad f = <e^(yz), xz e^(yz), xy e^(yz)>.

Meaning of the Gradient

D_u f written in terms of the angle θ between grad f and u

Answer: D_u f = |grad f| |u| cos θ = |grad f| cos θ, since |u| = 1.

Explanation

This one formula explains the maximum, minimum, and zero results. With |grad f| = 5, the rate is 5 at θ = 0, 0 at θ = 90°, and -5 at θ = 180°.

In which direction does f increase fastest, and what is that maximum rate?

Answer: In the direction of grad f, with u = grad f / |grad f|. The maximum rate is |grad f|. This requires f differentiable and grad f ≠ 0.

Explanation

Example: f = x^2 + y^2 at (3,4). Then grad f = <6,8>, so the fastest increase is along <3/5, 4/5> at rate 10.

Direction and rate of fastest decrease of f

Answer: Direction -grad f. The rate there is -|grad f|.

Explanation

Example: grad f = <6,8> gives steepest descent along <-3/5, -4/5> at rate -10.

In which directions is the directional derivative zero?

Answer: Directions perpendicular to grad f (θ = 90°). In 2D these are tangent to the level curve.

Explanation

Example: grad f = <6,8> gives u = ±<4/5, -3/5>, because 6(4/5) + 8(-3/5) = 0.

Range of possible values of D_u f at a point

Answer: -|grad f| ≤ D_u f ≤ |grad f|.

Explanation

No direction can give a rate larger than |grad f|. If an answer exceeds this bound, check your arithmetic.

What does grad f(P) = 0 tell you?

Answer: Every directional derivative at P is 0. P is a critical point, which could be a local max, a local min, or a saddle point.

Explanation

Example: f = x^2 - y^2 has grad f = <0,0> at the origin, which is a saddle point.

Gradient Rules

Gradient sum, constant-multiple, and product rules

Answer: grad(f + g) = grad f + grad g; grad(cf) = c grad f; grad(fg) = f grad g + g grad f.

Explanation

These mirror the one-variable derivative rules, applied component by component.

Gradient quotient rule and chain rule

Answer: grad(f/g) = (g grad f - f grad g)/g^2, where g ≠ 0. grad(h(f)) = h'(f) grad f.

Explanation

Example: grad(sqrt(x^2 + y^2)) = (1/(2 sqrt(x^2 + y^2))) * <2x, 2y> = <x, y>/sqrt(x^2 + y^2).

Problem Types

Standard problem: temperature T(x,y). Which way should a bug at P move to warm up fastest?

Answer: First step: compute grad T at P. Move in direction grad T/|grad T|. The rate of warming is |grad T|.

Explanation

Example: T = 100 - x^2 - 2y^2 at (1,1). Then grad T = <-2,-4>, the direction is <-1,-2>/sqrt(5), and the rate is sqrt(20) = 2 sqrt(5).

Standard problem: find all unit directions u = <a,b> where D_u f = k at P

Answer: Solve the system: grad f(P) · <a,b> = k together with a^2 + b^2 = 1. Solutions exist only if |k| ≤ |grad f(P)|.

Explanation

Example: grad f = <1,1> and k = 1 gives a + b = 1 and a^2 + b^2 = 1, so u = <1,0> or u = <0,1>.

Level Curves and Surfaces

How is grad f(x0,y0) related to the level curve f(x,y) = k through (x0,y0)?

Answer: grad f(x0,y0) is perpendicular (normal) to the level curve at that point, provided it is nonzero.

Explanation

Reason: along the level curve f stays constant, so the rate of change in the tangent direction is 0. That means grad f · (tangent) = 0.

Equation of the tangent line to the level curve f(x,y) = k at (x0,y0)

Answer: f_x(x0,y0)(x - x0) + f_y(x0,y0)(y - y0) = 0.

Explanation

Example: x^2 + y^2 = 25 at (3,4). The gradient is <6,8>, so 6(x - 3) + 8(y - 4) = 0, which simplifies to 3x + 4y = 25.

How is grad F related to the level surface F(x,y,z) = k?

Answer: grad F(x0,y0,z0) is a normal vector to the level surface at that point, provided it is nonzero.

Explanation

Every curve on the surface through the point has a velocity vector perpendicular to grad F.

Tangent plane to the level surface F(x,y,z) = k at (x0,y0,z0)

Answer: F_x(x - x0) + F_y(y - y0) + F_z(z - z0) = 0, with the partials evaluated at the point.

Explanation

Example: x^2 + y^2 + z^2 = 14 at (1,2,3). The gradient is <2,4,6>, which gives the plane x + 2y + 3z = 14.

Normal line to the level surface F(x,y,z) = k at (x0,y0,z0)

Answer: x = x0 + F_x t, y = y0 + F_y t, z = z0 + F_z t, with the partials evaluated at the point.

Explanation

Example: for the sphere at (1,2,3), the line is x = 1 + 2t, y = 2 + 4t, z = 3 + 6t.

First step to find the tangent plane to a graph z = f(x,y) using gradients

Answer: Rewrite it as a level surface: F(x,y,z) = f(x,y) - z = 0. The normal is then grad F = <f_x, f_y, -1>.

Explanation

Example: z = x^2 + y^2 at (1,1,2). The normal is <2,2,-1>, so 2(x - 1) + 2(y - 1) - (z - 2) = 0.

Direction of the tangent line to the curve of intersection of F = k1 and G = k2

Answer: Use grad F × grad G evaluated at the point. This vector is perpendicular to both normals.

Explanation

Example: x^2 + y^2 + z^2 = 2 and z = 1 at (1,0,1). The normals are <2,0,2> and <0,0,1>, and their cross product is <0,-2,0>.

Reading a contour map: what does the gradient look like?

Answer: It points uphill, perpendicular to the contours, toward higher values. Closely spaced contours mean a large |grad f| (steep). Widely spaced contours mean a small |grad f|.

Explanation

A hiker following the steepest ascent always crosses the contour lines at right angles.

Common Mistakes

Common mistake: using a non-unit vector in D_u f = grad f · u

Answer: Using a non-unit vector scales the answer by |v|. Always divide by |v| first.

Explanation

Example: grad f = <4,1> with v = <3,4>. Dotting directly gives 16, which is wrong. The correct value is 16/5.

Common mistake: giving grad f as the 'maximum rate of change'

Answer: The maximum rate is the number |grad f|. The direction of maximum increase is the vector grad f (or grad f/|grad f|).

Explanation

Example: grad f = <6,8>. The maximum rate is 10, not <6,8>.

Common mistake: thinking grad f for z = f(x,y) is normal to the graph surface

Answer: grad f = <f_x, f_y> is a 2D vector in the xy-plane, normal to level curves. The normal to the graph is <f_x, f_y, -1>.

Explanation

grad f lives in the domain of f, not on the 3D surface.

Common mistake: evaluating the gradient at the wrong time

Answer: Compute the partials symbolically, then substitute the point before dotting with u or taking the magnitude.

Explanation

Do not plug the point into f first. Once you substitute, f becomes a constant and its derivatives are 0.

Common mistake: applying D_u f = grad f · u when f is not differentiable

Answer: Existence of the partials alone is not enough; f must be differentiable. Continuous partials near the point guarantee differentiability.

Explanation

Counterexample: f = xy/(x^2 + y^2), with f(0,0) = 0, has f_x = f_y = 0 at the origin but is not even continuous there.

More Calculus 3 decks

  • Calculus 3: Surface Integrals, Stokes’ Theorem and the Divergence Theorem35 cards · 10 topics
  • Calculus 3: Green’s Theorem31 cards · 8 topics
  • Calculus 3: Vector Fields and Line Integrals34 cards · 8 topics

All Calculus 3 decks → · Explore everything

Make your own deck like this

Upload a PDF, Word doc, or slides and Quizcard writes the cards for you, or build them by hand. Free to start, no credit card required.

Get startedRead the guides