I would appreciate some guidance. I am trying to evaluate the residue of a function that looks like this:
$f(z)=\frac{g(z)}{p-\sqrt z}$
at $z=p^2$ in the complex plane. $p>0$ is real, so I do not believe this pole lies on the branch cut, which I choose to start at the origin and move along the negative real line. Furthermore, the function $g(z)$ is analytic around $z=p^2$, but I assume it, and its derivatives, will feature in the final answer.
How do I go about determining the order of this pole, for instance? Mathematica claims it's order 1. Do I Taylor expand the root around the pole and just use the linear term?
Finally, the ultimate question, which I hope to answer once I understand the intermediate, is what happens in this case:
$f_k(z)=\frac{g(z)}{(p-\sqrt z)^k}$
for $k\in N$ some positive integer.
Thank you!