Question
Question: What is the integral of \(\int{\arctan x}dx?\)...
What is the integral of ∫arctanxdx?
Solution
We will use the integration by part to find the integral of the given function. Suppose that f and g are two functions of x. Then the integral ∫fgdx can be found by using the integration by part. That is ∫fgdx=f∫gdx−∫f′∫gdxdx.
Complete step by step solution:
We are asked to find the integral of ∫arctanxdx.
We know that the product of any number or function and 1 is itself.
So, we will get arctanx⋅1=arctanx.
In this case, we can consider f=arctanx and g=1.
Now, by using this information, we can find the required integral with integration by parts.
Suppose that we have two functions of x, namely f and g. Then the integral of their product can be found by ∫fgdx=f∫gdx−∫f′∫gdxdx. This rule of integration is called the integration by parts.
So, the given integral can be written as ∫arctanxdx=∫arctanx⋅1dx.
Now, from this, we will get ∫arctanxdx=arctanx∫1dx−∫dxdarctanx∫1dxdx.
We know that dxdarctanx=1+x21 and ∫1dx=x+c.
So, we will get ∫arctanxdx=arctanx⋅x−∫1+x21⋅xdx.
That is, ∫arctanxdx=xarctanx−∫1+x2xdx.
Let us put 1+x2=u. Then 2xdx=du. This implies xdx=2du.
So, we will get ∫1+x2xdx=∫u1du.
This will give us ∫1+x2xdx=∫u1du=ln∣u∣+c.
And, we will get ∫1+x2xdx=21∫u1du=21ln∣u∣+c=21ln1+x2+c.
Therefore, we will get ∫arctanxdx=xarctanx−21ln1+x2dx+C.
Hence the integral is ∫arctanxdx=xarctanx−21ln1+x2dx+C.
Note: In indefinite integration, we will put a constant of integration C. Also, we know the integral ∫x1dx=ln∣x∣+C. When we substitute variables for the function, the integration is called integration by substitution.