I want to find the roots of $$f(z)=\left[a+zg(z)\right]^2+g(z)^2=0$$
Where $a$ is real number and: $$ g(z)=\frac{1}{2\sqrt{z^2+1}}\ln\left(\frac{z+\sqrt{z^2+1}}{z-\sqrt{z^2+1}}\right) $$
It said that $f(z)=0$ has double complex roots when $a\in(-\pi/2,\pi/2)$, no complex root when $a>\pi/2$ and four complex roots when $a<-\pi/2$.
It also said that the complex roots are pure imaginary, and come in conjugate pairs. The paper is published in a well known journal, here is the link, see page 3.
What I tried is that expand f(z) around $z=0$, I get: $$ f(z)=(a^2-\frac{\pi^2}{4}) +i\pi(a+1)z +(1+2a)z^2+O(z^3) $$
The constant term is $a^2-\pi^2/4$, does this constant term give the above claim? I don't know.
My question is: 1). how to determine the number of complex roots for different value of $a$? 2).If possible, can you express the roots as a function of $a$? 3).If it is very hard to express analytically, could you give a hint how can I find all of them numerically?


