If two real polynomials $f(x)$ and $g(x)$ of degrees $m \geq 2$ and $n \geq 1$ respectively satisfy $$f(x^2+1)=f(x) g(x) ~~\forall~~x \in \mathbb R, $$ then :
$(A)~ f$ has exactly one real root $x_0$ such that $f~'(x_0) \ne 0$
$(B)~ f$ has exactly one real root $x_0$ such that $f~'(x_0) = 0$
$(C)~ f$ has $m$ distinct real roots
$(D)~ f$ has no real root
Attempt:
Given that $f(x^2+1)=f(x) g(x) ~~\forall~~x \in \mathbb R, $
$\deg f(x^2+1) = 2m$ and $\deg f(x) g(x) = m+n$
$ \implies 2m = m+n$
$ \implies m=n$.
Could someone please tell me how to proceed ahead?
Thank you for your help.