Skip to main content

Flux in Two Dimensions

Flux is a new concept that describes the flow of a vector field through a surface. It's really powerful, and its mathematical definition is quite simple and elegant.

We shall introduce the concept of flux in two dimensions (3D will be covered in the future). We will discuss its physical interpretation, computations, and also explore the integral form of Gauss's law.

Table of Contents

Introduction - Fluid Analogy

Imagine you have a fluid placed in a partially permeable container, meaning the fluid will slowly seep through the container and leak out. Let's say you place this fluid in another liquid, and you want to know how much fluid is leaking out of the container. You could do this by measuring the mass inside the container over time. If you set as the mass, you could measure the rate of change of mass, , to determine how much fluid is leaking out.

Now, let's consider a vector field that represents the flow of a fluid. The vector field could represent the velocity of the fluid at any point in space. If we have a closed curve in space, can we predict how much fluid is flowing outwards through the curve?

This quantity is known as the flux of the vector field through the curve . Denoted as , the flux is a scalar quantity that represents the flow of the vector field through the curve. In our fluid analogy, the flux would represent the amount of fluid that flows out of the container:

Suppose we have this vector field and a curve in the plane. Below is a visual representation of both, along with some unit normal vectors to the curve, , which are unit vectors that are perpendicular to the curve.

The actual functions

Let's split the curve into small line segments, each with a unit normal vector . Imagine that we take a small time interval and want to measure the flow of the vector field through the curve in that time.

In the figure below, we have a very zoomed in view of a small segment of the curve highlighted in red. All vectors drawn here are artificially scaled down for visualization purposes.

  • The magnitue of the flow vector represents the displacement of the fluid in that time - .
  • Notice that the two flow blue vectors and the curve form a parallelogram. This represents the area of fluid that flows through the curve in . For a fluid with density , the mass of the fluid that flows through the curve is equivalent to the area of the parallelogram.

The area of the parallelogram is the base times the height.

  • The base is the length of the curve segment, .
  • The height is the projection of the flow vector onto the normal vector, .

Thus:

Dividing by gives us how much this mass changes per unit time for this segment of the curve:

Finally, we can sum up all the small segments of the curve to get the total mass that flows through the curve in :

We can take the limit as , where the right-hand side becomes a line integral:

This quantity is known as the flux of the vector field through the curve :

Computing Flux

We have an elegant formula for the flux, but currently we don't really have a way to compute it. Generally, we would need to:

  1. Parameterize the curve .
  2. Compute the unit normal vector to the curve.
  3. Compute the infinitesimal displacement .
  4. Combine these to compute the flux.

Let's go through an example to see how we can compute the flux:

Consider a vector field defined as follows:

What is the flux of through the curve defined by the equation (a circle of radius )?

Parameterizing the Curve

A circle of radius can be parameterized as follows:

Since acts as an angle, we can denote it as to make it more intuitive:

Computing the Unit Normal Vector

Recall that the unit normal vector to a curve is a vector that is perpendicular to the curve. For a circle, that is simply the radial unit vector :

Computing the Length Element

The length element is the magnitude of the derivative of the parameterization:

This should be intuitive given how this is just the arc length of the circle.

Computing the Flux

The flux of through the curve is:

Substituting in the parameterization of the curve, the unit normal vector, and the length element, we get:

Without going into the details, the integral evaluates to:

This means that no fluid flows in or out of the circle - the flux is zero.

This is not initially clear when looking at the vector field and the circle, but it should still look like a plausible result; it seems an equal amount of fluid flows in as it flows out.

Generalizing the Normal Vector

Through the example with the circle, we saw that the normal vector to the circle was simply the radial unit vector. Obviously, this is not always the case, and we need a more general way to compute the normal vector.

Given a curve parameterized by , the unit normal vector is given by the unit vector perpendicular to the curve's tangent vector.

The unit tangent vector is given by the normalized derivative of the parameterization. However, we will hold off on the normalization for now - we will do that at the end. The tangent vector is then:

Next, we need to find a vector that is perpendicular to . In 2D, there are two vectors that are perpendicular to a given vector - one in the positive direction and one in the negative direction:

Hence:

Finally, we need to normalize the vector to get the unit normal vector:

Using Differentials

Another way to think about this is in terms of differentials. Instead of thinking about the tangent vector, consider a small change in the curve whose magnitude is .

Then, the unit normal vector is given by:

Integral Form of Gauss's Law (Optional Section)

Previously, we introduced the concept of divergence, which measures the flow of a vector field through a point. We considered Gauss's Law in the context of the divergence of the electric field.

Gauss's Law actually has two different forms, and the one we looked at was the differential form. There is another form of Gauss's Law, known as the integral form, which is expressed via the flux of the electric field.

This makes use of the three-dimensional flux, which is not covered yet, but I have nowhere to put this information, so I'll just leave it here.

Consider the simplest case, that of a point charge at the origin. Let the surface be a sphere of radius centered at the origin.

Flux Through a Sphere

The electric field of a point charge is given by (using Coulomb's Law and dividing by the test charge):

The good thing about spheres is that they have exceedingly good symmetries. Since every patch of area on the sphere is the same as every other patch (rotationally symmetric), and since the electric field is also radially symmetric, the flux of the electric field through the sphere is the same at every point on the sphere. Therefore, we do not even need to integrate - we can just multiply the electric field by the area of the sphere to get the flux:

The area is simply the surface area of the sphere, . Plugging in the electric field and the area, we get:

Notice that this is independent of the radius of the sphere.

Introducing a Deformed Surface

Todo
  • Add visualizations for this section

Next, consider another surface with some random shape. You could imagine a balloon that has been inflated and deformed. For each patch of area on the sphere, we can find a corresponding patch on by projecting it onto the new surface. Think of it as placing a light at the origin, a cover over the area, and seeing where the shadow falls on .

If we let this new patch be away from the origin, we can consider how the area scales. Since the patch is an area, it scales as the square of the distance from the origin. Therefore:

This is not quite right, as the area also changes based on how you tilt . Using the shadow analogy, if you tilt , the shadow could be elongated or squished. To account for that, we need to divide by the cosine of the angle between the normal vector of the sphere and the normal vector of :

Next, consider the electric fields at the two areas. Since they scale as , the ratio of the electric fields is:

Therefore:

Finally, let's plug in the ratios for and :

This is a surprising result - the flux through the sphere is the same as the flux through the deformed surface . One way to conceptualize this is just based on scaling. If you, once again, think of the point charge as a light source, if it emits light rays at steady rates, as the distance increases, the flux would decrease by an inverse square law, but the area would increase by the square of the distance, meaning they cancel out.

Hence: For any surface enclosing a point charge of , the flux of the electric field through the surface is .

For a surface that does not enclose the charge, the flux is zero. (I have a fun visualization for this, but I'll leave it for another time.)

Arriving at Gauss's Law

Electric fields are additive;

The flux can be expressed as:

Thus, we have arrived at Gauss's Law in integral form:

Now we have two forms of Gauss's Law:

Both have their uses, but are they equivalent? This question will be answered once we delve into a concept known as the Divergence Theorem. Just as a teaser, first rewrite the total charge as a volume integral of the charge density:

Then, rewrite the left using the Divergence Theorem, and you'll see that the two forms are indeed equivalent.

Summary and Next Steps

I was going to write more, but this file already has 594 lines (until this point), so I'll just leave it here.

We introduced the concept of flux in two dimensions, which is a powerful concept that describes the flow of a vector field through a surface.

Here are the key points to remember:

  • The flux is given by:

  • The flux represents how much of a vector field flows outwards through a curve.

  • To compute the flux, we need to parameterize the curve, compute the unit normal vector, and compute the infinitesimal displacement.

  • To compute the normal vector for any curve, we can use the derivative of the parameterization or the differentials of the curve:

  • We also discussed the integral form of Gauss's Law, which relates the flux of the electric field to the total charge enclosed by the surface:

In the next section, we will introduce the double integral.