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−x2For this pattern, set
x=asinθ.The reason this works is the identity
1−sin2θ=cos2θ.After substituting, the expression under the square root becomes a multiple of cos2θ, whose square root is much easier to handle.
Why the substitution simplifies the integral
Starting from x=asinθ, differentiate both sides:
dx=acosθdθ.The differential dx must be substituted along with every occurrence of x. Omitting it would change the integral.
The square root simplifies as follows:
a2−x2=a2−a2sin2θ=a2(1−sin2θ)=a2cos2θ.For a>0 and a suitable range of θ, this becomes acosθ. The factor cosθ often cancels with the one in dx.
The substitution x=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−x2 suggests x=asinθ, because the identity 1−sin2θ=cos2θ simplifies the radical.
Think About It: Why is it important to replace dx as well as x when changing the integral to the variable θ?
Example 1: An integral with a square root in the denominator
Consider
∫a2−x2dx.Use x=asinθ, so that dx=acosθdθ. The square root becomes acosθ, and therefore
∫a2−x2dx=∫acosθacosθdθ=∫1dθ=θ+C.The integration has produced an answer in terms of θ, but the original variable was x. To return to x, solve the substitution for θ:
x=asinθ⟹sinθ=ax⟹θ=arcsin(ax).Thus,
∫a2−x2dx=arcsin(ax)+C.The inverse sine appears because it reverses the substitution x=asinθ.
Think About It: Once an integral has been evaluated in terms of θ, what relationship from the original substitution helps convert the answer back to x?
Example 2: A square root over x2
Now consider
∫x22−x2dx.The number 2 is treated as (2)2, so the substitution is
x=2sinθ,dx=2cosθdθ.The numerator simplifies according to the same identity:
2−x2=2−2sin2θ=2cos2θ=2cosθ.The denominator becomes x2=2sin2θ. Substituting all parts gives
∫2sin2θ2cosθ(2cosθdθ)=∫sin2θcos2θdθ=∫cot2θdθ.To integrate cot2θ, use the identity
1+cot2θ=csc2θ,which gives cot2θ=csc2θ−1. Therefore,
∫cot2θdθ=∫(csc2θ−1)dθ=−cotθ−θ+C.The result still needs to be rewritten in terms of x. From x=2sinθ, a right triangle can be formed with opposite side x and hypotenuse 2. The remaining side is 2−x2. Thus,
cotθ=oppositeadjacent=x2−x2,and
θ=arcsin(2x).The final result is
∫x22−x2dx=−x2−x2−arcsin(2x)+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θ become a quotient involving both 2−x2 and x?
Example 3: A square root multiplied by dx
Consider
∫1−4x2dx.Here the squared quantity inside the radical is (2x)2, so the useful substitution is
2x=sinθ.Equivalently,
x=21sinθ,dx=21cosθdθ.The radical becomes
1−4x2=1−sin2θ=cosθ.Therefore,
∫1−4x2dx=21∫cos2θdθ.Unlike the first two examples, the cosine does not simply cancel. The power-reduction identity is needed:
cos2θ=21+cos(2θ).Using it,
21∫cos2θdθ=41∫(1+cos(2θ))dθ.The integral of cos(2θ) includes a factor of 21 because the inside angle 2θ has derivative 2. Hence,
41∫(1+cos(2θ))dθ=41(θ+21sin(2θ))+C.To return to x, use sinθ=2x. A right triangle has opposite side 2x and hypotenuse 1, so the adjacent side is 1−4x2. Thus,
θ=arcsin(2x),cosθ=1−4x2.The double-angle identity sin(2θ)=2sinθcosθ then gives
sin(2θ)=4x1−4x2.Substituting these expressions into the antiderivative yields
∫1−4x2dx=41arcsin(2x)+21x1−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θ) produce a factor of 21?
Example 4: A square root in the denominator with an additional x
Consider
∫x9−x2dx.Since 9=32, use
x=3sinθ,dx=3cosθdθ.The radical becomes
9−x2=9−9sin2θ=3cosθ.Substitution gives
∫(3sinθ)(3cosθ)3cosθdθ=31∫cscθdθ.A useful antiderivative is
∫cscθdθ=−ln∣cscθ+cotθ∣+C.One way to understand this result is to note that the derivative of cscθ+cotθ is −cscθ(cscθ+cotθ). Consequently, the derivative of −ln∣cscθ+cotθ∣ is cscθ. An equivalent form is ln∣cscθ−cotθ∣, since
(cscθ−cotθ)(cscθ+cotθ)=1.So the integral in θ is
−31ln∣cscθ+cotθ∣+C.To convert back to x, the substitution x=3sinθ gives sinθ=3x. A right triangle has opposite side x, hypotenuse 3, and adjacent side 9−x2. Therefore,
cscθ=x3,cotθ=x9−x2.The antiderivative becomes
∫x9−x2dx=−31lnx3+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=0 and 9−x2>0.
A reliable procedure for sine substitution
When an integral contains a radical of the form a2−x2, the work can be organized into a consistent sequence:
- Identify the positive quantity a whose square is the constant under the radical.
- Substitute x=asinθ and differentiate to obtain dx=acosθdθ.
- Replace every x and the differential dx in the integral.
- Use 1−sin2θ=cos2θ to simplify the radical.
- Integrate in θ, using additional identities if necessary.
- Convert the result back to x, using the substitution and, when useful, a right triangle.
- Include the constant of integration.
When the expression is instead written in terms of a scaled quantity such as (2x)2, the substitution can be applied to that quantity: 2x=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−x2 into a2(1−sin2θ), which simplifies to a2cos2θ. The derivative of the substitution supplies a factor of cosθ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 cot2θ, which can be rewritten using an identity. A remaining squared cosine can be handled with a power-reduction identity. A factor of cscθ 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 θ 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.