I am trying to prove that the set $A=\{(x,y)|x^2\leq y\}$ is closed in $\mathbb R^2$. I wrote a proof, but I think the end is wrong. My proof is:
Consider the set $A=\{(x,y)|x^2\leq y\}$ in $\mathbb R^2$. Let $(x_n,y_n)_{n \in \mathbb N}$ be a sequence in $A$ that converges to $(x,y) \in \mathbb R^2$. By the componentwise convergence criterion, $(x_n,y_n) \to (x,y)$ iff $x_n \to x$ and $y_n \to y$ as $n \to \infty$.
(From here on out, I think it is wrong as I really didn't know how to proceed). So, $x_n^2 \to x^2$ and $y_n \to y$ as $n \to \infty$. Since $\forall n \in \mathbb N \ \ (x_n,y_n)\in A$, $x_n^2\leq y$ $\forall n\in \mathbb N$. Hence by taking the limit as $n \to \infty$ of both sides, $x^2\leq y$. Therefore, $(x,y)\in A$ and so $A$ is closed.