Gradient theorem, Conservative vector fields

Gradient Theorem

The fundamental theorem of single variable calculus was the one that told you “the integral of the derivative of a function is just going to be the function itself.”

โˆซab f(t) dt = F(b) - F(a)


The gradient theorem is a generalization of the fundamental theorem of calculus to vector calculus, i.e. calculus of several variables. Suppose a scalar field ฯ†, we could use the gradient of ฯ† to calculate the differential of ฯ†, so the change in ฯ† is equal to the dot product of the gradient of ฯ† with dr.

dฯ† = โˆ‡ฯ† โˆ™ dr

If we take line integral of โˆ‡ฯ† โˆ™ dr along a curve from point r1 to r2, we could get the fundamental theorem extended to multi-variables, it tells us that we can do this line integral of a gradient of a function dot product dr, by just knowing the value of the function itself at the endpoints of the curve, just like the fundamental theorem of single-variable calculus.

โˆซC โˆ‡ฯ† โˆ™ dr = โˆซC dฯ† = ฯ†(r2) - ฯ†(r1)

If the endpoints are at the same point in space, we’re integrating over a closed curve of โˆ‡ฯ† โˆ™ dr, then it will be 0.

โˆฎC โˆ‡ฯ† โˆ™ dr = 0

Conservative Vector Fields

The gradient theorem is closely related to conservative vector fields. Assume u = โˆ‡ฯ†, where ฯ† in physics would be related to the potential energy, and u would be related to the field that the potential energy is arising from. A conservative vector field will be a vector field that satisfies one of four conditions:

u = โˆ‡ฮฆโˆ‡ ร— u = 0
โˆซC โˆ‡ฯ† โˆ™ dr is path independentโˆฎC โˆ‡ฯ† โˆ™ dr = 0

Conservation of Energy

The concept of a conservative vector field is closely related to the physics concept of conservation of energy. Given the work-energy theorem, we know the work done by a force on a mass imports energy to the mass.

Also, conservation of energy occurs when the force is a conservative vector field, by using gradient theorem we end up with the expression of the conservation of energy, where initial kinetic energy T0 plus initial potential energy V0 equals to the final kinetic energy Tf plus final potential energy Vf.

T0 + V0 = Tf + Vf
Conservation of energy, Divergence theorem

Divergence Theorem

Divergence Theorem is another fundamental theorem of vector calculus. It tells you that a volume integral over the divergence of a vector field is equal to the surface integral over the surface that encloses that volume of the vector field dotted product with ds. It’s reducing a triple integral here, which is a volume integral, into a double integral, which is a surface integral.

โˆซV โˆ‡ โˆ™ u dV = โˆฎS u โˆ™ dS
Test divergence theorem, Cartesian coordinates, Spherical coordinations


Continuity Equation for Fluid Flow

It’s a nice theoretical application of the divergence theorem. The fluid itself is continuous. Fluid can be transported from one location in space to another. It’s density can change but it has to do that continuously. We need two quantities:

  1. fluid density (mass / unit volume): ฯ = ฯ(rโ†’ , t)
  2. fluid velocity (length / unit time): uโ†’ = uโ†’(rโ†’, t)

We also need a test volume V with surface S. We try to figure out how the mass M of the fluid in this test volume changes in time: dM/dt, i.e. the derivative of the mass inside this test volume as a derivative with respect to time, which is equal to negative of the mass flux through the surface.

dM/dt = - โจ™S ฯ uโ†’ โˆ™ dSโ†’

This lead to the standard form of continuity equation of fluid flow:

โˆ‚ฯ/โˆ‚t + โˆ‡โ†’ โˆ™ (ฯ uโ†’) = 0

In a special case, where ฯ is constant (incompressible fluid) the equation becomes โˆ‡โ†’ โˆ™ uโ†’ = 0. It means whatever flow into the test volume, has to flow out.

Continuity equation for fluid flow, Curl theorem, Meaning of divergence

Curl Theorem

Green’s theorem is essentially Stokes’ theorem in two dimensions. Green’s theorem says the integral over an area or a surface in the x, y plane is equal to a line integral enclosing this surface.

โˆซS (โˆ‚u2/โˆ‚x - โˆ‚u1/โˆ‚y) dS = โˆฒC u1dx + u2dy

The generalization of Greens’ theorem from 2 dimensions to 3 dimensions gives us the Stoke’s theorem.

โˆซS (โˆ‡โ†’ ร— uโ†’) โˆ™ dSโ†’ = โˆฎC uโ†’ โˆ™ drโ†’

Maxwell’s Equation

Divergence Theorem and Stokes Theorem can be used to convert the Maxwell’s equations from the integral form into their differential form.

Meaning of curl, Maxwell's equations


My Certificate

For more on Vector Calculus: Fundamental Theorems, please refer to the wonderful course here https://www.coursera.org/learn/vector-calculus-engineers



I am Kesler Zhu, thank you for visiting my website. Check out more course reviews at https://KZHU.ai