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

When to use sine substitution

A sine substitution is useful when an integrand contains a square root of the form

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

The substitution

x=asin⁡θx=a\sin\thetax=asinθ

uses the identity

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

to simplify the expression under the square root:

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

With a suitable choice of the range of θ\thetaθ, this becomes acos⁡θa\cos\thetaacosθ. Differentiating the substitution gives

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

Both the substituted expression for xxx and the full expression for dxdxdx must be used. In particular, the factor dθd\thetadθ must not be omitted.

The substitution x=acos⁡θx=a\cos\thetax=acosθ is also possible, but its derivative introduces a negative sign. The sine substitution avoids that extra sign.

The main strategy is to transform the integral into the θ\thetaθ variable, simplify using trigonometric identities, integrate, and then rewrite the result in terms of xxx.

When the original substitution does not determine every trigonometric expression needed in the answer, a right triangle can help. For x=asin⁡θx=a\sin\thetax=asinθ, sine identifies the opposite side and hypotenuse; the adjacent side follows from the Pythagorean theorem.


Example 1: Integrating the reciprocal square root

Evaluate

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

Use

x=asin⁡θ,dx=acos⁡θ dθ.x=a\sin\theta, \qquad dx=a\cos\theta\,d\theta.x=asinθ,dx=acosθdθ.

Substitution gives

∫acos⁡θ dθa2−a2sin⁡2θ.\int \frac{a\cos\theta\,d\theta} {\sqrt{a^2-a^2\sin^2\theta}}.∫a2−a2sin2θ​acosθdθ​.

Simplify the square root:

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

where the range of θ\thetaθ is chosen so that cos⁡θ≥0\cos\theta\geq 0cosθ≥0. The factors cancel, leaving

∫1 dθ=θ+C.\int 1\,d\theta=\theta+C.∫1dθ=θ+C.

Since x=asin⁡θx=a\sin\thetax=asinθ,

sin⁡θ=xa,θ=arcsin⁡(xa).\sin\theta=\frac{x}{a}, \qquad \theta=\arcsin\left(\frac{x}{a}\right).sinθ=ax​,θ=arcsin(ax​).

Therefore,

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

for a>0a>0a>0 and ∣x∣<a|x|<a∣x∣<a.


Example 2: Simplifying to a cotangent integral

Evaluate

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

The expression under the square root has the form a2−x2a^2-x^2a2−x2, with a=2a=\sqrt{2}a=2​. Set

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θ.

Then

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

on a suitable range of θ\thetaθ, and

x2=2sin⁡2θ.x^2=2\sin^2\theta.x2=2sin2θ.

Thus the integral becomes

∫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θ.

Using

cot⁡2θ=csc⁡2θ−1\cot^2\theta=\csc^2\theta-1cot2θ=csc2θ−1

and ∫csc⁡2θ dθ=−cot⁡θ\int \csc^2\theta\,d\theta=-\cot\theta∫csc2θdθ=−cotθ, the integral is

−cot⁡θ−θ+C.-\cot\theta-\theta+C.−cotθ−θ+C.

To return to xxx, the substitution gives

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

A right triangle with hypotenuse 2\sqrt{2}2​ and opposite side xxx has adjacent side 2−x2\sqrt{2-x^2}2−x2​. Hence

cot⁡θ=2−x2x.\cot\theta=\frac{\sqrt{2-x^2}}{x}.cotθ=x2−x2​​.

Therefore,

∫2−x2x2 dx=−2−x2x−arcsin⁡(x2)+C\boxed{ \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​

on intervals where the integrand is defined, in particular where x≠0x\neq 0x=0 and ∣x∣<2|x|<\sqrt{2}∣x∣<2​.


Example 3: Integrating a square root with a scaled variable

Evaluate

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

Rewrite the expression under the square root as

1−(2x)2.1-(2x)^2.1−(2x)2.

Set

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

Then

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

on a suitable range. The integral becomes

12∫cos⁡2θ dθ.\frac{1}{2}\int \cos^2\theta\,d\theta.21​∫cos2θdθ.

Apply the power-reduction identity

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

Then

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

Because sin⁡(2θ)=2sin⁡θcos⁡θ\sin(2\theta)=2\sin\theta\cos\thetasin(2θ)=2sinθcosθ, this can also be written as

θ4+sin⁡θcos⁡θ4+C.\frac{\theta}{4}+\frac{\sin\theta\cos\theta}{4}+C.4θ​+4sinθcosθ​+C.

The substitution gives sin⁡θ=2x\sin\theta=2xsinθ=2x and θ=arcsin⁡(2x)\theta=\arcsin(2x)θ=arcsin(2x). Also,

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

Therefore,

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

for ∣x∣<12|x|<\frac{1}{2}∣x∣<21​.


Example 4: Reducing the integral to a cosecant

Evaluate

∫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 square root simplifies as

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

on a suitable range. Therefore,

∫dxx9−x2=∫3cos⁡θ dθ(3sin⁡θ)(3cos⁡θ)=13∫csc⁡θ dθ.\int \frac{dx}{x\sqrt{9-x^2}} = \int \frac{3\cos\theta\,d\theta} {(3\sin\theta)(3\cos\theta)} = \frac{1}{3}\int \csc\theta\,d\theta.∫x9−x2​dx​=∫(3sinθ)(3cosθ)3cosθdθ​=31​∫cscθdθ.

A standard 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.

An equivalent form is ln⁡∣csc⁡θ−cot⁡θ∣+C\ln|\csc\theta-\cot\theta|+Cln∣cscθ−cotθ∣+C, because

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

For the back-substitution, x=3sin⁡θx=3\sin\thetax=3sinθ gives

sin⁡θ=x3.\sin\theta=\frac{x}{3}.sinθ=3x​.

A right triangle with hypotenuse 333 and opposite side xxx has adjacent side 9−x2\sqrt{9-x^2}9−x2​. Thus

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

It follows that

∫dxx9−x2=−13ln⁡∣3+9−x2x∣+C\boxed{ \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​

on intervals where x≠0x\neq 0x=0 and ∣x∣<3|x|<3∣x∣<3.


Key takeaways

  • Recognize the pattern: a2−x2\sqrt{a^2-x^2}a2−x2​ suggests x=asin⁡θx=a\sin\thetax=asinθ.

  • Differentiate the substitution: x=asin⁡θx=a\sin\thetax=asinθ gives dx=acos⁡θ dθdx=a\cos\theta\,d\thetadx=acosθdθ.

  • Simplify before integrating: use 1−sin⁡2θ=cos⁡2θ1-\sin^2\theta=\cos^2\theta1−sin2θ=cos2θ and other trigonometric identities as needed.

  • Integrate in the correct variable: after substitution, the integral is in θ\thetaθ, so its antiderivative must be expressed in θ\thetaθ until the final back-substitution.

  • Return to the original variable: use the substitution relation directly, and use a right triangle when additional trigonometric functions must be rewritten.

  • Preserve the constant of integration: every indefinite integral includes +C+C+C.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent