[Math] Find the number of real roots of $1+x/1!+x^2/2!+x^3/3! + \ldots + x^6/6! =0$.

exponential functionpolynomialsrootstaylor expansion

Find the number of real roots of $1+x/1!+x^2/2!+x^3/3! + \ldots + x^6/6! =0$.

Attempts so far:

Used Descartes signs stuff so possible number of real roots is $6,4,2,0$
tried differentiating the equation $4$ times and got an equation with no roots hence proving that above polynomial has $4$ real roots.

But using online calculators I get zero real roots. Where am I wrong?

Best Answer

Let $E_n(x):=\sum_{k=0}^n\,\frac{x^k}{k!}$ for $n=0,1,2,\ldots$. We shall prove that $E_n(x)$ has no real roots if $n$ is even, and $E_n(x)$ has exactly one real root, which is simple, if $n$ is odd.

Suppose that $n$ is even. Clearly, $E_n(x)$ has no roots in $\mathbb{R}_{\geq 0}$. By Taylor's Theorem, we have $\exp(x)=E_n(x)+R_n(x)$, where the remainder term is given by $$R_n(x)=\int_0^x\,\frac{\exp^{(n+1)}(t)}{n!}\,(x-t)^n\,\text{d}t=\int_0^x\,\frac{\exp(t)}{n!}\,(x-t)^n\,\text{d}t\,.$$ If $x<0$, then $$R_n(x)=-\int_0^{|x|}\,\frac{\exp(-t)}{n!}\,|x+t|^n\,\text{d}t<0\,.$$ That is, $$E_n(x)=\exp(x)-R_n(x)>\exp(x)>0$$ for all $x<0$. That is, $E_n(x)$ has no negative roots either; i.e., $E_n(x)$ has no real roots.

If $n$ is odd, then $E'_n(x)=E_{n-1}(x)$ has no real roots. Thus, $E_n(x)$ can have at most one real root, due to Rolle's Theorem. Clearly, $E_n(x)$ has a real root, being a polynomial in $\mathbb{R}[x]$ of an odd degree. Consequently, $E_n(x)$ has exactly one real root, which is simple.