BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Flux and the normal form of Green's theorem

The flux of a vector field across a plane curve C is ∫_C F · n̂ ds, with n̂ the unit normal pointing to the right of the direction of travel. Work adds up the tangential component of F along C; flux adds up the normal component. For a velocity field, flux is the net amount of fluid crossing C per unit time. In coordinates, n̂ ds = ⟨dy, −dx⟩, so the flux of ⟨P, Q⟩ is ∫ −Q dx + P dy. For a closed curve counterclockwise, Green's theorem in normal form gives the flux out of R as ∫∫ div F dA, with div F = P_x + Q_y, which measures the source rate, how much the flow expands.

You need this first

Full reading path (21 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
  5. Equations of planes and square systems (18.02)
  6. Parametric equations of lines and the cycloid (18.02)
  7. Velocity, acceleration and Kepler's second law (18.02)
  8. Functions of two variables and partial derivatives (18.02)
  9. Tangent planes, critical points and least squares (18.02)
  10. The second derivative test (18.02)
  11. Differentials and the chain rule (18.02)
  12. The gradient and directional derivatives (18.02)
  13. Lagrange multipliers (18.02)
  14. Non-independent variables (18.02)
  15. Double integrals (18.02)
  16. Double integrals in polar coordinates, and their uses (18.02)
  17. Change of variables in double integrals (18.02)
  18. Vector fields and line integrals (18.02)
  19. Gradient fields and path independence (18.02)
  20. Testing for gradient fields, potentials and curl (18.02)
  21. Green's theorem (18.02)
On this page · 7 sections
  1. Flux across a curve
  2. What flux measures
  3. Two geometric examples
  4. Flux in coordinates
  5. Green's theorem for flux
  6. What divergence means
  7. Summary

Flux is a second kind of line integral. Physics often meets flux through surfaces in space; that comes in a few weeks, and this lecture does the plane version first (transcript, p. 1).

Flux across a curve#

The flux of a vector field F⃗\vec F across a plane curve CC is (transcript, p. 1; notes, p. 3):

Flux
flux=∫CF⃗⋅n^ ds=lim⁡Δs→0∑i(F⃗⋅n^) Δsi\text{flux} = \int_C \vec F \cdot \hat n\,ds = \lim_{\Delta s \to 0} \sum_i (\vec F \cdot \hat n)\,\Delta s_i
In words

flux equals the integral over C of vector F dot n hat d s equals the limit as capital delta s goes to 0 of the sum over i of ( vector F dot n hat ) capital delta s sub i

where n^\hat n is the unit normal vector to CC, rotated 90° clockwise from the unit tangent T^\hat T: pointing to the right as you travel along CC (p. 1; notes, p. 3).

The two line integrals side by side (p. 1; notes, p. 3):

  • work, ∫CF⃗⋅T^ ds\int_C \vec F \cdot \hat T\,ds, adds up the tangential component: how much the motion goes with or against F⃗\vec F;
  • flux, ∫CF⃗⋅n^ ds\int_C \vec F \cdot \hat n\,ds, adds up the normal component: how much the field goes across the curve, to the right counted positively and to the left negatively.

For a mathematician they are set up and computed the same way; only their physical meanings differ (p. 1).

What flux measures#

Think of F⃗\vec F as the velocity field of a fluid. Flux measures how much fluid passes through CC per unit time, like water through a dam with holes in it (transcript, p. 1; notes, p. 3). On a small piece of CC of length Δs\Delta s the flow is nearly uniform, and what crosses it in a short unit of time fills a parallelogram with one side along CC and the other side F⃗\vec F. Its area is base times height (p. 1; notes, p. 3):

Flow through a small piece
area=Δs (F⃗⋅n^)\text{area} = \Delta s\,(\vec F \cdot \hat n)
In words

area equals capital delta s ( vector F dot n hat )

Adding up gives the total flow per unit time. It is the net flow: what crosses from left to right counts positively, from right to left negatively (pp. 1–2). (In a round tank of rotating fluid, the flux across a diameter is zero: one half flows each way, p. 2.)

Two geometric examples#

Take CC the circle of radius aa about the origin, counterclockwise. Then n^\hat n, to the right, points out: for a closed counterclockwise curve, flux counts what flows out of the region (transcript, p. 2; notes, p. 3).

  • F⃗=x i^+y j^\vec F = x\,\hat i + y\,\hat j: on the circle, F⃗\vec F is radial, parallel to n^\hat n, with length aa. So F⃗⋅n^=a\vec F \cdot \hat n = a and (p. 2; notes, p. 3):
Flux out of a circle
∮CF⃗⋅n^ ds=∮Ca ds=a×2πa=2πa2\oint_C \vec F \cdot \hat n\,ds = \oint_C a\,ds = a \times 2\pi a = 2\pi a^2
In words

the loop integral of sub C vector F dot n hat d s equals the loop integral of sub C a d s equals a times 2 pi a equals 2 pi a squared

Positive, since fluid flows out.

  • F⃗=−y i^+x j^\vec F = -y\,\hat i + x\,\hat j: tangent to the circle, no normal component, so the flux is 0: the fluid just goes round (p. 2; notes, p. 3).

Flux in coordinates#

For a general curve, use components (transcript, p. 2; notes, p. 3). A small step along CC is T^ Δs=⟨Δx,Δy⟩\hat T\,\Delta s = \langle \Delta x, \Delta y\rangle; rotating it 90° clockwise gives n^ Δs=⟨Δy,−Δx⟩\hat n\,\Delta s = \langle \Delta y, -\Delta x\rangle. In the limit, n^ ds=⟨dy,−dx⟩\hat n\,ds = \langle dy, -dx\rangle (p. 2). With F⃗=⟨P,Q⟩\vec F = \langle P, Q\rangle (new letters, to mark a different integral) (p. 3; notes, p. 3):

Flux in components
∫CF⃗⋅n^ ds=∫C⟨P,Q⟩⋅⟨dy,−dx⟩=∫C−Q dx+P dy\int_C \vec F \cdot \hat n\,ds = \int_C \langle P, Q\rangle \cdot \langle dy, -dx\rangle = \int_C -Q\,dx + P\,dy
In words

the integral over C of vector F dot n hat d s equals the integral over C of the average of P, Q times the average of d y, minus d x equals the integral over C of minus Q d x plus P d y

With F⃗=⟨M,N⟩\vec F = \langle M, N\rangle it is ∫C−N dx+M dy\int_C -N\,dx + M\,dy; Auroux knows no trick for remembering where the minus sign goes (p. 3; the formula is also in the notes, p. 4). Then compute as usual: express xx, yy, dxdx, dydy in one parameter (p. 3).

Green's theorem for flux#

If CC encloses RR counterclockwise and F⃗=⟨P,Q⟩\vec F = \langle P, Q\rangle is defined and differentiable on all of RR, then (transcript, p. 3; notes, p. 4):

Green's theorem, normal form
∮CF⃗⋅n^ ds=∫∫Rdiv⁡F⃗ dA,div⁡F⃗=Px+Qy\oint_C \vec F \cdot \hat n\,ds = \int\int_R \operatorname{div}\vec F\,dA, \qquad \operatorname{div}\vec F = P_x + Q_y
In words

the loop integral of sub C vector F dot n hat d s equals the integral of the integral of _ capital R d i v vector F d capital A, d i v vector F equals P sub x plus Q sub y

Source: 18.02 lecture summaries, Week 9 (Prof. Auroux), Lecture 23, pp. 3–4, Lecture 23, p. 4

The divergence is easier to remember than the curl: no signs, no swapping (p. 3). The left side is the flux out of RR. This is Green's theorem in normal form; last lecture's was the tangential form (p. 3).

Proof by renaming. ∮−Q dx+P dy\oint -Q\,dx + P\,dy is ∮M dx+N dy\oint M\,dx + N\,dy with M=−QM = -Q and N=PN = P, so by the tangential form it equals ∫∫(Nx−My) dA=∫∫(Px+Qy) dA\int\int (N_x - M_y)\,dA = \int\int (P_x + Q_y)\,dA (p. 3; notes, p. 4). (This is why the letters PP, QQ were used. In MM, NN: ∮−N dx+M dy=∫∫(Mx+Ny) dA\oint -N\,dx + M\,dy = \int\int (M_x + N_y)\,dA, p. 3.)

The example again. For F⃗=x i^+y j^\vec F = x\,\hat i + y\,\hat j, div⁡F⃗=1+1=2\operatorname{div}\vec F = 1 + 1 = 2, so the flux out of the disc is ∫∫2 dA=2πa2\int\int 2\,dA = 2\pi a^2, as before. And now the circle can be moved anywhere: part of the boundary then has inflow and part outflow, hard to compute directly, but the total is still twice the area, 2πa22\pi a^2 (pp. 3–4; notes, p. 4).

What divergence means#

Divergence measures how much things are diverging: a uniform translation and a rotation have divergence 0, while expanding motions have positive divergence and contracting ones negative (transcript, p. 4). For a gas, it measures how much the flow expands areas. For an incompressible fluid like water, which cannot expand, it is the source rate: how much fluid is added per unit area per unit time (p. 4; notes, p. 4). For x i^+y j^x\,\hat i + y\,\hat j, divergence 2 everywhere means pumps adding water uniformly everywhere, since a single spring at the origin would give a flow that slows down with distance, while this one speeds up (p. 4).

Worked example

Flux three ways

(a) Find the flux of F⃗=⟨x,0⟩\vec F = \langle x, 0\rangle out of the unit square 0≤x,y≤10 \le x, y \le 1, directly and by Green's theorem. (b) Find the flux of G⃗=⟨1,0⟩\vec G = \langle 1, 0\rangle across the segment from (0,0)(0, 0) to (1,1)(1, 1). (c) Find the flux of K⃗=⟨x2,y2⟩\vec K = \langle x^2, y^2\rangle out of the same square.

(a) Directly and by divergence

Directly: on the right side x=1x = 1, n^=i^\hat n = \hat i and F⃗⋅n^=1\vec F \cdot \hat n = 1 over length 1; on the left side F⃗=0\vec F = 0; on the top and bottom F⃗\vec F is horizontal, along the sides. Flux 1. By Green: div⁡F⃗=1\operatorname{div}\vec F = 1, so the flux is the area, 1.

(b) An open curve

Parametrise x=y=tx = y = t, 0≤t≤10 \le t \le 1; P=1P = 1, Q=0Q = 0, so ∫−Q dx+P dy=∫01dt=1\int -Q\,dx + P\,dy = \int_0^1 dt = 1. Positive: travelling north-east, the right is south-east, and the flow goes east, across to the right.

(c) A non-uniform field

div⁡K⃗=2x+2y\operatorname{div}\vec K = 2x + 2y, and ∫01∫01(2x+2y) dx dy=1+1=2\int_0^1\int_0^1 (2x + 2y)\,dx\,dy = 1 + 1 = 2. Check directly: only the right side (x=1x = 1, K⃗⋅n^=1\vec K \cdot \hat n = 1) and the top (y=1y = 1, K⃗⋅n^=1\vec K \cdot \hat n = 1) contribute, each 1, so the flux is 2.

Summary#

  • Flux across CC: ∫CF⃗⋅n^ ds\int_C \vec F \cdot \hat n\,ds, with n^\hat n 90° clockwise from T^\hat T (to the right). Work adds the tangential component, flux the normal one.
  • For a velocity field, flux is the net amount of fluid crossing CC per unit time.
  • In components, n^ ds=⟨dy,−dx⟩\hat n\,ds = \langle dy, -dx\rangle, so the flux of ⟨P,Q⟩\langle P, Q\rangle is ∫C−Q dx+P dy\int_C -Q\,dx + P\,dy.
  • Green's theorem, normal form: ∮CF⃗⋅n^ ds=∫∫R(Px+Qy) dA\oint_C \vec F \cdot \hat n\,ds = \int\int_R (P_x + Q_y)\,dA for CC counterclockwise (flux out of RR).
  • Divergence measures expansion: for an incompressible fluid, the source rate. For xi^+yj^x\hat i + y\hat j it is 2, so the flux out of any circle of radius aa is 2πa22\pi a^2.

Symbols on this page

Show the 45 symbols used here
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ρ\rho rho.
Density: mass (or energy divided by c²) per unit volume. ρ_c is the critical density, ρ̄ the mean density. Unit: kg/m³ (on some pages an energy density in natural units: GeV⁴, eV/cm³). Say it: “rho”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∮\oint loop integral.
An integral around a closed loop. Say it: “the loop integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
ı^\hat\imath hat.
A unit vector: a vector of length 1 that only gives a direction (î, r̂). Say it: “hat”.
aa a.
The radius of the circle. Say it: “a”.
HH H.
In the cosmology note, the Hubble expansion rate. Unit: 1/s. Say it: “H”.
GG G.
In the worked example, the uniform field ⟨1, 0⟩. Say it: “G”.
TT T.
With a hat, T̂: the unit tangent vector to the curve. Say it: “capital T”.
xx x.
The x coordinate. Say it: “x”.
yy y.
The y coordinate. Say it: “y”.
tt t.
A parameter along the curve; in the cosmology note, time. Say it: “t”.
dd d.
The d of ds, dx, dy, dA. Say it: “d”.
FF F.
A vector field, F = ⟨P, Q⟩ (or ⟨M, N⟩), often a velocity field. Say it: “F”.
vv v.
In the cosmology note, a galaxy's velocity. Say it: “v”.
rr r.
In the cosmology note, a galaxy's position vector. Say it: “r”.
PP P.
The x component of the vector field (flux notation). Say it: “P”.
QQ Q.
The y component of the vector field (flux notation). Say it: “Q”.
AA A.
Area; dA is a small piece of area. Say it: “capital A”.
CC C.
A plane curve (closed and counterclockwise for Green's theorem). Say it: “C”.
ss s.
Arc length along the curve. Say it: “s”.
NN N.
The y component of the vector field (work notation). Say it: “capital N”.
MM M.
The x component of the vector field (work notation). Say it: “M”.
RR R.
The region enclosed by C. Say it: “capital R”.
KK K.
In the worked example, the field ⟨x², y²⟩. Say it: “K”.
i^\hat{i} i hat.
Unit vector in the x direction: length 1, pointing towards increasing x. Say it: “i hat”.
j^\hat{j} j hat.
Unit vector in the y direction: length 1, pointing towards increasing y. Say it: “j hat”.
n^\hat{n} n hat.
The unit normal vector to the curve, 90° clockwise from T̂ (to the right of the direction of travel). Say it: “n hat”.
ρ˙\dot{\rho} rho dot.
The rate of change of the mass density with time, ρ̇ = dρ/dt. Unit: kg/(m³·s). Say it: “rho dot”.
NxN_{x} N sub x.
The partial derivative ∂N/∂x. Say it: “capital N sub x”.
MyM_{y} M sub y.
The partial derivative ∂M/∂y. Say it: “M sub y”.
sis_{i} s sub i.
With Δ: the length of the i-th small piece of the curve. Say it: “s sub i”.
PxP_{x} P sub x.
The partial derivative ∂P/∂x. Say it: “P sub x”.
QyQ_{y} Q sub y.
The partial derivative ∂Q/∂y. Say it: “Q sub y”.
MxM_{x} M sub x.
The partial derivative ∂M/∂x. Say it: “M sub x”.
NyN_{y} N sub y.
The partial derivative ∂N/∂y. Say it: “capital N sub y”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 26 words used here

New here

divergence.
A measure of how much a vector field spreads out from each point: the amount flowing out of a tiny region per unit size.
diverge.
To spread out or move apart from one another, as lines leaving a point or paths that start close together.

Also used

flux.
How much of a field, or of a flow of matter or energy, passes through a surface (per second, for a flow). Explained in Towards the universe: what starlight tells us.
line integral.
An integral along a path: adding up a quantity, such as the part of a force along the motion, over tiny steps of a curve. Explained in Work and kinetic energy in two and three dimensions.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
vector field.
A rule that attaches an arrow, with a size and a direction, to every point of space, such as the wind velocity at each place. Explained in Fields: scalar, vector, gravitational and electric.
normal vector.
A vector at right angles to a plane or surface; it fixes which way the plane faces. Explained in Planes through three points, and matrices.
unit tangent vector.
The vector of length one that points along a curve, in the direction of motion: the velocity divided by the speed. Explained in Velocity, acceleration and Kepler's second law.
work.
The energy a force gives to a body as it moves: the part of the force along the motion times the distance moved. Explained in Kinetic energy and work in one dimension.
tangential.
Along the direction of motion on a curved path, at right angles to the radius. Explained in Circular motion: tangential acceleration and angular acceleration.
field.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
velocity field.
A vector field that gives the velocity of a moving fluid at each point, like a map of wind arrows. Explained in Vector fields and line integrals.
uniform.
The same at every point, or unchanging in time: a uniform rod has the same density all along it. Explained in The electric field.
tangent.
A straight line that touches a curve at a point and runs in the same direction as the curve there. Explained in Angles, radians and trigonometry.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
differentiable.
Having a derivative: at that point the graph has a single, definite, non-vertical tangent line, with no corner or break. Explained in The mean value theorem and inequalities.
curl.
A measure of how much a vector field turns or swirls around each point. Explained in Testing for gradient fields, potentials and curl.
Green's theorem.
The theorem that an integral around a closed curve in the plane equals a double integral of the curl, or divergence, over the region inside. Explained in Green's theorem.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
incompressible.
Of a fluid: one whose volume cannot be squeezed smaller, so a given mass always takes up the same space, as water nearly does. Explained in The divergence theorem, its proof and the diffusion equation.
Hubble's law.
The rule that galaxies move away from us with speeds proportional to their distances: twice as far, twice as fast. Explained in Towards the universe: from atoms to the observable universe.
density.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
Hubble flow.
The motion of galaxies away from each other caused by the expansion of the universe alone, without their own extra motions. Explained in The expanding sphere and the equation for a(t).

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
homogeneous.
The same at every place.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

31 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. Flux adds up which component of F⃗\vec F along the curve?
  2. The divergence of F⃗=⟨3x,−y⟩\vec F = \langle 3x, -y\rangle is…
  3. The flux of F⃗=−y i^+x j^\vec F = -y\,\hat i + x\,\hat j out of any closed curve is…
0 of 3 answered

Flashcards

1 / 3