Let $ \ I$ be an ideal in $\ k[x_1,...,x_n]$.
1) Prove that $\ 1 \in I$ if and only if $\ I =k[x_1,...,x_n]$.
2) Prove that $\ I$ contains a nonzero constant if and only if $\ I =k[x_1,...,x_n]$.
So I am struggling to prove these statements, I'm not good at proofs but I am trying so bear with me. I'm grateful for any help!
Attempts at Proofs
1) ($\rightarrow$) Assume $\ 1\in I$ then, $\ 1$ acts an identity element and sends the set of all polynomials in $\ x_1,...x_n$ back to the field k.
($\leftarrow$) Assume that$\ I =k[x_1,...,x_n]$, then $\ 1 \in k[x_1,...,x_n]$ because the properties of a commutative ring calls for an multiplicative inverse.
2) ($\rightarrow$) By the definition of the field k, $$\ k[x_1,...,x_n]= \Bigl\{ \sum c_\alpha \cdot x^\alpha \mid c \neq 0 \Bigr\}$$ for infinitely many $\alpha$.
I'm getting lost and I would appreciate help, if my answers/ideas are incorrect I'd appreciate guidance.
Ideals are subsets of rings and roughly work as follows: If $a$ is any element of the ideal, then $a\cdot p$ is in that ideal for every $p$ in the ring.
Therefore, (1) If $1$ is in the ideal, then for every possible $p$ in the ring, $1\cdot p$ is in the ideal. That is, every element in the ring is in the ideal, and thus the ideal is the whole ring. Conversely, if $I$ is the whole ring, then it is obvious that $1$ is in the ideal.
You can attack number (2) using the already established result (1).
Assume that there is a constant $c$ in the ideal. Then, because how this ideal works, every polynomial multiplied by $c$ is in the ideal. In particular, take the constant polynomial $c^{-1}$ (assuming $k$ is a field, this element exists). Well, this means that $c\cdot c^{-1}$ (i.e. 1) is in the ideal, and because of (1), the ideal is the whole ring. The converse is obvious: if $I$ is the whole ring, then it contains in particular every constant polynomial.
As a side comment, for this kind of proofs, if you don't know how to proceed, remember the definitions of all concepts involved (in this case, field, then ring, then ideal). If that definitions don't help you, try looking at other equivalent definitions or special cases that will help you gain intuition (for instance, the $n=1$ case above). Also, there are several techniques of solving logic implications.
If you want more generality, you could prove the following and the proof is basically the same. If $p$ is invertible in the ring (i.e., $p$ is a unit), then if $p$ belongs to an ideal $I$, then $I$ is the whole ring.