Solveeit Logo

Question

Question: How do you integrate \(\tan (x)\)?...

How do you integrate tan(x)\tan (x)?

Explanation

Solution

In the given question, we have been given an algebraic expression that is to be integrated. And can be solved by opening tan(x)\tan (x) in terms of sin(x)\sin (x) and cos(x)\cos (x) and then trying to integrate the problem.

Complete step by step solution:
The given expression is tan(x)\tan (x) .
As we know, tan(x)=sin(x)cos(x)tan(x)=\dfrac{\sin (x)}{\cos (x)}
Hence, now we have to integrate,
sin(x)cos(x)dx\int \dfrac{\sin (x)}{\cos (x)}dx
Let u=cos(x)u=cos(x)
On differentiating both sides, we get
du=sin(x)dx\Rightarrow du=-sin(x)dx
Now, on substituting the values on above equation we will get,
duu=ln(u)+C\therefore -\int \dfrac{du}{u}=-ln(u)+C

Hence, tanxdx=ln(cosx)+C\int \tan x dx=-ln(cosx)+C.

Additional Information:
Integration is the opposite of differentiation. In differentiation, we “break” things for examining how they behave separately. While, in integration, we combine the expressions so as to see their collective behavior.

Note:
In these types of questions, an algebraic expression can be given which was to be integrated. To do that, we have to replace the square root bracket by expressing it in the form of power and then apply the integration formula to solve it. It is thus, really important that we know the formula of the integration, how to transform one quantity (algebra) to another (trigonometric), and how to use it in this case. Care must be taken when we are performing the steps as that is the point where things get tricky and there are chances of getting it wrong.