Let $f(x)=ax^2+bx+c=a\left(x+\frac{b}{2a}\right)^2+\frac{4ac-b^2}{4a}$.
Assume $f(x_1)=f(x_2)$. We have then
\begin{gather*} a\left(x_1+\frac{b}{2a}\right)^2+\frac{4ac-b^2}{4a} = a\left(x_2+\frac{b}{2a}\right)^2+\frac{4ac-b^2}{4a} \iff\\ \left(x_1+\frac{b}{2a}\right)^2 = \left(x_2+\frac{b}{2a}\right)^2 \iff\\ x_1+\frac{b}{2a} = x_2+\frac{b}{2a} \vee x_1+\frac{b}{2a} = -x_2-\frac{b}{2a}\iff\\ x_1 = x_2\vee x_1 = -x_2-\frac{b}{a} \end{gather*}
so $f$ is not injective.
How would I partition $\mathbb{R}$ into two intervals where $f$ is injective using this?