Let $R$ be a commutative ring with unity.
So I was given a polynomial $f(x_1,\dots,x_n)$ in $R[x_1,x_2,\dots,x_n]$. I was given the root of $f$ as $(a_1,\dots,a_n)$.
My claim was we can write $f(x_1,\dots,x_n) = \sum_{i=1}^{n} (x_i - a_i)q_i(x_1,\dots,x_n)$ using the division alogrithm. Now I realised division algorithm doesn't make sense in multivariate polynomial rings. So I tried to prove my claim using induction, showing this holds for $m=1$, assumed it's true for $m= n-1$ (induction hypothesis) and try to prove it now for $m=n$. Here $m$ is number of variables in the polynomial. Is that a correct approach or do there exist a simpler way out?
Thanks in advance.