Question
Question: How do you integrate \(\int {x{{\sec }^{ - 1}}xdx} \)?...
How do you integrate ∫xsec−1xdx?
Solution
This question will be solved by integration by parts. In the integration by parts method if we integrate f(x)g(x) we can write ∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)(∫g(x)dx)dx where f′(x)=dxdf(x). While choosing f(x) and g(x) choose in such a way that solving ∫f′(x)(∫g(x)dx)dx would be easier. For example, while integrating xex our f(x) would be x and g(x) will be ex so that solving ∫f′(x)(∫g(x)dx)dx is easier.
Complete step-by-step solution:
The integration by parts formula can be further written as integral of the product of any two functions = (First function × Integral of the second function) – Integral of [ (differentiation of the first function) × Integral of the second function]
The formula for integration by parts is
∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)(∫g(x)dx)dx
Where f′(x)=dxdf(x).
In the given question we have to integrate xsec−1x by integration by parts method.
So, we can choose f(x)=sec−1x and g(x)=x.
Substituting the values in the formula for integration by parts, we get
⇒∫xsec−1xdx=sec−1x∫xdx−∫dxd(sec−1x)(∫xdx)dx
We know that dxd(sec−1x)=xx2−11 and ∫xdx=2x2. Substituting these values in the above equation,
⇒∫xsec−1xdx=sec−1x(2x2)−∫xx2−11×2x2dx
Simplify the terms,
⇒∫xsec−1xdx=2x2sec−1x−21∫x2−1xdx
Let u=x2−1. Then,
⇒du=2xdx
Divide both sides into both sides,
⇒21du=xdx
Substitute the values,
⇒∫xsec−1xdx=2x2sec−1x−21∫2u1du
Simplify the terms,
⇒∫xsec−1xdx=2x2sec−1x−41∫u−21du
Integrate the terms,
⇒∫xsec−1xdx=2x2sec−1x−4121u21+C
Simplify the terms,
⇒∫xsec−1xdx=2x2sec−1x−2u+C
Substitute back the value of u,
⇒∫xsec−1xdx=2x2sec−1x−2x2−1+C
Hence, the integral of xsec−1x is 2x2sec−1x−2x2−1+C.
Note: Always remember the formula for integrating into the integration by parts method. Some people make mistakes while choosing f(x) and g(x) so carefully choose f(x) and g(x) such that integration would be easier to solve. Sometimes when we solve a problem, we find the function of L.H.S on the right-hand side, in that case, we should take our L.H.S as a variable like we did in the above question then it would be easier to solve. We just have to find the value of I.