I'm asked to determine if a function is surjective or not, and formally prove it. The function $$f:\mathbb{R}\rightarrow\mathbb{R}, f(x) = x^4+x^2$$ is not surjective (I'm prety sure),I know for a counter-example to use a negative number, but I'm just having trouble going around writing the proof.
Proving a polynomial function is not surjective
-
0The title doesn't match the body of the question. Which one are you asking? The proposition holds true for even degree polynomials in general, but the proof is next to trivial if you only meant $f(x)=x^4+x^2\,$. – 2017-02-22
-
0I edited the title to be more specific – 2017-02-22
-
0As a sum of two squares $f$ can't take negative values. – 2017-02-22
4 Answers
Note that $t^2+t+1$ has no roots in $\Bbb R$, since the discriminant is negative.
Now suppose that $f(x)=-1$ for some $x$, set $t=x^2$, then $t^2+t=-1$, but this means that $t^2+t+1$ has a real root.
Essentially what you want to do is to formally prove that $f(x)\neq -1$ for all $x$.
$ \lim_{x \to \infty}f(x)=\lim_{x \to -\infty}= \infty$.
$f(x) \ge 0$ for all $x$ and $f(0)=0$.
Since $f$ is continuous, we derive
$$f(\mathbb R)=[0,\infty) \ne \mathbb R.$$
Your proof can either be directly or by contradiction.
Proof: Note that $f:\mathbb R \to \mathbb R$. Suppose $f$ is onto (a.k.a surjective). Then this would imply that (imput your negative number here) is mapped to, and thus $x^2(x^2+1)=$ (said negative number). This would imply that $x$ is (by via some standard arithmetic that you can do) not in $\mathbb R$ or $x\notin \mathbb R$. Which by the way is a contradiction.
It is easier than you possibly thought. Note that the codomain is $\mathbb{R}$. So let $y < 0$. Note that $x^{2} + x^{4} \geq 0$ for all $x \in \mathbb{R}$. So there is no $x \in \mathbb{R}$, the domain of $f$, such that $f(x) = x^{2}+x^{4} = y$. By definition $f$ is not surjective.