Integration Trig Sub

Idea of trigonometric substitution: almost the reverse of u-substitution, we want to add trigonometry to a problem so that the integral simplifies, using trigonometric identities. It’s best to see this with an example:

1x2dx

This is the area under a…..semicircle! Since the curve is related to circles, we could try to replace x with a trigonometric function, which measures the x-coordinate of a circle x=cosθ. Then dx=sinθdθ, and so

1x2=1cos2x(sinθ)dθ This square root simplifies to |sinθ| (using cos2+sin2=1), and so all together the substitution results in |sinθ|sinθdθ Which, when sin is positive (on [0,π], say) is just the integral sin2θdθ Which is one we have already learned to do with trigonometric identities!

What substitutions are useful?

This is the overall goal:

  • Choose a substitution x=trigonometric function

  • Compute dx, substitute all into the integral

  • Use trigonometric identities to simplify the result, so you can integrate.

The difficulty in this technique is not the substitution or integration itself (its just a form of u-substitution, after all!) but rather making a good choice of which substitution to make in the first place. We want the choice to lead to some nice simplification using trigonometric identities, which means we need to be thinking ahead!We derive three useful substitutions from two identities sin2+cos2=1 and sec2=1+tan2, by re-arranging and taking square roots.

  • 1sin2θ=|cosθ| means that the substitution x=sinθ will convert expressions like 1x2 to |cosθ|.
  • 1+tan2θ=|secθ| means that the substitution x=tanθ will convert expressions like 1+x2 to |secθ|.
  • sec2θ1=|tanθ| means that the substitution x=secθ will convert expressions like x21 to |tanθ|.

Substituting x=asinθ

When an integral contains a2x2 (where x ranges over a subset of [a,a]), we may wish to substitute x=asinθ (where θ ranges over a subset of [π/2,π/2]). This converts a2x2 into |acosθ| and dx=acosθdθ.

Examples: 9x2x2dx x=3sinθ

Then cotθ=9x2x so finally 9x2x2dx=9x2xarcsinx3+C

Substituting x=atanθ

When an integral contains a2+x2 (where x ranges over any subset of the real line), we may wish to substitute x=atanθ (where θ ranges over a subset of [π/2,π/2]). This converts a2+x2 into |asecθ| and dx=asec2θdθ.

$$\int \frac{1}{x^2\sqrt{x^2+4}dxx=2\tan\theta$$

Then cscθ=x2+4x so finally dxx2x2+4=x2+44x+C

Substituting x=asecθ

To do these integrals, its often useful to know the integral of secant sec(x)dx=ln|secx+tanx|+C This can be confirmed by differentiation; though we will derive it soon when we do partial fractions!

When an integral contains x2a2 (where x ranges is always greater in absolute value than a), we may wish to substitute x=asecθ (where θ ranges over a subset of [0,π/2] or [π,32π]). This converts x2a2 into |atanθ| and dx=asecθtanθdθ.

1x22dx Let x=2secθ.

Substitution for Definite Integrals

If an integral is a definite integral measuring the area under a curve, we can convert the bounds of integration instead of transforming back to the original variable, and then evaluating at the original bounds. While in ‘standard’ u-sub both approaches take the same amount of work, converting the bounds here feels significantly easier than going through with the whole substitution first!

Here’s an example:

03x36x2dx

Making the substitution x=6sinθ on the indefinite integral results in 6sinθ6cosθ6cosθdθ=6sinθdθ

Substituting the bounds to get our new definite integral, we need to figure out what θ equals when x=0 and x=3. If x=6sinθ=0 and θ[π/2,π/2], then θ=0. If x=6sinθ=3 then sinθ=1/2, which has the unique solution θ=π/6 for θ[π/2,π/2]. Thus our new definite integral is 60π6sinθdθ

Recognizing a ‘Hidden’ Trigonometric Substitution

3+2xx2dx

Complete the square underneath the integral before proceeding! 3+2xx2=4(x1)2 Thus our integral is 4(x1)2dx Substituting u=x1 will make the square root into a form we know: 4u2du This we can attack with the trigonometric substitution u=2sinθ!