Let us first use computer power to have the verdict, code:
polynomials = ( x^19 + 2018*x^11 + 1,
x^17 + 2018*x^11 + 1,
x^19 + 2018*x^13 + 1,
x^17 + 2018*x^13 + 1,
2019*x + 2018 )
for p in polynomials:
print ( "%s has only real root at %s"
% ( p, p.roots(ring=AA, multiplicities=False)[0] ) )
Results:
x^19 + 2018*x^11 + 1 has only real root at -0.5006711240348649?
x^17 + 2018*x^11 + 1 has only real root at -0.500670857826262?
x^19 + 2018*x^13 + 1 has only real root at -0.556896901348879?
x^17 + 2018*x^13 + 1 has only real root at -0.5568954928592386?
2019*x + 2018 has only real root at -0.9995047052996532?
(sage was used, free software for all mathematical purposes, it can even be "infected" with non-free software, if the user possesses the one or the other compatible choice.)
Note: The above numbers are printed with a question mark at their end, but sage can does in fact exact computations with such numbers.
And "the winner is..."
x^17 + 2018*x^11 + 1
Let us prove this by human means.
First of all, let us show that all roots are in the interval $[-1,0]$. Indeed, all five polynomials have
- a negative value in $-1$, it is $-2018$ for the first four, and $-1$ for the last one,
- a positive value in $0$, it is $+1$ for the first four, and bigger for the last one.
So each polynomial has a root in the interval $[-1,0]$. The first derivative for each given polynomial is $>0$ on $\Bbb R$, so the given polynomial functions are strictly increasing, from $-\infty$ (when the argument tends to this limit) to $+\infty$ (when the argument tends to this limit). So each given polynomial has the root in the interval $[-1,0]$.
The last polynomial has the root $-2018/2019<-9/10=-0.9$, and if we plug in this value, $0.9$, in any $P$ under the other four we get a negative number, since $0.9^{13}\approx 0.25\dots$, and $0.9^{11}\approx 0.31\dots$, so the term with the coefficient $2018$ "wins", $P(-0,9)<2018\cdot \frac 14+1<0$.
Let now $a\in(-1,0)$ be the root of
$$ P=x^{17} + 2018x^{11} + 1\ ,$$
and let
$$ Q=x^A + 2018x^B + 1$$
be an other polynomial in the list, so $A\in\{17,19\}$,
$B\in\{11,13\}$ and either $A>17$, or $B>11$.
We have
$$
-1<a^{11}<a^{13}<a^{17}<a^{19}<0
\ ,
$$
so
$$Q(a) > P(a)=0\ ,$$
so the root of $Q$ is in the interval $[-1,a]$, being thus smaller than $a$.
$\square$
Ths problem is solved, but it is always good to give a plot for the actors, in our case for the four polynomials, in the interval that hurts, here first $[-1,0]$.
![First plot, four polynomials in $[-1,\ 0]$](../../images/b5d0e6d5e8cdddf62e3c3a518d6b658f.webp)
...then $[-0.6,\ 0]$.
![Second plot, four polynomials in $[-0.6,\ 0]$](../../images/61c3e55d83378472ba7e55e5b433717b.webp)
The following code was used:
sage: p1, p2, p3, p4 = [ plot( p, (-1,0) ) for p in polynomials[:4] ]
sage: (p1+p2+p3+p4).show()
Launched png viewer for Graphics object consisting of 4 graphics primitives
sage: p1, p2, p3, p4 = [ plot( p, (-0.6,0) ) for p in polynomials[:4] ]
sage: (p1+p2+p3+p4).show()
Launched png viewer for Graphics object consisting of 4 graphics primitives