A scalar conservation law with source has the form

tq+J=s,\partial_tq+\nabla\cdot J=s,

where qq is a density, JJ its spatial flux, and ss a source. It is homogeneous when s=0s=0. The spatial gives a conservative or divergence form of the evolution equation.

Integral meaning

For a fixed bounded region Ω\Omega with smooth boundary, sufficient regularity and the divergence theorem give

ddtΩqdx=ΩJndS+Ωsdx,\frac{d}{dt}\int_\Omega q\,dx =-\int_{\partial\Omega}J\cdot n\,dS+\int_\Omega s\,dx,

where nn is the outward unit normal. The negative sign accounts for outward flux reducing the amount inside.

Systems

For vector-valued densities, each component has its own flux. These fluxes form a matrix, and the system uses its .