I want to integrate the following :$$\int_{|z|=2} \frac{dz}{z^{2}-1}$$ in the positive direction.
So my idea is two split the integral into a sum of two integral , something like $$\int_{|z|=2} \frac{dz}{z-1}+\int_{|z|=2} \frac{dz}{z+1}$$ since $$(z-1)(z+1)=z^{2}-1$$ and then proceed by applying Cauchy's integral formula since the poles of each function in the sum of integral is inside the circle $|z|=2$.
The only problem is how to correctly split the function into a sum of two functions? Is my idea right in order to solve the integral? Thanks
HINT: $$\frac{1}{z^2-1} = \frac{1}{2} \frac{2}{(z-1)(z+1)} = \frac{1}{2} \frac{(z+1)-(z-1)}{(z+1)(z-1)} = \frac{1}{2} \Bigg(\frac{\color{red}{z+1}}{\color{red}{(z+1)}(z-1)}-\frac{\color{blue}{z-1}}{(z+1)\color{blue}{(z-1)}}\Bigg) = \frac{1}{2} \Bigg(\frac{1}{z-1}-\frac{1}{z+1}\Bigg) $$
Now you can proceed as you stated.
But what is Cauchy Index Theorem? I haven't heard of it. I assume you meant Cauchy Integral Theorem?