MAT1051 · Week 14 · Inverse Substitution and Review
Inverse substitution: trigonometric substitution
The substitutions x = a sin θ, a tan θ, a sec θ when you see a² - x², a² + x², x² - a² inside roots, returning with a triangle, completing the square and algebraic inverse substitutions.
inverse substitutiontrigonometric substitutionreference trianglecompleting the squaresine substitutiontangent substitutionsecant substitutionrationalizing substitution
In substitution (week 12) you defined a new variable by saying u=g(x). In inverse substitution you do the opposite: you write x as a function of a new variable, x=g(θ). Why? Because for roots like a2−x2, putting x=asinθ gives a2cos2θ=acosθ and the root disappears. This is using the trigonometric identities (1−sin2=cos2, 1+tan2=sec2, sec2−1=tan2) in integrals. There is usually one on the final exams. Keep in mind:
The form inside the root determines the substitution. There are three types, memorize them.
Convert dx too. If x=asinθ, then dx=acosθdθ.
Draw a triangle to convert the result back to x.
Try a simple substitution first. If the derivative of the radicand is outside the root, trigonometry is unnecessary.
The three basic substitutions
Expression
Substitution
Identity used
What the root becomes
a2−x2
x=asinθ
1−sin2θ=cos2θ
acosθ
a2+x2
x=atanθ
1+tan2θ=sec2θ
asecθ
x2−a2
x=asecθ
sec2θ−1=tan2θ
atanθ
Because you choose θ from the range of the inverse trigonometric function ([−2π,2π] for sine), cosθ≥0, and the square root comes out without an absolute value.
Sine substitution: a2−x2
Example 1.∫9−x2dx.
x = 3 sin θ, dx = 3 cos θ dθ, sqrt(9 - x^2) = 3 cos θ∫ 3 cos θ · 3 cos θ dθ = 9 ∫ cos^2 θ dθ = 9 (θ/2 + sin 2θ / 4) = (9/2) θ + (9/2) sin θ cos θ
Now go back to x. Draw the right triangle with sinθ=3x: opposite side x, hypotenuse 3, adjacent side 9−x2. From it cosθ=39−x2 and θ=arcsin3x.
∫9−x2dx=29arcsin3x+2x9−x2+C
Check: ∫039−x2dx is the area of a quarter circle, 49π. From the formula: 29⋅2π+0−0=49π. It matches.
PITFALL · leaving sin2θ unconverted. If θ or sin2θ remains in the answer, it counts as incomplete. First write sin2θ=2sinθcosθ, then go to x using the triangle.
−ln2 is absorbed into the constant. In week 7 you saw that the derivative of ln(x+x2+1) is x2+11; this is its general form.
Secant substitution: x2−a2
Example 3.∫x2x2−1dx, x>1.
x=secθ, dx=secθtanθdθ, x2−1=tanθ.
∫sec2θtanθsecθtanθdθ=∫cosθdθ=sinθ+C
Triangle: secθ=1x, so the hypotenuse is x, adjacent 1, opposite x2−1. sinθ=xx2−1.
∫x2x2−1dx=xx2−1+C
Inverse substitution in a definite integral
In a definite integral you don’t have to go back to x: if you convert the limits to θ, you finish without drawing a triangle. For x=asinθ, θ=arcsinax; for x=atanθ, θ=arctanax. Convert each limit with this formula.
There is no root here but there is a power of 1+x2; the tangent substitution works again. The rule is not limited to roots: think of the substitution whenever the expression a2±x2 or x2−a2, or its power, makes the integrand hard.
Why does it work, and why do we go back?
In inverse substitution you are really changing the variable with the function θ=arcsinax. Since this function is one-to-one on the chosen interval, the substitution can be undone and the integral does not change. Knowing the range of θ ([−2π,2π], and [0,2π) for secant) determines the sign of the cosθ or tanθ that comes out of the root. That is why Example 3 and Questions 6 and 7 have a condition like "x>1": so that the value of secant is positive and tanθ≥0.
Completing the square
If you see ax2+bx+c or ax2+bx+c1, first complete the square, then reduce it to one of the three types above.
Example 4.∫x2+2x+5dx.
x2+2x+5=(x+1)2+4. With u=x+1 it reached the form of Example 2:
∫u2+4du=ln(u+u2+4)+C=ln(x+1+x2+2x+5)+C
If the leading coefficient is negative (5+4x−x2), first take the minus out: −(x2−4x)+5=−(x−2)2+4+5=9−(x−2)2. This is the sine type.
Algebraic inverse substitution
In Adams, “inverse substitution” is not only trigonometric. Writing x as a power to get rid of a root is the same idea.
u=x: 2x−2arctanx+C. In the integrand that became rational, the numerator’s degree equals the denominator’s, so we divided first (week 13).
Which method? A decision table
is there a root in the integrand? ├─ the derivative of the radicand (up to a constant) is outside the root -> u = radicand (simple) ├─ a^2 - x^2 -> x = a sin θ ├─ a^2 + x^2 -> x = a tan θ ├─ x^2 - a^2 -> x = a sec θ ├─ ax^2 + bx + c -> complete the square, then the three above └─ √x, ∛x -> x = u^2, u^3
PITFALL · an unnecessary trigonometric substitution. For ∫x2+9xdx, x=3tanθ works but takes four lines. With u=x2+9 it is x2+9+C in one line. What saves time on an exam is seeing the simple way first.
Common mistakes
Wrong thinking
Correct
Saying x=asinθ and writing dx=dθ
dx=acosθdθ
x=asinθ for a2+x2
With a plus sign, use tangent
Leaving θ in the answer
Go back to x with the triangle
Writing sin2θ directly as sina2x
2sinθcosθ, then the triangle
Not converting the θ limits in a definite integral
If x=1 and x=tanθ, then θ=4π
Balancing the constant wrongly when completing the square
x2+4x+13=(x+2)2−4+13=(x+2)2+9
Not distributing the minus with a negative leading coefficient
5+4x−x2=9−(x−2)2
Trig substitution for every integral with a root
If the derivative of the radicand is outside, use a simple u
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Find ∫9−x2dx.
Show answer
arcsin3x+C
x=3sinθ, dx=3cosθdθ, 9−x2=3cosθ. The integral is ∫3cosθ3cosθdθ=θ+C. θ=arcsin3x. (As a formula: ∫a2−x2dx=arcsinax+C.)
Question 2medium
Find ∫4−x2dx.
Show answer
2x4−x2+2arcsin2x+C
x=2sinθ, dx=2cosθdθ, 4−x2=2cosθ. ∫4cos2θdθ=4(2θ+4sin2θ)=2θ+2sinθcosθ. Triangle: sinθ=2x, cosθ=24−x2. The result is 2arcsin2x+2x4−x2+C.
Question 3medium
Evaluate ∫01(1+x2)3/2dx.
Show answer
21=22
x=tanθ, dx=sec2θdθ, 1+x2=sec2θ, (1+x2)3/2=sec3θ. The integral is ∫cosθdθ=sinθ. Limits: x=0→θ=0, x=1→θ=4π. sin4π−0=22.
The root contains x2+9 and outside there is x, which is half the derivative of the radicand. Trigonometric substitution is unnecessary: u=x2+9, du=2xdx. 21∫925u−1/2du=[u]925=5−3=2.
Question 11hard
Use a trigonometric substitution to find the area enclosed by the ellipse 25x2+9y2=1.
Show answer
15π
The upper half is y=31−25x2=5325−x2. By symmetry the area is 4∫055325−x2dx. x=5sinθ: ∫0525−x2dx=∫0π/225cos2θdθ=425π. The area is 4⋅53⋅425π=15π. The general result is πab.
Verification: All answers were checked with node (verify/MAT1051/14.mjs): the numerical derivative of the indefinite integral answers was compared with the integrand at three points; definite integrals and the area of the ellipse with Simpson's rule.
Review card
sqrt(a^2 - x^2) -> x = a sin θ, dx = a cos θ dθ, root = a cos θ
sqrt(a^2 + x^2) -> x = a tan θ, dx = a sec^2 θ dθ, root = a sec θ
sqrt(x^2 - a^2) -> x = a sec θ, dx = a sec θ tan θ dθ, root = a tan θ
Going back: draw a TRIANGLE (sin θ = x/a: opposite x, hypotenuse a)
∫ cos^2 = θ/2 + sin2θ/4 ∫ sin^2 = θ/2 - sin2θ/4 sin2θ = 2 sinθ cosθ
∫ sec θ = ln|sec θ + tan θ| ∫ tan^2 = tan θ - θ
∫ dx/√(a^2 - x^2) = arcsin(x/a) ∫ dx/(a^2 + x^2) = (1/a) arctan(x/a)
ax^2 + bx + c -> COMPLETE THE SQUARE, then one of the three types above
Try simple u-sub first: if the derivative of the radicand is outside the root, trig is unnecessary
If √x, ∛x is present: use x = u^2 (u^3) to get rid of the root