Substitution — Second Type (Trigonometric)

Second-type (trigonometric) substitution is used to handle radicals.

When to Use It

The Basic Substitutions

Example

Example 1 ∫11−x2dx\int \dfrac{1}{\sqrt{1 - x^2}} dx
x=sin⁡tx=\sin t, dx=cos⁡t dtdx=\cos t\,dt, 1−x2=cos⁡t\sqrt{1-x^2}=\cos t → ∫dt=arcsin⁡x+C\int dt = \arcsin x + C.

Example 2 ∫11+x2dx\int \dfrac{1}{1 + x^2} dx
x=tan⁡tx=\tan t, dx=sec⁡2t dtdx=\sec^2 t\,dt → ∫11+tan⁡2tsec⁡2tdt=∫dt=arctan⁡x+C\int \dfrac{1}{1+\tan^2 t}\sec^2 t dt = \int dt = \arctan x + C.


Exercises

Exercise 1

Use the second-type substitution x=φ(t)x = \varphi(t) to compute the indefinite integral ∫dx(1+x2)3/2\int \frac{dx}{(1+x^2)^{3/2}}, and state the conditions under which the substitution is valid.

second-type substitutiontrigonometric substitutionindefinite integralapplicability conditions

Approach: The denominator is a positive integer power of 1+x21+x^2, so put x=tan⁡tx = \tan t and use the identity 1+tan⁡2t=sec⁡2t1 + \tan^2 t = \sec^2 t to turn the denominator into sec⁡3t\sec^3 t; the sec⁡2t\sec^2 t in dxdx then cancels one factor of sec⁡t\sec t. The validity condition is that tt must be taken in (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right), where sec⁡t>0\sec t > 0, so that (1+x2)3/2=sec⁡3t(1+x^2)^{3/2} = \sec^3 t holds (otherwise one would need ∣sec⁡t∣|\sec t| cubed).

Steps:

  1. Let x=tan⁡tx = \tan t with t∈(−π2,π2)t \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), so dx=sec⁡2t dtdx = \sec^2 t \, dt and 1+x2=1+tan⁡2t=sec⁡2t1 + x^2 = 1 + \tan^2 t = \sec^2 t, hence (1+x2)3/2=sec⁡3t(1+x^2)^{3/2} = \sec^3 t.
  2. Substitute: ∫dx(1+x2)3/2=∫sec⁡2tsec⁡3t dt=∫cos⁡t dt=sin⁡t+C\int \frac{dx}{(1+x^2)^{3/2}} = \int \frac{\sec^2 t}{\sec^3 t} \, dt = \int \cos t \, dt = \sin t + C.
  3. Back-substitute: from tan⁡t=x\tan t = x we get sin⁡t=x1+x2\sin t = \frac{x}{\sqrt{1+x^2}}, so the original integral is x1+x2+C\frac{x}{\sqrt{1+x^2}} + C.
  4. Verify by differentiating: ddx[x1+x2]=11+x2−x2(1+x2)3/2=1+x2−x2(1+x2)3/2=1(1+x2)3/2\frac{d}{dx}\left[\frac{x}{\sqrt{1+x^2}}\right] = \frac{1}{\sqrt{1+x^2}} - \frac{x^2}{(1+x^2)^{3/2}} = \frac{1+x^2-x^2}{(1+x^2)^{3/2}} = \frac{1}{(1+x^2)^{3/2}}, which matches the original integrand.

Answer: ∫dx(1+x2)3/2=x1+x2+C\int \frac{dx}{(1+x^2)^{3/2}} = \frac{x}{\sqrt{1+x^2}} + C.

Exercise 2

Use the second-type substitution to compute the definite integral ∫01dx1+x2\int_0^1 \frac{dx}{1+x^2}, transforming the limits as well.

second-type substitutiontrigonometric substitutiondefinite integralchange of limits

Approach: When a substitution is made in a definite integral, the limits must be transformed along with the integrand. The new upper limit is fixed by x=1x = 1, which gives tan⁡t=1\tan t = 1 and hence t=π4t = \frac{\pi}{4}; the new lower limit is fixed by x=0x = 0, which gives t=0t = 0. This step is the most common place to lose marks.

Steps:

  1. Let x=tan⁡tx = \tan t with t∈(−π2,π2)t \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right), so dx=sec⁡2t dtdx = \sec^2 t \, dt and 1+x2=1+tan⁡2t=sec⁡2t1+x^2 = 1+\tan^2 t = \sec^2 t.
  2. Transform the limits: x=0x = 0 corresponds to tan⁡t=0\tan t = 0, that is t=0t = 0; x=1x = 1 corresponds to tan⁡t=1\tan t = 1, that is t=π4t = \frac{\pi}{4}.
  3. Substitute and integrate: ∫01dx1+x2=∫0π/4sec⁡2tsec⁡2t dt=∫0π/4dt=[t]0π/4=π4\int_0^1 \frac{dx}{1+x^2} = \int_0^{\pi/4} \frac{\sec^2 t}{\sec^2 t} \, dt = \int_0^{\pi/4} dt = \left[t\right]_0^{\pi/4} = \frac{\pi}{4}.
  4. Cross-check with the Newton–Leibniz formula: the antiderivative is arctan⁡x\arctan x, so ∫01dx1+x2=arctan⁡1−arctan⁡0=π4−0=π4\int_0^1 \frac{dx}{1+x^2} = \arctan 1 - \arctan 0 = \frac{\pi}{4} - 0 = \frac{\pi}{4}, in agreement with step 3.

Answer: ∫01dx1+x2=π4\int_0^1 \frac{dx}{1+x^2} = \frac{\pi}{4}.

Exercise 3

Compute the indefinite integral ∫dxx2−1\int \frac{dx}{\sqrt{x^2-1}}, and point out the interval on which the substitution you used is valid.

second-type substitutiontrigonometric substitutionindefinite integralsecant function

Approach: The radical has the form x2−a2\sqrt{x^2-a^2} (here a=1a = 1), so put x=asec⁡tx = a\sec t and use the identity sec⁡2t−1=tan⁡2t\sec^2 t - 1 = \tan^2 t. The valid interval is determined by x≥ax \ge a: taking t∈[0,π2)t \in \left[0, \frac{\pi}{2}\right) gives sec⁡t≥1\sec t \ge 1 and tan⁡t≥0\tan t \ge 0, so x=sec⁡t≥1x = \sec t \ge 1 and x2−1=tan⁡t\sqrt{x^2-1} = \tan t holds (otherwise one would need ∣tan⁡t∣|\tan t|).

Steps:

  1. Let x=sec⁡tx = \sec t with t∈[0,π2)t \in \left[0, \frac{\pi}{2}\right), so dx=sec⁡ttan⁡t dtdx = \sec t \tan t \, dt and x2−1=sec⁡2t−1=tan⁡2t=tan⁡t\sqrt{x^2-1} = \sqrt{\sec^2 t - 1} = \sqrt{\tan^2 t} = \tan t (here tan⁡t≥0\tan t \ge 0).
  2. Substitute: ∫dxx2−1=∫sec⁡ttan⁡ttan⁡t dt=∫sec⁡t dt=ln⁡∣sec⁡t+tan⁡t∣+C\int \frac{dx}{\sqrt{x^2-1}} = \int \frac{\sec t \tan t}{\tan t} \, dt = \int \sec t \, dt = \ln|\sec t + \tan t| + C.
  3. Back-substitute: from sec⁡t=x\sec t = x and tan⁡t=x2−1\tan t = \sqrt{x^2-1} we get ln⁡∣sec⁡t+tan⁡t∣=ln⁡∣x+x2−1∣\ln|\sec t + \tan t| = \ln|x + \sqrt{x^2-1}|.
  4. Verify by differentiating (for x>1x > 1 we have x+x2−1>0x + \sqrt{x^2-1} > 0): ddxln⁡(x+x2−1)=1+xx2−1x+x2−1=x2−1+xx2−1(x+x2−1)=1x2−1\frac{d}{dx}\ln\left(x + \sqrt{x^2-1}\right) = \frac{1 + \frac{x}{\sqrt{x^2-1}}}{x + \sqrt{x^2-1}} = \frac{\sqrt{x^2-1} + x}{\sqrt{x^2-1}\left(x + \sqrt{x^2-1}\right)} = \frac{1}{\sqrt{x^2-1}}, which matches the original integrand.

Answer: ∫dxx2−1=ln⁡∣x+x2−1∣+C\int \frac{dx}{\sqrt{x^2-1}} = \ln\left|x + \sqrt{x^2-1}\right| + C.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∫\intmathematical symbolintegralIndefinite/definite integral sign
ttvariableteeThe trigonometric variable after substitution
aaconstantaThe positive constant that scales the trigonometric substitution
xxvariableexThe original variable replaced by a trigonometric expression
a2−x2\sqrt{a^2 - x^2}mathematical symbolsquare root of a squared minus x squaredThe radical form handled by the substitution x=asin⁡tx = a \sin t
a2+x2\sqrt{a^2 + x^2}mathematical symbolsquare root of a squared plus x squaredThe radical form handled by the substitution x=atan⁡tx = a \tan t
x2−a2\sqrt{x^2 - a^2}mathematical symbolsquare root of x squared minus a squaredThe radical form handled by the substitution x=asec⁡tx = a \sec t
sin⁡t,cos⁡t\sin t, \cos tmathematical symbolsine of t, cosine of tThe trigonometric functions that replace the radical in Example 1
tan⁡t,sec⁡t\tan t, \sec tmathematical symboltangent of t, secant of tThe trigonometric functions that replace the radical in Example 2
arcsin⁡x,arctan⁡x\arcsin x, \arctan xmathematical symbolarc sine of x, arc tangent of xThe inverse trigonometric functions that appear in the final answers
dxdxmathematical symboldifferential of xThe differential element of the integration variable xx
CCmathematical symbolconstant of integrationThe arbitrary constant in every antiderivative

Found an issue with this content?

Tell us what could be improved.