Suppose $f$ is a holomorphic function on a unit disc. Then how can we show that
$2f'(0) = \frac{1}{2\pi i} \int_{|z|=r}\frac{f(z)-f(-z)}{z^2} dz$ whenever $0<r<1$?
I think this has to do with Cauchy's integral formula since $2\pi i f'(0) = \int_{C_r} \frac{f(z)}{z^2}dz$. So it seems like we should have $\int_{C_r} \frac{f(z)}{z^2}dz = -\int_{C_r} \frac{f(-z)}{z^2}dz$. However, if I change $z$ to $-z$ then I get the opposite orientation so I think it should be $-\int_{-C_r} \frac{f(-z)}{z^2}dz$. How do we get this identity?
The substitution $z \to -z$ does not change the orientation of the curve, it corresponds to a shift $\phi \to \phi + \pi$ in the argument. Therefore $\int_{C_r} \frac{f(z)}{z^2}dz = -\int_{C_r} \frac{f(-z)}{z^2}dz$ is correct.
Alternatively you can apply Cauchy's integral formula to $g(z) = f(z) - f(-z)$, with $g'(0) = 2f'(0)$.