The divergence theorem in its usual form applies to the flux of a vector field,
\(\iint_{\partial V} \boldsymbol{F} \cdot \bn \, \de{S} = \iiint_V \nabla \cdot
\boldsymbol{F} \, \de{V}\text{,}\) whereas the left-hand side of
(3.3.5) is a vector. We therefore take its dot product with an arbitrary constant vector
\(\boldsymbol{c}\text{,}\) which reduces the problem to scalars.
Since \(\boldsymbol{c}\) is constant, it may be moved inside the integral, giving
\begin{equation*}
\boldsymbol{c} \cdot \iint_{\partial V} (-p) \bn \, \de{S} = \iint_{\partial V} (-p
\boldsymbol{c}) \cdot \bn \, \de{S}.
\end{equation*}
Now apply the divergence theorem with \(\boldsymbol{F} = -p\boldsymbol{c}\text{.}\) Again using that \(\boldsymbol{c}\) is constant, \(\nabla \cdot (-p \boldsymbol{c}) =
-\boldsymbol{c} \cdot \nabla p\text{,}\) and hence
\begin{equation*}
\iint_{\partial V} (-p \boldsymbol{c}) \cdot \bn \, \de{S} = \iiint_V (-\boldsymbol{c}
\cdot \nabla p) \, \de{V} = \boldsymbol{c} \cdot \iiint_V (-\nabla p) \, \de{V}.
\end{equation*}
Combining the two results,
\begin{equation*}
\boldsymbol{c} \cdot \left[ \iint_{\partial V} (-p) \bn \, \de{S} - \iiint_V (-\nabla p)
\, \de{V} \right] = 0.
\end{equation*}
This holds for every constant vector
\(\boldsymbol{c}\text{.}\) Choosing
\(\boldsymbol{c}
= \be_1, \be_2, \be_3\) in turn shows that each component of the bracketed vector is zero, so the vector itself is zero, which is
(3.3.5).