Trigonometric Substitution


Trigonometric Substitution

Corey
Today we’re working through four examples of sine trig substitution. The key pattern is a square root containing a constant minus x squared: square root of a squared minus x squared. For that form, a useful substitution is x equals a sine theta.

Anna
And the reason that substitution helps is the identity one minus sine squared theta equals cosine squared theta. It turns the expression under the square root into something much simpler. You could choose x equals a cosine theta, too, but differentiating cosine introduces a negative sign, so sine is usually more convenient.

Corey
There’s one important piece of bookkeeping: after setting x equal to a sine theta, differentiate to get dx equals a cosine theta d theta. When we change the integral into theta, we have to replace every x and also replace dx. Let’s use that in the first example.

Anna
The first integral is one over the square root of a squared minus x squared. Substitute x equals a sine theta, so dx is a cosine theta d theta. Inside the root, a squared minus x squared becomes a squared times one minus sine squared theta, which is a squared cosine squared theta.

Corey
Taking the square root gives a cosine theta, using the usual angle choice for this substitution. So the integral becomes a cosine theta d theta divided by a cosine theta. Those factors cancel, leaving the integral of one with respect to theta, which is theta plus a constant.

Anna
But we need to return to x, because theta was only our temporary variable. From x equals a sine theta, sine theta equals x over a, so theta is inverse sine of x over a. The answer is inverse sine of x over a, plus C.

Corey
For the second example, we have the integral of the square root of two minus x squared, divided by x squared. The number two plays the role of a squared, so a is square root of two. That tells us to use x equals square root of two times sine theta.

Anna
Then dx equals square root of two cosine theta d theta. In the numerator, two minus x squared becomes two times one minus sine squared theta, so its square root simplifies to square root of two cosine theta. The denominator x squared becomes two sine squared theta.

Corey
Now include the dx factor, too. The square root of two from the numerator and the square root of two from dx multiply to two, which cancels the two in the denominator. One cosine cancels, leaving cosine theta over sine squared theta, or cotangent theta times cosecant theta.

Anna
You can also recognize that as cotangent squared theta plus one, because cosine squared theta over sine squared theta equals one over sine squared theta minus one. That gives an easy integral: the integral of cosecant squared theta is negative cotangent theta, and integrating one gives theta. So we have negative cotangent theta minus theta, plus C.

Corey
Now translate both pieces back. We already know theta is inverse sine of x over square root of two. To find cotangent, picture a right triangle: sine theta is opposite over hypotenuse, so the opposite side is x and the hypotenuse is square root of two. The adjacent side is the square root of two minus x squared.

Anna
Therefore cotangent theta is adjacent over opposite, or the square root of two minus x squared divided by x. The final result is negative that fraction, minus inverse sine of x over square root of two, plus C.

Corey
Our third example is the integral of the square root of one minus four x squared. Rewrite the four x squared as the square of two x. Since the constant under the root is one, we can set two x equal to sine theta.

Anna
That means x equals one-half sine theta, and dx equals one-half cosine theta d theta. The root becomes the square root of one minus sine squared theta, which simplifies to cosine theta. Multiplying by dx leaves one-half cosine squared theta d theta.

Corey
To integrate cosine squared, use the half-angle identity: cosine squared theta equals one-half times one plus cosine of two theta. Including the one-half already outside gives one-quarter times the integral of one plus cosine two theta.

Anna
Integrating gives one-quarter theta plus one-eighth sine two theta. The double-angle identity says sine two theta equals two sine theta cosine theta, so that second term simplifies to one-quarter sine theta cosine theta.

Corey
Now return to x. Since sine theta equals two x, theta is inverse sine of two x. For cosine theta, use a right triangle with opposite side two x and hypotenuse one. The adjacent side is the square root of one minus four x squared, so cosine theta is that square root.

Anna
Substituting those pieces gives one-quarter inverse sine of two x, plus one-half x times the square root of one minus four x squared, plus C. The triangle is a handy way to recover cosine when the substitution gives you sine.

Corey
The fourth integral is one over x times the square root of nine minus x squared. Here nine is three squared, so choose x equals three sine theta. Then dx equals three cosine theta d theta.

Anna
The square root becomes three cosine theta, while the x in the denominator becomes three sine theta. When we include dx, the factors of three and cosine cancel, leaving one-third times the integral of one over sine theta, or one-third the integral of cosecant theta.

Corey
A standard antiderivative is the negative natural log of the absolute value of cosecant theta plus cotangent theta. So at this stage we have negative one-third times that logarithm, and now we just need to express those trig functions using x.

Anna
From x equals three sine theta, sine theta is x over three. The right triangle has opposite side x, hypotenuse three, and adjacent side the square root of nine minus x squared. Thus cosecant theta is three over x, and cotangent theta is the square root of nine minus x squared over x.

Corey
Putting those into the logarithm gives negative one-third times the natural log of the absolute value of three over x plus the square root of nine minus x squared over x, then plus C. You may also see an equivalent logarithm written with a different sign arrangement.

Anna
So the pattern across all four examples is: identify a squared minus x squared, set x equal to a sine theta, differentiate carefully, simplify with one minus sine squared equals cosine squared, integrate in theta, and then convert back to x. The triangle helps recover any remaining cosine, cotangent, or cosecant terms.

Corey
And keep that dx replacement visible throughout the work. It’s easy to substitute inside the root and forget the differential, but the differential is what supplies the factor that often makes the expression simplify. That’s the sine-substitution toolkit in action.

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