Prove that the function $h(x,y)=xy$, where $h: \mathbb{R^2} \to \mathbb{R}$ is surjective.
In all my examples, it has only been in one dimension and I am not sure how to go about proving this.
In one dimension, I know if a function is surjective then for $h: X \to Y, \forall b \in B$ $\exists$ $a\in A$ such that $h(a)=b$.
But in two dimension, I suppose I will have to prove the following?
$$h: \mathbb R \times\mathbb R \to \mathbb R, \forall\ x,y \in \mathbb{R^2}\ \exists \ x,y\in \mathbb R$$.
You need to prove that for all $u\in\mathbb{R}$ there exists $v\in\mathbb{R}^2$, where $v=(v_1,v_2)$, such that $f(v)=u$. Take $v_1=u$ and $v_2=1$. Then $f(v)=f(v_1,v_2)=v_1\cdot v_2=u\cdot 1=u$. Thus $f$ is onto.