Show that if is a closed curve in the complex plane, with trace , and if , then , .

Hint:

For has primitive on .

Attempt:

So the hint says that the primitive (the antiderivative) is . However, I do not see how this will help with showing that , . Thanks in advance.