Question
Question: The value of the integral \(\int\limits_{-\dfrac{\pi }{3}}^{\dfrac{\pi }{3}}{\dfrac{x\sin x}{{{\cos ...
The value of the integral −3π∫3πcos2xxsinxdx is
(a) (3π−logtan23π),
(b) 2(32π−logtan125π),
(c) 3(2π−logtan12π),
(d) none of these.
Solution
To solve the question given above, we will change the limit form (−3π to 3π)to(0 to 32π) with the help of the fact that the term after integration is function. Then we will change the term cos2xsinx such that we can apply by parts to the integral and after applying by parts and solving the indefinite part, we will apply limit.
Complete step by step answer:
To start with, we will find whether the function is odd or even. For this, we will put (-x) in place of x. Let f(x)=cos2xxsinx. Thus, f(−x) will be:
⇒f(−x)=cos2x(−x)sin(−x)⇒f(−x)=cos2x−xsin(−x)
Now, we know that sin(−x)=−sinx. Thus, we will get:
⇒f(−x)=cos2x−x(−sinx)⇒f(−x)=cos2xsinx⇒f(−x)=f(x)
Hence it is an even function.
Now, we know that, if a function g (x) is an even function and the integral given is of the form:−a∫ag(x)dx then, we will have:
−a∫ag(x)dx=2−a∫ag(x)dx.
Let I be the value of the integral given in the question. Thus, we have:
I=−3π∫3πcos2xxsinxdx⇒I=20∫3πcos2xxsinxdx.........(1)
Now, we know that , f(x)=cos2xxsinx.........(2).
We can also write this as:
⇒f(x)=(cosx)(cosx)xsinx⇒f(x)=(cosxx)(cosxsinx)
Now, we know that: cosx1=secx and cosxsinx=tanx, we will put these values in the above equation thus, we get:
⇒f(x)=(xsecx)(tanx)⇒f(x)=xsecxtanx.........(3)
From (2) and (3), we have:
cos2xxsinx=xsecxtanx.
Now, we will put the value of cos2xxsinx in equation (1). Thus, we will get:
⇒I=20∫3πxsecx tanx dx.
Now to solve this integration, we will use the method of by-parts. According to by-parts method, we have: ∫(uv)dx=v∫udx−∫(dxdv×∫udx)dx. We also know while performing an integration for definite integral, we substitute limits after normal integration to the integrand i.e., a∫bf′(x)dx=[f(x)]ab.
In our case, we will take u=x and v=secx tanx. Thus, we will get:
⇒I=20∫3π(x)(secxtanx)dx⇒I=2[x∫secxtanxdx−∫dxdx∫secxtanx(dx)2]03π⇒I=2[x∫secxtanxdx−∫1∫secxtanx(dx)2]03π.........(4)
Now, we know that differentiation of secx is given by:
dxd(secx)=secxtanx⇒secx=∫secxtanxdx⇒∫secxtanxdx=secx+c.........(5)
Now, we will put the value of ∫secxtanx from (5) to (4). Thus, we will get:
⇒I=2[x(secx)−∫secxdx]03π..........(6).
Now, the integration of secθ is given by:
∫secθdθ=log(secθ+tanθ)+c.
Thus, using the above formula in (6), we will get:
⇒I=2[xsecx−log(secx+tanx)]03π.
Now, we have to find the indefinite integral so we will apply the limits on this indefinite integral we calculated. The limit of any integral can be applied by:
∫A(x)=[B(x)]ab=B(b)−B(a).
Thus, we will have:
⇒I=2[3πsec(3π)−log(sec3π+tan3π)−(0sec0−log(sec0+tan0))]⇒I=2[3πsec(3π)−log(sec3π+tan3π)−0sec0+log(sec0+tan0)]
Now, we will put the values of sec3π,tan3π,sec0,tan0 is the above integral:
sec3π=2tan3π=3sec0=1tan0=0
So, we have:
⇒I=2[3π(2)−log(2+3)−0(0)+log(1+0)]⇒I=2[32π−log(2+3)−0+0]⇒I=2[32π−log(2+3)]...............(7)
Now, we know that: tan125π=2+3.........(8).
Thus, we will put the value of (2+3) in equation (7) from (8):
⇒I=2[32π−logtan125π].
So, the correct answer is “Option B”.
Note: The term given in the question after the integration sign is an even function. If the function had been an odd function then we could not have used the identity:
−a∫ag(x)dx=20∫ag(x)dx.
If the function g(x) is odd function, then we have:
−a∫ag(x)dx=0.
We can solve the question without using the concept of odd and even functions. We can simply solve the question and put the limit from (−3πto3π).