Let $A$ be a commutative ring and $S$ a multiplicative subset of $A$ generated by $s\in A$ which is not a zero-divisor. Consider the polynomial ring $A[x]$.
Given a polynomial $f\in A[x]$, suppose that $f(1/s)=0$ for $s\in S$. Does it follow by some application of the first isomorphism theorem that $f(x)=(sx-1)g(x)$, with $g(x)\in A[x]$?
On the one hand I think this can be proven by constructing an isomorphism from $A[x]$ modulo the relation $x=1/s$ (really the replacement of $x$ with $1/s$). This is evidently an isomorphism from $A[x]/(x=1/s)$ into $S^{-1}A$. It is tempting to conclude (though I'm not certain that this should work), that there must be some surjective homomorphism $\phi: A[X]\to S^{-1}A$ such that $\ker(\phi)=(sx-1)$. [Since generally $(A/B\cong A/C) \nRightarrow (B\cong C)$, it is not sufficient to conclude that, say, the kernel of $\psi: f\to f(1/s)$ is $(sx-1)$.]
I am especially interested in answers as to whether, say, $\psi$ has kernel $(sx-1)$. But for anyone who can follow my own attempt at a proof, I'm also interested in whether my argument breaks down or can be made to work rigorously.