# Category Archives: Beta function

## Integrating a function around three branches using a semi-circle contour

[Ex] Watson’s complex integration $$\int^{\pi/2}_{0}\cos(nt)\cos^m(t)\,dt=\frac{\pi \Gamma(m+1)}{2^{m+1}\Gamma\left(\frac{n+m+2}{2}\right)\Gamma\left(\frac{2-n+m}{2}\right)}$$ $$\textit {solution}$$ Let us integrate the following function $$f(z) = z^{n-m-1}\left(1+z^2\right)^m$$ We choose the principle logarithm where $$\log(z) = \log|z|+\mathrm{Arg}(z)$$ Note that the function $z^{n-m-1} = e^{(n-m-1)\log(z)}$ will have a branch cut on the … Continue reading