This integral is a classic example and can be solved using various methods, such as Laplace transforms or contour integration. Here, we will use Laplace transforms.
Let I(t)=∫0∞xsin(x)e−txdx. We want to find I(0). Differentiating with respect to t, we have: dtdI(t)=dtd∫0∞xsin(x)e−txdx=∫0∞∂t∂(xsin(x)e−tx)dx=∫0∞xsin(x)(−xe−tx)dx=−∫0∞sin(x)e−txdx Now we need to evaluate the integral ∫0∞sin(x)e−txdx. We can use integration by parts twice or recall that ∫0∞e−axsin(bx)dx=a2+b2b In our case, a=t and b=1, so ∫0∞e−txsin(x)dx=t2+11 Therefore, dtdI(t)=−t2+11. Integrating with respect to t, we get I(t)=−∫t2+11dt=−arctan(t)+C Now, we need to determine the constant C. As t approaches infinity, I(t) approaches 0 because the exponential term e−tx makes the integral vanish. Thus, limt→∞I(t)=0. Also, limt→∞−arctan(t)=−2π. So, 0=−2π+C, which means C=2π. Therefore, I(t)=−arctan(t)+2π. We want to find I(0), which is ∫0∞xsin(x)dx. I(0)=−arctan(0)+2π=−0+2π=2π.