At the end of my class today, there was a proof that involved using the fact that given $f(x)=3+4x-x^2-x^4$
$f(x)\leqslant 0 $ if $|x|>2 $
this seems obvious but I was wondering if anyone could show me a more formal way of proving it?
At the end of my class today, there was a proof that involved using the fact that given $f(x)=3+4x-x^2-x^4$
$f(x)\leqslant 0 $ if $|x|>2 $
this seems obvious but I was wondering if anyone could show me a more formal way of proving it?
For $x\geq2$ we have $$x^4+x^2-4x-3=x^4-2x^3+2x^3-4x^2+3x^2-6x+2x-4+1=$$ $$=(x-2)(x^3+2x^2+3x+2)+1>0$$ For $x\leq-2$ we obtain: $$x^4+x^2-4x-3=x^4+3x^3+4x^2-4x^3-16x^2-16x+13x^2+52x+52-40x-80+25=$$ $$=(x+2)^2(x^2-4x+13)-40(x+2)+25>0$$
Hint. $|x| \gt 2 \implies x^4 \gt 16 \implies f(x) \lt 3+4x-x^2-16 = -x^2 +4x -13\,$ where the latter is a quadratic with no real roots.
P.S. Not that it's needed to answer the question as posed, but it can be noted that the quartic actually factors into a product of two quadratics:
$$ \begin{align} f(x)=3+4x-x^2-x^4 & = (1+x-x^2)(3+x+x^2) \end{align} $$
The only real roots are $\cfrac{1 \pm \sqrt{5}}{2}\,$, so $\,f(x) \lt 0\,$ for $\,x \not \in \left[\cfrac{1 - \sqrt{5}}{2}, \cfrac{1 + \sqrt{5}}{2}\right]$.