Question
Question: Integration of \[\dfrac{{\sin x}}{x}\] from \[0\] to infinity?...
Integration of xsinx from 0 to infinity?
Solution
Hint : Here we will first consider the integration of a function which contains the given function. Then we will differentiate that function with respect to one of the variables, keeping the other as constant. Further we will integrate that derivative and equate it with the original function because the integral of the derivative gives the original function. Then we will find the value of constant and further we will find the integral 0∫∞xsinxdx.
Complete step-by-step answer :
Let,
I(s)=0∫∞xsinxe−sxdx
Now we will differentiate it with respect to s, keeping x as constant.
⇒I′(s)=dsd[0∫∞xsinxe−sxdx]
We know that,
dsde−sx=−xe−sx
So, using this we will differentiate the integral. So, we get,
⇒I′(s)=0∫∞xsinx(−x)e−sxdx
Now we will cancel x and take out the minus sign. So, we get,
⇒I′(s)=−0∫∞e−sxsinxdx
⇒−I′(s)=0∫∞e−sxsinxdx
Now we will use integration by parts to integrate the above integral.
First of all, we will number the functions using the ILATE rule. So, sinx will be the first function and e−sx will be the second function. Now integrating according to the formula for integration by parts. We have;
⇒−I′(s)=sinx∫e−sxdx−∫(dxdsinx×∫e−sxdx)dx
We know that,
∫e−sxdx=s−e−sx
Using this in the above integral we get;
⇒−I′(s)=sinx(s−e−sx)−∫cosx×(s−e−sx)dx
On rearranging we get;
⇒−I′(s)=s−1e−sxsinx+s1∫e−sxcosxdx
Now for the second term on the RHS we will again carry out integration by parts in which the first function will be cosx and the second function will be e−sx. So, we get;
⇒−I′(s)=s−1e−sxsinx+s1[cosx∫e−sxdx−∫(dxdcosx×∫e−sxdx)dx]
Again, we will use that;
∫e−sxdx=s−e−sx
So, we have;
⇒−I′(s)=s−1e−sxsinx+s1[cosx(s−e−sx)−∫−sinx×(s−e−sx)dx]
On further simplification we have;
⇒−I′(s)=s−1e−sxsinx+s1[cosx(s−e−sx)−s1∫e−sxsinxdx]
Now we will take the terms out of the bracket. So, we have;
⇒−I′(s)=s−1e−sxsinx−s21e−sxcosx−s21∫e−sxsinxdx
Now we will put the limits, so we have;
⇒−I′(s)=[s−1e−sxsinx−s21e−sxcosx]0∞−s210∫∞e−sxsinxdx
Now we can see that the integral in the RHS is the same integral that we have assumed to be equal to I′(s).
So, we can write;
⇒−I′(s)=[s−1e−sxsinx−s21e−sxcosx]0∞+s2I′(s)
Now we will shift the last term to LHS.
⇒(−1−s21)I′(s)=[s−1e−sxsinx−s21e−sxcosx]0∞
Now we will put the limits.
⇒(s2−s2−1)I′(s)=[s−1e−∞ssin∞−s21e−∞scos∞]−[s−1e−0ssin0−s21e−0scos0]
We know that;
e−∞s=0
sin∞ is a number oscillating between −1,1.
cos∞ is also a number oscillating between −1,1.
So,
\Rightarrow $$$${e^{ - \infty s}}\cos \infty = 0
\Rightarrow $$$${e^{ - \infty s}}\sin \infty = 0.
So, we get,
⇒(s2−s2−1)I′(s)=[0−0]−[0−s21]
⇒(s2−s2−1)I′(s)=s21
So, on cancelling the terms and shifting we get;
⇒I′(s)=−s2−11
Taking the minus sign common we get;
⇒I′(s)=s2+1−1
Now we will integrate this with respect to s. So, we get;
⇒∫I′(s)ds=∫s2+1−1ds
Now we know that; ∫x2+11dx=tan−1x+c
So, using this we get,
⇒I(s)=−tan−1s+c
But we have;
I(s)=0∫∞xsinxe−sxdx
So, both of them are equal and hence we have,
⇒−tan−1s+c=0∫∞xsinxe−sxdx
Now to find the value of constant we will put s=∞. So, we have
⇒−tan−1∞+c=0∫∞xsinxe−∞xdx
Now we know, e−∞s=0 and tan−1∞=2π.
So, the whole term on the RHS becomes zero.
⇒−2π+c=0
⇒c=2π
Now we will put the value of c. So, we get;
⇒0∫∞xsinxe−sxdx=−tan−1s+2π
Now we will put s=0.
⇒0∫∞xsinxe−0xdx=−tan−10+2π
Now we know, e0=1 and tan−10=0.
So, we get,
⇒0∫∞xsinxdx=2π
So, the correct answer is “2π”.
Note : One important thing to note here is that while performing integration by parts method we should always choose the first or second function by the ILATE rule. Here, I stand for inverse trigonometric function, L stands for logarithmic function, A stands for algebraic function, T stands for trigonometric function, E stands for exponential function. We can also solve this question by the use of Fourier transform.