# Integration of ((e^x)/(x^2)) with respect to x

1. Homework Statement

$$\int{\frac{e^x}{x^2}dx}$$

2. Homework Equations

• Integration by substitution
• Integration by parts: $\int{u\ dv}=uv\ -\ \int{v\ du}$

3. The Attempt at a Solution

Since it was clear that integration by substitution would not work, I tried integration by parts. Since the $e^x$ term would not be affected whatsoever with the application of differentiation or integration, I worked out the $x^2$ term instead. So, I took $u=e^x$ and $dv=\frac{1}{x^2}\ dx$. It resulted in:

$$\int{\frac{e^x}{x^2}dx}=-\frac{e^x}{x}+\int {\frac{e^x}{x}dx}$$

For the last term, I took $u=e^x$ and $dv=\frac{1}{x}\ dx$. It resulted in:

$$\int{\frac{e^x}{x^2}dx}=-\frac{e^x}{x}+e^x\ ln(x)-\int{(ln x)(e^x)dx}$$

Beyond this point, if I took $u=ln(x)$ and $dv=e^x\ dx$, I would just undo the previous steps. If I took $u=e^x$ and $dv=ln(x)\ dx$, it resulted in:

$$\int{\frac{e^x}{x^2}dx}=-\frac{e^x}{x}\ +\ e^x\ ln(x)\ -\ e^x\left ( x\ ln(x)\ -\ x \right )\ +\ e^x\ -\ x\ e^x\ +\ \int{x\ ln(x)\ e^x\ dx}}$$

The last term certainly shows that this technique won't solve the problem at hand because it will continue forever.

How should I attack this problem?

Thank you.

Best regards,
Eus

Related Calculus and Beyond Homework Help News on Phys.org
Hootenanny
Staff Emeritus
Gold Member
$$\int{\frac{e^x}{x^2}dx}=-\frac{e^x}{x}+e^x\ ln(x)-\int{(ln x)(e^x)dx}$$

Beyond this point, if I took $u=ln(x)$ and $dv=e^x\ dx$, I would just undo the previous steps.
Although this may seem crazy, your right here with your substitution. You need to do integration by parts twice such that you arrive at something of the form,

$$\int{\frac{e^x}{x^2}dx}=f(x)-\int{\frac{e^2}{x^2}dx}$$

Then you may write,

$$2\int{\frac{e^x}{x^2}dx}=f(x)$$

$$\int{\frac{e^x}{x^2}dx}=\frac{1}{2}f(x)$$

Last edited:
Although this may seem crazy, your right here with your substitution. You need to do integration by parts twice such that you arrive at something of the form,

$$\int{\frac{e^x}{x^2}dx}=f(x)-\int{\frac{e^2}{x^2}dx}$$

Then you may write,

$$2\int{\frac{e^x}{x^2}dx}=f(x)$$

$$\int{\frac{e^x}{x^2}dx}=\frac{1}{2}f(x)$$
I have tried it and it really did not work; it really undid the previous steps resulting in $0 = 0$.

Best regards,
Eus

Hootenanny
Staff Emeritus
Gold Member
In which case, I believe that the integrand has no elementary anti-derivative. Do you have some reason do believe an elementary anti-derivative exists? One can of course find a series representation of the integral.

You're right there is no elementary derivative. The answer is:

$$\int \frac {e^x}{x^2}\;\rightarrow\; \frac {-e^x}{x}-Ei\;(1,-x)+c[/itex] Where $Ei$ is the http://en.wikipedia.org/wiki/Exponential_integral" [Broken]. Last edited by a moderator: Hootenanny Staff Emeritus Science Advisor Gold Member You're right there is no elementary derivative. The answer is: [tex]\int \frac {e^x}{x^2}\;\rightarrow\; \frac {-e^x}{x}-Ei\;(1,-x)+c[/itex] Where $Ei$ is the http://en.wikipedia.org/wiki/Exponential_integral" [Broken]. Cheers SD Last edited by a moderator: You're right there is no elementary derivative. The answer is: [tex]\int \frac {e^x}{x^2}\;\rightarrow\; \frac {-e^x}{x}-Ei\;(1,-x)+c[/itex] Where $Ei$ is the http://en.wikipedia.org/wiki/Exponential_integral" [Broken]. I have taken a look at the page on Wikipedia but it does not explain anything how a series of non-terminating integration by parts can be transformed to an exponential integral. Could you please tell me how to do the transformation? Or, is there any pointer to a webpage that shows how to do it? Thank you very much. Best regards, Eus Last edited by a moderator: Hootenanny Staff Emeritus Science Advisor Gold Member We simply define the exponential integral as [tex]Ei(x):=-\int^{\infty}_{-x}\frac{e^{-t}}{t}dt$$

There is no method to go from your integral to the exponential integral. This is what we mean when we say an integrand has no elementary anti-derivative, it means the integral cannot be evaluated using elementary functions, we cannot evaluate the integral and write it in terms of normal functions. Instead we simply say that if one integrates this, then this is what one will obtain.

Does that make sense?

Instead we simply say that if one integrates this, then this is what one will obtain.
Well, if I just tried to find out the answer, that fact would be enough for me. But, I want to know how in the past someone would be able to obtain that answer. Suppose a mathematician in the past encountered the same class of problem. Of course, the mathematician would have tried the integration by substitution and the integration by parts to no avail. So, the mathematician employed another method and found the answer to be something involving exponential integral. I want to know this "another method" and how it yields the exponential integral.

Would you please tell me this "another method" and how it yields the exponential integral? Any pointer will also help.

Thank you very much.

Best regards,
Eus

Hootenanny
Staff Emeritus
Gold Member
Well, if I just tried to find out the answer, that fact would be enough for me. But, I want to know how in the past someone would be able to obtain that answer. [..]
Would you please tell me this "another method" and how it yields the exponential integral? Any pointer will also help.

Thank you very much.

Best regards,
Eus
With all due respect Eus, did you read my previous post? There is no such method.
We simply define the exponential integral as

$$Ei(x):=-\int^{\infty}_{-x}\frac{e^{-t}}{t}dt$$

There is no method to go from your integral to the exponential integral. [...] Instead we simply say that if one integrates this, then this is what one will obtain.
Suppose a mathematician in the past encountered the same class of problem. Of course, the mathematician would have tried the integration by substitution and the integration by parts to no avail. So, the mathematician employed another method and found the answer to be something involving exponential integral. I want to know this "another method" and how it yields the exponential integral.
The mathematician would have probably tried many different methods to evaluate the integral, but would have failed. The simple fact of the matter is that we do not know how to integrate such an integrand. So your mathematician would have said "I don't know how to integrate, instead I'll just say that if you do integrate it you get the exponential function".

You just have to accept that some integrals are not solvable with any current method. A good example is

$$x^{x^2}$$

Although we can see why this is generally insoluble as it becomes quickly very large, and does not converge $$\lim_{x\rightarrow\infty}$$.

I suspect mathematicians would have found similar reasons why this integral is hard to pin down with elementary functions, and then given up and gone and had a cup of tea/coffee.

$\int \frac {e^x}{x^2}\;\rightarrow\; \frac {-e^x}{x}-Ei\;(1,-x)+c \equiv$ I don't know.

Last edited:
Gib Z
Homework Helper
I'm afraid the reason is deeper than that we can not do it with any current method or that we just don't know; it's because its not possible! It can be proven, using something like the Risch algorithm, that certain integrals can NOT be expressed in terms of a finite combination of elementary functions.

It's not that we can't find the integral of exp(-t) 1/t, but rather that no such function in terms of elementary functions exists! So instead we define it as a non-elementary function, which is perfectly fine.

With all due respect Eus, did you read my previous post? There is no such method.
Yes, I read your previous post. I just want to ensure myself that there is really no "another method" out there. Thank you for telling me about what happened to the mathematician

Thank you for all of your help.

Best regards,
Eus

Yes, I read your previous post. I just want to ensure myself that there is really no "another method" out there. Thank you for telling me about what happened to the mathematician

Thank you for all of your help.

Best regards,
Eus
I don't believe it's impossible anyway, surely if we invent 8 extra dimensions it's soluble.

For future reference though, no elementary solutions, means it's insoluble except in terms of a non explicit mathematical term which means, either "?" Or undefined or impossible. Except in the case of imaginary solutions, which I'm not sure whether they fall under elementary solutions or not, but are solutions.

Gib Z
Homework Helper
I don't believe it's impossible anyway, surely if we invent 8 extra dimensions it's soluble.

For future reference though, no elementary solutions, means it's insoluble except in terms of a non explicit mathematical term which means, either "?" Or undefined or impossible. Except in the case of imaginary solutions, which I'm not sure whether they fall under elementary solutions or not, but are solutions.
I'm not sure what this means, but have anyone even read my post? It can be proven that certain integrals can no have elementary anti derivatives. It's not a matter of it being really hard to find, its a matter if possibility. If it can be found but you just don't know how, that doesn't mean it has no elementary solutions, though it may not, it just means that you can't prove otherwise.

I'm not sure what this means, but have anyone even read my post? It can be proven that certain integrals can no have elementary anti derivatives. It's not a matter of it being really hard to find, its a matter if possibility. If it can be found but you just don't know how, that doesn't mean it has no elementary solutions, though it may not, it just means that you can't prove otherwise.
That's exactly what I just said. Obviously I wasn't clear, and the 8 extra dimensions is a swipe at my favourite punching bag, string "theory". I'm in a silly mood, it's not your fault.

Broadly speaking without redefining maths, some integrals are in fact impossible. But most I suppose are ? or undefined.