# Divergence theorem help

1. Oct 13, 2013

### joshmccraney

hey pf! i had a general question with the divergence theorem. specifically, my text writes $$\iint_S \rho \vec{V} \cdot \vec{dS} = \iiint_v \nabla \cdot (\rho \vec{V})$$ where $\rho$ is a scalar, although not necessarily constant! to properly employ the divergence theorem, would i first let $$\rho \vec{V}=\vec{V'}$$ where $\vec{V'}$ is the vector to use the divergence theorem with, thus offering the first written result?

thanks!

2. Oct 14, 2013

### arildno

That is correct.