1. Home
  2. Explore
  3. Mathematics
  4. Trigonometric Substitution

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Trigonometric Substitution

Sine Substitution for Trigonometric Integrals

Trigonometric substitution is a way to simplify integrals containing square roots of quadratic expressions. The key idea is to replace a variable with a trigonometric expression whose identity turns the square root into something simpler.

The sine substitution is especially useful when the square root contains a difference of squares:

a2−x2\sqrt{a^2-x^2}a2−x2​

For this pattern, set

x=asin⁡θ.x=a\sin\theta.x=asinθ.

The reason this works is the identity

1−sin⁡2θ=cos⁡2θ.1-\sin^2\theta=\cos^2\theta.1−sin2θ=cos2θ.

After substituting, the expression under the square root becomes a multiple of cos⁡2θ\cos^2\thetacos2θ, whose square root is much easier to handle.

Why the substitution simplifies the integral

Starting from x=asin⁡θx=a\sin\thetax=asinθ, differentiate both sides:

dx=acos⁡θ dθ.dx=a\cos\theta\,d\theta.dx=acosθdθ.

The differential dxdxdx must be substituted along with every occurrence of xxx. Omitting it would change the integral.

The square root simplifies as follows:

a2−x2=a2−a2sin⁡2θ=a2(1−sin⁡2θ)=a2cos⁡2θ.\sqrt{a^2-x^2} = \sqrt{a^2-a^2\sin^2\theta} = \sqrt{a^2(1-\sin^2\theta)} = \sqrt{a^2\cos^2\theta}.a2−x2​=a2−a2sin2θ​=a2(1−sin2θ)​=a2cos2θ​.

For a>0a>0a>0 and a suitable range of θ\thetaθ, this becomes acos⁡θa\cos\thetaacosθ. The factor cos⁡θ\cos\thetacosθ often cancels with the one in dxdxdx.

The substitution x=acos⁡θx=a\cos\thetax=acosθ could also be used, but differentiating it introduces a negative sign. Using sine avoids that extra sign in the examples below.

The central pattern is: a square root of a2−x2a^2-x^2a2−x2 suggests x=asin⁡θx=a\sin\thetax=asinθ, because the identity 1−sin⁡2θ=cos⁡2θ1-\sin^2\theta=\cos^2\theta1−sin2θ=cos2θ simplifies the radical.

Think About It: Why is it important to replace dxdxdx as well as xxx when changing the integral to the variable θ\thetaθ?

Example 1: An integral with a square root in the denominator

Consider

∫dxa2−x2.\int \frac{dx}{\sqrt{a^2-x^2}}.∫a2−x2​dx​.

Use x=asin⁡θx=a\sin\thetax=asinθ, so that dx=acos⁡θ dθdx=a\cos\theta\,d\thetadx=acosθdθ. The square root becomes acos⁡θa\cos\thetaacosθ, and therefore

∫dxa2−x2=∫acos⁡θ dθacos⁡θ=∫1 dθ=θ+C.\int \frac{dx}{\sqrt{a^2-x^2}} = \int \frac{a\cos\theta\,d\theta}{a\cos\theta} = \int 1\,d\theta = \theta+C.∫a2−x2​dx​=∫acosθacosθdθ​=∫1dθ=θ+C.

The integration has produced an answer in terms of θ\thetaθ, but the original variable was xxx. To return to xxx, solve the substitution for θ\thetaθ:

x=asin⁡θ⟹sin⁡θ=xa⟹θ=arcsin⁡(xa).x=a\sin\theta \quad\Longrightarrow\quad \sin\theta=\frac{x}{a} \quad\Longrightarrow\quad \theta=\arcsin\left(\frac{x}{a}\right).x=asinθ⟹sinθ=ax​⟹θ=arcsin(ax​).

Thus,

∫dxa2−x2=arcsin⁡(xa)+C.\int \frac{dx}{\sqrt{a^2-x^2}} = \arcsin\left(\frac{x}{a}\right)+C.∫a2−x2​dx​=arcsin(ax​)+C.

The inverse sine appears because it reverses the substitution x=asin⁡θx=a\sin\thetax=asinθ.

Think About It: Once an integral has been evaluated in terms of θ\thetaθ, what relationship from the original substitution helps convert the answer back to xxx?

Example 2: A square root over x2x^2x2

Now consider

∫2−x2x2 dx.\int \frac{\sqrt{2-x^2}}{x^2}\,dx.∫x22−x2​​dx.

The number 222 is treated as (2)2(\sqrt{2})^2(2​)2, so the substitution is

x=2sin⁡θ,dx=2cos⁡θ dθ.x=\sqrt{2}\sin\theta, \qquad dx=\sqrt{2}\cos\theta\,d\theta.x=2​sinθ,dx=2​cosθdθ.

The numerator simplifies according to the same identity:

2−x2=2−2sin⁡2θ=2cos⁡2θ=2cos⁡θ.\sqrt{2-x^2} = \sqrt{2-2\sin^2\theta} = \sqrt{2\cos^2\theta} = \sqrt{2}\cos\theta.2−x2​=2−2sin2θ​=2cos2θ​=2​cosθ.

The denominator becomes x2=2sin⁡2θx^2=2\sin^2\thetax2=2sin2θ. Substituting all parts gives

∫2cos⁡θ2sin⁡2θ(2cos⁡θ dθ)=∫cos⁡2θsin⁡2θ dθ=∫cot⁡2θ dθ.\int \frac{\sqrt{2}\cos\theta}{2\sin^2\theta} \left(\sqrt{2}\cos\theta\,d\theta\right) = \int \frac{\cos^2\theta}{\sin^2\theta}\,d\theta = \int \cot^2\theta\,d\theta.∫2sin2θ2​cosθ​(2​cosθdθ)=∫sin2θcos2θ​dθ=∫cot2θdθ.

To integrate cot⁡2θ\cot^2\thetacot2θ, use the identity

1+cot⁡2θ=csc⁡2θ,1+\cot^2\theta=\csc^2\theta,1+cot2θ=csc2θ,

which gives cot⁡2θ=csc⁡2θ−1\cot^2\theta=\csc^2\theta-1cot2θ=csc2θ−1. Therefore,

∫cot⁡2θ dθ=∫(csc⁡2θ−1) dθ=−cot⁡θ−θ+C.\int \cot^2\theta\,d\theta = \int(\csc^2\theta-1)\,d\theta = -\cot\theta-\theta+C.∫cot2θdθ=∫(csc2θ−1)dθ=−cotθ−θ+C.

The result still needs to be rewritten in terms of xxx. From x=2sin⁡θx=\sqrt{2}\sin\thetax=2​sinθ, a right triangle can be formed with opposite side xxx and hypotenuse 2\sqrt{2}2​. The remaining side is 2−x2\sqrt{2-x^2}2−x2​. Thus,

cot⁡θ=adjacentopposite=2−x2x,\cot\theta = \frac{\text{adjacent}}{\text{opposite}} = \frac{\sqrt{2-x^2}}{x},cotθ=oppositeadjacent​=x2−x2​​,

and

θ=arcsin⁡(x2).\theta=\arcsin\left(\frac{x}{\sqrt{2}}\right).θ=arcsin(2​x​).

The final result is

∫2−x2x2 dx=−2−x2x−arcsin⁡(x2)+C.\int \frac{\sqrt{2-x^2}}{x^2}\,dx = -\frac{\sqrt{2-x^2}}{x} -\arcsin\left(\frac{x}{\sqrt{2}}\right)+C.∫x22−x2​​dx=−x2−x2​​−arcsin(2​x​)+C.

The triangle is useful because it converts trigonometric ratios back into expressions involving the original variable and the square root from the problem.

Think About It: In this example, why does cot⁡θ\cot\thetacotθ become a quotient involving both 2−x2\sqrt{2-x^2}2−x2​ and xxx?

Example 3: A square root multiplied by dxdxdx

Consider

∫1−4x2 dx.\int \sqrt{1-4x^2}\,dx.∫1−4x2​dx.

Here the squared quantity inside the radical is (2x)2(2x)^2(2x)2, so the useful substitution is

2x=sin⁡θ.2x=\sin\theta.2x=sinθ.

Equivalently,

x=12sin⁡θ,dx=12cos⁡θ dθ.x=\frac{1}{2}\sin\theta, \qquad dx=\frac{1}{2}\cos\theta\,d\theta.x=21​sinθ,dx=21​cosθdθ.

The radical becomes

1−4x2=1−sin⁡2θ=cos⁡θ.\sqrt{1-4x^2} = \sqrt{1-\sin^2\theta} = \cos\theta.1−4x2​=1−sin2θ​=cosθ.

Therefore,

∫1−4x2 dx=12∫cos⁡2θ dθ.\int \sqrt{1-4x^2}\,dx = \frac{1}{2}\int \cos^2\theta\,d\theta.∫1−4x2​dx=21​∫cos2θdθ.

Unlike the first two examples, the cosine does not simply cancel. The power-reduction identity is needed:

cos⁡2θ=1+cos⁡(2θ)2.\cos^2\theta=\frac{1+\cos(2\theta)}{2}.cos2θ=21+cos(2θ)​.

Using it,

12∫cos⁡2θ dθ=14∫(1+cos⁡(2θ)) dθ.\frac{1}{2}\int \cos^2\theta\,d\theta = \frac{1}{4}\int\bigl(1+\cos(2\theta)\bigr)\,d\theta.21​∫cos2θdθ=41​∫(1+cos(2θ))dθ.

The integral of cos⁡(2θ)\cos(2\theta)cos(2θ) includes a factor of 12\frac{1}{2}21​ because the inside angle 2θ2\theta2θ has derivative 222. Hence,

14∫(1+cos⁡(2θ)) dθ=14(θ+12sin⁡(2θ))+C.\frac{1}{4}\int\bigl(1+\cos(2\theta)\bigr)\,d\theta = \frac{1}{4}\left(\theta+\frac{1}{2}\sin(2\theta)\right)+C.41​∫(1+cos(2θ))dθ=41​(θ+21​sin(2θ))+C.

To return to xxx, use sin⁡θ=2x\sin\theta=2xsinθ=2x. A right triangle has opposite side 2x2x2x and hypotenuse 111, so the adjacent side is 1−4x2\sqrt{1-4x^2}1−4x2​. Thus,

θ=arcsin⁡(2x),cos⁡θ=1−4x2.\theta=\arcsin(2x), \qquad \cos\theta=\sqrt{1-4x^2}.θ=arcsin(2x),cosθ=1−4x2​.

The double-angle identity sin⁡(2θ)=2sin⁡θcos⁡θ\sin(2\theta)=2\sin\theta\cos\thetasin(2θ)=2sinθcosθ then gives

sin⁡(2θ)=4x1−4x2.\sin(2\theta)=4x\sqrt{1-4x^2}.sin(2θ)=4x1−4x2​.

Substituting these expressions into the antiderivative yields

∫1−4x2 dx=14arcsin⁡(2x)+12x1−4x2+C.\int \sqrt{1-4x^2}\,dx = \frac{1}{4}\arcsin(2x) + \frac{1}{2}x\sqrt{1-4x^2} +C.∫1−4x2​dx=41​arcsin(2x)+21​x1−4x2​+C.

This example shows that a sine substitution may simplify a radical without removing every trigonometric power. A power-reduction identity can be the next necessary step.

Think About It: Why does the integral of cos⁡(2θ)\cos(2\theta)cos(2θ) produce a factor of 12\frac{1}{2}21​?

Example 4: A square root in the denominator with an additional xxx

Consider

∫dxx9−x2.\int \frac{dx}{x\sqrt{9-x^2}}.∫x9−x2​dx​.

Since 9=329=3^29=32, use

x=3sin⁡θ,dx=3cos⁡θ dθ.x=3\sin\theta, \qquad dx=3\cos\theta\,d\theta.x=3sinθ,dx=3cosθdθ.

The radical becomes

9−x2=9−9sin⁡2θ=3cos⁡θ.\sqrt{9-x^2} = \sqrt{9-9\sin^2\theta} = 3\cos\theta.9−x2​=9−9sin2θ​=3cosθ.

Substitution gives

∫3cos⁡θ dθ(3sin⁡θ)(3cos⁡θ)=13∫csc⁡θ dθ.\int \frac{3\cos\theta\,d\theta} {(3\sin\theta)(3\cos\theta)} = \frac{1}{3}\int\csc\theta\,d\theta.∫(3sinθ)(3cosθ)3cosθdθ​=31​∫cscθdθ.

A useful antiderivative is

∫csc⁡θ dθ=−ln⁡∣csc⁡θ+cot⁡θ∣+C.\int\csc\theta\,d\theta = -\ln|\csc\theta+\cot\theta|+C.∫cscθdθ=−ln∣cscθ+cotθ∣+C.

One way to understand this result is to note that the derivative of csc⁡θ+cot⁡θ\csc\theta+\cot\thetacscθ+cotθ is −csc⁡θ(csc⁡θ+cot⁡θ)-\csc\theta(\csc\theta+\cot\theta)−cscθ(cscθ+cotθ). Consequently, the derivative of −ln⁡∣csc⁡θ+cot⁡θ∣-\ln|\csc\theta+\cot\theta|−ln∣cscθ+cotθ∣ is csc⁡θ\csc\thetacscθ. An equivalent form is ln⁡∣csc⁡θ−cot⁡θ∣\ln|\csc\theta-\cot\theta|ln∣cscθ−cotθ∣, since

(csc⁡θ−cot⁡θ)(csc⁡θ+cot⁡θ)=1.(\csc\theta-\cot\theta)(\csc\theta+\cot\theta)=1.(cscθ−cotθ)(cscθ+cotθ)=1.

So the integral in θ\thetaθ is

−13ln⁡∣csc⁡θ+cot⁡θ∣+C.-\frac{1}{3}\ln|\csc\theta+\cot\theta|+C.−31​ln∣cscθ+cotθ∣+C.

To convert back to xxx, the substitution x=3sin⁡θx=3\sin\thetax=3sinθ gives sin⁡θ=x3\sin\theta=\frac{x}{3}sinθ=3x​. A right triangle has opposite side xxx, hypotenuse 333, and adjacent side 9−x2\sqrt{9-x^2}9−x2​. Therefore,

csc⁡θ=3x,cot⁡θ=9−x2x.\csc\theta=\frac{3}{x}, \qquad \cot\theta=\frac{\sqrt{9-x^2}}{x}.cscθ=x3​,cotθ=x9−x2​​.

The antiderivative becomes

∫dxx9−x2=−13ln⁡∣3+9−x2x∣+C.\int \frac{dx}{x\sqrt{9-x^2}} = -\frac{1}{3} \ln\left| \frac{3+\sqrt{9-x^2}}{x} \right| +C.∫x9−x2​dx​=−31​ln​x3+9−x2​​​+C.

The absolute value is important for the logarithm. The expression is valid on intervals where the original integrand is defined, so x≠0x\ne 0x=0 and 9−x2>09-x^2>09−x2>0.

A reliable procedure for sine substitution

When an integral contains a radical of the form a2−x2\sqrt{a^2-x^2}a2−x2​, the work can be organized into a consistent sequence:

  1. Identify the positive quantity aaa whose square is the constant under the radical.
  2. Substitute x=asin⁡θx=a\sin\thetax=asinθ and differentiate to obtain dx=acos⁡θ dθdx=a\cos\theta\,d\thetadx=acosθdθ.
  3. Replace every xxx and the differential dxdxdx in the integral.
  4. Use 1−sin⁡2θ=cos⁡2θ1-\sin^2\theta=\cos^2\theta1−sin2θ=cos2θ to simplify the radical.
  5. Integrate in θ\thetaθ, using additional identities if necessary.
  6. Convert the result back to xxx, using the substitution and, when useful, a right triangle.
  7. Include the constant of integration.

When the expression is instead written in terms of a scaled quantity such as (2x)2(2x)^2(2x)2, the substitution can be applied to that quantity: 2x=sin⁡θ2x=\sin\theta2x=sinθ. This is the same underlying idea, adjusted to match the expression inside the square root.

Comprehensive Review

Sine substitution works because it turns the difference a2−x2a^2-x^2a2−x2 into a2(1−sin⁡2θ)a^2(1-\sin^2\theta)a2(1−sin2θ), which simplifies to a2cos⁡2θa^2\cos^2\thetaa2cos2θ. The derivative of the substitution supplies a factor of cos⁡θ dθ\cos\theta\,d\thetacosθdθ, often causing useful cancellation.

The examples also illustrate what may happen after the radical is simplified. A quotient can become a trigonometric expression such as cot⁡2θ\cot^2\thetacot2θ, which can be rewritten using an identity. A remaining squared cosine can be handled with a power-reduction identity. A factor of csc⁡θ\csc\thetacscθ can be integrated with a logarithmic antiderivative.

Finally, every substitution introduces a temporary variable relationship. Completing the integral means translating the result back into the original variable—often by solving for θ\thetaθ with inverse sine and using a right triangle to express the remaining trigonometric ratios.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent