Nonintegral element and a homomorphism 
Assume $R\subseteq S$ are rings. Choose $x\in S$ nonintegral over $R$. I want to define a homomorphism from $R[x^{-1}]$ to a field which maps $x^{-1}$ to zero.

I was trying to show that $R[x^{-1}]$ is a polynomial ring in one variable. Then I could define my map in this way $\sum_{i=0}^mr_i'(x^{-1})^i\longmapsto r_0$.
It's clear that I can show elements of $R[x^{-1}]$ like $\sum_{i=0}^nr_i(x^{-1})^i$ but at the remained part I got have a problem. I mean when I want to show that if $\sum_{i=0}^nr_i(x^{-1})^i=\sum_{i=0}^mr_i'(x^{-1})^i$ then $n=m$ and for all i, $r_i=r_i'$.
My attempt was in this way;
Let $n\geq m$, from our assumption we have $\sum_{i=0}^nr_i''(x^{-1})^i=0$ which for $0\leq i\leq m$, $r_i''=r_i-r_i'$ and for $m+1\leq i\leq n$, $r_i''=r_i$. By multiplying by $x^n$, $r_0''x^n+r_1''x^{n-1}+\cdots+r_{n-1}''x+r_n''=0$. If I were able to make this relation monic then it would be a contradiction and the problem was solved but $r_0''$ may be not invertible so what should I do now?
By the example which 'Hans' brought at below my approach was wrong.

Let $R=\mathbb{Z}$ and $S=\mathbb{Q}$. Then $x=\frac{1}{2} \in \mathbb{Q}$ is not integral over $\mathbb{Z}$ since $\mathbb{Z}$ is integrally closed. But of course $\mathbb{Z}=\mathbb{Z}[x^{-1}]$ which is not the polynomial ring. I guess you need some additional assumptions.
