In our previous tutorial, we explored the mechanics of substitution and the algebra of differentials.
Now we turn to a central skill in indefinite integration: knowing which substitution to choose when faced with specific algebraic and radical forms .
Many integrals contain expressions involving square roots that cannot be simplified by polynomial algebra. However, by replacing x x x with an appropriate trigonometric function, the Pythagorean identities dissolve the square roots completely, turning difficult integrands into standard table forms.
Standard Trigonometric Substitutions§
Every trigonometric substitution relies on a fundamental identity to convert a two-term sum or difference under a square root into a single squared term.
Here is an exhaustive reference of the primary patterns:
Algebraic Expression
Recommended Substitution
Differential d x dx d x
Key Identity Used
Simplified Radical
a 2 − x 2 \sqrt{a^2 - x^2} a 2 − x 2
x = a sin θ x = a\sin\theta x = a sin θ
d x = a cos θ d θ dx = a\cos\theta\,d\theta d x = a cos θ d θ
1 − sin 2 θ = cos 2 θ 1 - \sin^2\theta = \cos^2\theta 1 − sin 2 θ = cos 2 θ
a cos θ a\cos\theta a cos θ
a 2 + x 2 \sqrt{a^2 + x^2} a 2 + x 2
x = a tan θ x = a\tan\theta x = a tan θ
d x = a sec 2 θ d θ dx = a\sec^2\theta\,d\theta d x = a sec 2 θ d θ
1 + tan 2 θ = sec 2 θ 1 + \tan^2\theta = \sec^2\theta 1 + tan 2 θ = sec 2 θ
a sec θ a\sec\theta a sec θ
x 2 − a 2 \sqrt{x^2 - a^2} x 2 − a 2
x = a sec θ x = a\sec\theta x = a sec θ
d x = a sec θ tan θ d θ dx = a\sec\theta\tan\theta\,d\theta d x = a sec θ tan θ d θ
sec 2 θ − 1 = tan 2 θ \sec^2\theta - 1 = \tan^2\theta sec 2 θ − 1 = tan 2 θ
a tan θ a\tan\theta a tan θ
a − x a + x \sqrt{\frac{a - x}{a + x}} a + x a − x or a + x a − x \sqrt{\frac{a + x}{a - x}} a − x a + x
x = a cos 2 θ x = a\cos 2\theta x = a cos 2 θ
d x = − 2 a sin 2 θ d θ dx = -2a\sin 2\theta\,d\theta d x = − 2 a sin 2 θ d θ
1 − cos 2 θ 1 + cos 2 θ = tan 2 θ \frac{1 - \cos 2\theta}{1 + \cos 2\theta} = \tan^2\theta 1 + c o s 2 θ 1 − c o s 2 θ = tan 2 θ
tan θ \tan\theta tan θ
( x − a ) ( b − x ) \sqrt{(x - a)(b - x)} ( x − a ) ( b − x )
x = a cos 2 θ + b sin 2 θ x = a\cos^2\theta + b\sin^2\theta x = a cos 2 θ + b sin 2 θ
d x = ( b − a ) sin 2 θ d θ dx = (b - a)\sin 2\theta\,d\theta d x = ( b − a ) sin 2 θ d θ
Factors become squares
( b − a ) sin θ cos θ (b - a)\sin\theta\cos\theta ( b − a ) sin θ cos θ
( x − a ) ( x − b ) \sqrt{(x - a)(x - b)} ( x − a ) ( x − b )
x = a sec 2 θ − b tan 2 θ x = a\sec^2\theta - b\tan^2\theta x = a sec 2 θ − b tan 2 θ
d x = 2 ( a − b ) sec 2 θ tan θ d θ dx = 2(a - b)\sec^2\theta\tan\theta\,d\theta d x = 2 ( a − b ) sec 2 θ tan θ d θ
sec 2 θ − tan 2 θ = 1 \sec^2\theta - \tan^2\theta = 1 sec 2 θ − tan 2 θ = 1
( a − b ) sec θ tan θ (a - b)\sec\theta\tan\theta ( a − b ) sec θ tan θ
Example 1§
Evaluate:
I = ∫ d x x 2 a 2 − x 2 I = \int \frac{dx}{x^2\sqrt{a^2 - x^2}} I = ∫ x 2 a 2 − x 2 d x
Solution:
The presence of a 2 − x 2 \sqrt{a^2 - x^2} a 2 − x 2 suggests the substitution x = a sin θ x = a\sin\theta x = a sin θ .
Let:
x = a sin θ ⟹ d x = a cos θ d θ x = a\sin\theta \implies dx = a\cos\theta\,d\theta x = a sin θ ⟹ d x = a cos θ d θ
Under this substitution:
a 2 − x 2 = a 2 ( 1 − sin 2 θ ) = a cos θ \sqrt{a^2 - x^2} = \sqrt{a^2(1 - \sin^2\theta)} = a\cos\theta a 2 − x 2 = a 2 ( 1 − sin 2 θ ) = a cos θ
Substitute into the integral:
I = ∫ a cos θ d θ ( a 2 sin 2 θ ) ( a cos θ ) = 1 a 2 ∫ d θ sin 2 θ = 1 a 2 ∫ csc 2 θ d θ I = \int \frac{a\cos\theta\,d\theta}{(a^2\sin^2\theta)(a\cos\theta)} = \frac{1}{a^2}\int \frac{d\theta}{\sin^2\theta} = \frac{1}{a^2}\int \csc^2\theta\,d\theta I = ∫ ( a 2 sin 2 θ ) ( a cos θ ) a cos θ d θ = a 2 1 ∫ sin 2 θ d θ = a 2 1 ∫ csc 2 θ d θ
Integrating csc 2 θ \csc^2\theta csc 2 θ :
I = − 1 a 2 cot θ + C I = -\frac{1}{a^2}\cot\theta + C I = − a 2 1 cot θ + C
To express the result in terms of x x x , draw a right-angled triangle with angle θ \theta θ , opposite side x x x , and hypotenuse a a a . The adjacent side is a 2 − x 2 \sqrt{a^2 - x^2} a 2 − x 2 .
Therefore:
cot θ = a 2 − x 2 x \cot\theta = \frac{\sqrt{a^2 - x^2}}{x} cot θ = x a 2 − x 2
Substituting this back gives:
I = − a 2 − x 2 a 2 x + C I = -\frac{\sqrt{a^2 - x^2}}{a^2 x} + C I = − a 2 x a 2 − x 2 + C
Example 2§
Evaluate:
I = ∫ d x ( a 2 + x 2 ) 3 / 2 I = \int \frac{dx}{(a^2 + x^2)^{3/2}} I = ∫ ( a 2 + x 2 ) 3/2 d x
Solution:
The term a 2 + x 2 a^2 + x^2 a 2 + x 2 matches the Pythagorean identity 1 + tan 2 θ = sec 2 θ 1 + \tan^2\theta = \sec^2\theta 1 + tan 2 θ = sec 2 θ .
Let:
x = a tan θ ⟹ d x = a sec 2 θ d θ x = a\tan\theta \implies dx = a\sec^2\theta\,d\theta x = a tan θ ⟹ d x = a sec 2 θ d θ
Then:
a 2 + x 2 = a 2 ( 1 + tan 2 θ ) = a 2 sec 2 θ a^2 + x^2 = a^2(1 + \tan^2\theta) = a^2\sec^2\theta a 2 + x 2 = a 2 ( 1 + tan 2 θ ) = a 2 sec 2 θ
( a 2 + x 2 ) 3 / 2 = ( a 2 sec 2 θ ) 3 / 2 = a 3 sec 3 θ (a^2 + x^2)^{3/2} = (a^2\sec^2\theta)^{3/2} = a^3\sec^3\theta ( a 2 + x 2 ) 3/2 = ( a 2 sec 2 θ ) 3/2 = a 3 sec 3 θ
Substitute into the integral:
I = ∫ a sec 2 θ d θ a 3 sec 3 θ = 1 a 2 ∫ 1 sec θ d θ = 1 a 2 ∫ cos θ d θ I = \int \frac{a\sec^2\theta\,d\theta}{a^3\sec^3\theta} = \frac{1}{a^2}\int \frac{1}{\sec\theta}\,d\theta = \frac{1}{a^2}\int \cos\theta\,d\theta I = ∫ a 3 sec 3 θ a sec 2 θ d θ = a 2 1 ∫ sec θ 1 d θ = a 2 1 ∫ cos θ d θ
I = 1 a 2 sin θ + C I = \frac{1}{a^2}\sin\theta + C I = a 2 1 sin θ + C
From x = a tan θ x = a\tan\theta x = a tan θ , we have tan θ = x a \tan\theta = \frac{x}{a} tan θ = a x . The opposite side is x x x , adjacent is a a a , and the hypotenuse is a 2 + x 2 \sqrt{a^2 + x^2} a 2 + x 2 .
Hence:
sin θ = x a 2 + x 2 \sin\theta = \frac{x}{\sqrt{a^2 + x^2}} sin θ = a 2 + x 2 x
Therefore:
I = x a 2 a 2 + x 2 + C I = \frac{x}{a^2\sqrt{a^2 + x^2}} + C I = a 2 a 2 + x 2 x + C
Example 3§
Evaluate:
I = ∫ x 2 − a 2 x d x ( x > a > 0 ) I = \int \frac{\sqrt{x^2 - a^2}}{x}\,dx \qquad (x > a > 0) I = ∫ x x 2 − a 2 d x ( x > a > 0 )
Solution:
The expression x 2 − a 2 \sqrt{x^2 - a^2} x 2 − a 2 suggests the secant substitution.
Let:
x = a sec θ ⟹ d x = a sec θ tan θ d θ x = a\sec\theta \implies dx = a\sec\theta\tan\theta\,d\theta x = a sec θ ⟹ d x = a sec θ tan θ d θ
Then:
x 2 − a 2 = a 2 ( sec 2 θ − 1 ) = a tan θ \sqrt{x^2 - a^2} = \sqrt{a^2(\sec^2\theta - 1)} = a\tan\theta x 2 − a 2 = a 2 ( sec 2 θ − 1 ) = a tan θ
Substitute these relations into the integral:
I = ∫ a tan θ a sec θ ( a sec θ tan θ d θ ) = a ∫ tan 2 θ d θ I = \int \frac{a\tan\theta}{a\sec\theta}(a\sec\theta\tan\theta\,d\theta) = a\int \tan^2\theta\,d\theta I = ∫ a sec θ a tan θ ( a sec θ tan θ d θ ) = a ∫ tan 2 θ d θ
Using the identity tan 2 θ = sec 2 θ − 1 \tan^2\theta = \sec^2\theta - 1 tan 2 θ = sec 2 θ − 1 :
I = a ∫ ( sec 2 θ − 1 ) d θ = a ( tan θ − θ ) + C I = a\int (\sec^2\theta - 1)\,d\theta = a(\tan\theta - \theta) + C I = a ∫ ( sec 2 θ − 1 ) d θ = a ( tan θ − θ ) + C
Return to the variable x x x :
Since sec θ = x a \sec\theta = \frac{x}{a} sec θ = a x , we have:
tan θ = sec 2 θ − 1 = x 2 − a 2 a \tan\theta = \sqrt{\sec^2\theta - 1} = \frac{\sqrt{x^2 - a^2}}{a} tan θ = sec 2 θ − 1 = a x 2 − a 2
θ = sec − 1 ( x a ) \theta = \sec^{-1}\left(\frac{x}{a}\right) θ = sec − 1 ( a x )
Substituting these yields:
I = a ( x 2 − a 2 a − sec − 1 ( x a ) ) + C I = a\left( \frac{\sqrt{x^2 - a^2}}{a} - \sec^{-1}\left(\frac{x}{a}\right) \right) + C I = a ( a x 2 − a 2 − sec − 1 ( a x ) ) + C
I = x 2 − a 2 − a sec − 1 ( x a ) + C I = \sqrt{x^2 - a^2} - a\sec^{-1}\left(\frac{x}{a}\right) + C I = x 2 − a 2 − a sec − 1 ( a x ) + C
Example 4§
Evaluate:
I = ∫ a − x a + x d x ( − a < x < a ) I = \int \sqrt{\frac{a - x}{a + x}}\,dx \qquad (-a < x < a) I = ∫ a + x a − x d x ( − a < x < a )
Solution:
The ratio a − x a + x \frac{a - x}{a + x} a + x a − x can be transformed into a single trigonometric ratio using the half-angle identity:
1 − cos 2 θ 1 + cos 2 θ = 2 sin 2 θ 2 cos 2 θ = tan 2 θ \frac{1 - \cos 2\theta}{1 + \cos 2\theta} = \frac{2\sin^2\theta}{2\cos^2\theta} = \tan^2\theta 1 + cos 2 θ 1 − cos 2 θ = 2 cos 2 θ 2 sin 2 θ = tan 2 θ
Let:
x = a cos 2 θ ⟹ d x = − 2 a sin 2 θ d θ x = a\cos 2\theta \implies dx = -2a\sin 2\theta\,d\theta x = a cos 2 θ ⟹ d x = − 2 a sin 2 θ d θ
For x ∈ ( − a , a ) x \in (-a, a) x ∈ ( − a , a ) , we choose θ ∈ ( 0 , π 2 ) \theta \in \left(0, \frac{\pi}{2}\right) θ ∈ ( 0 , 2 π ) . The radical simplifies to:
a − a cos 2 θ a + a cos 2 θ = 1 − cos 2 θ 1 + cos 2 θ = tan θ = sin θ cos θ \sqrt{\frac{a - a\cos 2\theta}{a + a\cos 2\theta}} = \sqrt{\frac{1 - \cos 2\theta}{1 + \cos 2\theta}} = \tan\theta = \frac{\sin\theta}{\cos\theta} a + a cos 2 θ a − a cos 2 θ = 1 + cos 2 θ 1 − cos 2 θ = tan θ = cos θ sin θ
Substitute into the integral:
I = ∫ ( sin θ cos θ ) ( − 2 a sin 2 θ d θ ) I = \int \left(\frac{\sin\theta}{\cos\theta}\right)(-2a\sin 2\theta\,d\theta) I = ∫ ( cos θ sin θ ) ( − 2 a sin 2 θ d θ )
Using sin 2 θ = 2 sin θ cos θ \sin 2\theta = 2\sin\theta\cos\theta sin 2 θ = 2 sin θ cos θ :
I = ∫ ( sin θ cos θ ) ( − 4 a sin θ cos θ d θ ) = − 4 a ∫ sin 2 θ d θ I = \int \left(\frac{\sin\theta}{\cos\theta}\right)(-4a\sin\theta\cos\theta\,d\theta) = -4a\int \sin^2\theta\,d\theta I = ∫ ( cos θ sin θ ) ( − 4 a sin θ cos θ d θ ) = − 4 a ∫ sin 2 θ d θ
Apply the identity sin 2 θ = 1 − cos 2 θ 2 \sin^2\theta = \frac{1 - \cos 2\theta}{2} sin 2 θ = 2 1 − c o s 2 θ :
I = − 2 a ∫ ( 1 − cos 2 θ ) d θ = − 2 a ( θ − sin 2 θ 2 ) + C = − 2 a θ + a sin 2 θ + C I = -2a\int (1 - \cos 2\theta)\,d\theta = -2a\left( \theta - \frac{\sin 2\theta}{2} \right) + C = -2a\theta + a\sin 2\theta + C I = − 2 a ∫ ( 1 − cos 2 θ ) d θ = − 2 a ( θ − 2 sin 2 θ ) + C = − 2 a θ + a sin 2 θ + C
Return to x x x :
From x = a cos 2 θ x = a\cos 2\theta x = a cos 2 θ , we have cos 2 θ = x a \cos 2\theta = \frac{x}{a} cos 2 θ = a x , which gives:
2 θ = cos − 1 ( x a ) 2\theta = \cos^{-1}\left(\frac{x}{a}\right) 2 θ = cos − 1 ( a x )
sin 2 θ = 1 − cos 2 2 θ = 1 − x 2 a 2 = a 2 − x 2 a \sin 2\theta = \sqrt{1 - \cos^2 2\theta} = \sqrt{1 - \frac{x^2}{a^2}} = \frac{\sqrt{a^2 - x^2}}{a} sin 2 θ = 1 − cos 2 2 θ = 1 − a 2 x 2 = a a 2 − x 2
Substituting these back:
I = − a cos − 1 ( x a ) + a 2 − x 2 + C I = -a\cos^{-1}\left(\frac{x}{a}\right) + \sqrt{a^2 - x^2} + C I = − a cos − 1 ( a x ) + a 2 − x 2 + C
(Note: Since cos − 1 ( x a ) = π 2 − sin − 1 ( x a ) \cos^{-1}\left(\frac{x}{a}\right) = \frac{\pi}{2} - \sin^{-1}\left(\frac{x}{a}\right) cos − 1 ( a x ) = 2 π − sin − 1 ( a x ) , this antiderivative can equivalently be written as a sin − 1 ( x a ) + a 2 − x 2 + C 1 a\sin^{-1}\left(\frac{x}{a}\right) + \sqrt{a^2 - x^2} + C_1 a sin − 1 ( a x ) + a 2 − x 2 + C 1 .)
Example 5§
Evaluate:
I = ∫ d x ( x − a ) ( b − x ) ( a < x < b ) I = \int \frac{dx}{\sqrt{(x - a)(b - x)}} \qquad (a < x < b) I = ∫ ( x − a ) ( b − x ) d x ( a < x < b )
Solution:
When the radical contains the product ( x − a ) ( b − x ) (x - a)(b - x) ( x − a ) ( b − x ) , a weighted combination of squares decouples both factors simultaneously.
Let:
x = a cos 2 θ + b sin 2 θ ( 0 < θ < π 2 ) x = a\cos^2\theta + b\sin^2\theta \qquad \left(0 < \theta < \frac{\pi}{2}\right) x = a cos 2 θ + b sin 2 θ ( 0 < θ < 2 π )
Notice how each factor simplifies:
x − a = a cos 2 θ + b sin 2 θ − a = a ( cos 2 θ − 1 ) + b sin 2 θ = ( b − a ) sin 2 θ x - a = a\cos^2\theta + b\sin^2\theta - a = a(\cos^2\theta - 1) + b\sin^2\theta = (b - a)\sin^2\theta x − a = a cos 2 θ + b sin 2 θ − a = a ( cos 2 θ − 1 ) + b sin 2 θ = ( b − a ) sin 2 θ
b − x = b − a cos 2 θ − b sin 2 θ = b ( 1 − sin 2 θ ) − a cos 2 θ = ( b − a ) cos 2 θ b - x = b - a\cos^2\theta - b\sin^2\theta = b(1 - \sin^2\theta) - a\cos^2\theta = (b - a)\cos^2\theta b − x = b − a cos 2 θ − b sin 2 θ = b ( 1 − sin 2 θ ) − a cos 2 θ = ( b − a ) cos 2 θ
Multiplying both expressions:
( x − a ) ( b − x ) = ( b − a ) 2 sin 2 θ cos 2 θ (x - a)(b - x) = (b - a)^2\sin^2\theta\cos^2\theta ( x − a ) ( b − x ) = ( b − a ) 2 sin 2 θ cos 2 θ
( x − a ) ( b − x ) = ( b − a ) sin θ cos θ \sqrt{(x - a)(b - x)} = (b - a)\sin\theta\cos\theta ( x − a ) ( b − x ) = ( b − a ) sin θ cos θ
Now compute the differential d x dx d x :
d x = d [ a cos 2 θ + b sin 2 θ ] = [ − 2 a cos θ sin θ + 2 b sin θ cos θ ] d θ = 2 ( b − a ) sin θ cos θ d θ dx = d[a\cos^2\theta + b\sin^2\theta] = [-2a\cos\theta\sin\theta + 2b\sin\theta\cos\theta]\,d\theta = 2(b - a)\sin\theta\cos\theta\,d\theta d x = d [ a cos 2 θ + b sin 2 θ ] = [ − 2 a cos θ sin θ + 2 b sin θ cos θ ] d θ = 2 ( b − a ) sin θ cos θ d θ
Substitute both parts into the integral:
I = ∫ 2 ( b − a ) sin θ cos θ d θ ( b − a ) sin θ cos θ = ∫ 2 d θ = 2 θ + C I = \int \frac{2(b - a)\sin\theta\cos\theta\,d\theta}{(b - a)\sin\theta\cos\theta} = \int 2\,d\theta = 2\theta + C I = ∫ ( b − a ) sin θ cos θ 2 ( b − a ) sin θ cos θ d θ = ∫ 2 d θ = 2 θ + C
Return to x x x :
From x − a = ( b − a ) sin 2 θ x - a = (b - a)\sin^2\theta x − a = ( b − a ) sin 2 θ , we have:
sin 2 θ = x − a b − a ⟹ sin θ = x − a b − a \sin^2\theta = \frac{x - a}{b - a} \implies \sin\theta = \sqrt{\frac{x - a}{b - a}} sin 2 θ = b − a x − a ⟹ sin θ = b − a x − a
θ = sin − 1 x − a b − a \theta = \sin^{-1}\sqrt{\frac{x - a}{b - a}} θ = sin − 1 b − a x − a
Therefore:
I = 2 sin − 1 x − a b − a + C I = 2\sin^{-1}\sqrt{\frac{x - a}{b - a}} + C I = 2 sin − 1 b − a x − a + C
Substitutions Involving Powers of the Variable§
In the standard forms above, the terms inside the radical involve linear or quadratic expressions in x x x .
In many integrals, the expression under the radical involves higher powers or fractional powers, such as:
( a 2 − x 4 ) = a 2 − ( x 2 ) 2 , ( a 6 − x 6 ) = ( a 3 ) 2 − ( x 3 ) 2 , ( a 3 − x 3 ) = ( a 3 / 2 ) 2 − ( x 3 / 2 ) 2 (a^2 - x^4) = a^2 - (x^2)^2, \qquad (a^6 - x^6) = (a^3)^2 - (x^3)^2, \qquad (a^3 - x^3) = (a^{3/2})^2 - (x^{3/2})^2 ( a 2 − x 4 ) = a 2 − ( x 2 ) 2 , ( a 6 − x 6 ) = ( a 3 ) 2 − ( x 3 ) 2 , ( a 3 − x 3 ) = ( a 3/2 ) 2 − ( x 3/2 ) 2
The guiding principle is:
Identify which power of x x x is being squared inside the radical, say u = x n u = x^n u = x n .
Check whether the remaining algebraic factor in the integrand provides the differential x n − 1 d x x^{n-1}\,dx x n − 1 d x .
Apply the appropriate trigonometric substitution directly to x n x^n x n .
Example 6§
Evaluate:
I = ∫ x a 2 − x 2 a 2 + x 2 d x ( 0 < x < a ) I = \int x \sqrt{\frac{a^2 - x^2}{a^2 + x^2}}\,dx \qquad (0 < x < a) I = ∫ x a 2 + x 2 a 2 − x 2 d x ( 0 < x < a )
Solution:
If the expression were a − x a + x \sqrt{\frac{a - x}{a + x}} a + x a − x , we would set x = a cos 2 θ x = a\cos 2\theta x = a cos 2 θ .
Here, the terms inside the radical involve x 2 x^2 x 2 rather than x x x . Notice that the factor x d x x\,dx x d x outside is proportional to the differential of x 2 x^2 x 2 .
Let:
x 2 = a 2 cos 2 θ ( 0 < θ < π 4 ) x^2 = a^2\cos 2\theta \qquad \left(0 < \theta < \frac{\pi}{4}\right) x 2 = a 2 cos 2 θ ( 0 < θ < 4 π )
Differentiating both sides:
2 x d x = − 2 a 2 sin 2 θ d θ ⟹ x d x = − a 2 sin 2 θ d θ 2x\,dx = -2a^2\sin 2\theta\,d\theta \implies x\,dx = -a^2\sin 2\theta\,d\theta 2 x d x = − 2 a 2 sin 2 θ d θ ⟹ x d x = − a 2 sin 2 θ d θ
Now simplify the radical:
a 2 − x 2 a 2 + x 2 = a 2 ( 1 − cos 2 θ ) a 2 ( 1 + cos 2 θ ) = 2 sin 2 θ 2 cos 2 θ = sin θ cos θ \sqrt{\frac{a^2 - x^2}{a^2 + x^2}} = \sqrt{\frac{a^2(1 - \cos 2\theta)}{a^2(1 + \cos 2\theta)}} = \sqrt{\frac{2\sin^2\theta}{2\cos^2\theta}} = \frac{\sin\theta}{\cos\theta} a 2 + x 2 a 2 − x 2 = a 2 ( 1 + cos 2 θ ) a 2 ( 1 − cos 2 θ ) = 2 cos 2 θ 2 sin 2 θ = cos θ sin θ
Substitute into the integral:
I = ∫ ( sin θ cos θ ) ( − a 2 sin 2 θ d θ ) I = \int \left( \frac{\sin\theta}{\cos\theta} \right) (-a^2\sin 2\theta\,d\theta) I = ∫ ( cos θ sin θ ) ( − a 2 sin 2 θ d θ )
Using sin 2 θ = 2 sin θ cos θ \sin 2\theta = 2\sin\theta\cos\theta sin 2 θ = 2 sin θ cos θ :
I = ∫ ( sin θ cos θ ) ( − 2 a 2 sin θ cos θ d θ ) = − 2 a 2 ∫ sin 2 θ d θ I = \int \left( \frac{\sin\theta}{\cos\theta} \right) (-2a^2\sin\theta\cos\theta\,d\theta) = -2a^2\int \sin^2\theta\,d\theta I = ∫ ( cos θ sin θ ) ( − 2 a 2 sin θ cos θ d θ ) = − 2 a 2 ∫ sin 2 θ d θ
Apply the half-angle formula sin 2 θ = 1 − cos 2 θ 2 \sin^2\theta = \frac{1 - \cos 2\theta}{2} sin 2 θ = 2 1 − c o s 2 θ :
I = − a 2 ∫ ( 1 − cos 2 θ ) d θ = − a 2 ( θ − sin 2 θ 2 ) + C I = -a^2\int (1 - \cos 2\theta)\,d\theta = -a^2\left( \theta - \frac{\sin 2\theta}{2} \right) + C I = − a 2 ∫ ( 1 − cos 2 θ ) d θ = − a 2 ( θ − 2 sin 2 θ ) + C
I = − a 2 θ + a 2 2 sin 2 θ + C I = -a^2\theta + \frac{a^2}{2}\sin 2\theta + C I = − a 2 θ + 2 a 2 sin 2 θ + C
Return to the variable x x x :
Since cos 2 θ = x 2 a 2 \cos 2\theta = \frac{x^2}{a^2} cos 2 θ = a 2 x 2 , we have 2 θ = cos − 1 ( x 2 a 2 ) 2\theta = \cos^{-1}\left(\frac{x^2}{a^2}\right) 2 θ = cos − 1 ( a 2 x 2 ) , so θ = 1 2 cos − 1 ( x 2 a 2 ) \theta = \frac{1}{2}\cos^{-1}\left(\frac{x^2}{a^2}\right) θ = 2 1 cos − 1 ( a 2 x 2 ) .
Also:
sin 2 θ = 1 − cos 2 2 θ = 1 − ( x 2 a 2 ) 2 = a 4 − x 4 a 2 \sin 2\theta = \sqrt{1 - \cos^2 2\theta} = \sqrt{1 - \left(\frac{x^2}{a^2}\right)^2} = \frac{\sqrt{a^4 - x^4}}{a^2} sin 2 θ = 1 − cos 2 2 θ = 1 − ( a 2 x 2 ) 2 = a 2 a 4 − x 4
Substituting these back:
I = − a 2 2 cos − 1 ( x 2 a 2 ) + 1 2 a 4 − x 4 + C I = -\frac{a^2}{2}\cos^{-1}\left(\frac{x^2}{a^2}\right) + \frac{1}{2}\sqrt{a^4 - x^4} + C I = − 2 a 2 cos − 1 ( a 2 x 2 ) + 2 1 a 4 − x 4 + C
Example 7§
Evaluate:
I = ∫ x 2 a 6 − x 6 d x ( ∣ x ∣ < a ) I = \int \frac{x^2}{\sqrt{a^6 - x^6}}\,dx \qquad (|x| < a) I = ∫ a 6 − x 6 x 2 d x ( ∣ x ∣ < a )
Solution:
Rewrite the expression under the radical as a difference of squares:
a 6 − x 6 = ( a 3 ) 2 − ( x 3 ) 2 a^6 - x^6 = (a^3)^2 - (x^3)^2 a 6 − x 6 = ( a 3 ) 2 − ( x 3 ) 2
The numerator contains x 2 d x x^2\,dx x 2 d x , which is proportional to the derivative of x 3 x^3 x 3 .
Let:
x 3 = a 3 sin θ ( − π 2 < θ < π 2 ) x^3 = a^3\sin\theta \qquad \left(-\frac{\pi}{2} < \theta < \frac{\pi}{2}\right) x 3 = a 3 sin θ ( − 2 π < θ < 2 π )
Differentiating gives:
3 x 2 d x = a 3 cos θ d θ ⟹ x 2 d x = a 3 3 cos θ d θ 3x^2\,dx = a^3\cos\theta\,d\theta \implies x^2\,dx = \frac{a^3}{3}\cos\theta\,d\theta 3 x 2 d x = a 3 cos θ d θ ⟹ x 2 d x = 3 a 3 cos θ d θ
Rewrite the radical:
a 6 − x 6 = a 6 − ( a 3 sin θ ) 2 = a 6 ( 1 − sin 2 θ ) = a 3 cos θ \sqrt{a^6 - x^6} = \sqrt{a^6 - (a^3\sin\theta)^2} = \sqrt{a^6(1 - \sin^2\theta)} = a^3\cos\theta a 6 − x 6 = a 6 − ( a 3 sin θ ) 2 = a 6 ( 1 − sin 2 θ ) = a 3 cos θ
Substitute into the integral:
I = ∫ a 3 3 cos θ d θ a 3 cos θ = 1 3 ∫ 1 d θ = 1 3 θ + C I = \int \frac{\frac{a^3}{3}\cos\theta\,d\theta}{a^3\cos\theta} = \frac{1}{3}\int 1\,d\theta = \frac{1}{3}\theta + C I = ∫ a 3 cos θ 3 a 3 cos θ d θ = 3 1 ∫ 1 d θ = 3 1 θ + C
Return to x x x :
Since x 3 = a 3 sin θ x^3 = a^3\sin\theta x 3 = a 3 sin θ , we have sin θ = x 3 a 3 \sin\theta = \frac{x^3}{a^3} sin θ = a 3 x 3 , so θ = sin − 1 ( x 3 a 3 ) \theta = \sin^{-1}\left(\frac{x^3}{a^3}\right) θ = sin − 1 ( a 3 x 3 ) .
Therefore:
I = 1 3 sin − 1 ( x 3 a 3 ) + C I = \frac{1}{3}\sin^{-1}\left(\frac{x^3}{a^3}\right) + C I = 3 1 sin − 1 ( a 3 x 3 ) + C
Example 8§
Evaluate:
I = ∫ x a 3 − x 3 d x ( 0 < x < a ) I = \int \sqrt{\frac{x}{a^3 - x^3}}\,dx \qquad (0 < x < a) I = ∫ a 3 − x 3 x d x ( 0 < x < a )
Solution:
Rewrite the integrand:
x ( a 3 / 2 ) 2 − ( x 3 / 2 ) 2 \frac{\sqrt{x}}{\sqrt{(a^{3/2})^2 - (x^{3/2})^2}} ( a 3/2 ) 2 − ( x 3/2 ) 2 x
Notice that the numerator is x 1 / 2 x^{1/2} x 1/2 . Differentiating x 3 / 2 x^{3/2} x 3/2 gives:
d d x [ x 3 / 2 ] = 3 2 x 1 / 2 = 3 2 x \frac{d}{dx}[x^{3/2}] = \frac{3}{2}x^{1/2} = \frac{3}{2}\sqrt{x} d x d [ x 3/2 ] = 2 3 x 1/2 = 2 3 x
This reveals that x 3 / 2 x^{3/2} x 3/2 is the variable being squared inside the radical.
Let:
x 3 / 2 = a 3 / 2 sin θ ( 0 < θ < π 2 ) x^{3/2} = a^{3/2}\sin\theta \qquad \left(0 < \theta < \frac{\pi}{2}\right) x 3/2 = a 3/2 sin θ ( 0 < θ < 2 π )
Differentiating gives:
3 2 x 1 / 2 d x = a 3 / 2 cos θ d θ ⟹ x d x = 2 3 a 3 / 2 cos θ d θ \frac{3}{2}x^{1/2}\,dx = a^{3/2}\cos\theta\,d\theta \implies \sqrt{x}\,dx = \frac{2}{3}a^{3/2}\cos\theta\,d\theta 2 3 x 1/2 d x = a 3/2 cos θ d θ ⟹ x d x = 3 2 a 3/2 cos θ d θ
Simplify the radical:
a 3 − x 3 = ( a 3 / 2 ) 2 − ( a 3 / 2 sin θ ) 2 = a 3 / 2 cos θ \sqrt{a^3 - x^3} = \sqrt{(a^{3/2})^2 - (a^{3/2}\sin\theta)^2} = a^{3/2}\cos\theta a 3 − x 3 = ( a 3/2 ) 2 − ( a 3/2 sin θ ) 2 = a 3/2 cos θ
Substitute both parts into the integral:
I = ∫ 2 3 a 3 / 2 cos θ d θ a 3 / 2 cos θ = 2 3 ∫ 1 d θ = 2 3 θ + C I = \int \frac{\frac{2}{3}a^{3/2}\cos\theta\,d\theta}{a^{3/2}\cos\theta} = \frac{2}{3}\int 1\,d\theta = \frac{2}{3}\theta + C I = ∫ a 3/2 cos θ 3 2 a 3/2 cos θ d θ = 3 2 ∫ 1 d θ = 3 2 θ + C
Return to x x x :
sin θ = x 3 / 2 a 3 / 2 = ( x a ) 3 / 2 ⟹ θ = sin − 1 [ ( x a ) 3 / 2 ] \sin\theta = \frac{x^{3/2}}{a^{3/2}} = \left(\frac{x}{a}\right)^{3/2} \implies \theta = \sin^{-1}\left[ \left(\frac{x}{a}\right)^{3/2} \right] sin θ = a 3/2 x 3/2 = ( a x ) 3/2 ⟹ θ = sin − 1 [ ( a x ) 3/2 ]
Therefore:
I = 2 3 sin − 1 [ ( x a ) 3 / 2 ] + C I = \frac{2}{3}\sin^{-1}\left[ \left(\frac{x}{a}\right)^{3/2} \right] + C I = 3 2 sin − 1 [ ( a x ) 3/2 ] + C
Example 9§
Evaluate:
I = ∫ x 1 + x 4 d x I = \int \frac{x}{\sqrt{1 + x^4}}\,dx I = ∫ 1 + x 4 x d x
Solution:
The radical contains 1 + x 4 = 1 + ( x 2 ) 2 1 + x^4 = 1 + (x^2)^2 1 + x 4 = 1 + ( x 2 ) 2 . The numerator has x d x = 1 2 d ( x 2 ) x\,dx = \frac{1}{2}d(x^2) x d x = 2 1 d ( x 2 ) .
This matches the form 1 + u 2 \sqrt{1 + u^2} 1 + u 2 with u = x 2 u = x^2 u = x 2 .
Let:
x 2 = tan θ ( 0 < θ < π 2 ) x^2 = \tan\theta \qquad \left(0 < \theta < \frac{\pi}{2}\right) x 2 = tan θ ( 0 < θ < 2 π )
Differentiating gives:
2 x d x = sec 2 θ d θ ⟹ x d x = 1 2 sec 2 θ d θ 2x\,dx = \sec^2\theta\,d\theta \implies x\,dx = \frac{1}{2}\sec^2\theta\,d\theta 2 x d x = sec 2 θ d θ ⟹ x d x = 2 1 sec 2 θ d θ
Rewrite the radical:
1 + x 4 = 1 + tan 2 θ = sec θ \sqrt{1 + x^4} = \sqrt{1 + \tan^2\theta} = \sec\theta 1 + x 4 = 1 + tan 2 θ = sec θ
Substitute into the integral:
I = ∫ 1 2 sec 2 θ d θ sec θ = 1 2 ∫ sec θ d θ I = \int \frac{\frac{1}{2}\sec^2\theta\,d\theta}{\sec\theta} = \frac{1}{2}\int \sec\theta\,d\theta I = ∫ sec θ 2 1 sec 2 θ d θ = 2 1 ∫ sec θ d θ
From our standard table of integrals:
I = 1 2 ln ∣ sec θ + tan θ ∣ + C I = \frac{1}{2}\ln|\sec\theta + \tan\theta| + C I = 2 1 ln ∣ sec θ + tan θ ∣ + C
Return to x x x :
Since tan θ = x 2 \tan\theta = x^2 tan θ = x 2 , we have sec θ = 1 + tan 2 θ = 1 + x 4 \sec\theta = \sqrt{1 + \tan^2\theta} = \sqrt{1 + x^4} sec θ = 1 + tan 2 θ = 1 + x 4 .
Therefore:
I = 1 2 ln ( x 2 + 1 + x 4 ) + C I = \frac{1}{2}\ln\left( x^2 + \sqrt{1 + x^4} \right) + C I = 2 1 ln ( x 2 + 1 + x 4 ) + C
Example 10§
Evaluate:
I = ∫ x a − x d x ( 0 < x < a ) I = \int \sqrt{\frac{x}{a - x}}\,dx \qquad (0 < x < a) I = ∫ a − x x d x ( 0 < x < a )
Solution:
Here the numerator has x x x and the denominator has a − x a - x a − x .
If we choose a substitution where x x x is proportional to sin 2 θ \sin^2\theta sin 2 θ , then a − x a - x a − x will naturally become proportional to cos 2 θ \cos^2\theta cos 2 θ , and their quotient will be tan 2 θ \tan^2\theta tan 2 θ .
Let:
x = a sin 2 θ ( 0 < θ < π 2 ) x = a\sin^2\theta \qquad \left(0 < \theta < \frac{\pi}{2}\right) x = a sin 2 θ ( 0 < θ < 2 π )
Differentiating gives:
d x = 2 a sin θ cos θ d θ dx = 2a\sin\theta\cos\theta\,d\theta d x = 2 a sin θ cos θ d θ
Now evaluate the radical:
x a − x = a sin 2 θ a − a sin 2 θ = a sin 2 θ a cos 2 θ = sin θ cos θ \sqrt{\frac{x}{a - x}} = \sqrt{\frac{a\sin^2\theta}{a - a\sin^2\theta}} = \sqrt{\frac{a\sin^2\theta}{a\cos^2\theta}} = \frac{\sin\theta}{\cos\theta} a − x x = a − a sin 2 θ a sin 2 θ = a cos 2 θ a sin 2 θ = cos θ sin θ
Substitute into the integral:
I = ∫ ( sin θ cos θ ) ( 2 a sin θ cos θ d θ ) I = \int \left( \frac{\sin\theta}{\cos\theta} \right) (2a\sin\theta\cos\theta\,d\theta) I = ∫ ( cos θ sin θ ) ( 2 a sin θ cos θ d θ )
The cos θ \cos\theta cos θ cancels:
I = 2 a ∫ sin 2 θ d θ I = 2a\int \sin^2\theta\,d\theta I = 2 a ∫ sin 2 θ d θ
Using sin 2 θ = 1 − cos 2 θ 2 \sin^2\theta = \frac{1 - \cos 2\theta}{2} sin 2 θ = 2 1 − c o s 2 θ :
I = a ∫ ( 1 − cos 2 θ ) d θ = a ( θ − sin 2 θ 2 ) + C = a ( θ − sin θ cos θ ) + C I = a\int (1 - \cos 2\theta)\,d\theta = a\left( \theta - \frac{\sin 2\theta}{2} \right) + C = a(\theta - \sin\theta\cos\theta) + C I = a ∫ ( 1 − cos 2 θ ) d θ = a ( θ − 2 sin 2 θ ) + C = a ( θ − sin θ cos θ ) + C
Return to x x x :
From x = a sin 2 θ x = a\sin^2\theta x = a sin 2 θ :
sin θ = x a ⟹ θ = sin − 1 x a \sin\theta = \sqrt{\frac{x}{a}} \implies \theta = \sin^{-1}\sqrt{\frac{x}{a}} sin θ = a x ⟹ θ = sin − 1 a x
cos θ = 1 − sin 2 θ = 1 − x a = a − x a \cos\theta = \sqrt{1 - \sin^2\theta} = \sqrt{1 - \frac{x}{a}} = \sqrt{\frac{a - x}{a}} cos θ = 1 − sin 2 θ = 1 − a x = a a − x
Therefore:
sin θ cos θ = x a ⋅ a − x a = x ( a − x ) a \sin\theta\cos\theta = \sqrt{\frac{x}{a}} \cdot \sqrt{\frac{a - x}{a}} = \frac{\sqrt{x(a - x)}}{a} sin θ cos θ = a x ⋅ a a − x = a x ( a − x )
Substitute these into our antiderivative:
I = a ( sin − 1 x a − x ( a − x ) a ) + C I = a\left( \sin^{-1}\sqrt{\frac{x}{a}} - \frac{\sqrt{x(a - x)}}{a} \right) + C I = a ( sin − 1 a x − a x ( a − x ) ) + C
I = a sin − 1 x a − x ( a − x ) + C I = a\sin^{-1}\sqrt{\frac{x}{a}} - \sqrt{x(a - x)} + C I = a sin − 1 a x − x ( a − x ) + C