Question
Question: If we have the function \(f(x)=\dfrac{2-x\cos x}{2+x\cos x}\) and \(g(x)={{\log }_{e}}x\)(x > 0) the...
If we have the function f(x)=2+xcosx2−xcosx and g(x)=logex(x > 0) then the value of integral −4π∫4πg(f(x))dx is
(a) loge3
(b) loge2
(c) logee
(d) loge1
Solution
To solve this question, firstly we will find the value of composite function, g(f(x)) where f(x)=2+xcosx2−xcosx and g(x)=logex. Then, we will substitute the value of g(f(x)) in integral −4π∫4πg(f(x))dx and let the integral be equals to I. after that we will replace x by –x and add the both integral. After that, we will simplify the integral and using properties of log we will obtain the value of integral.
Complete step-by-step solution:
Now let us find g(f(x)).
We are given that, f(x)=2+xcosx2−xcosx and g(x)=logex
The, we can say that g((2+xcosx2−xcosx))
So, g(f(x))=loge(2+xcosx2−xcosx)
So, in question we are asked to evaluate the value of integral −4π∫4πg(f(x))dx.
So, putting the value of g(f(x))=loge(2+xcosx2−xcosx) in the integral −4π∫4πg(f(x))dx, we get
⇒−4π∫4πloge(2+xcosx2−xcosx)dx
So, let integral be equals to I
So, I=−4π∫4πloge(2+xcosx2−xcosx)dx…………... ( i )
Let us replace, x by – x, we get
I=−4π∫4πloge(2+(−x)cosx2−(−x)cosx)dx
On simplifying, we get
I=−4π∫4πloge(2−xcosx2+xcosx)dx………………... ( ii )
Adding ( i ) and ( ii ), we get
I+I=−4π∫4πloge(2+xcosx2−xcosx)dx+−4π∫4πloge(2−xcosx2+xcosx)dx
⇒2I=−4π∫4πloge(2+xcosx2−xcosx)dx+−4π∫4πloge(2−xcosx2+xcosx)dx
As limits of both integral are same, so we can add both functions too,
So, we get
2I=−4π∫4π(loge(2+xcosx2−xcosx)+loge(2−xcosx2+xcosx))dx
On simplifying, we get
2I=−4π∫4πloge(2+xcosx2−xcosx)(2−xcosx2+xcosx)dx, as we know that logax+logay=logaxy .
On simplifying, we get
2I=−4π∫4πloge1dx
As, loge1 is constant value, so we can pull this out of integral.
So, we get
2I=loge1−4π∫4π1dx
We know that, ∫1.dx=x
So, 2I=loge1.x−4π4π
On putting, upper limit as 4π and lower limit as −4π, we get
2I=loge1.(4π−(−4π))
On simplifying, we get
2I=loge1.(42π)
⇒I=loge1.(2.42π)
Now, we know that loge1=0, so we get
I=0
Hence, option ( d ) is correct.
Note: To solve such questions, one must know how we calculate the composite function when we are given two functions because we cannot proceed without this step. Also, remember the property of definite integration which is a∫bf(x)dx=F(a)−F(b) ,where F is the integration of f ( x ) and a is lower limit and b is upper limit. One must know the properties and values of logarithmic function such as logax+logay=logaxy and loge1=0. Try not to make any calculation error, while solving the integral.