Question
Question: Integrate the function \(x {\tan}^{-1}x\)....
Integrate the function xtan−1x.
Solution
Hint: We know that this function is not integrable directly. So, we will use integration by parts to solve this function. The formula is given by-
∫vdxdu.dx=vu−∫udxdvdx
Complete step-by-step solution -
We don’t know the integration of tan-1x, so we will assume v = tan-1x and u = x. So, we can write that-
⇒∫xtan−1xdx=[tan−1x∫xdx]−∫[(∫xdx).dxdtan−1x]dx
⇒∫xtan−1xdx=2x2tan−1x−∫2(1+x2)x2dx
⇒∫xtan−1xdx=2x2tan−1x−21∫(1+x2)x2+1−1dx
⇒⇒∫xtan−1xdx=2x2tan−1x−21∫1−1+x21dx
⇒∫xtan−1xdx=2x2tan−1x−21(x−tan−1x)+c
⇒∫xtan−1xdx=2x2tan−1x−21x+21tan−1x+c
This is the required answer.
Note: We should choose wisely which part we should choose as u and v. This is because we have to integrate one of the two functions. So choose carefully which function to integrate. Also, we should always add the constant of integration when we solve indefinite integration.