Calculate $\int_{\lambda} dz/(z^2-1)^2$, where $\lambda$ is the path in $\mathbb{R^2}-\{1,-1\}$ plotted below:
This may seem like an ordinary calculus integral but I'm studying $1$-forms and homotopic paths, but I can't connect all the theory I've been viewing in order to solve this integral in this context.
For example, I know that this is an integral over a closed path. There are theorems relating closed paths with the form being exact, and therefore the integral should be $0$, I guess? However, I'm not integrating an $1$-form... So I wonder what this exercise is askign me to use. Could somebody help me?

I have carried out the actual integral (albeit numerically) for two different lemniscates that surround the singularites. Basically, it looks like this,
$$\int_{\lambda} dz/(z^2-1)^2=\int_{\theta}\frac{1}{(r^2e^{i2\theta}-1)}(\dot r+ir)e^{i\theta}~d\theta$$
I did this for the lemniscate of Bernoulli, i.e.,
$$r=a\cos 2\theta,\quad\theta\in[0,2\pi]$$
and the Eight curve (the lemniscate of Gerono)
$$r=a\sqrt{\cos^2\theta+\cos^2\theta\sin^2\theta},\quad\theta\in[0,2\pi]$$
In both cases, the integral is essentially zero (numerically) for any value of $a>1$. This is what I would expect with one circuit begin clockwise and the other being anticlockwise.