This is an exercise from Miles Reid, Undergraduate Algebraic Geometry. The proof has two parts, one of which I can do and one of which I can't. I could have some misunderstandings about notations here as well so anything people can point out will be helpful.
a) Let $k$ be an infinite field and $f\in k[X_1,...,X_n]$ be nonconstant. Prove $$V(f)=\{P\in \mathbb{A}^n_k\mid f(P)=0\}\neq \mathbb{A}^n_k.$$
$A^n_k$ here is the point set $k^n$.
My proof (which follows from a hint of his) is write $f=\sum a_i(X_1,...,X_{n-1})X_n^i$. Then $V(f)$ consists of two kinds of points
- $P=(p_1,...,p_{n-1},p_n=0)$
- $P=(p_1,...,p_{n-1},p_n\neq 0 )$ with $\sum a_i(p_1,...,p_{n-1})p_{n}^i=0$
In the first case we have $V(f)\neq \mathbb{A}^n_k$. Assume we have $P$ like in the second case and now write $f=\sum b_i(X_1,...,\hat{X}_{n-1},X_n)X_{n-1}^i$. Here again, either $P=(p_1,...,p_{n-1}=0,p_n\neq 0)$ and $V(f)\neq \mathbb{A}^n_k$ or $p_{n-1}\neq 0$, and by induction we should get to $V(f)\neq \mathbb{A}^n_k$.
b) Now let $k$ be algebraically closed. Let $a_m(X_1,...,X_{n-1})X_n^m$ be the leading term of $f$. Show that when $a_m\neq 0$, there is a finite set of points of $V(f)$ corresponding to every value $(X_1,...,X_{n-1})$. Thus, $V(f)$ infinite for $n \geq 2$.
So I have kinda no idea what to do. A given value of $(X_1,...,X_{n-1})$ corresponds to points in $V(f)$ $P=(p_1,...,p_{n-1},p_n)$ where $f(P)=0$, but I don't know anything about the value of $p_n$; if it vanishes then clearly there is a correspondence $(X_1,...,X_n)\to (p_1,...,p_{n-1},0)$ but I guess I need to show there are a finite number of $p_n$ where this is true and I don't know how.