Determine the number of imaginary roots of the equation
$$\sum_{n=1}^{100} \frac {n^2}{x-x_{n} }= 101$$ where $x_{1}$, $x_{2}$, $x_{3}$, $\ldots$ are all real.
I did this question a few months back, but I am not able to do this question now.
Also, if anyone has seen this question before, please let me know its source.
Elaborating on the answer from @DavidK:
Let $x=a+bi$.
$$\frac1{x-x_n}=\frac1{a+x_n+bi}= \frac{a+x_n-bi}{(a+x_n)^2+b^2}= \frac{a+x_n}{(a+x_n)^2+b^2}+ \frac{-bi}{(a+x_n)^2+b^2}$$
So the imaginary part of the sum equals $$b\sum_{n=1}^\infty \frac{n^2}{(a+x_n)^2+b^2}$$
Since $101$ is real, the above summation equals zero.
Observe that $$\frac{n^2}{(a+x_n)^2+b^2}>0$$
Can you see that $b=0$?