Evaluate $\int_0^1 \frac{dx}{(x^2-x^3)^\frac13}$ using contour integration
I try to proceed by first calculating residues of $$f(x) = \frac{1}{(x^2-x^3)^\frac13} = \frac{1}{x\left(\frac1x-1\right)^\frac13}$$
Then answer to integral can be provided by Cachy's Residue theorem = $2i\pi(\text{Residue at } x=0 +\text{ Residue at } x=1)$
Above function has simple pole at $x=0$ but I am unable to find out what kind of singularity $f$ has at $x= 1$.
Is this the right approach? Or is there any way to expand given function(Laurent's series) to find out all residues at once?
This doesn't work. For one thing, the residue theorem is only valid around closed contours. But the bigger problem is that this function is not analytic near $0$ or $1$.
There is a sneaky way to solve this by making a branch cut along the interval $[0,1]$ and using the residue at $\infty$. Here, you would integrate over a very narrow oval encircling the interval $[0,1]$ and pay close attention to the fact that the values approaching $[0,1]$ on either side of the interval are not quite the same. (They differ by multiplication by $e^{2\pi i/3}$ or $e^{4\pi i /3}$, depending on which way you look at it.)
But it's important that you apply the residue theorem to the outside of this contour, since the function has a branch cut within it.
The easier way is to use the beta function $$B(s,t) = \int_0^1 x^{s-1} (1-x)^{t-1} \, \mathrm{d}x = \frac{\Gamma(s)\Gamma(t)}{\Gamma(s+t)}$$ and the Euler reflection formula $$\Gamma(s)\Gamma(1-s) = \frac{\pi}{\sin(\pi s)},$$ and notice that your integral is $$\int_0^1 x^{-2/3} (1-x)^{-1/3} \, \mathrm{d}x = \frac{\Gamma(1/3) \Gamma(2/3)}{\Gamma(1)} = \frac{\pi}{\sin(\pi/3)}.$$