Study guide

4.2 Directional Derivatives, Gradients, and Tangent Planes

GRE Subject Test: Mathematics Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Single-Variable Differential Calculus

1.1 Limits, Continuity, and Epsilon-Delta Definitions 1.2 Differentiation Rules, Implicit & Inverse Differentiation 1.3 Mean Value Theorem, Rolle's Theorem, and Function Extrema 1.4 L'Hôpital's Rule, Curve Sketching, and Optimization 1.5 Functions, Graphs, Transformations, and Inverses 1.6 Trigonometric Functions, Identities, and Equations 1.7 Coordinate Geometry, Lines, Circles, and Conics 1.8 Parametric and Polar Curves

2 Chapter 2: Single-Variable Integral Calculus

2.1 Riemann Sums and the Fundamental Theorem of Calculus 2.2 Advanced Integration Techniques 2.3 Geometric Applications: Areas, Volumes, and Arc Length 2.4 Improper Integrals and Convergence Criteria

3 Chapter 3: Sequences, Infinite Series & Power Series

3.1 Sequences, Monotonicity, and Limits 3.2 Infinite Series and Convergence Tests 3.3 Power Series, Radius and Interval of Convergence 3.4 Taylor and Maclaurin Series with Error Bounds

4 Chapter 4: Multivariable Differential Calculus

4.1 Multivariable Functions, Limits, and Partial Derivatives 4.2 Directional Derivatives, Gradients, and Tangent Planes 4.3 Multivariable Chain Rule and Implicit Differentiation 4.4 Multivariable Extrema, Hessian Matrix, and Lagrange Multipliers

5 Chapter 5: Multivariable Integration & Vector Calculus

5.1 Multiple Integrals in Cylindrical and Spherical Coordinates 5.2 Change of Variables and the Jacobian Determinant 5.3 Vector Fields, Line Integrals, and Green's Theorem 5.4 Surface Integrals, Stokes' Theorem, and the Divergence Theorem

6 Chapter 6: Ordinary Differential Equations

6.1 First-Order ODEs: Separable, Linear, and Exact Equations 6.2 Special First-Order ODEs: Homogeneous, Bernoulli, and Orthogonal Trajectories 6.3 Second-Order Linear Homogeneous ODEs with Constant Coefficients 6.4 Nonhomogeneous Linear ODEs: Undetermined Coefficients and Variation of Parameters

7 Chapter 7: Elementary Algebra & Number Theory

7.1 Elementary Algebra, Polynomials, Roots, and Factorization 7.2 Divisibility, Primes, and the Euclidean Algorithm 7.3 Modular Arithmetic, Chinese Remainder Theorem, and Euler's Totient

8 Chapter 8: Linear Algebra: Vector Spaces & Transformations

8.1 Vector Spaces, Subspaces, Span, and Linear Independence 8.2 Basis, Dimension, and Coordinate Representations 8.3 Linear Transformations, Kernel, Range, and the Rank-Nullity Theorem 8.4 Matrix Representations of Transformations and Change of Basis

9 Chapter 9: Linear Algebra: Matrices, Determinants & Spectral Theory

9.1 Systems of Linear Equations, Matrix Rank, and Row Reduction 9.2 Determinants, Matrix Inverses, and Cramer's Rule 9.3 Eigenvalues, Eigenvectors, and Diagonalization 9.4 Inner Product Spaces, Gram-Schmidt, and the Spectral Theorem

10 Chapter 10: Abstract Algebra: Groups, Rings & Fields

10.1 Groups, Subgroups, and Permutations 10.2 Cosets, Lagrange's Theorem, Normal Subgroups, and Homomorphisms 10.3 Rings, Ideals, Modules, Polynomial Rings, and Fields

11 Chapter 11: Introductory Real Analysis

11.1 The Real Field and Metric Space Topology 11.2 Compactness, Completeness, and Connectedness in R^n 11.3 Continuity, Uniform Continuity, and Value Theorems 11.4 Sequences and Series of Functions: Pointwise and Uniform Convergence

12 Chapter 12: Complex Analysis

12.1 Complex Numbers and Analytic Functions 12.2 Contour Integration and Cauchy's Theorems 12.3 Laurent Series, Singularities, and the Residue Theorem

13 Chapter 13: Topology, Geometry & Numerical Analysis

13.1 Topological Spaces, Open/Closed Sets, and Bases 13.2 Euclidean Geometry, Similarity, Circles, and Transformations 13.3 Numerical Analysis: Error, Root Finding, Interpolation, and Quadrature

14 Chapter 14: Probability, Statistics & Discrete Mathematics

14.1 Logic, Set Theory, Algorithms, and Combinatorics 14.2 Graph Theory: Trees, Cycles, Paths, and Planarity 14.3 Probability Spaces, Conditional Probability, and Bayes' Theorem 14.4 Random Variables, Expected Value, Variance, and Common Distributions

4.2 Directional Derivatives, Gradients, and Tangent Planes

Key Takeaways Explain This Topic AI

The directional derivative of a differentiable function f in the direction of a unit vector u is given by D_u f = ∇f · u = ||∇f|| cos(θ).

The gradient vector ∇f(P) points in the direction of maximum instantaneous increase, with magnitude ||∇f(P)|| equal to that maximum rate.

The gradient vector ∇F(x_0, y_0, z_0) to a level surface F(x, y, z) = k is normal (perpendicular) to the tangent plane of the surface at (x_0, y_0, z_0).

The Cartesian equation of the tangent plane to F(x, y, z) = k at P_0 is F_x(P_0)(x - x_0) + F_y(P_0)(y - y_0) + F_z(P_0)(z - z_0) = 0.

The total differential df = f_x dx + f_y dy + f_z dz provides first-order linear approximation and error propagation estimates.

Last updated: September 2026

4.2 Directional Derivatives, Gradients, and Tangent Planes

Partial derivatives f x f_x f x ​ and f y f_y f y ​ measure rates of change parallel to coordinate axes. Directional derivatives generalize this concept to arbitrary trajectories in R n \mathbb{R}^n R n , while the gradient vector ∇ f \nabla f ∇ f encapsulates all directional variation into a single vector field.

Directional Derivatives from First Principles

Let f : D ⊂ R n → R f: D \subset \mathbb{R}^n \to \mathbb{R} f : D ⊂ R n → R and let u \mathbf{u} u be a unit vector ( ∥ u ∥ = 1 \|\mathbf{u}\| = 1 ∥ u ∥ = 1 ). The directional derivative of f f f at x 0 \mathbf{x}_0 x 0 ​ along u \mathbf{u} u is: D u f ( x 0 ) = lim ⁡ h → 0 f ( x 0 + h u ) − f ( x 0 ) h D_{\mathbf{u}} f(\mathbf{x}_0) = \lim_{h \to 0} \frac{f(\mathbf{x}_0 + h \mathbf{u}) - f(\mathbf{x}_0)}{h} D u ​ f ( x 0 ​ ) = h → 0 lim ​ h f ( x 0 ​ + h u ) − f ( x 0 ​ ) ​

For u = i = ⟨ 1 , 0 ⟩ \mathbf{u} = \mathbf{i} = \langle 1, 0 \rangle u = i = ⟨ 1 , 0 ⟩ , D i f = f x D_{\mathbf{i}} f = f_x D i ​ f = f x ​ ; for u = j = ⟨ 0 , 1 ⟩ \mathbf{u} = \mathbf{j} = \langle 0, 1 \rangle u = j = ⟨ 0 , 1 ⟩ , D j f = f y D_{\mathbf{j}} f = f_y D j ​ f = f y ​ .

For an arbitrary non-zero vector v \mathbf{v} v , normalize first: u = v ∥ v ∥ \mathbf{u} = \frac{\mathbf{v}}{\|\mathbf{v}\|} u = ∥ v ∥ v ​ .

The Gradient Vector and Dot Product Formula

For a scalar field f f f , the gradient vector ∇ f \nabla f ∇ f is: ∇ f ( x , y ) = ⟨ ∂ f ∂ x , ∂ f ∂ y ⟩ , ∇ f ( x , y , z ) = ⟨ ∂ f ∂ x , ∂ f ∂ y , ∂ f ∂ z ⟩ \nabla f(x, y) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle, \quad \nabla f(x, y, z) = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right\rangle ∇ f ( x , y ) = ⟨ ∂ x ∂ f ​ , ∂ y ∂ f ​ ⟩ , ∇ f ( x , y , z ) = ⟨ ∂ x ∂ f ​ , ∂ y ∂ f ​ , ∂ z ∂ f ​ ⟩

The Fundamental Directional Derivative Formula

If f f f is differentiable at x 0 \mathbf{x}_0 x 0 ​ , the directional derivative along unit vector u \mathbf{u} u is: D u f ( x 0 ) = ∇ f ( x 0 ) ⋅ u = ∥ ∇ f ( x 0 ) ∥ cos ⁡ θ D_{\mathbf{u}} f(\mathbf{x}_0) = \nabla f(\mathbf{x}_0) \cdot \mathbf{u} = \|\nabla f(\mathbf{x}_0)\| \cos \theta D u ​ f ( x 0 ​ ) = ∇ f ( x 0 ​ ) ⋅ u = ∥∇ f ( x 0 ​ ) ∥ cos θ

where θ \theta θ is the angle between ∇ f ( x 0 ) \nabla f(\mathbf{x}_0) ∇ f ( x 0 ​ ) and u \mathbf{u} u .

Requirement : Differentiability is mandatory. If f f f is not differentiable, directional derivatives may exist along every ray without satisfying the dot product formula.

Geometric Properties of the Gradient

Because − 1 ≤ cos ⁡ θ ≤ 1 -1 \le \cos \theta \le 1 − 1 ≤ cos θ ≤ 1 , the dot product formula yields three cardinal properties:

Steepest Ascent : Occurs when θ = 0 \theta = 0 θ = 0 ( cos ⁡ θ = 1 \cos \theta = 1 cos θ = 1 ).

Direction : u = ∇ f ∥ ∇ f ∥ \mathbf{u} = \frac{\nabla f}{\|\nabla f\|} u = ∥∇ f ∥ ∇ f ​ (along the gradient).

Maximum Value : D u f = ∥ ∇ f ( x 0 ) ∥ D_{\mathbf{u}} f = \|\nabla f(\mathbf{x}_0)\| D u ​ f = ∥∇ f ( x 0 ​ ) ∥ .

Steepest Descent : Occurs when θ = π \theta = \pi θ = π ( cos ⁡ θ = − 1 \cos \theta = -1 cos θ = − 1 ).

Direction : u = − ∇ f ∥ ∇ f ∥ \mathbf{u} = -\frac{\nabla f}{\|\nabla f\|} u = − ∥∇ f ∥ ∇ f ​ (opposite to the gradient).

Minimum Value : D u f = − ∥ ∇ f ( x 0 ) ∥ D_{\mathbf{u}} f = -\|\nabla f(\mathbf{x}_0)\| D u ​ f = − ∥∇ f ( x 0 ​ ) ∥ .

Zero Change : Occurs when θ = π / 2 \theta = \pi/2 θ = π /2 ( cos ⁡ θ = 0 \cos \theta = 0 cos θ = 0 ). Directions orthogonal to ∇ f \nabla f ∇ f produce zero rate of change and lie tangent to level sets.

Orthogonality to Level Curves and Surfaces

Let F ( x , y , z ) = k F(x, y, z) = k F ( x , y , z ) = k define a smooth level surface S S S . Let C C C be any curve on S S S parameterized by r ( t ) \mathbf{r}(t) r ( t ) with r ( t 0 ) = P 0 ( x 0 , y 0 , z 0 ) \mathbf{r}(t_0) = P_0(x_0, y_0, z_0) r ( t 0 ​ ) = P 0 ​ ( x 0 ​ , y 0 ​ , z 0 ​ ) . Because F ( r ( t ) ) = k F(\mathbf{r}(t)) = k F ( r ( t )) = k is constant: d d t F ( r ( t ) ) = ∇ F ( r ( t ) ) ⋅ r ′ ( t ) = 0 \frac{d}{dt} F(\mathbf{r}(t)) = \nabla F(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = 0 d t d ​ F ( r ( t )) = ∇ F ( r ( t )) ⋅ r ′ ( t ) = 0

At t = t 0 t = t_0 t = t 0 ​ , ∇ F ( P 0 ) ⋅ r ′ ( t 0 ) = 0 \nabla F(P_0) \cdot \mathbf{r}'(t_0) = 0 ∇ F ( P 0 ​ ) ⋅ r ′ ( t 0 ​ ) = 0 . Since r ′ ( t 0 ) \mathbf{r}'(t_0) r ′ ( t 0 ​ ) is an arbitrary tangent vector to S S S at P 0 P_0 P 0 ​ , the gradient ∇ F ( P 0 ) \nabla F(P_0) ∇ F ( P 0 ​ ) is perpendicular to every tangent vector to the level surface. Thus ∇ F ( P 0 ) \nabla F(P_0) ∇ F ( P 0 ​ ) is a normal vector n \mathbf{n} n to the tangent plane.

Tangent Planes and Normal Lines to Level Surfaces

For level surface F ( x , y , z ) = k F(x, y, z) = k F ( x , y , z ) = k at P 0 ( x 0 , y 0 , z 0 ) P_0(x_0, y_0, z_0) P 0 ​ ( x 0 ​ , y 0 ​ , z 0 ​ ) with ∇ F ( P 0 ) ≠ 0 \nabla F(P_0) \neq \mathbf{0} ∇ F ( P 0 ​ )  = 0 :

Cartesian Equation of the Tangent Plane F x ( P 0 ) ( x − x 0 ) + F y ( P 0 ) ( y − y 0 ) + F z ( P 0 ) ( z − z 0 ) = 0 F_x(P_0)(x - x_0) + F_y(P_0)(y - y_0) + F_z(P_0)(z - z_0) = 0 F x ​ ( P 0 ​ ) ( x − x 0 ​ ) + F y ​ ( P 0 ​ ) ( y − y 0 ​ ) + F z ​ ( P 0 ​ ) ( z − z 0 ​ ) = 0

Equations of the Normal Line

Parametric Form : r ( t ) = ⟨ x 0 , y 0 , z 0 ⟩ + t ⟨ F x ( P 0 ) , F y ( P 0 ) , F z ( P 0 ) ⟩ \mathbf{r}(t) = \langle x_0, y_0, z_0 \rangle + t \langle F_x(P_0), F_y(P_0), F_z(P_0) \rangle r ( t ) = ⟨ x 0 ​ , y 0 ​ , z 0 ​ ⟩ + t ⟨ F x ​ ( P 0 ​ ) , F y ​ ( P 0 ​ ) , F z ​ ( P 0 ​ )⟩

Symmetric Form : x − x 0 F x ( P 0 ) = y − y 0 F y ( P 0 ) = z − z 0 F z ( P 0 ) \frac{x - x_0}{F_x(P_0)} = \frac{y - y_0}{F_y(P_0)} = \frac{z - z_0}{F_z(P_0)} F x ​ ( P 0 ​ ) x − x 0 ​ ​ = F y ​ ( P 0 ​ ) y − y 0 ​ ​ = F z ​ ( P 0 ​ ) z − z 0 ​ ​ (for non-zero components)

Explicit Surfaces z = f ( x , y ) z = f(x, y) z = f ( x , y )

Rewriting z = f ( x , y ) z = f(x, y) z = f ( x , y ) as F ( x , y , z ) = f ( x , y ) − z = 0 F(x, y, z) = f(x, y) - z = 0 F ( x , y , z ) = f ( x , y ) − z = 0 gives normal ∇ F = ⟨ f x , f y , − 1 ⟩ \nabla F = \langle f_x, f_y, -1 \rangle ∇ F = ⟨ f x ​ , f y ​ , − 1 ⟩ , reproducing the explicit tangent plane formula z − z 0 = f x ( x 0 , y 0 ) ( x − x 0 ) + f y ( x 0 , y 0 ) ( y − y 0 ) z - z_0 = f_x(x_0, y_0)(x - x_0) + f_y(x_0, y_0)(y - y_0) z − z 0 ​ = f x ​ ( x 0 ​ , y 0 ​ ) ( x − x 0 ​ ) + f y ​ ( x 0 ​ , y 0 ​ ) ( y − y 0 ​ ) .

Total Differentials and Error Propagation

For differentiable w = f ( x , y , z ) w = f(x, y, z) w = f ( x , y , z ) , the total differential is: d w = ∂ f ∂ x d x + ∂ f ∂ y d y + ∂ f ∂ z d z = ∇ f ⋅ ⟨ d x , d y , d z ⟩ dw = \frac{\partial f}{\partial x} dx + \frac{\partial f}{\partial y} dy + \frac{\partial f}{\partial z} dz = \nabla f \cdot \langle dx, dy, dz \rangle d w = ∂ x ∂ f ​ d x + ∂ y ∂ f ​ d y + ∂ z ∂ f ​ d z = ∇ f ⋅ ⟨ d x , d y , d z ⟩

For small increments Δ x , Δ y , Δ z \Delta x, \Delta y, \Delta z Δ x , Δ y , Δ z , the change Δ w ≈ d w \Delta w \approx dw Δ w ≈ d w :

Error Type Formula Interpretation

Absolute Error ∣ Δ w ∣ ≈ ∣ d w ∣ ≤ ∣ f x ∣ ∣ Δ x ∣ + ∣ f y ∣ ∣ Δ y ∣ + ∣ f z ∣ ∣ Δ z ∣ \vert\Delta w\vert\approx \vert dw\vert\le \vert f_x\vert\vert\Delta x\vert+ \vert f_y\vert\vert\Delta y\vert+ \vert f_z\vert\vert\Delta z\vert ∣Δ w ∣ ≈ ∣ d w ∣ ≤ ∣ f x ​ ∣∣Δ x ∣ + ∣ f y ​ ∣∣Δ y ∣ + ∣ f z ​ ∣∣Δ z ∣ Propagated absolute uncertainty

  • Relative Error Δ w w ≈ d w w \frac{\Delta w}{w} \approx \frac{dw}{w} w Δ w ​ ≈ w d w ​ Fractional uncertainty
  • Percentage Error d w w × 100 % \frac{dw}{w} \times 100\% w d w ​ × 100% Scaled percentage representation
  • Step-by-Step Worked Problems
  • Problem 1: Directional Derivative along a Vector

Compute the directional derivative of f ( x , y ) = x 2 e 2 y − y 3 f(x, y) = x^2 e^{2y} - y^3 f ( x , y ) = x 2 e 2 y − y 3 at P ( 2 , 0 ) P(2, 0) P ( 2 , 0 ) pointing toward Q ( 5 , 4 ) Q(5, 4) Q ( 5 , 4 ) .

Solution :

Gradient: ∇ f = ⟨ 2 x e 2 y , 2 x 2 e 2 y − 3 y 2 ⟩ ⟹ ∇ f ( 2 , 0 ) = ⟨ 4 , 8 ⟩ \nabla f = \langle 2x e^{2y}, 2x^2 e^{2y} - 3y^2 \rangle \implies \nabla f(2, 0) = \langle 4, 8 \rangle ∇ f = ⟨ 2 x e 2 y , 2 x 2 e 2 y − 3 y 2 ⟩ ⟹ ∇ f ( 2 , 0 ) = ⟨ 4 , 8 ⟩ .

Displacement: v = P Q ⃗ = ⟨ 3 , 4 ⟩ \mathbf{v} = \vec{PQ} = \langle 3, 4 \rangle v = PQ ​ = ⟨ 3 , 4 ⟩ .

Normalize: ∥ v ∥ = 9 + 16 = 5 ⟹ u = ⟨ 3 / 5 , 4 / 5 ⟩ \|\mathbf{v}\| = \sqrt{9 + 16} = 5 \implies \mathbf{u} = \langle 3/5, 4/5 \rangle ∥ v ∥ = 9 + 16 ​ = 5 ⟹ u = ⟨ 3/5 , 4/5 ⟩ .

Dot product: D u f ( 2 , 0 ) = ⟨ 4 , 8 ⟩ ⋅ ⟨ 3 / 5 , 4 / 5 ⟩ = 12 + 32 5 = 44 5 D_{\mathbf{u}} f(2, 0) = \langle 4, 8 \rangle \cdot \langle 3/5, 4/5 \rangle = \frac{12 + 32}{5} = \frac{44}{5} D u ​ f ( 2 , 0 ) = ⟨ 4 , 8 ⟩ ⋅ ⟨ 3/5 , 4/5 ⟩ = 5 12 + 32 ​ = 5 44 ​ .

Problem 2: Tangent Plane to an Ellipsoid

Find the tangent plane to x 2 + 2 y 2 + 3 z 2 = 36 x^2 + 2y^2 + 3z^2 = 36 x 2 + 2 y 2 + 3 z 2 = 36 at P 0 ( 1 , − 2 , 3 ) P_0(1, -2, 3) P 0 ​ ( 1 , − 2 , 3 ) .

Solution :

Level surface F ( x , y , z ) = x 2 + 2 y 2 + 3 z 2 F(x, y, z) = x^2 + 2y^2 + 3z^2 F ( x , y , z ) = x 2 + 2 y 2 + 3 z 2 . Verify 1 + 8 + 27 = 36 1 + 8 + 27 = 36 1 + 8 + 27 = 36 .

Gradient: ∇ F = ⟨ 2 x , 4 y , 6 z ⟩ \nabla F = \langle 2x, 4y, 6z \rangle ∇ F = ⟨ 2 x , 4 y , 6 z ⟩ .

At P 0 P_0 P 0 ​ : n = ∇ F ( 1 , − 2 , 3 ) = ⟨ 2 , − 8 , 18 ⟩ = 2 ⟨ 1 , − 4 , 9 ⟩ \mathbf{n} = \nabla F(1, -2, 3) = \langle 2, -8, 18 \rangle = 2 \langle 1, -4, 9 \rangle n = ∇ F ( 1 , − 2 , 3 ) = ⟨ 2 , − 8 , 18 ⟩ = 2 ⟨ 1 , − 4 , 9 ⟩ .

Tangent plane: 1 ( x − 1 ) − 4 ( y + 2 ) + 9 ( z − 3 ) = 0 ⟹ x − 4 y + 9 z = 36 1(x - 1) - 4(y + 2) + 9(z - 3) = 0 \implies x - 4y + 9z = 36 1 ( x − 1 ) − 4 ( y + 2 ) + 9 ( z − 3 ) = 0 ⟹ x − 4 y + 9 z = 36 .

GRE Exam Traps & Pitfalls

Trap 1: Forgetting to Normalize the Direction Vector D u f = ∇ f ⋅ u D_{\mathbf{u}} f = \nabla f \cdot \mathbf{u} D u ​ f = ∇ f ⋅ u requires a unit vector. Computing ∇ f ⋅ v \nabla f \cdot \mathbf{v} ∇ f ⋅ v for ∥ v ∥ ≠ 1 \|\mathbf{v}\| \neq 1 ∥ v ∥  = 1 scales the derivative by ∥ v ∥ \|\mathbf{v}\| ∥ v ∥ .

Trap 2: Applying the Dot Product Formula Without Differentiability When f f f is non-differentiable, directional derivatives along rays may exist while failing the dot product identity.

Trap 3: Sign Errors on Explicit Surfaces For z = f ( x , y ) z = f(x, y) z = f ( x , y ) , using f ( x , y ) − z = 0 f(x, y) - z = 0 f ( x , y ) − z = 0 gives normal ⟨ f x , f y , − 1 ⟩ \langle f_x, f_y, -1 \rangle ⟨ f x ​ , f y ​ , − 1 ⟩ . Do not flip individual signs.

Loading diagram... Geometric Architecture of Gradient, Level Surfaces, and Tangent Spaces