Question
Question: What is the value of integral \(\int{\cot x\cos xdx}?\)...
What is the value of integral ∫cotxcosxdx?
Solution
We have already learnt the trigonometric identity given by cotx=sinxcosx. And we also know the trigonometric identity given by sin2x+cos2x=1. We will rearrange the identities if necessary. Then we will use the linearity property of integration.
Complete step-by-step solution:
Let us consider the given integral ∫cotxcosxdx.
In order to find the integral, we need to simplify the function under the integral side.
So, we will use the trigonometric identity given by cotx=sinxcosx.
Let us substitute this in the given integral.
Then, we will get ∫cotxcosxdx=∫sinxcosxcosxdx.
Now, we can change this into ∫cotxcosxdx=∫sinxcos2xdx.
We have already learnt the Pythagorean identity given by sin2x+cos2x=1.
Now, if we rearrange this trigonometric identity, we will get cos2x=1−sin2x.
Let us substitute this identity in the given integral.
Then, we will get ∫cotxcosxdx=∫sinx1−sin2xdx.
From this, we will get ∫cotxcosxdx=∫(sinx1−sinxsin2x)dx.
Now let us use the linearity property of the integrals.
We know that the linear property is given by ∫(f+g)dx=∫fdx+∫gdx where f and g are functions of x.
Now, when we apply this linearity property, we will get ∫cotxcosxdx=∫sinx1dx−∫sinxsin2xdx.
We know that sinx1=cosecx and sinxsin2x=sinx.
Now, when we substitute these identities, we will get ∫cotxcosxdx=∫cosecxdx−∫sinxdx.
Let us recall the integrals given by ∫sinxdx=−cosx+C and ∫cosecxdx=−ln∣cosecx+cotx∣+C
Now, we are going to apply the above written identities in the obtained integral.
Then, as a result, we will get ∫cotxcosxdx=−ln∣cosecx+cotx∣−(−cosx)+C where C is the constant of integration.
And this will give us ∫cotxcosxdx=−ln∣cosecx+cotx∣+cosx+C.
Hence the required integral is ∫cotxcosxdx=−ln∣cosecx+cotx∣+cosx+C.
Note: We should not forget to put the constant of integration when we deal with the indefinite integrals where there are no upper limit and lower limit given. The integrals with upper limit and lower limit are called the definite integrals.