I just learned about the concept of an algebraic independent set. Here is the definition I started working with.
Let $E/K$ be a field extension. A subset $M \subset E$ is said to be algebraically independent over $K$ if every element $\alpha \in M$ is transcendent over $K(M-\{\alpha\})$. Otherwise, we say that $M$ is algebraically dependent over $K$.
I saw an alternative definition that goes like this
$M$ is algebraically independent over $K$ if for any $n \geq 1$ and $\alpha_1,\dots, \alpha_n \in M$, pairwise disjoint and for all $f \in K[X_1,\dots,X_n]$, $$f(\alpha_1,\dots,\alpha_n) =0 \Rightarrow f=0$$
I now want to show that the first definition implies the second. Here is how I went about it but I am unsure about my reasoning (that's already bad isn't it ?).
First of all I showed that a set $M$ is algebraically independent if and only if every finite subset of $M$ is algebraically independent (using the first definition).
We can thus assume that $M$ is finite.
Let $M = \{ \alpha_1, \dots, \alpha_n\}$. Suppose that there exists a non-zero polynomial $f \in K[X_1, \dots, X_n]$ such that $f(\alpha_1, \dots, \alpha_n) =0$.
I want to show that there is some $\alpha_i \in M$ that is algebraic over $K(M-\{\alpha_i\})$.
To do so, I write $f(X_1, \dots,X_n) = \sum_i g_i (X_1,\dots,X_{n-1})X_n^i$. Since $f(\alpha_i, \dots, \alpha_n) = 0$, we get an algebraic dependence of $\alpha_n$ over $K[X_1,\dots,X_n]$. Thus $\alpha_n$ is algebraic over $K(M-\{\alpha_n\})$ and we are done.
Could someone proof check my reasoning ? I am thankful for any comments.