Integral of $\int_0^{\infty} \frac{\sin^2(x)}{x^2+1}dx$ using Feynman integration.

calculusdefinite integralslaplace transformmultivariable-calculusordinary differential equations

Using $$I(t) = \int_0^\infty \frac{\sin^2(tx)}{x^2+1}dx$$ I want to know how to get an answer using Feynman integration and the Laplace transform of a differential equation. The correct answer is $\frac{(1-e^{-2})\pi}{4}$, but I keep getting $(1-e^{-2})\pi$, so I want to see where I have made a mistake.

Here is the method: setting $t = 1$ provides the integral in question. By repeatedly differentiating $I(t)$, you can obtain the differential equation that $4 I'(t) = I'''(t)$. Setting $J(t) = I'(t)$, use a Laplace transform to obtain $J(t)$. Now integrate $\int_0^1 J(t)dt$, which is equal to $I(1) – I(0)$ from the second fundamental theorem of calculus. Since $I(0) = 0$, solving for $I(1)$ yields the integral in question.

Keep in mind that I'm still in high school, so all I really know how to do is partial derivatives and Laplace transforms to solve differential equations. If something is beyond the subjects of multivariable calculus, please continue to answer the question, but know that what I am looking for is an answer through the Feynman technique and Laplace transforms.

Best Answer

First, note that $\sin^2(tx)=\frac12(1-\cos(2tx))$. Hence, we see that

$$I(t)=\frac\pi4-\frac12 \int_0^\infty \frac{\cos(2tx)}{x^2+1}\,dx\tag1$$

Differentiating under the integral in $(1)$ can be justified by noting that the integral $\int_0^\infty \frac{x\sin(2tx)}{x^2+1}\,dx$ converges uniformly for $|t|\ge \delta>0$. Proceeding reveals

$$\begin{align} I'(t)&=\int_0^\infty \frac{x\sin(2tx)}{x^2+1}\,dx\\\\ &=\int_0^\infty \frac{(x^2+1-1)\sin(2tx)}{x(x^2+1)}\,dx\\\\ &=\int_0^\infty \frac{\sin(2tx)}{x}\,dx-\int_0^\infty \frac{\sin(2tx)}{x(x^2+1)}\,dx\\\\ &=\frac\pi2 \text{sgn}(t)-\int_0^\infty \frac{\sin(2tx)}{x(x^2+1)}\,dx\tag2 \end{align}$$

Similarly, we can differentiate $(2)$ to obtain

$$\begin{align} I''(t)&=-2\int_0^\infty \frac{\cos(2tx)}{x^2+1}\,dx\\\\ &=4I(t)-\pi\tag3 \end{align}$$

From $(3)$ we have $I''(t)-4I(t)=-\pi$, while from $(1)$ we see that $I(0)=0$ and from $(2)$ we see that $\lim_{t\to 0^\pm}I'(t)=\pm \frac\pi2$. Solving this ODE with these initial conditions, we find

$$I(t)=\frac\pi4 -\frac\pi4 e^{-2|t|}$$

Related Question