Gradient theorem

Uses your system voice; voice and rate in settings.

Snapshot

≈ 12 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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 is a differentiable function and a differentiable curve in which starts at a point and ends at a point , then \int_{\gamma} \nabla\varphi(\mathbf{r})\cdot \mathrm{d}\mathbf{r} = \varphi\left(\mathbf{q}\right) - \varphi\left(\mathbf{p}\right) 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.

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 is a differentiable function and a differentiable curve in which starts at a point and ends at a point , then \int_{\gamma} \nabla\varphi(\mathbf{r})\cdot \mathrm{d}\mathbf{r} = \varphi\left(\mathbf{q}\right) - \varphi\left(\mathbf{p}\right) 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 to and is a differentiable function from some closed interval to (Note that is differentiable at the interval endpoints and . To do this, is defined on an interval that is larger than and includes .), then by the multivariate chain rule, the composite function is differentiable on : \frac{\mathrm{d}}{\mathrm{d}t}(\varphi \circ \mathbf{r})(t)=\nabla \varphi(\mathbf{r}(t)) \cdot \mathbf{r}'(t) for all in . Here the denotes the dot product. Now suppose the domain of contains the differentiable curve with endpoints and . (This is oriented in the direction from to ). If parametrizes for in (i.e., represents as a function of ), then \begin{align} \int_{\gamma} \nabla\varphi(\mathbf{r}) \cdot \mathrm{d}\mathbf{r} &=\int_a^b \nabla\varphi(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\mathrm{d}t \\ &=\int_a^b \frac{d}{dt}\varphi(\mathbf{r}(t))\mathrm{d}t =\varphi(\mathbf{r}(b))-\varphi(\mathbf{r}(a))=\varphi\left(\mathbf{q}\right)-\varphi\left(\mathbf{p}\right) , \end{align} 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 is the circular arc oriented counterclockwise from to . Using the definition of a line integral, \begin{align} \int_{\gamma} y\, \mathrm{d}x + x\, \mathrm{d}y &= \int_0^{\pi - \tan^{-1}\!\left(\frac{3}{4}\right)} ((5\sin t)(-5 \sin t) + (5 \cos t)(5 \cos t))\, \mathrm{d}t \\ &= \int_0^{\pi - \tan^{-1}\!\left(\frac{3}{4}\right)} 25 \left(-\sin^2 t + \cos^2 t\right) \mathrm{d}t \\ &= \int_0^{\pi - \tan^{-1}\!\left(\frac{3}{4}\right)} 25 \cos(2t) \mathrm{d}t \ =\ \left.\tfrac{25}{2}\sin(2t)\right|_0^{\pi - \tan^{-1}\!\left(\tfrac{3}{4}\right)} \\[.5em] &= \tfrac{25}{2}\sin\left(2\pi - 2\tan^{-1}\!\!\left(\tfrac{3}{4}\right)\right) \\[.5em] &= -\tfrac{25}{2}\sin\left(2\tan^{-1}\!\!\left(\tfrac{3}{4}\right)\right) \ =\ -\frac{25(3/4)}{(3/4)^2 + 1} = -12. \end{align} This result can be obtained much more simply by noticing that the function f(x,y)=xy has gradient \nabla f(x,y)=(y,x) , so by the Gradient Theorem: \int_{\gamma} y \,\mathrm{d}x+x \,\mathrm{d}y=\int_{\gamma}\nabla(xy) \cdot (\mathrm{d}x,\mathrm{d}y)\ =\ xy\,|_{(5,0)}^{(-4,3)}=-4 \cdot 3-5 \cdot 0=-12 . ===Example 2=== For a more abstract example, suppose has endpoints , , with orientation from to . For in , let denote the Euclidean norm of . If is a real number, then \begin{align} \int_{\gamma} |\mathbf{x}|^{\alpha - 1} \mathbf{x} \cdot \mathrm{d}\mathbf{x} &= \frac{1}{\alpha + 1} \int_{\gamma} (\alpha + 1) |\mathbf{x}|^{(\alpha + 1) - 2} \mathbf{x} \cdot \mathrm{d}\mathbf{x} \\ &= \frac{1}{\alpha + 1} \int_{\gamma} \nabla |\mathbf{x}|^{\alpha + 1} \cdot \mathrm{d}\mathbf{x}= \frac . Thus, continuing from above and using the gradient theorem, W = -kq \sum_{i=1}^n \left( Q_i \int_{\gamma} \nabla \frac{1}{\left|\mathbf{r} - \mathbf{p}_i\right|} \cdot \mathrm{d}\mathbf{r} \right) = kq \sum_{i=1}^n Q_i \left( \frac{1}{\left|\mathbf{a} - \mathbf{p}_i\right|} - \frac{1}{\left|\mathbf{b} - \mathbf{p}_i\right|} \right) 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 ). 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 is the gradient of some scalar-valued function (i.e., if is conservative), then is a path-independent vector field (i.e., the integral of 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 over every closed loop in the domain of is zero, then is the gradient of some scalar-valued function. Suppose is an open, path-connected subset of , and is a continuous and path-independent vector field. Fix some element of , and define by f(\mathbf{x}) := \int_{\gamma[\mathbf{a}, \mathbf{x}]} \mathbf{F}(\mathbf{u}) \cdot \mathrm{d}\mathbf{u} Here is any (differentiable) curve in originating at and terminating at . We know that is well-defined because is path-independent. Let be any nonzero vector in . By the definition of the directional derivative, \begin{align} \frac{\partial f(\mathbf{x})}{\partial \mathbf{v}} &= \lim_{t \to 0} \frac{f(\mathbf{x} + t\mathbf{v}) - f(\mathbf{x})}{t} \\ &= \lim_{t \to 0} \frac{\int_{\gamma[\mathbf{a}, \mathbf{x} + t\mathbf{v}]} \mathbf{F}(\mathbf{u}) \cdot \mathrm{d}\mathbf{u} - \int_{\gamma[\mathbf{a}, \mathbf{x}]} \mathbf{F}(\mathbf{u}) \cdot d\mathbf{u}}{t} \\ &= \lim_{t \to 0} \frac{1}{t} \int_{\gamma[\mathbf{x}, \mathbf{x} + t\mathbf{v}]} \mathbf{F}(\mathbf{u}) \cdot \mathrm{d}\mathbf{u} \end{align} To calculate the integral within the final limit, we must parametrize . Since is path-independent, is open, and is approaching zero, we may assume that this path is a straight line, and parametrize it as for . Now, since , the limit becomes \lim_{t \to 0} \frac{1}{t} \int_0^t \mathbf{F}(\mathbf{u}(s)) \cdot \mathbf{u}'(s)\, \mathrm{d}s = \frac{\mathrm{d}}{\mathrm{d}t} \int_0^t \mathbf{F}(\mathbf{x} + s\mathbf{v}) \cdot \mathbf{v}\, \mathrm{d}s \bigg|_{t=0} = \mathbf{F}(\mathbf{x}) \cdot \mathbf{v} where the first equality is from the definition of the derivative with a fact that the integral is equal to 0 at = 0, and the second equality is from the first fundamental theorem of calculus. Thus we have a formula for , (one of ways to represent the directional derivative) where is arbitrary; for f(\mathbf{x}) := \int_{\gamma[\mathbf{a}, \mathbf{x}]} \mathbf{F}(\mathbf{u}) \cdot \mathrm{d}\mathbf{u} (see its full definition above), its directional derivative with respect to is \frac{\partial f(\mathbf{x})}{\partial \mathbf{v}} = \partial _ \mathbf{v} f(\mathbf{x}) = D_{\mathbf{v}}f(\mathbf{x}) = \mathbf{F}(\mathbf{x}) \cdot \mathbf{v} where the first two equalities just show different representations of the directional derivative. According to the definition of the gradient of a scalar function , \nabla f(\mathbf{x}) = \mathbf{F}(\mathbf{x}) , thus we have found a scalar-valued function whose gradient is the path-independent vector field (i.e., is a conservative vector field.), as desired. ===Example of the converse principle=== To illustrate the power of this converse principle, we cite an example that has significant physical consequences. In classical electromagnetism, the electric force is a path-independent force; i.e. the work done on a particle that has returned to its original position within an electric field is zero (assuming that no changing magnetic fields are present). Therefore, the above theorem implies that the electric force field is conservative (here is some open, path-connected subset of that contains a charge distribution). Following the ideas of the above proof, we can set some reference point in , and define a function by U_e(\mathbf{r}) := -\int_{\gamma[\mathbf{a},\mathbf{r}]} \mathbf{F}_e(\mathbf{u}) \cdot \mathrm{d}\mathbf{u} Using the above proof, we know is well-defined and differentiable, and (from this formula we can use the gradient theorem to easily derive the well-known formula for calculating work done by conservative forces: ). This function is often referred to as the electrostatic potential energy of the system of charges in (with reference to the zero-of-potential ). In many cases, the domain is assumed to be unbounded and the reference point is taken to be "infinity", which can be made rigorous using limiting techniques. This function is an indispensable tool used in the analysis of many physical systems. ==Generalizations== Many of the critical theorems of vector calculus generalize elegantly to statements about the integration of differential forms on manifolds. In the language of differential forms and exterior derivatives, the gradient theorem states that \int_{\partial \gamma} \phi = \int_{\gamma} \mathrm{d}\phi for any 0-form, , defined on some differentiable curve (here the integral of over the boundary of the is understood to be the evaluation of at the endpoints of γ). Notice the striking similarity between this statement and the generalized Stokes’ theorem, which says that the integral of any compactly supported differential form over the boundary of some orientable manifold is equal to the integral of its exterior derivative over the whole of , i.e., \int_{\partial \Omega}\omega=\int_{\Omega}\mathrm{d}\omega This powerful statement is a generalization of the gradient theorem from 1-forms defined on one-dimensional manifolds to differential forms defined on manifolds of arbitrary dimension. The converse statement of the gradient theorem also has a powerful generalization in terms of differential forms on manifolds. In particular, suppose is a form defined on a contractible domain, and the integral of over any closed manifold is zero. Then there exists a form such that . Thus, on a contractible domain, every closed form is exact. This result is summarized by the Poincaré lemma. ==See also== State function Scalar potential Jordan curve theorem Differential of a function Classical mechanics ==References==

Text derived from https://en.wikipedia.org/w/index.php?oldid=1369459224 under CC BY-SA 4.0; modifications have been made.