ArticleslgStudy

mathematics

Gradient theorem

Gradient theorem 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 Gradient theorem rather than just read about it. In short: The gradient theorem, also known as the fundamental theorem of calculus for line integrals, says that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve. The theorem is a generalization of the second fundamental theorem of calculus to any curve in a plane or space (generally n-dimensional) rather than just the real line.

Key takeaways

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

Reference excerpt

The gradient theorem, also known as the fundamental theorem of calculus for line integrals, says that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve. The theorem is a generalization of the second fundamental theorem of calculus to any curve in a plane or space (generally n-dimensional) rather than just the real line. If φ : U ⊆ Rn → R is a differentiable function and γ a differentiable curve in U which starts at a point p and ends at a point q, then ∫γ∇φ(𝐫)⋅d𝐫=φ(𝐪)−φ(𝐩) where ∇φ denotes the gradient vector field of φ. The gradient theorem implies that line integrals through gradient fields are path-independent. In physics this theorem is one of the ways of defining a conservative force. By placing φ as potential, ∇φ is a conservative field. Work done by conservative forces does not depend on the path followed by the object, but only the end points, as the above equation shows. The gradient theorem also has an interesting converse: any path-independent vector field can be expressed as the gradient of a scalar field. Just like the gradient theorem itself, this converse has many striking consequences and applications in both pure and applied mathematics.

Proof If φ is a differentiable function from some open subset U ⊆ Rn to R and r is a differentiable function from some closed interval [a, b] to U (Note that r is differentiable at the interval endpoints a and b. To do this, r is defined on an interval that is larger than and includes [a, b].), then by the multivariate chain rule, the composite function φ ∘ r is differentiable on [a, b]: ddt(φ∘𝐫)(t)=∇φ(𝐫(t))⋅𝐫′(t) for all t in [a, b]. Here the ⋅ denotes the dot product. Now suppose the domain U of φ contains the differentiable curve γ with endpoints p and q. (This is oriented in the direction from p to q). If r parametrizes γ for t in [a, b] (i.e., r represents γ as a function of t), then ∫γ∇φ(𝐫)⋅d𝐫=∫ab∇φ(𝐫(t))⋅𝐫′(t)dt=∫abddtφ(𝐫(t))dt=φ(𝐫(b))−φ(𝐫(a))=φ(𝐪)−φ(𝐩), where the definition of a line integral is used in the first equality, the above equation is used in the second equality, and the second fundamental theorem of calculus is used in the third equality. Even if the gradient theorem (also called fundamental theorem of calculus for line integrals) has been proved for a differentiable (so looked as smooth) curve so far, the theorem is also proved for a piecewise-smooth curve since this curve is made by joining multiple differentiable curves so the proof for this curve is made by the proof per differentiable curve component.

Examples

Example 1 Suppose γ ⊂ R2 is the circular arc oriented counterclockwise from (5, 0) to (−4, 3). Using the definition of a line integral, ∫γydx+xdy=∫0π−tan−1(34)((5sin⁡t)(−5sin⁡t)+(5cos⁡t)(5cos⁡t))dt=∫0π−tan−1(34)25(−sin2t+cos2t)dt=∫0π−tan−1(34)25cos⁡(2t)dt = 252sin⁡(2t)|0π−tan−1(34)=252sin⁡(2π−2tan−1(34))=−252sin⁡(2tan−1(34)) = −25(3/4)(3/4)2+1=−12. This result can be obtained much more simply by noticing that the function f(x,y)=xy has gradient ∇f(x,y)=(y,x), so by the Gradient Theorem: ∫γydx+xdy=∫γ∇(xy)⋅(dx,dy) = xy|(5,0)(−4,3)=−4⋅3−5⋅0=−12.

Example 2 For a more abstract example, suppose γ ⊂ Rn has endpoints p, q, with orientation from p to q. For u in Rn, let |u| denote the Euclidean norm of u. If α ≥ 1 is a real number, then ∫γ|𝐱|α−1𝐱⋅d𝐱=1α+1∫γ(α+1)|𝐱|(α+1)−2𝐱⋅d𝐱=1α+1∫γ∇|𝐱|α+1⋅d𝐱=|𝐪|α+1−|𝐩|α+1α+1 Here the final equality follows by the gradient theorem, since the function f(x) = |x|α+1 is differentiable on Rn if α ≥ 1. If α < 1 then this equality will still hold in most cases, but caution must be taken if γ passes through or encloses the origin, because the integrand vector field |x|α − 1x will fail to be defined there. However, the case α = −1 is somewhat different; in this case, the integrand becomes |x|−2x = ∇(log |x|), so that the final equality becomes log |q| − log |p|. Note that if n = 1, then this example is simply a slight variant of the familiar power rule from single-variable calculus.

Example 3 Suppose there are n point charges arranged in three-dimensional space, and the i-th point charge has charge Qi and is located at position pi in R3. We would like to calculate the work done on a particle of charge q as it travels from a point a to a point b in R3. Using Coulomb's law, we can easily determine that the force on the particle at position r will be 𝐅(𝐫)=kq∑i=1nQi(𝐫−𝐩i)|𝐫−𝐩i|3 Here |u| denotes the Euclidean norm of the vector u in R3, and k = 1/(4πε0), where ε0 is the vacuum permittivity. Let γ ⊂ R3 − {p1, ..., pn} be an arbitrary differentiable curve from a to b. Then the work done on the particle is W=∫γ𝐅(𝐫)⋅d𝐫=∫γ(kq∑i=1nQi(𝐫−𝐩i)|𝐫−𝐩i|3)⋅d𝐫=kq∑i=1n(Qi∫γ𝐫−𝐩i|𝐫−𝐩i|3⋅d𝐫) Now for each i, direct computation shows that 𝐫−𝐩i|𝐫−𝐩i|3=−∇1|𝐫−𝐩i|. Thus, continuing from above and using the gradient theorem, W=−kq∑i=1n(Qi∫γ∇1|𝐫−𝐩i|⋅d𝐫)=kq∑i=1nQi(1|𝐚−𝐩i|−1|𝐛−𝐩i|) We are finished. Of course, we could have easily completed this calculation using the powerful language of electrostatic potential or electrostatic potential energy (with the familiar formulas W = −ΔU = −qΔV). However, we have not yet defined potential or potential energy, because the converse of the gradient theorem is required to prove that these are well-defined, differentiable functions and that these formulas hold (see below). Thus, we have solved this problem using only Coulomb's law, the definition of work, and the gradient theorem.

Converse of the gradient theorem The gradient theorem states that if the vector field F is the gradient of some scalar-valued function (i.e., if F is conservative), then F is a path-independent vector field (i.e., the integral of F over some piecewise-differentiable curve is dependent only on end points). This theorem has a powerful converse:

It is straightforward to show that a vector field is path-independent if and only if the integral of the vector field over every closed loop in its domain is zero. Thus the converse can alternatively be stated as follows: If the integral of F over every closed loop in the domain of F is zero, then F is the gradient of some scalar-valued function.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Gradient theorem

Start with the simplest possible case. Write down what Gradient theorem 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 Gradient theorem 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 Gradient theorem 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 Gradient theorem

In research
Gradient theorem 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 Gradient theorem 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
Gradient theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Theorems in calculus, so understanding it makes those chapters shorter.
In everyday life
Look for Gradient theorem 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 “Gradient theorem” →

How to study Gradient theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gradient theorem 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 Gradient theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gradient theorem in simple terms?

The gradient theorem, also known as the fundamental theorem of calculus for line integrals, says that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve. The theorem is a generalization of the second fundamental theorem of…

Why does Gradient theorem 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 Gradient theorem?

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 Gradient theorem.

Tags

  • Theorems in calculus

Keep exploring