Use tensor methods to establish that
grad \frac { 1 }{ 2 } (\mathbf{u} · \mathbf{u}) = \mathbf{u} × curl \mathbf{u} + (\mathbf{u} · grad)\mathbf{u}.
Now use this result and the general divergence theorem for tensors to show that, for a vector field A,
\int_{ S }^{ }{ \left[ \mathbf{A}(\mathbf{A}\cdot d\mathbf{S})-\frac { 1 }{ 2 } { A }^{ 2 }d\mathbf{S} \right] } =\int_{ V }^{ }{ \left[ \mathbf{A} div \mathbf{A}-\mathbf{A}\times curl \mathbf{A} \right] } dV,
where S is the surface enclosing the volume V.