We define a ring homomorphism $F : \mathbb{Q}[x,y]\rightarrow \mathbb{Q}(t)$ by mapping $f(x,y)$ to $f(\frac{1-t^2}{1+t^2},\frac{2t}{1+t^2})$. Show $\ker F=(x^2+y^2-1)$.
Proof) Since $(\frac{1-t^2}{1+t^2})^2+(\frac{2t}{1+t^2})^2-1=0$, $(x^2+y^2-1)\subset \ker F$. We note $\ker F$ is a prime ideal since it is the kernel of a ring homomorphism from a commutative ring into a field and $(x^2+y^2-1)$ is also prime as it is irreducible. If $(x^2+y^2-1)\neq \ker F$, since $\dim \mathbb{Q}[x,y] = \dim \mathbb{Q}+2=0+2=2$ (where by dim, we mean the Krull dimensions of rings), $\:\:0\subsetneq (x^2+y^2-1) \subsetneq \ker F$ and $\ker F$ is a maximal ideal. So it now suffices to show that $\ker F$ is not maximal. Suppose it is maximal. Then in $\mathbb{Q}[x,y]/\ker F$, $y + \ker F$ is a unit. Then there exists a polynomial $g(x,y)\in \mathbb{Q}[x,y]$ such that $yg(x,y) + \ker F = 1 + \ker F$. So we have $yg(x,y)-1\in \ker F$. But $\frac{2t}{1+t^2}g(\frac{1-t^2}{1+t^2},\frac{2t}{1+t^2})-1$ cannot be $0$ (if so, by clearing the denominators, $2th(t)=(1+t^2)^n$ for $n\in \mathbb{N}$, $h(t)\in \mathbb{Q}[t]$ but the irreducible element $t$ in $\mathbb{Q}[t]$ cannot divide $(1+t^2)^n$), a contradiction.
Could anyone read my proof and let me know any wrong point? If the proof is wrong, I hope you could give me any help. I tried more elementary way to prove the statement and failed.