Let $k$ be an infinite field. Let $d$ be a positive integer. Is it true that the cardinality of the set of maximal ideals of $k[x_1, \dots, x_d]$ is equal to the cardinality of the set of prime ideals of $k[x_1, \dots, x_d]$ and is equal to the cardinality of $k$?
Show your effort: in the case $k$ is algebraically closed, then the maximal ideals are in bijection with the elements of a $d$-dimensional $k$-vector space so the set of maximal ideals does have the same cardinality as $k$. In the case $d=1$, all non-zero prime ideals are maximal ($k[x]$ is a PID) and because there are infinitely many maximal ideals, this addresses the question completely.
I also know that (under ZFC, at least) any algebraic closure of an infinite field has the same cardinality as the field itself but I do not quite see how to apply this here. I think my question is meaningful in ZF as well, so it might be interesting to give a proof in ZF (if one exists).