Method of Substitutions for Integration : \(t=tan(x)\) substitution


In this section we learn how to use the substitution: \(t = tan(x)\) to integrate integrals of the type: \[\int \frac{a}{b+c.sin^2(x)+d.cos^2(x)}dx\]


For example, by the end of this section we'll know how to integrate: \[\int \frac{1}{1+sin^2(x)}dx \quad \text{and} \quad \int \frac{1}{2sin^2(x)+cos^2(x) + 2}dx\] For such integrals the idea is to use the substitution: \[t = tan(x)\] As always when we use the method of substitution, the trick is therefore to rewrite the integrals in terms of the new variable \(t\) and the method for doing so is explained here.

Tutorial: using the \(t = tan(x)\) substitution

In this tutorial we show, step by step, how to integrate: \[\int \frac{1}{1 + sin^2(x) + 3cos^2(x)}dx\] using the substitution \(t = tan(x)\).

Method

Given an integral of the type: \[\int \frac{a}{b+csin^2(x)+dcos^2(x)}dx\] we can find integrate it in \(3\) steps:

  • Step 1: write the integrand in terms of the new variable \(t\). To do this use the "special right-angled triangle", shown further down.
  • Step 2: integrate with respect to the new variable \(t\). Note: when working with such integrals you'll need to know the following results: \(\int \frac{1}{a^2 + x^2}dx = \frac{1}{a}.tan^{-1}\begin{pmatrix} \frac{x}{a} \end{pmatrix} + C\) and \(\int \frac{1}{1 + \begin{pmatrix}ax\end{pmatrix}^2}dx = \frac{1}{a}.tan^{-1}\begin{pmatrix} ax \end{pmatrix} + C\)
  • Step 3: write the the final answer in terms of \(x\), using the fact that \(t = tan(x)\).

Changing the Variable: Writing the Integral in terms of \(t\)

Given an integral that can be written: \[\int \frac{a}{b + csin^2(x)+dcos^2(x)}dx\] we can write this integral in terms of \(t = tan(x)\) by writing any \(cos^2(x)\) and/or \(sin^2(x)\) in terms of \(t\) using the right-angled triangle shown below and by writing \(dx\) in terms of \(t\) by considering \(\frac{dt}{dx}\), as shown below.

A Special Right Angled-Triangle

Given \(t = tan(x)\), to write the integral in terms of the new variable \(t\) we use the right-angled triangle we see here. That's a right-angled triangle with an interior angle \(x\) such that \(tan(x) = t\) (which is the same as the variable we use for our integral).

Using this triangle we can then write any \(sin^2(x)\), or \(cos^2(x)\), in terms of \(t\) using the fact that:

  • \(sin(x) = \frac{t}{\sqrt{1+t^2}}\) and therefore \(sin^2(x) = \frac{t^2}{1+t^2}\)
  • \(cos(x) = \frac{1}{\sqrt{1+t^2}}\) and therefore \(cos^2(x) = \frac{1}{1+t^2}\)


Writing \(dx\) in terms of \(t\)

Since \(t = tan(x)\), \(\frac{dt}{dx}\) can written as either: \[\frac{dt}{dx} = sec^2(x) \quad \text{or} \quad \frac{dt}{dx} = 1 + tan^2(x)\] Since \(t = tan(x)\), we choose \(\frac{dt}{dx} =1 + tan^2(x) \) which can then be written \(\frac{dt}{dx} = 1 + t^2\) and we can write: \[dx = \frac{1}{1+t^2}dt\]


Now that we've watched the tutorial and made a note of the three-step method, try working through the following examples.


Example 1

Using the substitution \(t = tan(x)\), find: \[\int \frac{1}{1+sin^2(x)}dx\]



Example 2

Using the substitution \(t = tan(x)\), find: \[\int \frac{1}{1+cos^2(x)}dx\]



Example 3

Using the substitution \(t = tan(x)\), find: \[\int \frac{1}{3cos^2(x)+sin^2(x)}dx\]



Example 4

Using the substitution \(t = tan(x)\), find: \[\int \frac{dx}{2 + 3cos^2(x)}\]



Example 5

Using the substitution \(t = tan(x)\), find: \[\int \frac{dx}{2sin^2(x) + cos^2(x) + 2}\]



Scan this QR-Code with your phone/tablet and view this page on your preferred device.


Subscribe to Our Channel


Subscribe Now and view all of our playlists & tutorials.