Trigonometric substitution is an integration that involves a change of variables. It relies on the Pythagorean theorem as a linear map. Your best friend is something called a reference triangle.

A brief example

Say we want to integrate . We may observe, following , that we can build a triangle that looks like the below. So we get: which we can re-arrange to: You can probably guess by substituting we get a simpler integrand: and then we have to convert back in terms of : Some considerations:

  • There are some rational functions that we can’t decompose with partial fractions, with a quadratic term in the numerator with no real roots — we can complete the square and factor that way