Integrating Log and Rational Functions

dirk_mec1
Messages
755
Reaction score
13

Homework Statement


<br /> \int_0^{\infty} \ln \left( \frac{e^x+1}{e^x-1} \right) \mbox{d}x <br />

<br /> \int_0^{\infty} \frac{1}{x^n+1}\ \mbox{d}x\ \forall n &gt;1 <br />

Homework Equations


-


The Attempt at a Solution


I've tried IBP and separating the ln into two terms and failed. I've also tried a subtitution for exp(x)+1 and exp(x)-1 with no succes. For the second one I've tried using a trigoniometric substitution but it didn't work out.
 
Physics news on Phys.org
If you notice, these integrals can't be evaluated with standard integration techniques. These are called Improper Integrals. I would read up on this as I can't teach you the entire thing itself. You would need to understand the types of improper integrals as well as know the comparison theorem.
 
Last edited:
dirk_mec1 said:
<br /> \int_0^{\infty} \ln \left( \frac{e^x+1}{e^x-1} \right) \mbox{d}x <br />

Try to make the substitution:
<br /> t \equiv \frac{e^x + 1}{e^x - 1}<br />

What integral do you get?
 
I get:

2 \cdot \int_1^{\infty} \frac{\ln(t)}{1+t}\ \mbox{d}t

but I don't see how to solve this one...
 
dirk_mec1 said:
I get:

2 \cdot \int_1^{\infty} \frac{\ln(t)}{1+t}\ \mbox{d}t

but I don't see how to solve this one...

Your denominator is wrong.
 
dirk_mec1 said:
I get:

2 \cdot \int_1^{\infty} \frac{\ln(t)}{1+t}\ \mbox{d}t

but I don't see how to solve this one...

Are you sure about that? I got something different.
 
My bad:

2\cdot \int_1^{\infty} \frac{\ln(t)}{(t+1)(t-1)}\ \mbox{d}t

I can use partial fraction decomposition but I'm still stuck then. I've also tried a t =sin(\theta) but the what?
 
Last edited:
dirk_mec1 said:
My bad:

2\cdot \int_1^{\infty} \frac{\ln(t)}{(t+1)(t-1)}\ \mbox{d}t

Ok, so, now your denominator is t^2 - 1. You want it in the form e^{\alpha x} - 1. That is why you have the additional substitution
<br /> e^{\alpha x} = t^2 \Rightarrow t = e^{\frac{\alpha \, x}{2}}<br />
where \alpha is yet to be determined.

What do you get now?
 
Last edited:
  • #10
yes, those are the necessary tricks to evaluate the integral, although I don't know why you only gave an upper bound estimate. I can't zoom into your picture to see the details.

The second integral can be brought to a similar form.
 
  • #11
Is the series I calclulated in the correct form? If so how can I exactly calculate:

\sum_{n=0}^{\infty} \frac{1}{(n-\frac{1}{2} )(n-\frac{3}{2})}
 
  • #12
<br /> \frac{e^{-u/2}}{1 - e^{-u}} = \sum_{n = 1}^{\infty}{e^{-\frac{u}{2}} \, (e^{-u})^{n - 1}} = \sum_{n = 1}^{\infty}{e^{-(n - \frac{1}{2}) u}}<br />

<br /> \int_{0}^{\infty}{u \, e^{-(n - \frac{1}{2}) \, u} \, du} = \frac{1}{(n - 1/2)^2} \, \int_{0}^{\infty}{t \, e^{-t} \, dt}<br />

<br /> \begin{array}{l}<br /> \sum_{n = 1}^{\infty}{\frac{1}{(n - 1/2)^2} } = \sum_{n = 1}^{\infty}{\frac{4}{(2 n - 1)^2}} \\ \\<br /> <br /> = 4 \, \left[ \sum_{n = 1}^{\infty}{\frac{1}{n^2}} - \sum_{n = 1}^{\infty}{\frac{1}{(2 n)^2}} \right] \\<br /> <br /> = 4 \, \left( 1 - \frac{1}{4} \right) \, \sum_{n = 1}^{\infty}{\frac{1}{n^2}} = 3 \, \zeta(2)<br /> \end{array}<br />
where
<br /> \zeta(a) \equiv \sum_{n = 1}^{\infty}{\frac{1}{n^{a}}}, \ \mathrm{Re} a &gt; 1<br />
is the Riemann zeta function.
 
  • #13
How do you get from the single sum with the (2n-1)^2 in the denominator to the two sums?
 
  • #14
dirk_mec1 said:
How do you get from the single sum with the (2n-1)^2 in the denominator to the two sums?
Because the union of the set of all odd positive numbers and the set of even positive numbers equals the set of natural numbers. :wink:

Sum of reciprocals of odd positives is sum of reciprocals of naturals minus sum of reciprocals of even positives.
 
Last edited:
  • #15
Curious3141 said:
Because the union of the set of all odd positive numbers and the set of even positive numbers equals the set of natural numbers. :wink:

Sum of reciprocals of odd positives is sum of reciprocals of naturals minus sum of reciprocals of even positives.

Yes offcourse thanks guys!

For the second integral the hint is use: u =x^n, I don't understand what to do then.
 
  • #16
no, separate it from 0 to 1, and from 1 to \infty, then the fraction in the integrand:
<br /> \frac{1}{x^n + 1}<br />
has different series expansions.
 
  • #17
But if you split this integral into two geometric series how do you solve for the integral on the infinite interval?

And how do I calculate this integral:

<br /> \int_0^1 \ln(x) e^{-x} (1-x)\ \mbox{d}x <br />

I've tried IBP bu end up with:

<br /> \int_0^1 \ln(x) e^{-x} (1-x)\ \mbox{d}x = -e^{-x} (1-x) \ln(x) ] _0^1 + \int_0^1 e^{-x} \left( \frac{(1-x)}{x} +\ln(x) (-1) \right) \mbox{d}x<br />

but what's:
<br /> e^{-x} \ln(x) ] _0^1 <br />
 
  • #18
No, do IBP, but make it like this:
<br /> u = \ln(x), dv = e^{-x} ( 1 - x) \, dx<br />
What is v(x)?
 
  • #19
Ah I see it now:

\int_0^1 \ln(x)(1-x)e^{-x}\ \mbox{d}x = \ln(x)x e^{-x} ]_0^1 - \int_0^1 e^{-x}\ \mbox{d}x = e^{-x}]_0^1 = \frac{1}{e}-1
 
  • #21
Ok and I''m also stuck with this one:

I = \int_{0}^{\infty} \frac{{{e^{ - x}}\left( {1 - {e^{ - 6x}}} \right)}}{{x\left( {1 + {e^{ - 2x}} + {e^{ - 4x}} + {e^{ - 6x}} + {e^{ - 8x}}} \right)}}dx

I suspect an smart subtitution will do(since IBP fails here, right?).

And I'm this one is also difficult:

I = \int\limits_0^1 {\frac{{\sin \left( {p\ln x} \right) \cdot \cos \left( {q\ln x} \right)}}{{\ln x}}}dx

Is tried rewriting as one sine and u= \frac{1}{2q} \ln(x) for this one but didn't seem get anywhere but is it the correct way to do it?
 
Last edited:
  • #22
For that first one, the very first thing I'd try is a u=e^(-x) substitution.
 
  • #23
dirk_mec1 said:
My bad:

2\cdot \int_1^{\infty} \frac{\ln(t)}{(t+1)(t-1)}\ \mbox{d}t

I can use partial fraction decomposition but I'm still stuck then. I've also tried a t =sin(\theta) but the what?
I think the sign is wrong. oops never mind. ok, to compensate, how to partial decompose ((u^3+1)(u^3-1))/(ln(u)(1+u^2+u^4+u^6+u^8)) might be a key.
 
Last edited:
  • #24
yes I was of course immediately thinking about u=e^{-x} the problem is then that the partial fraction decomposition gets tough or not?
 
  • #25
Hint:
<br /> 1 + u^2 + u^4 + u^6 + u^8 = 0<br />
is a symmetric polynomial equation of order 4 w.r.t. v = u^2, which may be further reduced. Divide by v^2:
<br /> \left( v^2 + \frac{1}{v^2} \right) + \left( v + \frac{1}{v} \right) + 1 = 0<br />
and, then, make a substitution w = v + 1/v. It's square is:
<br /> w^2 = v^2 + 2 + \frac{1}{v^2}<br />
and we finally arrive at the quadratic equation:
<br /> w^2 + w - 1 = 0<br />
which has two real solutions:
<br /> w_{1/2} = \frac{-1 \pm \sqrt{5}}{2}<br />
Then, for each solution for w, we have a quadratic equation w.r.t. v, which, in turn, gives 2 solutions. You have to further take the square root to get the 8 solutions for u.

Just to get you started, the equations for v are:
<br /> 2 v^2 + (1 \mp \sqrt{5}) v + 2 = 0<br />
which has a discriminant:
<br /> D = -10 \mp 2 \sqrt{5} &lt; 0<br />
so the solutions for v come in complex conjugate pairs.
 
  • #26
OK, I'm also stuck with these two:

\int_0^{\infty} \sin(x) atan\left( \frac{1}{x} \right) \mbox{d}x\int_0^{\infty} \frac{1}{x} \sin( \tan(x)) \mbox{d}xI've tried u=sin(x) for the first one and IBP with no result. For the second one I've tried u =tan(x) and IBP.
 
Back
Top