how to estimate this indefinite integral $\int \frac{1}{e^x +x}dx$ One of my student asked me to estimate this indefinite integral
\begin{gather*}
\int \frac{1}{e^x+x}dx.
\end{gather*}
I tried many methods, but I can not find the primitive of it. Then I use Maple and Mathematica to help me. As a result, the two softwares can not give me the result. Thus I am not sure if the primitive of this integral can be expressed as elementary functions. But I could not give the right reason. How can I judge if the primitive of this indefinite integral can be expressed as elementary functions? Can anybody help me?
 A: It is very unlikely that the function
$$f(x):=\int_0^x{dt\over e^t+t}$$
can be expressed in elementary terms. To prove this, however, would be quite difficult, for the following reasons: In the first place one needs a deep algebraic theory to deal with such questions, and even having this theory at your disposal it is not obvious how to handle the particular example considered here. This is the reason why 99% of the students are just told that you cannot express the really important function $\Phi(x):={1\over\sqrt{2\pi}}\int_{-\infty}^x e^{-t^2/2} dt$ in elementary terms,  and never see a proof of this fact.
Now in  your question you talk about "estimating" the function $x\mapsto f(x)$. This is another matter, and if you are really interested in an "estimate" you should indicate for which range of $x$ you want such an estimate to be useful.
A: Case $1$: $xe^{-x}\leq1$
Then $\int\dfrac{1}{e^x+x}dx$
$=\int\dfrac{e^{-x}}{1+xe^{-x}}dx$
$=\int\sum\limits_{n=0}^\infty(-1)^nx^ne^{-(n+1)x}dx$
$=\sum\limits_{n=0}^\infty\sum\limits_{k=0}^n\dfrac{(-1)^{n+1}n!x^ke^{-(n+1)x}}{(n+1)^{n-k+1}k!}+C$ (can be obtained from http://en.wikipedia.org/wiki/List_of_integrals_of_exponential_functions)
