How Can We Simplify Evaluating the Improper Integral of Logarithmic Functions?

  • Context: Undergrad 
  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Integrals
Click For Summary

Discussion Overview

The discussion revolves around the evaluation of the improper integral ##\displaystyle \int_0^{ \infty} \log \left(1+ \frac{a^2}{x^2} \right) dx##. Participants explore methods for simplifying the evaluation process, addressing the challenges of handling improper integrals, and discussing the use of antiderivatives and limits.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests splitting the integral into two improper integrals for clarity, while expressing concern about the cumbersome nature of this approach.
  • Another participant questions the notation used for the variable of integration, seeking clarification on whether it is ##x## or ##a##.
  • Several participants note that an elementary antiderivative exists and suggest deducing it to simplify the evaluation.
  • Some participants argue that using limits is not always necessary when an antiderivative is known, although they acknowledge that limits are technically required.
  • One participant proposes integrating by parts as a method to approach the integral.
  • There is a discussion about the importance of notation and clarity when explaining solutions to others, with suggestions to optimize the presentation of the solution.
  • Some participants emphasize the need to keep limits visible due to their nontrivial nature in certain cases.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of using limits in the evaluation process, with some advocating for their omission when an antiderivative is known, while others argue for their inclusion due to potential complexities. The discussion remains unresolved regarding the best approach to take.

Contextual Notes

Participants highlight that the evaluation of the integral involves nontrivial limits and that the choice of notation can impact clarity in communication. There are also references to specific mathematical techniques that may affect the evaluation process.

Mr Davis 97
Messages
1,461
Reaction score
44
I am asked to evaluate the following integral: ##\displaystyle \int_0^{ \infty} \log \left(1+ \frac{a^2}{x^2} \right) dx##. So of course this is an improper integral, but I am confused about how to go writing out the integral. From previous courses, I know that you should split the integral so that you have two clear improper integrals, rather than one that is doubly improper, so something like ##\displaystyle \int_0^1 \log \left(1+ \frac{a^2}{x^2} \right) dx + \displaystyle \int_1^{ \infty} \log \left(1+ \frac{a^2}{x^2} \right) dx##, and then we're supposed to write this out with limits: ##\displaystyle \lim_{t \rightarrow 0} \int_t^1 \log \left(1+ \frac{a^2}{x^2} \right) dx + \lim_{s \rightarrow \infty} \int_1^s \log \left(1+ \frac{a^2}{x^2} \right) dx##, and we evaluate each improper integral separately. This is how I learned to do it, but it all seems very cumbersome.

Is there a better way of doing this? I feel like doing it this way just takes an unnecessarily long time
 
Last edited:
Physics news on Phys.org
Just to be clear, is the variable of integration ##x## or is it ##a##? That's why the ##\mathrm{d}x## or ##\mathrm{d}a## notation is there.
 
JoePhysics said:
Just to be clear, is the variable of integration ##x## or is it ##a##? That's why the ##\mathrm{d}x## or ##\mathrm{d}a## notation is there.
It's x
 
It's late here, but it does seem an elementary antiderivative exists. You could try deducing that and taking appropriate limits.
 
JoePhysics said:
It's late here, but it does seem an elementary antiderivative exists. You could try deducing that and taking appropriate limits.
I know that an antiderivative exists, and I know what it is. My question is, it seems very cumbersome to write out everything in terms of limits, so is there a better way?
 
With an antiderivative you don't need all those limits. Technically they are there, but you don't have to write it like that every time - unless your prof explicitly asks for that.
 
integrate it by parts
$$\int\log(1+a^2/x^2)dx=x\log(1+a^2/x^2)-\int xd\log(1+a^2/x^2)$$
or if you need only to prove the convergence use
$$\log(1+a^2/x^2)\sim a^2/x^2\quad x\to\infty,\quad a\ne 0$$ and for ##x## close to zero
$$\log(1+a^2/x^2)=\log(a^2+x^2)-2\log x$$
 
Last edited:
Mr Davis 97 said:
I know that you should split the integral so that you have two clear improper integrals, rather than one that is doubly improper

I don't believe that there would be anything wrong with

<br /> \underset{t\to 0^+}{\lim_{s\to\infty}} \int\limits_t^s \log\Big(1 + \frac{a^2}{x^2}\Big) dx<br />

The relevant thing is that you don't parametrize the both limits with the same parameter. For example don't integrate over set [\frac{1}{s},s].
 
mfb said:
With an antiderivative you don't need all those limits. Technically they are there, but you don't have to write it like that every time - unless your prof explicitly asks for that.
For you personally, if you were doing this integral with pencil on paper, how would you write it out? Would you first note that the integral is improper, then calculate the antiderivative separately, and then use that to calculate the value of he improper integral? This would seem like a better way that doing it all in one line with the limits and everything
 
  • #10
Mr Davis 97 said:
I know that an antiderivative exists, and I know what it is. My question is, it seems very cumbersome to write out everything in terms of limits, so is there a better way?

Mr Davis 97 said:
if you were doing this integral with pencil on paper, how would you write it out?

Can you specify what your objective really is? Do you simply want to find out a correct answer to the integral problem with as little work as possible, or are you interested to know how to explain and show the solution to other readers in as neat way as possible, while simultaneously avoiding writing anything that would be incorrect or against common rules?

If your objective is to simply find a correct answer, of course you can use what ever special notations you want in your own notes. There isn't going to be need for others to understand your tricks.

If your objective is to explain your solution to others, then it will be an art of optimizing notations.

Would you first note that the integral is improper, then calculate the antiderivative separately, and then use that to calculate the value of he improper integral? This would seem like a better way that doing it all in one line with the limits and everything

Chopping the calculation into pieces is usually a good idea. If I was given the task of explaining a solution without writing anything that would be wrong, I would first state that we can check that the derivative formula

<br /> D_x\Big(x\ln\Big(1 + \frac{a^2}{x^2}\Big) - 2a\arctan\Big(\frac{a}{x}\Big)\Big) = \ln\Big(1 + \frac{a^2}{x^2}\Big)<br />

is right for x&gt;0, and then I would state that based on this we know that

<br /> \int\limits_0^{\infty} \ln\Big(1 + \frac{a^2}{x^2}\Big)dx = \underset{t\to 0^+}{\lim_{s\to\infty}} \int\limits_t^s \ln\Big(1+ \frac{a^2}{x^2}\Big)dx<br />
<br /> = \lim_{s\to\infty}\Big(s\ln\Big(1+ \frac{a^2}{s^2}\Big) - 2a\arctan\Big(\frac{a}{s}\Big)\Big) - \lim_{t\to 0^+}\Big(t\ln\Big(1 + \frac{a^2}{t^2}\Big) - 2a\arctan\Big(\frac{a}{t}\Big)\Big)<br />

is right too. Of course you can add more steps between these, but the point is, that these are reasonably nice formulas, and there is nothing wrong or against the rules in these.

mfb said:
With an antiderivative you don't need all those limits. Technically they are there, but you don't have to write it like that every time - unless your prof explicitly asks for that.

Perhaps it looked like that from a distance, but when I took a closer look, some of these limits turned out to be nontrivial. Out of the four terms, two were almost like substitutions, one could be handled nicely with Taylor series, and one came the nicest with l'Hopital's rule, so in the end it seems that you should keep the limits visible.
 
Last edited:
  • Like
Likes   Reactions: BvU
  • #11
Mr Davis 97 said:
For you personally, if you were doing this integral with pencil on paper, how would you write it out? Would you first note that the integral is improper, then calculate the antiderivative separately, and then use that to calculate the value of he improper integral? This would seem like a better way that doing it all in one line with the limits and everything
That's what I would do. You still have nontrivial limits, but they are not important for finding the antiderivative.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K