Question
Question: Integrate \( \log (1 + {x^2}) \) ?...
Integrate log(1+x2) ?
Solution
Hint : In the question, we are asked to evaluate an indefinite integral. The given indefinite integral is not any kind of basic or special integral which can be directly integrated, We have to employ the method of integration by parts so as to work out the integral of the given function. Integration by parts is employed generally to integrate functions that are products of two functions. But in the given question, the same method has to be applied considering log(1+x2) as a product of log(1+x2) and 1 .
Complete step by step solution:
In the given problem, we are required to integrate the given function, log(1+x2) .
So, Consider I=∫log(1+x2)dx
We will integrate the function using integration by parts. For integration by parts, we express log(1+x2) as product of log(1+x2) and 1 . Hence, we get,
⇒I=∫log(1+x2)(1)dx
Now, we apply the formula for integration by parts,
∫f(x)g(x)dx=f(x)∫g(x)dx−∫[dxd(f(x))∫g(x)dx]dx
Considering log(1+x2) as the first function and (1) as the second function, we get,
I=[log(1+x2).∫1dx]−∫[dxd(log(1+x2)).∫1dx]dx
Now, we know that integral of (1) with respect to x is (x) and differentiation of log(1+x2) with respect to x is (1+x21)(2x) using chain rule.
⇒I=[log(1+x2).x]−∫1+x22x.xdx
⇒I=[x.log(1+x2)]−2∫1+x2x2dx
⇒I=[x.log(1+x2)]−2∫1+x21+x2−1dx
⇒I=[x.log(1+x2)]−2∫[1−1+x21]dx
Now, we know that integral of (1) with respect to x is (x) and integral of (1+x21) with respect to x is tan−1x . So, we et,
⇒I=[x.log(1+x2)]−2[x−tan−1x]+C
⇒I=−2x+2tan−1x+x.log(1+x2)+C
So, the correct answer is “ −2x+2tan−1x+x.log(1+x2)+C ”.
Note : This problem is a typical example where we can apply Integration by parts method without having any indication about the same because the given function is not a product of two functions. Care should be taken while choosing the order of the functions as it plays a crucial role in integrating the given function using integration by parts method.