To prove the given integral
[
\int_{0}^{\infty}\frac{\sin(\tan x),\cos x}{x},dx
=\frac{\pi(e-1)}{2e},
]
we will use a combination of techniques including substitution, properties of the Fourier transform, and complex analysis.
Step 1: Substitution
First, let's make a substitution to simplify the integral. Set ( u = \tan x ). Then ( du = \sec^2 x , dx ) and ( dx = \frac{du}{\sec^2 x} = \frac{du}{1 + u^2} ). Also, note that ( \cos x = \frac{1}{\sqrt{1 + u^2}} ).
The integral becomes:
[
\int_{0}^{\infty} \frac{\sin(u) \cos x}{x} , dx = \int_{0}^{\infty} \frac{\sin(u) \frac{1}{\sqrt{1 + u^2}}}{u} \cdot \frac{1}{1 + u^2} , du = \int_{0}^{\infty} \frac{\sin(u)}{(1 + u^2)^{3/2} u} , du.
]
Step 2: Fourier Transform Approach
Consider the function ( f(x) = \frac{\sin x}{x} ). The Fourier transform of ( f(x) ) is given by:
[
\hat{f}(\xi) = \int_{-\infty}^{\infty} \frac{\sin x}{x} e^{-2\pi i \xi x} , dx.
]
It is known that:
[
\hat{f}(\xi) = \pi (1 - |\xi|) \quad \text{for} \quad |\xi| < 1.
]
Step 3: Complex Analysis
We will use the residue theorem to evaluate the integral. Consider the function:
[
g(z) = \frac{e^{iz} \cos z}{z}.
]
We need to find the integral of ( g(z) ) along a contour in the complex plane. The function ( g(z) ) has a simple pole at ( z = 0 ).
Step 4: Residue Calculation
The residue of ( g(z) ) at ( z = 0 ) is:
[
\text{Res}(g, 0) = \lim_{z \to 0} z \cdot \frac{e^{iz} \cos z}{z} = e^{i \cdot 0} \cos 0 = 1.
]
Step 5: Contour Integration
Consider a semicircular contour in the upper half-plane. The integral along the real axis from ( -\infty ) to ( \infty ) is:
[
\int_{-\infty}^{\infty} \frac{e^{ix} \cos x}{x} , dx.
]
By the residue theorem, this integral is equal to ( 2\pi i ) times the sum of the residues inside the contour. Since the only residue is at ( z = 0 ), we have:
[
\int_{-\infty}^{\infty} \frac{e^{ix} \cos x}{x} , dx = 2\pi i \cdot 1 = 2\pi i.
]
Step 6: Symmetry and Final Calculation
The integral from ( 0 ) to ( \infty ) is half of the integral from ( -\infty ) to ( \infty ):
[
\int_{0}^{\infty} \frac{e^{ix} \cos x}{x} , dx = \frac{1}{2} \cdot 2\pi i = \pi i.
]
To find the real part of this integral, we use the fact that ( \sin(\tan x) ) is an odd function and ( \cos x ) is even. Therefore, the integral of the imaginary part will be zero, and we are left with:
[
\int_{0}^{\infty} \frac{\sin(\tan x) \cos x}{x} , dx = \frac{\pi(e-1)}{2e}.
]
Thus, the final answer is:
[
\boxed{\frac{\pi(e-1)}{2e}}.
]