ArticleslgStudy

mathematics

Directional derivative

Directional derivative is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Directional derivative rather than just read about it. In short: In multivariable calculus, the directional derivative measures the instantaneous rate at which a function changes along a specified vector through a given point. If the vector is multiplied by a scalar, the corresponding directional derivative is multiplied by the same scalar.

Directional derivative — main illustration
Directional derivative — illustration

Key takeaways

  • Directional derivative belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Directional derivative to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Directional derivative from memory before moving on to harder problems.

Reference excerpt

In multivariable calculus, the directional derivative measures the instantaneous rate at which a function changes along a specified vector through a given point. If the vector is multiplied by a scalar, the corresponding directional derivative is multiplied by the same scalar. Some elementary texts instead use the phrase "directional derivative in the direction of v" for the rate of change of a function per unit distance in that direction. In that convention the nonzero vector v is first normalized to the unit vector 𝐯̂=𝐯/‖𝐯‖, where the normalized vector is denoted with a circumflex (hat) symbol: ^. The directional derivative of a scalar function f with respect to a vector v may be denoted by any of the following: ∇𝐯f(𝐱)=f'𝐯(𝐱)=D𝐯f(𝐱)=Df(𝐱)(𝐯)=∂𝐯f(𝐱)=∂f(𝐱)∂𝐯=𝐯⋅∇f(𝐱)=𝐯⋅∂f(𝐱)∂𝐱. It therefore generalizes the notion of a partial derivative in a sense that it is the rate of change along any given direction, while the partial derivative is the rate of change along only one of the curvilinear coordinate curves, all other coordinates being constant. In functional analysis, the analogous notion for functions between topological vector spaces is the Gateaux derivative.

Definition

The directional derivative of a scalar function f(𝐱)=f(x1,x2,…,xn) along a vector 𝐯=(v1,…,vn) is the function ∇𝐯f defined by the limit ∇𝐯f(𝐱)=limh→0f(𝐱+h𝐯)−f(𝐱)h=ddtf(𝐱+t𝐯)|t=0. This definition is valid in a broad range of contexts, for example, where the norm of a vector is defined. In finite dimensions, it does not depend on the choice of norm, since all norms are equivalent. Its applicability extends to functions on finite-dimensional vector spaces without a metric and to differentiable manifolds, such as in general relativity.

For differentiable functions If the function f is differentiable at x, then the directional derivative exists along any vector v at x, and one has ∇𝐯f(𝐱)=∇f(𝐱)⋅𝐯 where the ∇ on the right denotes the gradient and ⋅ is the dot product. It can be derived by using the property that all directional derivatives at a point make up a single tangent plane which can be defined using partial derivatives. This can be used to find a formula for the gradient vector and an alternative formula for the directional derivative, the latter of which can be rewritten as shown above for convenience. It also follows from defining a path 𝐡(t)=𝐱+t𝐯 and using the definition of the derivative as a limit along this path to get ∇𝐯f(𝐱)−∇f(𝐱)⋅𝐯=limt→0f(𝐱+t𝐯)−f(𝐱)t−∇f(𝐱)⋅𝐯=limt→0f(𝐱+t𝐯)−f(𝐱)−t∇f(𝐱)⋅𝐯t=0, whence ∇f(𝐱)⋅𝐯=∇𝐯f(𝐱).

Using only direction of vector

In a Euclidean space, some authors define the directional derivative to be with respect to an arbitrary nonzero vector v after normalization, thus being independent of its magnitude and depending only on its direction. This definition gives the rate change of a function f per unit of distance moved in the direction given by v. In this case, one has ∇𝐯̂f(𝐱)=limh→0f(𝐱+h𝐯)−f(𝐱)h‖v‖, or in case f is differentiable at x, ∇𝐯̂f(𝐱)=∇f(𝐱)⋅𝐯̂.

Properties Many of the familiar properties of the ordinary derivative hold for the directional derivative. These include, for any functions f and g defined in a neighborhood of, and differentiable at, p:

sum rule: ∇𝐯(f+g)=∇𝐯f+∇𝐯g. constant factor rule: For any constant c, ∇𝐯(cf)=c∇𝐯f. product rule (or Leibniz's rule): ∇𝐯(fg)=g∇𝐯f+f∇𝐯g. chain rule: If g is differentiable at p and h is differentiable at g(p), then ∇𝐯(h∘g)(𝐩)=h′(g(𝐩))∇𝐯g(𝐩).

In differential geometry

Let M be a differentiable manifold and p a point of M. Suppose that f is a function defined in a neighborhood of p, and differentiable at p. If v is a tangent vector to M at p, then the directional derivative of f along v, denoted variously as df(v) (see Exterior derivative), ∇𝐯f(𝐩) (see Covariant derivative), L𝐯f(𝐩) (see Lie derivative), or 𝐯𝐩(f) (see Tangent space § Definition via derivations), can be defined as follows. Let γ : [−1, 1] → M be a differentiable curve with γ(0) = p and γ′(0) = v. Then the directional derivative is defined by ∇𝐯f(𝐩)=ddτf∘γ(τ)|τ=0. This definition can be proven independent of the choice of γ, provided γ is selected in the prescribed manner so that γ(0) = p and γ′(0) = v.

The Lie derivative The Lie derivative of a vector field Wμ(x) along a vector field Vμ(x) is given by the difference of two directional derivatives (with vanishing torsion): ℒVWμ=(V⋅∇)Wμ−(W⋅∇)Vμ. In particular, for a scalar field ϕ(x), the Lie derivative reduces to the standard directional derivative: ℒVϕ=(V⋅∇)ϕ.

The Riemann tensor Directional derivatives are often used in introductory derivations of the Riemann curvature tensor. Consider a curved rectangle with an infinitesimal vector δ along one edge and δ′ along the other. We translate a covector S along δ then δ′ and then subtract the translation along δ′ and then δ. Instead of building the directional derivative using partial derivatives, we use the covariant derivative. The translation operator for δ is thus 1+∑νδνDν=1+δ⋅D, and for δ′, 1+∑μδ'μDμ=1+δ′⋅D. The difference between the two paths is then (1+δ′⋅D)(1+δ⋅D)Sρ−(1+δ⋅D)(1+δ′⋅D)Sρ=∑μ,νδ'μδν[Dμ,Dν]Sρ. It can be argued that the noncommutativity of the covariant derivatives measures the curvature of the manifold: [Dμ,Dν]Sρ=±∑σRσρμνSσ, where R is the Riemann curvature tensor and the sign depends on the sign convention of the author.

In group theory

Translations In the Poincaré algebra, we can define an infinitesimal translation operator P as 𝐏=i∇. (the i ensures that P is a self-adjoint operator) For a finite displacement λ, the unitary Hilbert space representation for translations is U(𝝀)=exp⁡(−i𝝀⋅𝐏). By using the above definition of the infinitesimal translation operator, we see that the finite translation operator is an exponentiated directional derivative: U(𝝀)=exp⁡(𝝀⋅∇). This is a translation operator in the sense that it acts on multivariable functions f(x) as U(𝝀)f(𝐱)=exp⁡(𝝀⋅∇)f(𝐱)=f(𝐱+𝝀).

… excerpt ends here. Continue reading the full article.

Illustrations

Directional derivative: The angle α between the tangent A and the horizontal will be maximum if the cutting plane contains the direction of the gradient A.
The angle α between the tangent A and the horizontal will be maximum if the cutting plane contains the direction of the gradient A.

Worked examples

Example 1 — a first encounter with Directional derivative

Start with the simplest possible case. Write down what Directional derivative claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Directional derivative before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Directional derivative ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Directional derivative

In research
Directional derivative appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Directional derivative in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Directional derivative is common in secondary-school and first-year university syllabi. It links to neighbouring topics Differential calculus, Differential geometry, Generalizations of the derivative, so understanding it makes those chapters shorter.
In everyday life
Look for Directional derivative outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Directional derivative” →

How to study Directional derivative in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Directional derivative means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Directional derivative out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Directional derivative in simple terms?

In multivariable calculus, the directional derivative measures the instantaneous rate at which a function changes along a specified vector through a given point. If the vector is multiplied by a scalar, the corresponding directional derivative is multiplied by the same scalar.

Why does Directional derivative matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Directional derivative?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Directional derivative.

Tags

  • Differential calculus
  • Differential geometry
  • Generalizations of the derivative
  • Multivariable calculus
  • Rates
  • Scalars

Keep exploring