Improper integral done two different ways

In summary, the conversation discussed Gauss's sarcastic remark about getting two different results when calculating a limit in two different ways, and how Wolfram Alpha also provided different results for a similar integral. The concept of Cauchy Principle Values was brought up, which can give a finite result for a divergent integral by taking the same limit for both integrals. However, this approach is not commonly used and there are some flaws in the calculation suggested by the conversation participants. It is recommended to further study Cauchy Principle Values for a better understanding of the topic.
  • #1
nomadreid
Gold Member
1,670
204
I think it was Gauss who calculated a limit in two different ways, getting -1/2 one way and infinity the other. As he didn't see the error, he wrote sarcastically, "-1/2 = infinity. Great is the glory of God" (In Latin). Anyway, it appears that Wolfram Alpha could do the same thing, as I asked it to calculate the integral of x/(x2-1) dx from x=0 to 2, which it said diverged... presumably having found the limit of the integral from 0 to 1, then from 1 to 2, and concluding that it diverged as soon as an infinity appeared. However, asking it (Wolfram α) to calculate the integral of 1/2*integral of ln |u| du from u = -1 to 3, it comes up with (ln(27)-4)/2, i.e., a finite result, presumably having subtracted the two identical limits before evaluating them. (I don't have "Pro" so I can only guess what path it took.) The two results should be equal, (integration by substitution). I am inclined to accept the finite result, but is there something I am missing here? Thanks in advance.
 
Physics news on Phys.org
  • #2
Gauss got two different results for a limit by (intentionally) applying two different rules for convergent sequences to a series he knew was not convergent. Here, you are taking what is often called the "Cauchy principle value" of a divergent integral by applying a technique that, properly, only applies to convergent integrals.

In general, if an integrand, f(x), has a singularity a x= b, the integral from a to c, with a< b< c, is given by [itex]\lim_{\alpha\to 0} \int_a^{b- \alpha} f(x) dx+ \lim_{\beta\to 0} \int_{b+\beta}^c f(x)dx[/itex]. Specifically, we do not take the two limits at b, from above and below, at the "same rate".

The "Cauchy principle value" is given by [itex]\lim_{\epsilon\to 0} \int_a^{b- \epsilon} f(x) dx+ \lim_{\epsilon\to 0} \int_{b+\epsilon}^c f(x)dx[/itex] where we do take the same limit in both integrals. It can be shown that if the first integral converges then so does the second and the give the same value. However, the second, the "Cauchy principal value" may converge when the first does not. But only the first is the true "improper integral".
 
  • Like
Likes fresh_42
  • #3
Thanks, HallsofIvy. Your response was illuminating, but I still have certain unresolved issues here.

I understand that the rate of approach to a number may be different from above and below, hence the limits cannot be added. But in this case, the integral of x/(x2-1) from 0 to 2 can be broken up into

the integral of x/(x2-1) from 0 to 1 + the integral of x/(x2-1) from 1 to 2;

because the integral from a to b = the negative of the integral from b to a, I can state this as

the integral of x/(x2-1) from 0 to 1 - the integral of x/(x2-1) from 2 to 1;

This becomes

[limit ln |x2 -1| from x=0 to 1 - limit ln |x2 -1| from x=2 to 1]/2

Because of the absolute value, we could state this as

[lim ln |u| from x = 1 to 0) - (lim ln |u| from x = 3 to 0)]/2

That is, both limits are approaching zero from the same direction. Therefore the possibility that they approach at the same rate has more credence; if it were so, then I could split the above into

[lim ln |u| from x = 1 to 0) - (lim ln |u| from x = 1 to 0)]/2 - (ln |u| from x = 3 to 1)/2 = -ln(3)/2

(which would agree with Wolfram’s finite assessment).

However, you state that the series diverges, which means that there is something invalid in the above. I would be grateful if you could tell me why you know it is divergent, and which step of the above is flawed.
 
  • #4
nomadreid said:
Therefore the possibility that they approach at the same rate has more credence;

This makes no sense. Limits are not interested in "approach the same rate" (unless you are talking about ratios of limits). The point of limits is that they generate the same answer irrespective of "rate", hence the default is that they approach at different rates. There are times when we use principal value integrals, but this extremely rare.

Honestly, you seem to be thinking more in terms of order notation than limit theory.
 
  • Like
Likes nomadreid
  • #5
Thanks for answering, pwsnafu. When I referred to "rates", I was taking my cue from the response of HallsofIvy (see his response). I assumed that he was referring to the way that one could add or subtract two integrals by adding or subtracting the corresponding series (which the integral would be the limit of) term-by-term, in which case the comparative rate of convergence of said series would be important; I furthermore assumed that he carried over the terminology to the corresponding integrals when deciding whether two integrals converging from two different sides could be or not be added or subtracted. However, I may be way off base, in which case I still need help in understanding why the calculation I did to show the integral I mentioned convergent is false, and why one can state (as HallsofIvy did) that the integral diverges (or can one never combine an infinite minuend with an infinite subtrahend?). Sorry for typing nonsense in my last reply; I am still trying to understand this question, and one way is to put up some test balloons based on my limited understanding, and if they are lead balloons, and least to find out why to be able to make "balloons" that do fly.
 
  • #6
Ah, ha. I have looked into Cauchy Principle Values, as HallsofIvy recommended. Now I better understand the issues, and so can close this thread. Again many thanks for the responses!
 

What is an improper integral?

An improper integral is an integral where one or both of the limits of integration are infinite or the integrand is unbounded at one or more points within the interval of integration. It is a type of integral that does not have a finite value and requires a special approach to evaluate.

Why is it important to evaluate improper integrals?

Improper integrals are important in many areas of science and mathematics, as they allow us to calculate the area under a curve even when the limits of integration are infinite or the integrand is unbounded. They also have applications in physics, engineering, and statistics.

What are the two methods for evaluating improper integrals?

The two methods for evaluating improper integrals are the limit definition method and the comparison test method. The limit definition method involves taking the limit as one or both of the limits of integration approach infinity, while the comparison test method involves comparing the improper integral to a known convergent or divergent integral.

How do you know which method to use when evaluating an improper integral?

The method for evaluating an improper integral depends on the specific integral and its properties. In general, the limit definition method is used for integrals with unbounded integrands, while the comparison test method is used for integrals with infinite limits of integration.

What are some common mistakes to avoid when evaluating improper integrals?

Some common mistakes to avoid when evaluating improper integrals include forgetting to take the limit when using the limit definition method, using the wrong comparison integral when using the comparison test method, and forgetting to split the integral into multiple parts when necessary.

Similar threads

Replies
8
Views
306
  • Calculus
Replies
2
Views
1K
Replies
8
Views
176
Replies
12
Views
1K
Replies
3
Views
1K
Replies
1
Views
1K
Replies
8
Views
425
Replies
5
Views
1K
Replies
2
Views
291
Replies
8
Views
1K
Back
Top