function field of an integral scheme
Suppose $X$ is an integral scheme, and let $\eta \in X$ be its generic point. Then the local ring $\mathcal{O}_{X,\eta}$ is a field, called the function field of $X$ and denoted $K(X)$.
Why is $K(X)$ called a function field? In what sense (if any) are its elements functions? Is there some conceptual connection between regular functions (on a variety) and $K(X)$?
I'm asking because the name is quite suggestive, but it doesn't seem to follow directly from the definition that $K(X)$ is a field of "functions".
Solution 1:
Yes, all elements of $K(X)$ are functions, but there is a caveat:
Caveat : the functions are not defined everywhere
The field $K(X)$ is simply the union of all $\mathcal O(U)$ with $U\subset X$ open, where one identifies $f\in \mathcal O(U)$ with $f|V\in \mathcal O(V)$ whenever $U\supset V$.
So I cheated a bit when I said that rational functions are functions: they are equivalence classes of functions.
But if you are an honest person, you can get along without cheating: in every equivalence class of such pairs $(U,f)$ there is one pair with $U$ maximal and by considering only such maximal pairs you may consider that $K(X)\subset \bigcup _{U \:\text {open}}\mathcal O(U)$ .
So, yes, $K(X)$ consists of regular functions, but these functions are not defined everywhere.
Shafarevich has made the interesting observation that this is a feature which distinguishes algebraic geometry from other geometric theories like topology or differential geometry.
Solution 2:
This might be kind of low-brow comparing to the other answer. Let us consider the simplest case first. Let $X=Spec A$, where $A=k[x]$. Then all the points in $X$ are given by the prime ideals of $A$, and since $A$ is a PID they are all generated by polynomials. Now the generic point corresponds to the minimal prime ideal of $A$, which is $\langle 0\rangle$ since $A$ is an integral domain. Therefore we have $$ \mathcal{O}_{X,0}\cong A_{0}=k(x) $$
Now we let $Y=Spec B$, where $B=k[x_{1}\cdots x_{n}]/I$ and $I$ is prime. Then the minimal prime ideal in $B$ is again given by $0$ as an equivalence class in the quotient ring. And similarly localization gives you the functional field on $Y$ to be the fractional field of $B$. If you think $Y$ as a complex algebraic variety, then this is the quotient field of the ring of regular functions.
So coming from an affine variety, to me the functional field can be thought as some kind of "fractional field", and the notation $K(X)$ is justified in this regard. I learned this perspective by reading Mumford's book. If you found any mistake, please point out to let me know.