Prove the following relation:
$$ \oint f \vec{\bigtriangledown}g \cdot d\vec{l} = -\oint g \vec{\bigtriangledown}f \cdot d\vec{l} $$
where f, g are scalar functions.
I've tried a lot of work, but can't seem to figure this relation out. I initially tried using stokes theorem thinking it would give me some kind of result but I ended up just proving the relation:
$$ \oint f \vec{\bigtriangledown}g \cdot d\vec{l} = \int_S ((\vec{\bigtriangledown}f)\times(\vec{\bigtriangledown}g))$$
Which is correct, apparently, but I still want to prove the top relation.
I tried taking the gradient of g, and distributing f as a scalar, but I can't see any relation that would re-arrange the del operator.
$$\oint f \vec{\bigtriangledown}g \cdot d\vec{l} = \oint \langle f \frac{\partial g}{\partial x},f\frac{\partial g}{\partial y},f\frac{\partial g}{\partial z}\rangle \cdot\langle dxdydz\rangle $$
Everything I've seen related to closed line integrals states that it is equivalent to 0, but I just don't see how to get this result. I've even thought of using the gradient theorem, by replacing with g, and distributing f (this is the general equation):
$$ \int_{a}^{b} (\vec{\bigtriangledown}f)\cdot d\vec{l} = f(\vec{b})-f(\vec{a}) $$
Any help would be appreciated.