Apostol's Calculus Vol.1 6.26 #1

  • Thread starter Thread starter Masaki
  • Start date Start date
  • Tags Tags
    Calculus
Masaki
Messages
8
Reaction score
0

Homework Statement


Let f(x)=∫1x (logt)/(t+1)dt if x>0. Compute f(x) + f(1/x). As a check, you should obtain f(2) + f(1/2) = 1/2(log2)2.

The Attempt at a Solution


I have tried various calculation that I know, such as integration by parts, but after ten hours with pieces of papers, I still have no idea on how to lead to the answer: 1/2(logx)2. It'd be appreciated if you gave me some hints!
 
Physics news on Phys.org
Masaki said:

Homework Statement


Let f(x)=∫1x (logt)/(t+1)dt if x>0. Compute f(x) + f(1/x). As a check, you should obtain f(2) + f(1/2) = 1/2(log2)2.

The Attempt at a Solution


I have tried various calculation that I know, such as integration by parts, but after ten hours with pieces of papers, I still have no idea on how to lead to the answer: 1/2(logx)2. It'd be appreciated if you gave me some hints!
Why do you think the answer is (1/2)(log(x))2 ?
 
Let me assume your log is ln. Well, directly integrating the original integral goes nowhere because it can't be represented by elementary functions.

This problem can be done by first finding f'(x)+f'(1/x) using Fundamental Theorem of Calculus
<br /> f(x)=\frac{d}{dx}\int _{a}^{x}f(\tau)d\tau<br />
f'(1/x) needs to be handled with care. use u substitution, then use chain rule for differentiation. After all that, you will be integrating a much nicer function that leads to 0.5ln2(x)

Masaki said:

Homework Statement


Let f(x)=∫1x (logt)/(t+1)dt if x>0. Compute f(x) + f(1/x). As a check, you should obtain f(2) + f(1/2) = 1/2(log2)2.

The Attempt at a Solution


I have tried various calculation that I know, such as integration by parts, but after ten hours with pieces of papers, I still have no idea on how to lead to the answer: 1/2(logx)2. It'd be appreciated if you gave me some hints!
 
Last edited:
hmm, I am afraid that Apostol wants us to solve it by applying integral and differential properties of logarithm function instead of FTC as I suggested in post #3.
 
If you brute force the integral (as I've tried in Mathematica), you get the PolyLog special function coming into play, as well as pi. In fact before I got Mathematica to simplify it, the answer it gave me for f(2) + f(1/2) looks like this:
\frac{\pi^{2}}{6} - Log[\frac{3}{2}] Log[2] + Log[2] Log[3] + PolyLog[2, -2] + <br /> PolyLog[2, -1/2]
which of course simplifies to \frac{1}{2}Log[2]^{2} but it is not intuitive at all.

So I'm sure Apostol wants you to employ those tricks.
 
klondike, I got it, thanks! I've realized that forgetting to multiply by -1/x2 led me to the wrong way, and made me believe that FTC won't make it. Now I can have sweet dreams.:smile:

SammyS, Apostol's Calculus has answers to numerical exercises in the back.
 
Masaki said:

Homework Statement


Let f(x)=∫1x (logt)/(t+1)dt if x>0. Compute f(x) + f(1/x). As a check, you should obtain f(2) + f(1/2) = 1/2(log2)2.

The Attempt at a Solution


I have tried various calculation that I know, such as integration by parts, but after ten hours with pieces of papers, I still have no idea on how to lead to the answer: 1/2(logx)2. It'd be appreciated if you gave me some hints!
Integrating to find f(x) directly gives a result which includes the Polylogarithm function.

Using substitution to find an alternate integral representation for f(1/x) can lead to an integral representation of f(x)+f(1/x) which can be integrated using elementary functions... And, yes, it does give the result that
\displaystyle f(x) + f\left(\frac{1}{x}\right)=\frac{\left(\ln(x)\right)^2}{2}\frac{}{}​
 
SammyS said:
Integrating to find f(x) directly gives a result which includes the Polylogarithm function.

Using substitution to find an alternate integral representation for f(1/x) can lead to an integral representation of f(x)+f(1/x) which can be integrated using elementary functions... And, yes, it does give the result that
\displaystyle f(x) + f\left(\frac{1}{x}\right)=\frac{\left(\ln(x)\right)^2}{2}\frac{}{}​

Would you suggest how did you obtain an alternate representation for f(1/x) that can be added to f(x)? Just substituting u=xt into f(1/x) yields
\displaystyle f\left(\frac{1}{x}\right) = \int_1^{1/x} \frac{\ln{t}}{t+1} dt = \ln{x} \int_1^x \frac{dt}{t+x} - \int_1^x \frac{\ln{t}}{t+x}dt​
and adding this to f(x) I get
\displaystyle f(x) + f\left(\frac{1}{x}\right) = \ln(x)\int_1^x \frac{dt}{t+x} + (x-1)\int_1^x \frac{\ln{t}}{(t+1)(t+x)}dt​
which I am not sure can be converted into an elementary function...
 
Masaki said:
Would you suggest how did you obtain an alternate representation for f(1/x) that can be added to f(x)? Just substituting u=xt into f(1/x) yields
\displaystyle f\left(\frac{1}{x}\right) = \int_1^{1/x} \frac{\ln{t}}{t+1} dt = \ln{x} \int_1^x \frac{dt}{t+x} - \int_1^x \frac{\ln{t}}{t+x}dt​
and adding this to f(x) I get
\displaystyle f(x) + f\left(\frac{1}{x}\right) = \ln(x)\int_1^x \frac{dt}{t+x} + (x-1)\int_1^x \frac{\ln{t}}{(t+1)(t+x)}dt​
which I am not sure can be converted into an elementary function...

Consider substituting y = \frac{1}{t} into the expression for f(x). Make sure you figure out the correct bounds. Now do a partial fraction decomposition. One term be f(1/x), the other will be easily integrable by parts. You can then solve a simple equation to derive the result required.
 
  • #10
Curious3141 said:
Consider substituting y = \frac{1}{t} into the expression for f(x). Make sure you figure out the correct bounds. Now do a partial fraction decomposition. One term be f(1/x), the other will be easily integrable by parts. You can then solve a simple equation to derive the result required.

Aha! It makes sense now!
\displaystyle f(x) = \int_1^x \frac{\ln{t}}{t+1} dt = \int_1^{1/x} \frac{-\ln{y}}{\frac{1}{y}+1} \cdot \frac{-1}{y^2} dy = \int_1^{1/x} \frac{\ln{y}}{y(y+1)} dy = - f\left(\frac{1}{x}\right) + \int_1^{1/x} \frac{\ln{y}}{y} dy​
which gives the answer. Wow, I learned a lot from this problem. Thanks, everyone!
 
  • #11
Masaki said:
Would you suggest how did you obtain an alternate representation for f(1/x) that can be added to f(x)? Just substituting u=xt into f(1/x) yields
\displaystyle f\left(\frac{1}{x}\right) = \int_1^{1/x} \frac{\ln{t}}{t+1} dt = \ln{x} \int_1^x \frac{dt}{t+x} - \int_1^x \frac{\ln{t}}{t+x}dt​
and adding this to f(x) I get
\displaystyle f(x) + f\left(\frac{1}{x}\right) = \ln(x)\int_1^x \frac{dt}{t+x} + (x-1)\int_1^x \frac{\ln{t}}{(t+1)(t+x)}dt​
which I am not sure can be converted into an elementary function...
I don't follow that substitution at all.

Anyway, here's what I did with this.

\displaystyle f\left(\frac{1}{x}\right) = \int_1^{1/x} \frac{\ln(t)}{t+1} dt

Let u = 1/t , then t = 1/u, and \displaystyle dt=-\frac{1}{u^2}du\,.

Furthermore, when t = 1/x, u = x .

Therefore, \displaystyle f\left(\frac{1}{x}\right) = -\int_1^{x} \frac{\ln(1/u)}{u^2(1/u+1)} du

ln(1/u) = -ln(u) .

u is a "dummy" variable, so change it to t, allowing you to combine the integrals.
 
  • #12
SammyS said:
I don't follow that substitution at all.

Anyway, here's what I did with this.

\displaystyle f\left(\frac{1}{x}\right) = \int_1^{1/x} \frac{\ln(t)}{t+1} dt

Let u = 1/t , then t = 1/u, and \displaystyle dt=-\frac{1}{u^2}du\,.

Furthermore, when t = 1/x, u = x .

Therefore, \displaystyle f\left(\frac{1}{x}\right) = -\int_1^{x} \frac{\ln(1/u)}{u^2(1/u+1)} du

ln(1/u) = -ln(u) .

u is a "dummy" variable, so change it to t, allowing you to combine the integrals.

Masaki's already successfully solved the problem using this method.
 
  • #13
Curious3141 said:
Masaki's already successfully solved the problem using this method.
Now, I see that!

Well, I started my previous post more than 3 hours ago, then came back to finish it. I didn't want to kill it after composing part of it, so I didn't look for any more recent posts.

At any rate, the approach is a little different. I suggested working with f(1/x), you suggested working with f(x). My approach didn't use partial fractions.
 
  • #14
SammyS said:
Now, I see that!

Well, I started my previous post more than 3 hours ago, then came back to finish it. I didn't want to kill it after composing part of it, so I didn't look for any more recent posts.

At any rate, the approach is a little different. I suggested working with f(1/x), you suggested working with f(x). My approach didn't use partial fractions.

Fair enough. It's a teensy weensy "potayto, potahto" sort of difference. :wink:
 

Similar threads

Back
Top