412 CHAPTER 22. CALCULUS OF VECTOR FIELDS
22.4.4 Balance Of MassLet y be a point in three dimensional space and let (y1,y2,y3) be Cartesian coordinates ofthis point. Let V be a region in three dimensional space and suppose a fluid having densityρ (y, t) and velocity, v (y, t) is flowing through this region. Then the mass of fluid leavingV per unit time is given by the area integral
∫∂V ρ (y, t)v (y, t) ·ndA while the total mass
of the fluid enclosed in V at a given time is∫
V ρ (y, t) dV . Also suppose mass originates atthe rate f (y, t) per cubic unit per unit time within this fluid. Then the conclusion which canbe drawn through the use of the divergence theorem is the following fundamental equationknown as the mass balance equation.
∂ρ
∂ t+∇ · (ρv) = f (y, t) (22.8)
To see this is so, take an arbitrary V for which the divergence theorem holds. Then thetime rate of change of the mass in V is
∂
∂ t
∫V
ρ (y, t) dV =∫
V
∂ρ (y, t)∂ t
dV
where the derivative was taken under the integral sign with respect to t. (This is a physicalderivation and therefore, it is not necessary to fuss with the hard mathematics related tothe change of limit operations. You should expect this to be true under fairly general con-ditions because the integral is a sort of sum and the derivative of a sum is the sum of thederivatives.) Therefore, the rate of change of mass ∂
∂ t
∫V ρ (y, t) dV , equals
∫V
∂ρ (y, t)∂ t
dV =
rate at which mass enters︷ ︸︸ ︷−∫
∂Vρ (y, t)v (y, t) ·ndA+
∫V
f (y, t) dV
= −∫
V(∇ · (ρ (y, t)v (y, t))+ f (y, t)) dV.
Since this holds for every sample volume V it must be the case that the equation ofcontinuity holds. Again, there are interesting mathematical questions here which can beexplored but since it is a physical derivation, it is not necessary to dwell too much on them.If all the functions involved are continuous, it is certainly true but it is true under far moregeneral conditions than that.
Also note this equation applies to many situations and f might depend on more thanjust y and t. In particular, f might depend also on temperature and the density ρ . Thiswould be the case for example if you were considering the mass of some chemical and frepresented a chemical reaction. Mass balance is a general sort of equation valid in manycontexts.
22.4.5 Balance Of MomentumThis example is a little more substantial than the above. It concerns the balance of mo-mentum for a continuum. To see a full description of all the physics involved, you shouldconsult a book on continuum mechanics. The situation is of a material in three dimensionsand it deforms and moves about in three dimensions. This means this material is not a rigidbody. Let B0 denote an open set identifying a chunk of this material at time t = 0 and letBt be an open set which identifies the same chunk of material at time t > 0.