Let $A$ be an affine $K$-algebra and $f$ be a non-zero divisor of $A$ then can one say that $\dim A=\dim A_f$ ?
What I proved that if $A$ is an affine domain and $f$ is a non-zero element in $A$ then $\dim A=\dim A_f.$The sketch of the proof goes as following: Since $A_f \cong A[x]/(fx-1)$ and $A[x]$ is an affine domain with $(fx-1)$ prime ideal in $A[x]$ one can use the result $\dim A[x]=\dim A[x]/(fx-1) + ht(fx-1).$ And the final conclusion is given by krull's principal ideal theorem that $ht(fx-1)=1 .$
But here in this problem i can only show that $(fx-1)$ is a non-zero divisor of $A[x] $ because if $(fx-1)$ was a zero-divisor in $A[x] $ there exist a non-zero element $a\in A$ such that $a(fx-1)=0$ in $A[x]$ which gives that $af=0$ in $A$, giving $f$ zero-divisor. I cannot proceed further . I am not also sure if it can be proved or not. Can any one help me in proving or disproving this ?
Thank You.