Question
Question: $\int_{-\infty}^{\infty} \frac{\cos x}{4x^2 + 1} dx$...
∫−∞∞4x2+1cosxdx

2eπ
Solution
The integral ∫−∞∞4x2+1cosxdx can be evaluated using the method of contour integration in complex analysis.
1. Define the Complex Function:
Consider the complex function f(z)=4z2+1eiz. We are interested in the real part of ∫−∞∞f(x)dx, since cosx=Re(eix).
2. Identify the Poles:
The poles of f(z) are the values of z for which the denominator is zero:
4z2+1=0
4z2=−1
z2=−41
z=±−41=±2i
3. Choose the Contour:
We use a semi-circular contour CR in the upper half-plane. This contour consists of two parts:
- The real axis from −R to R, denoted as LR.
- A semi-circle ΓR of radius R in the upper half-plane, centered at the origin.
4. Identify Poles Inside the Contour:
For a sufficiently large R, only the pole z0=2i lies inside the contour CR (since it's in the upper half-plane).
5. Calculate the Residue:
The residue of f(z) at a simple pole z0 is given by Res(f,z0)=limz→z0(z−z0)f(z).
For z0=2i:
Res(f,2i)=limz→2i(z−2i)4z2+1eiz
Factor the denominator: 4z2+1=4(z2+41)=4(z−2i)(z+2i).
So,
Res(f,2i)=limz→2i(z−2i)4(z−2i)(z+2i)eiz
Res(f,2i)=limz→2i4(z+2i)eiz
Substitute z=2i:
Res(f,2i)=4(2i+2i)ei(i/2)=4ie−1/2
6. Apply the Residue Theorem:
According to the residue theorem, ∮CRf(z)dz=2πi∑Res(f,zk), where the sum is over all poles inside CR.
∮CRf(z)dz=2πi×4ie−1/2=42πe−1/2=2πe−1/2
7. Evaluate the Integral over the Contour as R→∞:
The integral over CR can be written as:
∮CRf(z)dz=∫LRf(z)dz+∫ΓRf(z)dz
∮CRf(z)dz=∫−RR4x2+1eixdx+∫ΓR4z2+1eizdz
As R→∞:
The integral over LR becomes the desired integral: limR→∞∫−RR4x2+1eixdx=∫−∞∞4x2+1eixdx.
For the integral over ΓR, we can apply Jordan's Lemma. Since P(z)=1 and Q(z)=4z2+1, and deg(Q)=2>deg(P)=0, Jordan's Lemma states that limR→∞∫ΓR4z2+1eizdz=0.
8. Equate the Results:
Therefore, as R→∞:
∫−∞∞4x2+1eixdx=2πe−1/2
9. Extract the Real Part:
We know that eix=cosx+isinx.
So, ∫−∞∞4x2+1cosx+isinxdx=2πe−1/2
∫−∞∞4x2+1cosxdx+i∫−∞∞4x2+1sinxdx=2πe−1/2
The integrand 4x2+1cosx is an even function, and 4x2+1sinx is an odd function. The integral of an odd function over a symmetric interval [−∞,∞] is zero.
Thus, ∫−∞∞4x2+1sinxdx=0.
Therefore, by comparing the real parts:
∫−∞∞4x2+1cosxdx=Re(2πe−1/2)=2πe−1/2=2eπ