Can we use integration by parts for improper integrals?

Click For Summary

Discussion Overview

The discussion revolves around the application of integration by parts to improper integrals, specifically examining the integral of \(\sin{x}/x\) over the entire real line. Participants explore the implications of singularities and the behavior of integrals at infinity.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant notes that the integral \(\int_{-\infty}^\infty \sin{x}\frac{1}{x}dx\) is equal to \(\pi\), but their attempt to apply integration by parts leads to an infinite result.
  • Another participant points out the singularity at \(x=0\) and suggests evaluating the integral from \(0\) to \(\infty\) and doubling it, as the integrand is even.
  • A participant questions the correctness of their initial integration by parts calculation, seeking clarification on where they went wrong.
  • Concerns are raised about the divergence of the integral \(\int_{-\infty}^\infty \cos{x}/x^2 dx\) as \(x\) approaches zero, with some arguing that divergence at a point does not necessarily imply divergence of the integral around that point.
  • One participant introduces the delta function as an example of a divergent integrand that still yields a finite integral, prompting further discussion on the nature of divergences.
  • Another participant asserts that integration by parts always works, but acknowledges that the specific case led to an indeterminate form of \(\infty - \infty\).
  • There is a discussion about the discontinuity of \(\cos{x}/x\) at \(x=0\) and how it affects the validity of integration by parts in this context.
  • One participant attempts to clarify their reasoning by expressing the limits involved in their integration by parts approach, concluding that it diverges for any chosen constant.

Areas of Agreement / Disagreement

Participants express differing views on the application of integration by parts to improper integrals, with some asserting that it can lead to indeterminate forms, while others question the validity of the approach due to singularities. No consensus is reached on the correct application or interpretation of the results.

Contextual Notes

Participants highlight the importance of considering singularities and the behavior of functions at infinity when applying integration techniques. The discussion reveals complexities in handling improper integrals and the potential for indeterminate forms arising from integration by parts.

daudaudaudau
Messages
297
Reaction score
0
What's up with this

[tex] \int_{-\infty}^\infty \sin{x}\frac{1}{x}dx=\pi[/tex]

Now I try integration by parts
[tex] \int_{-\infty}^\infty \sin{x}\frac{1}{x}dx=[-\cos{x}\frac{1}{x}]_{-\infty}^\infty-\int_{-\infty}^\infty \cos{x}\frac{1}{x^2}dx = -\int_{-\infty}^\infty \cos{x}\frac{1}{x^2}dx = \infty[/tex]

Why don't I get the same result?
 
Physics news on Phys.org
There is a singularity at x=0 which cannot be ignored. To get a clearer picture, carry out the original integral (0,∞) and double it (the integrand is an even function). The integration by parts will now have two ∞'s.
 
Yes that works, but what did I do wrong in my initial calculation? I just used integration by parts.
 
so how did you do the first and last integrals? how do you know the first integral equals pi and how did you integrate cos/x^2
 
Here's a bunch of ways for evaluating int sin(x)/x: http://www.mathlinks.ro/viewtopic.php?t=197640

The last integral is obviously divergent because the integrand diverges as 1/x^2 as x goes to zero. If you're trying to give me a hint, then I think I missed it.
 
um the integrand in

[tex]\int_{-\epsilon}^{\epsilon}\delta(x)dx[/tex]

diverges as x goes to zero as well the integral is 1.

now someone might call b.s. on me because really that's a definition but still my point is you can't reason just cause there's a divergence at some point that the integral around that point diverges (or can you?)
 
ice109 said:
um the integrand in

[tex]\int_{-\epsilon}^{\epsilon}\delta(x)dx[/tex]

diverges as x goes to zero as well the integral is 1.

now someone might call b.s. on me because really that's a definition but still my point is you can't reason just cause there's a divergence at some point that the integral around that point diverges (or can you?)
The "delta function" is not an integrable function.
 
So what's wrong with the way I use integration by parts? :-)
 
daudaudaudau said:
So what's wrong with the way I use integration by parts? :-)

Because cosx/x is discontinuous at x = 0 (it's ∞ at 0+, and -∞ at 0-) :wink:
 
  • #10
So is there some general rule for when integration by parts works and when it fails?
 
  • #11
integration by parts always works.

what went wrong in this case was you got ∞ - ∞, which is an indeterminate form :wink:
 
  • #12
What do you mean? I got
[tex] \int_{-\infty}^\infty \sin{x}\frac{1}{x}dx=\pi = -\int_{-\infty}^\infty \cos{x}\frac{1}{x^2}dx = \infty<br /> [/tex]

Somehow it must be wrong to write
[tex] \int_{-\infty}^\infty \sin{x}\frac{1}{x}dx= -\int_{-\infty}^\infty \cos{x}\frac{1}{x^2}dx<br /> [/tex]

but I don't see why, because I just used the formula for integration by parts.
 
  • #13
No, you also got [-cosx/x]-∞, = [-cosx/x]-∞0 + [-cosx/x]0, = ∞ + ∞.
 
  • #14
tiny-tim said:
No, you also got [-cosx/x]-∞, = [-cosx/x]-∞0 + [-cosx/x]0, = ∞ + ∞.

I guess you are right. I never thought about that. What I have is

[tex] \left[\frac{\cos{x}}{x}\right]_{-\infty}^\infty=\int_{-\infty}^\infty\frac{d}{dx}\frac{\cos{x}}{x}dx = \lim_{a\rightarrow\infty}\int_{c}^a\frac{d}{dx}\frac{\cos{x}}{x}dx+\lim_{b\rightarrow-\infty}\int_{b}^c\frac{d}{dx}\frac{\cos{x}}{x}dx[/tex]

where [itex]c[/itex] is any real constant. This clearly diverges for any [itex]c[/itex] ...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K