Consider the function field $k(x,\sqrt{1-x^2})$ of the circle over an algebraically closed field $k$. Is $k(x,\sqrt{1-x^2})$ a purely transcendental extension over $k$?
I'm curious because I was reading the answer here. The proof shows $k(x+\sqrt{1-x^2})=k(x,\sqrt{1-x^2})$. However, there is line which says, $$ (x+\sqrt{1-x^2})^2 = x^2 + 2 \sqrt{1 - x^2} + (1 - x^2) = 2 \sqrt{1-x^2} + 1. $$ But I think $$ (x+\sqrt{1-x^2})^2 = x^2 + 2x\sqrt{1 - x^2} + (1 - x^2)=2x\sqrt{1-x^2}+1 $$ so, assuming $\operatorname{char}(k)\neq 2$, I believe at most one can conclude is $x\sqrt{1-x^2}\in k(x+\sqrt{1-x^2})$. I've been struggling to salvage this.
How can you show $k(x,\sqrt{1-x^2})$ is a purely transcendental extension over $k$? Is the extension still purely transcendental when $\operatorname{char}(k)=2$?