Why does adding up certain partial derivatives have anything to do with outward fluid flow?
Background
- Divergence
Warmup for the intuition
In the last article, I showed you the formula for divergence, as well as the physical concept it represents. However, you might still be wondering how these two are connected. Before we dive into the intuition, the following questions should help us warm up by thinking of partial derivatives in the context of a vector field.
Reflection question: A two-dimensional vector field is given by a function
A few vectors near a point
Which of the following describes
?Remember, since
is the first component of , it measures the component of each vector in the direction, or the horizontal component.The arrow attached to the point
has no horizontal component, since it points straight up, so Which of the following describes
?Since
is the second component of , it measures the component of each vector in the direction, or the vertical component.The arrow attached to
points up, hence it has a positive vertical component.Which of the following describes
?The partial derivative
measures how much changes as changes. In other words, what happens to the horizontal components of vectors as we move from the left to the right.As you pan from left to right around
, the arrows go from pointing a little right, to having zero horizontal component, to pointing a little left. Therefore the horizontal component of vectors near decreases as increases, so .Which of the following describes
?The partial derivative
measures how much changes as changes. In other words, what happens to the vertical components of vectors as we move from the bottom to the top.As you pan from down to up around
, the upward component of each vector gets longer and longer. Therefore the vertical component of vectors near increases as increases, so .
Intuition behind the divergence formula
Let's limit our view to a two-dimensional vector field,
Remember, the formula for divergence looks like this:
Why does this have anything to do with changes in the density of a fluid flowing according to
Let's look at each component separately.
For example, suppose
- The value of
increases as grows. - The value of
decreases as gets smaller.
Therefore, vectors to the left of
In contrast, here's how it looks if
- The vectors to the left of
will point to the right. - The vectors to the right of
will point to the left.
This indicates an inward fluid flow, according to the
The same intuition applies if
Analyzing the value
For example, suppose
Here's how that might look:
- Vectors below
will point slightly downward. - Vectors above
will point slightly upward
This indicates an outward fluid flow, as far as the
Likewise, if
Divergence adds these two influences
Adding the two components