I am reading Aluffi's "Algebra: Notes from the Underground" book and one of the exercises in the books asks the following:
Let $R$ be a commutative ring, and let $r_1, \ldots , r_n$ be elements of $R$.
Prove that $R[x_1,\ldots,x_n] / (x-r_1,\ldots,x-r_n) \cong R$.
I have tried to find an explicit isomorphism between the two sets in a similar fashion as to how one shows that $R[x] / (x-r) \cong R$, namely by using the function $e_r : R[x] \rightarrow R, f(x) \mapsto f(r)$, the First Isomorphism Theorem and the fact that $\ker(e_r)=(x-r)$ but I haven't been able to find a multivariable equivalent to $e_r$.
I have also tried the following: I know that $R[x_1,\ldots,x_n] \cong R[x_1,\ldots,x_{n-1}][x_n]$ and also that $R[x_1,\ldots,x_{n-1}][x_n] / (x-r_n) \cong R[x_1,\ldots,x_{n-1}]$ so $R[x_1,\ldots,x_n] / (x-r_n) \cong R[x_1,\ldots,x_{n-1}]$. Similarly, $R[x_1,\ldots,x_{n-1}] \cong R[x_1,\ldots,x_{n-2}][x_{n-1}]$ and $R[x_1,\ldots,x_{n-2}][x_{n-1}] /(x-r_{n-1}) \cong R[x_1,\ldots,x_{n-2}]$ so $$\bigl(R[x_1,\ldots,x_n]/ (x-r_n)\bigr)/(x-r_{n-1}) \cong R[x_1,\ldots,x_{n-2}] $$ and here I get stuck again, as I don't know how to make sense of the left-hand side of the last isomorphism.
So, I would appreciate if someone would tell me how to reason about this problem. Thanks.
Note that this book adopts a rings-first approach and the tools available to the reader at this point reach the First and Third Isomorphism Theorem level.