Integrating e^x/x: Solving a Differential Equations Exam | Exam Help

  • Thread starter Thread starter DrKareem
  • Start date Start date
AI Thread Summary
The discussion revolves around the integration of e^x/x in a differential equations exam, where the original poster attempted to derive a solution using series expansion. They concluded that the integral diverges, suggesting a potential fault in the exam. However, other participants pointed out logical errors in their calculations, particularly regarding the treatment of the series and integration. The conversation highlights the importance of accurately applying mathematical principles and recognizing the divergence of certain series. Ultimately, the original poster acknowledged a flaw in their logic regarding integration with respect to n.
DrKareem
Messages
101
Reaction score
1
I just got out of a differential equations exam. In that exam, i had to integrate e^x/x (e power x over x)

I worked it out on scratch, and i came up with this:


e^x = Sum(i=0->infinity){X^n/n!}

So dividing by x we get Sum(i=0->infinity){x^(n-1)/n!}.
By integrating we get e^x.Sum(i=0->infinity){1/n}.
The latter series diverges, so i concluded that we can't find a solution to that integeral. I re-checked the work that lead to that equation like four times, and it was all correct.

So could it be that the there was a fault in the exam?

HALP!
(sorry didn't use latex or whatever it is called to represent my calculations)
 
Mathematics news on Phys.org
well, you should check again cos your logic is wrong - the term by term integral doesn't equal what you said it is, and omits to integrate the 1/x term at the beginning as well.
 
did't understand.
Integral of x^(n-1)/n!=X^n/n.n! right?

sumation(x^n/n!) is e^x no? so you are left with the harmonic series which diverges.

I can't find that logical error i might have made, can you clarify please?
 
DrKareem said:
did't understand.
Integral of x^(n-1)/n!=X^n/n.n! right?

sumation(x^n/n!) is e^x no? so you are left with the harmonic series which diverges.

I can't find that logical error i might have made, can you clarify please?

Well, for starters you should recogonize that
\frac{x}{n} < \frac{x}{n!}
so it's not the harmonic series.

I assume you wanted to do something like:
\frac{1}{x}e^x=\frac{1}{x} \sum \frac{x^n}{n!}=\sum \frac{x^{n-1}}{n!}=\sum \frac{x^{n-1}}{n(n-1)!}
but it's not at all clear to me what that last sum is going to be equal to.

Mathematica/Wolfram indicate that the result is pretty ugly.
 
Last edited:
Hmm, can you clarify those? didn't get what you're typing...can't see it
 
OH, and you'd get 1/n, not x/n.

the series 1/n diverges...
 
e^x=\sum\frac{x^n}{n!},


\frac{e^x}{x}=\frac{e^n-1}{n!}, This should be e^(n-1)/n!, dunn why it isn't working with Latex


\int\frac{e^x}{x}dx=\int\frac{e^n}{n.n!},


But \frac{x^n}{n!}=e^x,


Thus\int \frac{e^x}{x}dx=e^x.\sum \frac{1}{n},

But \sum \frac{1}{n} would diverge, thus the integral can't be found.


Edit: Hmmm, i read the Latex help file, and i doesn't seem to work :/
 
Last edited:
You need to end things with [ /tex] (no space). You have reversed the /-sign (to \).
 
yep sorted it out now :) thx

Come to think of it, i do have a hole in my logic lol...how can i integrate with respect to n, can I? dun think so :P


*kareem is the newb*
 
  • #10
DrKareem said:
\frac{e^x}{x}=\frac{e^n-1}{n!}, This should be e^(n-1)/n!, dunn why it isn't working with Latex

To group in Latex use {}'s - for example e^{n-1}.
As in
\frac{e^x}{x}\neq\frac{e^{n-1}}{n!}
but
\frac{e^x}{x} = \sum_{n=0}^{\infty} \frac{x^{n-1}}{n!}
 
  • #11
Yes, i was aware of that, but i just didn't bother, that was unproffesional :(
 
Back
Top