Why do I get two different values for an integral?

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

Discussion Overview

The discussion revolves around the evaluation of the integral ##I(t) = \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx}## and the apparent discrepancy in its value when evaluated at ##t=0## using two different forms of the integral. Participants explore the implications of their calculations and the behavior of the integral as it approaches this limit.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants note that in form 1, it appears that ##I(0) = 0##, while in form 2, it seems that ##I(0) = \pi##, leading to confusion about the correct value.
  • A participant suggests that the issue arises from extending the integral by introducing a singularity at ##x=0##.
  • Another participant proposes using complex analysis and the residue theorem to evaluate the integral, suggesting that this approach yields a different expression for ##I(t)##.
  • Some participants emphasize that the integral ##\int_{-\infty}^{+\infty} \frac{\sin(tx)}{x} dx##, referred to as ##F(t)##, behaves differently depending on the sign of ##t##, with specific values at ##t=0##.
  • There is a discussion about the nature of the integrand being an even function, which some participants argue should lead to ##I(0) = 0## in form 1.
  • One participant asserts that ##\sin(tx) = 0## when ##t=0##, which contributes to the evaluation of the integral.

Areas of Agreement / Disagreement

Participants express differing views on the evaluation of the integral at ##t=0##, with no consensus reached on the correct interpretation or resolution of the discrepancy between the two forms.

Contextual Notes

The discussion highlights potential limitations in the treatment of singularities and the assumptions made when manipulating the integral. The dependence on the definitions and behavior of the sine function at specific limits is also noted.

Mr Davis 97
Messages
1,461
Reaction score
44
Suppose ##t \ge 0##. Let ##\displaystyle I(t) = \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx}##. Call this form 1.

Note that we can also write the integral as
$$
\begin{align*}
I(t) &= \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx} \\
&= \int_{-\infty}^{\infty}\frac{(x^2+1-1) \sin (tx)}{x(x^2+1)}~\text{dx} \\
&= \int_{-\infty}^{\infty}\frac{\sin (tx)}{x}~\text{dx} - \int_{-\infty}^{\infty}\frac{\sin (tx)}{x(x^2+1)}~\text{dx} \\
&= \pi - \int_{-\infty}^{\infty}\frac{\sin (tx)}{x(x^2+1)}~\text{dx} \\
\end{align*}
$$
Call this form 2.

Now, in form 1, it seems that ##I(0) = 0##, while in form 2 it seems that ##I(0) = \pi##. Why am I getting two different values, and what am I doing wrong?
 
Physics news on Phys.org
Mr Davis 97 said:
Suppose ##t \ge 0##. Let ##\displaystyle I(t) = \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx}##. Call this form 1.

Note that we can also write the integral as
$$
\begin{align*}
I(t) &= \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx} \\
&= \int_{-\infty}^{\infty}\frac{(x^2+1-1) \sin (tx)}{x(x^2+1)}~\text{dx} \\
&= \int_{-\infty}^{\infty}\frac{\sin (tx)}{x}~\text{dx} - \int_{-\infty}^{\infty}\frac{\sin (tx)}{x(x^2+1)}~\text{dx} \\
&= \pi - \int_{-\infty}^{\infty}\frac{\sin (tx)}{x(x^2+1)}~\text{dx} \\
\end{align*}
$$
Call this form 2.

Now, in form 1, it seems that ##I(0) = 0##, while in form 2 it seems that ##I(0) = \pi##. Why am I getting two different values, and what am I doing wrong?

The culprit is the integral ##\int_{-\infty}^{+\infty} \dfrac{sin(tx)}{x} dx##. Call that integral ##F(t)##. If ##t > 0##, then you can perform a variable change ##x \rightarrow tx## to transform the integral into: ##\int_{-\infty}^{+\infty} \dfrac{sin(x)}{x} dx = \pi##. If ##t < 0##, then since ##sin(tx) = - sin(-tx)##, it should be clear that ##F(t) = -\pi##. When ##t=0##, ##F(t) = 0##.
 
Your initial integral is well-defined, but then you extended it by ##\frac{x}{x}## and integrated over the now singularity at ##x=0##.
 
  • Like
Likes   Reactions: Fred Wright
I suggest that you extend the integral to the complex plane and use the residue theorem. I get:$$ I(t)= i\pi sinh(t) $$
I don't see how to solve this integral w/o complex analysis.
 
Mr Davis 97 said:
Suppose ##t \ge 0##. Let ##\displaystyle I(t) = \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx}##. Call this form 1.

Note that we can also write the integral as
$$
\begin{align*}
I(t) &= \int_{-\infty}^{\infty}\frac{x \sin (tx)}{x^2+1}~\text{dx} \\
&= \int_{-\infty}^{\infty}\frac{(x^2+1-1) \sin (tx)}{x(x^2+1)}~\text{dx} \\
&= \int_{-\infty}^{\infty}\frac{\sin (tx)}{x}~\text{dx} - \int_{-\infty}^{\infty}\frac{\sin (tx)}{x(x^2+1)}~\text{dx} \\
&= \pi - \int_{-\infty}^{\infty}\frac{\sin (tx)}{x(x^2+1)}~\text{dx} \\
\end{align*}
$$
Call this form 2.

Now, in form 1, it seems that ##I(0) = 0##, while in form 2 it seems that ##I(0) = \pi##. Why am I getting two different values, and what am I doing wrong?
Why is ##I(0)=0## in form 1? The integrand is an even function of ##x##.
 
mathman said:
Why is ##I(0)=0## in form 1? The integrand is an even function of ##x##.

Because ##sin(tx) = 0## when ##t=0##.
 

Similar threads

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