Let $f : \mathbb{C} \to \mathbb{C}$ $$f(x)=x^2 + 2x + 1$$ Prove whether f is a bijection or not.
This is what I have so far
Let $x_1,x_2 \in \mathbb{C}$. suppose $f(x_1)=f(x_2)$. $$x_1^2 + 2x_1 +1 = x_2^2 + 2x_2 + 1$$
Let $f : \mathbb{C} \to \mathbb{C}$ $$f(x)=x^2 + 2x + 1$$ Prove whether f is a bijection or not.
This is what I have so far
Let $x_1,x_2 \in \mathbb{C}$. suppose $f(x_1)=f(x_2)$. $$x_1^2 + 2x_1 +1 = x_2^2 + 2x_2 + 1$$
$f: \Bbb C\to \Bbb C$ given by $f(x) = x^2 + 2x + 1$ is not one-one. To see this, it is enough to find $a,b\in \Bbb C$ such that $a\ne b$ and $f(a) = f(b)$. There are infinitely many ways to choose $a,b \in \Bbb C$ in the desired manner, and one of them is $$a = -2 \quad \text{ and }\quad b = 0$$ As a result, it is clear that even the restriction map $f\vert_\Bbb R: \Bbb R\to \Bbb R$ is not one-one.
$f$ is not a bijection.
Edit: This edit is in response to the comment below. Indeed, $f$ is onto. This is not hard to see. Let $z\in \Bbb C$. We want to find $y \in \Bbb C$ such that $f(y) = z$, i.e., $(y+1)^2 = z$. The choice $y = z^{1/2} - 1$ works. Note that $z^{1/2}$ can possibly take two different values in $\Bbb C$, and any of the two will work.
For what it's worth, let $f$ be any complex polynomial. Then
(It follows that $z\mapsto f(z)$ is bijective if and only if $f$ is a linear polynomial.)
For the injectiveness problem, clearly $f$ is injective when $\deg(f)=1$ and not injective when $f$ is a constant polynomial. It remains to consider the case where $n=\deg(f)\ge2$. If $f$ has at least two distinct zeroes $z_1$ and $z_2$, then $f(z_1)=0=f(z_2)$ and $f$ is not injective. If $f(z)=0$ has only one root $a$ of multiplicity $n=\deg(f)$, then $f(z)=c(z-a)^n$ for some $c\ne0$. Therefore $f(a+e^{2\pi i/n})=c=f(a+1)$ and $f$ is not injective.
For the surjectiveness problem, if $f$ is a constant polynomial, then the image of $f$ is a single point and hence $z\mapsto f(z)$ is not surjective. If $f$ is not a constant polynomial, then for every $c\in\mathbb C$, $f(z)=c$ is solvable (with $n$ roots, in fact) by the fundamental theorem of algebra. Therefore $z\mapsto f(z)$ is surjective.