PX275 - E2d - scalar fields
- the divergence theorem can also be used with scalar fields using a maths trick
- consider a scalar field,
, so a vector can be defined as: - the divergence of this vector:
- if
is a constant:
- now, applying the divergence theorem:
- therefore, the divergence theorem for a scalar field: