## 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.”

`โซ`_{a}^{b} 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 r_{1} to r_{2}, 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ฯ = ฯ(r_{2}) - ฯ(r_{1})

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 T_{0} plus initial potential energy V_{0} equals to the final kinetic energy T_{f} plus final potential energy V_{f}.

`T`_{0} + V_{0} = T_{f} + V_{f}

## 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

### 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:

- fluid density (mass / unit volume): ฯ = ฯ(r
^{โ}, t) - 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 `โ`

. It means whatever flow into the test volume, has to flow out.^{โ} โ u^{โ} = 0

## 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} (โu_{2}/โx - โu_{1}/โy) dS = โฒ_{C} u_{1}dx + u_{2}dy

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.

## My Certificate

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

## Related Quick Recap

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

All of your support will be used for maintenance of this site and more great content. I am humbled and grateful for your generosity. Thank you!

Don't forget to sign up newsletter, don't miss any chance to learn.

Or share what you've learned with friends!

Tweet