Definition (transcendence basis, degree)
Let $L/K$ be a field extension.
A finite set $x_1, \ldots, x_n\in L$ is a transcendence basis over $K$ if it is a maximal algebraically independent set, i.e. they are algebraically independent and $L/K(x_1, \ldots, x_n)$ is an algebraic extension.
In this case say the transcendence degree of $L/K$ is $\op{trdeg}_K(L) = n$.
If $L/K$ is finitely generated, then transcendence degree is well-defined, i.e. a transcendence basis exists, and any two transcendence basis has the same length. (Proof) > Moreover $L/K(x_1, \ldots, x_n)$ is algebraic and still finitely generated, so finite. Thus by the primitive element theorem (assuming $\op{char}(K) = 0$), there is $y\in L$ such that $L = K(x_1, \ldots, x_n, y)$.