Question
Question: How do you integrate \({(\tan x)^2}\)?...
How do you integrate (tanx)2?
Solution
As we know about the integral, it is used for finding the areas, volumes and for central points, etc. We use it for finding the integration of a, particularly given identity. It is denoted by the ∫ sign; it is done with respect to a variable which can be x,y,z, etc.
Complete step by step solution:
Given that –
According to question integrate (tanx)2
Let – I=(tanx)2
Now we can write it as (tanx)2=tan2x because both are same in the trigonometry identity
We know that the three basic identity of trigonometry are First is sin2x+cos2x=1 and second is tan2x+1=sec2x and the third identity is the cot2x+1=cosec2x.
We will use the second identity which is the tan2x+1=sec2x , now we will find value of tan2x=sec2x−1 which we will put in the I=tan2x then we will integrate it.
Now we will integrate the I with respect to x
=∫I
=∫tan2xdx
Now we will put the value of tan2x=sec2x−1 in the above equation then we get
=∫(sec2x−1)dx
Now we know that we can distribute integration on addition and subtraction so we will distribute it on negative
=∫sec2xdx−∫1dx
Now we know that the integration of ∫sec2xdx=tanx and ∫1dx=x now we will put these values in above equation then we get
=tanx−x+c
Where c is the constant value which we get when we do integration of any identity
Therefore the integration of (tanx)2 is the tanx−x+c which is our required answer.
Note:
We can solve it directly by only using the second identity formula by just putting the value of tan2x=sec2x−1 and then we get the same answer in the three or four-step if this question is in the objective type otherwise follow the above method.