Consider a polynomial $f(x)$. It can expressed in the form $$f(x) = \mu(x) g(x) + r(x)$$ where degree of $f(x) ≥$ degree of $g(x)$. Remainder when $f(x)$ is divided by $g(x)$ is graphically given by the curve joining the points $f(α_1)$, $f(α_2)$, $f(α_3)$,...$f(α_n)$ where $α_1$, $α_2$,...,$α_n$ are the zeroes of $g(x)$.
I was taught this in my high school. I want to mathematical express this fact but I have very little knowledge of inverse functions. Only the thing that I know is if $y = f(x)$, then $x = f^{-1}(y)$. Using this I deduced that if $g(k) =0$, then $k = g^{-1}(0)$.Also, $r(k) = f(k)$. Therefore, the remainder polynomial is mathematical given by $$f(g^{-1}(0))$$ Am I correct in my deduction?