Equations of continuity. Consider a non-viscous liquid in stream line flow through a tube AB of varying cross-section.
Let a1, a2 = area of cross-section of the tube at A and B respectively,

v1, v2 = velocity of flow of liquid at A and B respectively.
ρ1, ρ2 = densities of liquid at A and B respectively.
∴ Volume of liquid entering, per second at A
= a1v1
Mass of liquid entering per second at A
= a1v1ρ1
Similarly, mass of liquid leaving per second at B
= a2v2ρ2
If there is no loss of liquid in the tube and the flow is steady, then
Mass of liquid entering per second at A
= Mass of liquid leaving per second at B
Or a1v1ρ1 = a2v2ρ2 …(1)
If the liquid is incompressible,
then ρ1 = ρ2
From (1) a1v1 = a2v2
or av = a constant …(2)
This is knows as equation of continuity.