Let us consider a parametrized polynomial \begin{align*} f(x, r) = x^n + ra_{n-1} x^{n-1} + \dots + ra_0, \end{align*} where $r \in \mathbb R$ is the parameter and $a = (a_{n-1}, \dots, a_0)$ is fixed. Alternatively, we can consider $f(x) \in \mathbb R[x]$ with coefficients as linear functions over $\mathbb R$ \begin{align*} f(x, r) = x^n + a_{n-1}(r) x^{n-1} + \dots + a_0(r). \end{align*}
Since $r \in \mathbb R$, there exists $n$ continuous functions $b_1(r), \dots, b_n(r)$ such that for each $r$, $\{b_1(r), \dots, b_n(r)\}$ is the set of roots for $f(x,r)$ counting multiplicity. Now suppose for $r_0 \in \mathbb R$ and some $b \in \mathbb R$, $f(bi, r_0) = 0$ where $i$ denotes imaginary symbol. Further assume at $r_0$, $bi$ is a simple root. So at least locally around $r_0$ (if I am not mistaken), we should have a smooth function that tracks this root. Let us call this function $\gamma(r)$.
My question is: is it possible that the curve $\gamma(r)$ is tangent to the imaginary axis at $r_0$? Here is a plot to demonstrate what I have in mind. Note the plot is a parabola, but the shape is really not important. I only need the very local behavior about $r_0$.
This is related to a question I asked here Can roots of a polynomial stay on one side of the complex plane as the coefficients vary?
