Calculus 2 2026-05-18 - Trigonometric Substitution Lecture

Introduction to Trigonometric Substitutions

  • The Problem of the Square Root: In calculus, integrals involving square roots of quadratic expressions like a2x2\sqrt{a^2 - x^2}, x2+a2\sqrt{x^2 + a^2}, or x2a2\sqrt{x^2 - a^2} are difficult to solve using basic U-substitution or integration by parts.

  • Geometric Motivation: If we consider a right triangle with a hypotenuse of aa and a leg of xx, the Pythagorean theorem tells us the other side is a2x2\sqrt{a^2 - x^2}. This suggests we can express the variable xx in terms of trigonometric functions to simplify the integral.

  • Domain and Range Considerations:

    • For an expression like 9x2\sqrt{9 - x^2}, the domain of xx is limited. If xx is too large or too small (e.g., x=5x = 5 or x=5x = -5), we get a negative value under the square root, resulting in a complex number. Thus, xx must be between 3-3 and 33.

    • Because the range of sin(θ)\sin(\theta) is between 1-1 and 11, we can make the substitution x=3×θx = 3 \times \theta so that 3×1x3×1-3 \times 1 \le x \le 3 \times 1.

    • The Hidden Theorem: This substitution is valid due to the Intermediate Value Theorem, ensuring there is always a value of θ\theta such that x=a×θx = a \times \theta.

Case 1: Transformations for $\sqrt{a^2 - x^2}$

  • The Transformation Identity: This case relies on the identity sin2(θ)+cos2(θ)=1\sin^2(\theta) + \text{cos}^2(\theta) = 1, rearranged as 1sin2(θ)=cos2(θ)1 - \text{sin}^2(\theta) = \text{cos}^2(\theta).

  • Substitution Rule: Set x=a sin(θ)x = a \text{ sin}(\theta).

  • Differential Item: We must also change the differential: dx=a cos(θ)dθdx = a \text{ cos}(\theta) d\theta.

  • Simplification Process (Example with 9x2\sqrt{9 - x^2}):

    1. Substitute x=3 sin(θ)x = 3 \text{ sin}(\theta).

    2. 9(3 sin(θ))2=99 sin2(θ)\sqrt{9 - (3 \text{ sin}(\theta))^2} = \sqrt{9 - 9 \text{ sin}^2(\theta)}.

    3. Factor out the 99: 9(1sin2(θ))=3cos2(θ)\sqrt{9(1 - \text{sin}^2(\theta))} = 3 \sqrt{\text{cos}^2(\theta)}.

    4. The square root is eliminated: 3 cos(θ)3 \text{ cos}(\theta).

  • Integrating Powers of Cosine: If the substitution results in cos2(θ)dθ\int \text{cos}^2(\theta) d\theta, use the Power Reduction Formula (Double Angle Formula):

    • cos2(θ)=12(1+cos(2θ))\text{cos}^2(\theta) = \frac{1}{2}(1 + \text{cos}(2\theta))

    • For sine: sin2(θ)=12(1cos(2θ))\text{sin}^2(\theta) = \frac{1}{2}(1 - \text{cos}(2\theta))

  • Reversion to Original Variable: After integrating in terms of θ\theta, we must return to xx.

    • If x=3 sin(θ)x = 3 \text{ sin}(\theta), then θ=sin1(x3)\theta = \text{sin}^{-1}(\frac{x}{3}).

    • Use the reference triangle (SOH CAH TOA) to find functions like cos(θ)\text{cos}(\theta) or tan(θ)\text{tan}(\theta).

Example Walkthrough: $\int \frac{1}{x^2 \sqrt{4 - x^2}} dx$

  • Identifying a: Here a2=4a^2 = 4, so a=2a = 2.

  • Setup:

    • x=2 sin(θ)x = 2 \text{ sin}(\theta).

    • dx=2 cos(θ)dθdx = 2 \text{ cos}(\theta) d\theta.

  • Substitution: 2 cos(θ)dθ(2 sin(θ))24(2 sin(θ))2\int \frac{2 \text{ cos}(\theta) d\theta}{(2 \text{ sin}(\theta))^2 \sqrt{4 - (2 \text{ sin}(\theta))^2}}.

  • Simplification:

    • Denominator: 4 sin2(θ)44 sin2(θ)=4 sin2(θ)×21sin2(θ)=8 sin2(θ) cos(θ)4 \text{ sin}^2(\theta) \sqrt{4 - 4 \text{ sin}^2(\theta)} = 4 \text{ sin}^2(\theta) \times 2 \sqrt{1 - \text{sin}^2(\theta)} = 8 \text{ sin}^2(\theta) \text{ cos}(\theta).

    • The overall integral becomes 2 cos(θ)8 sin2(θ) cos(θ)dθ\int \frac{2 \text{ cos}(\theta)}{8 \text{ sin}^2(\theta) \text{ cos}(\theta)} d\theta.

    • Cancellation: 141sin2(θ)dθ=14csc2(θ)dθ\frac{1}{4} \int \frac{1}{\text{sin}^2(\theta)} d\theta = \frac{1}{4} \int \text{csc}^2(\theta) d\theta.

  • Integration: The elementary anti-derivative is 14 cot(θ)+C-\frac{1}{4} \text{ cot}(\theta) + C.

  • Back Substitution:

    • From our triangle: sin(θ)=x2\text{sin}(\theta) = \frac{x}{2} (opposite/hypotenuse).

    • Adjacent side = 22x2=4x2\sqrt{2^2 - x^2} = \sqrt{4 - x^2}.

    • cot(θ)=adjacentopposite=4x2x\text{cot}(\theta) = \frac{\text{adjacent}}{\text{opposite}} = \frac{\sqrt{4 - x^2}}{x}.

    • Final Answer: 4x24x+C-\frac{\sqrt{4 - x^2}}{4x} + C.

Case 2: Transformations for $\sqrt{x^2 + a^2}$

  • Substitution Rule: Set x=a tan(θ)x = a \text{ tan}(\theta).

  • Differential Item: dx=a sec2(θ)dθdx = a \text{ sec}^2(\theta) d\theta.

  • Transformation Identity: 1+tan2(θ)=sec2(θ)1 + \text{tan}^2(\theta) = \text{sec}^2(\theta).

  • Reference Triangle Geometry:

    • Opposite side: xx.

    • Adjacent side: aa.

    • Hypotenuse: x2+a2\sqrt{x^2 + a^2}.

  • Example Case: x3x2+4dx\int \frac{x^3}{\sqrt{x^2 + 4}} dx

    • x=2 tan(θ)x = 2 \text{ tan}(\theta), dx=2 sec2(θ)dθdx = 2 \text{ sec}^2(\theta) d\theta.

    • x3=8 tan3(θ)x^3 = 8 \text{ tan}^3(\theta).

    • The square root simplifies: 4 tan2(θ)+4=2 sec(θ)\sqrt{4 \text{ tan}^2(\theta) + 4} = 2 \text{ sec}(\theta).

    • Integral: 8 tan3(θ)2 sec2(θ)2 sec(θ)dθ=8 tan3(θ) sec(θ)dθ\int \frac{8 \text{ tan}^3(\theta) \cdot 2 \text{ sec}^2(\theta)}{2 \text{ sec}(\theta)} d\theta = 8 \int \text{ tan}^3(\theta) \text{ sec}(\theta) d\theta.

    • Solving the Trig Integral: Use the identity tan2(θ)=sec2(θ)1\text{tan}^2(\theta) = \text{sec}^2(\theta) - 1.

    • 8(sec2(θ)1) sec(θ) tan(θ)dθ8 \int (\text{sec}^2(\theta) - 1) \text{ sec}(\theta) \text{ tan}(\theta) d\theta.

    • Let u=sec(θ)u = \text{sec}(\theta), du=sec(θ) tan(θ)dθdu = \text{sec}(\theta) \text{ tan}(\theta) d\theta.

    • Integral becomes 8(u21)du=8(u33u)+C8 \int (u^2 - 1) du = 8(\frac{u^3}{3} - u) + C.

    • Revert to xx using the triangle: sec(θ)=hypotenuseadjacent=x2+42\text{sec}(\theta) = \frac{\text{hypotenuse}}{\text{adjacent}} = \frac{\sqrt{x^2 + 4}}{2}.

Case 3: Transformations for $\sqrt{x^2 - a^2}$

  • Substitution Rule: Set x=a sec(θ)x = a \text{ sec}(\theta).

  • Differential Item: dx=a sec(θ) tan(θ)dθdx = a \text{ sec}(\theta) \text{ tan}(\theta) d\theta.

  • Transformation Identity: sec2(θ)1=tan2(θ)\text{sec}^2(\theta) - 1 = \text{tan}^2(\theta).

  • Reference Triangle Geometry:

    • Hypotenuse: xx.

    • Adjacent side: aa.

    • Opposite side: x2a2\sqrt{x^2 - a^2}.

  • Handling Non-Perfect Squares: If you have x22\sqrt{x^2 - 2}, then a2=2a^2 = 2, so a=2a = \sqrt{2}.

  • Example Integration: 1x22dx\int \frac{1}{\sqrt{x^2 - 2}} dx

    1. x=2 sec(θ)x = \sqrt{2} \text{ sec}(\theta).

    2. dx=2 sec(θ) tan(θ)dθdx = \sqrt{2} \text{ sec}(\theta) \text{ tan}(\theta) d\theta.

    3. Substitution: 2 sec(θ) tan(θ)2 sec2(θ)2dθ=2 sec(θ) tan(θ)2 tan(θ)dθ= sec(θ)dθ\int \frac{\sqrt{2} \text{ sec}(\theta) \text{ tan}(\theta)}{\sqrt{2 \text{ sec}^2(\theta) - 2}} d\theta = \int \frac{\sqrt{2} \text{ sec}(\theta) \text{ tan}(\theta)}{\sqrt{2} \text{ tan}(\theta)} d\theta = \int \text{ sec}(\theta) d\theta.

    4. Anti-derivative: lnsec(θ)+tan(θ)+C\text{ln}|\text{sec}(\theta) + \text{tan}(\theta)| + C.

    5. Convert back to xx: sec(θ)=x2\text{sec}(\theta) = \frac{x}{\sqrt{2}}, tan(θ)=x222\text{tan}(\theta) = \frac{\sqrt{x^2 - 2}}{\sqrt{2}}.

Complex Definite Integral Example

  • The Problem: Solving an integral with bounds (e.g., x=3x = 3 to x=5x = 5) using trig substitution.

  • Procedure:

    • When θ\theta was substituted for xx, we change the bounds accordingly using the inverse function.

    • Example logic: If x=a sec(θ)x = a \text{ sec}(\theta) and you evaluate at a specific point, you can avoid using the triangle at the end by evaluating in terms of θ\theta.

  • Evaluating Results:

    • Calculation: 9×43×53+12 ln(53+43)9 ln(...)9 \times \frac{4}{3} \times \frac{5}{3} + \frac{1}{2} \text{ ln}(\frac{5}{3} + \frac{4}{3}) - 9 \text{ ln}(...).

    • The terms might involve constants like 929=92\frac{9}{2} - 9 = -\frac{9}{2}.

    • Algebraic simplification: ln(1)=0\text{ln}(1) = 0, so many terms may drop out when plugging in lower bounds like x=0x = 0 or θ=0\theta = 0.

Questions & Discussion

  • Question (Audience): "Why did it become x like x4x - 4 over here?"

  • Response (Instructor): "Oh, sorry… twos. Yeah, it is 222^2 not 22. This changes the reference triangle… the 22 is now a 99, which tells me that my aa should be 33."

  • Question (Audience): Concern about the duration of the calculation.

  • Response (Instructor): "That problem took 20 minutes. This is why we don't do these very often. The integration is the easy part; the definite integral evaluation is usually the most cluttered algebra part."

  • Administrative Note: The instructor will return quizzes tomorrow. The next session will focus on more examples involving these three triangles without being told which case to use.