Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Exercise 7.3 · Q15: ∫tan⁡32x sec⁡2x dx\int\tan^3 2x\,\sec 2x\,dx

Exercise 7.3Integration using trigonometric identities · Section 7.3.2
The question

Find the integral of the function

tan⁡32x sec⁡2x.\tan^3 2x\,\sec 2x.
Exam answer

Let I=∫tan⁡32xsec⁡2x dxI = \displaystyle\int\tan^3 2x\sec 2x\,dx⁠.

Using tan⁡2θ=sec⁡2θ−1\tan^2\theta = \sec^2\theta - 1⁠,

I=∫(sec⁡22x−1)×sec⁡2xtan⁡2x dx\begin{aligned} I &= \int(\sec^2 2x - 1) \\ &\qquad \times\sec 2x\tan 2x\,dx \end{aligned}

Put sec⁡2x=t\sec 2x = t⁠. Then 2sec⁡2xtan⁡2x dx=dt2\sec 2x\tan 2x\,dx = dt⁠.

∴ I=12∫(t2−1) dt=12(t33−t)+C\begin{aligned} \therefore\ I &= \frac12\int(t^2 - 1)\,dt \\ &= \frac12\left(\frac{t^3}{3} - t\right) + C \end{aligned}

∴ I=16sec⁡32x−12sec⁡2x+C\therefore\ I = \dfrac16\sec^3 2x - \dfrac12\sec 2x + C⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The derivative of sec⁡2x\sec 2x is 2sec⁡2xtan⁡2x2\sec 2x\tan 2x⁠. So split off one tan⁡2x\tan 2x to pair with sec⁡2x\sec 2x⁠: the integrand is tan⁡22x\tan^2 2x times sec⁡2xtan⁡2x\sec 2x\tan 2x⁠. The leftover tan⁡22x\tan^2 2x becomes sec⁡22x−1\sec^2 2x - 1⁠, and now everything is in terms of t=sec⁡2xt = \sec 2x⁠, with dt=2sec⁡2xtan⁡2x dxdt = 2\sec 2x\tan 2x\,dx⁠.

Given, to find, and the plan
Given
f(x)=tan⁡32x sec⁡2xf(x) = \tan^3 2x\,\sec 2x⁠, defined wherever cos⁡2x≠0\cos 2x \ne 0⁠.
To find
∫tan⁡32x sec⁡2x dx\displaystyle\int \tan^3 2x\,\sec 2x\,dx⁠.
Plan
(1) Find the domain. (2) Split off sec⁡2xtan⁡2x\sec 2x\tan 2x and use tan⁡2θ=sec⁡2θ−1\tan^2\theta = \sec^2\theta - 1⁠. (3) Substitute t=sec⁡2xt = \sec 2x⁠. (4) Integrate the polynomial in tt⁠. (5) Return to xx and differentiate back.

Basics you need

1The identity 1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta

True wherever cos⁡θ≠0\cos\theta \ne 0⁠. Rearranged: tan⁡2θ=sec⁡2θ−1\tan^2\theta = \sec^2\theta - 1⁠. Basics: trigonometric identities for integrals

2The derivative of sec⁡2x\sec 2x

ddθsec⁡θ=sec⁡θtan⁡θ\frac{d}{d\theta}\sec\theta = \sec\theta\tan\theta (list in Section 7.2, (vi)), and by the chain rule with inner function 2x2x⁠, ddxsec⁡2x=2sec⁡2xtan⁡2x\frac{d}{dx}\sec 2x = 2\sec 2x\tan 2x⁠.

3Substitution and the power rule

If t=g(x)t = g(x)⁠, then dt=g′(x) dxdt = g'(x)\,dx⁠; then ∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C for n≠−1n \ne -1 (standard formula (i), Section 7.2). Basics: substitution

Solution

  1. Where is the integrand defined?

    tan⁡2x\tan 2x and sec⁡2x\sec 2x both need cos⁡2x≠0\cos 2x \ne 0⁠, that is, 2x≠π2+nπ2x \ne \frac{\pi}{2} + n\pi⁠, so

    x≠π4+nπ2,n an integer.x \ne \frac{\pi}{4} + \frac{n\pi}{2}, \quad n \text{ an integer}.

    We work on any interval avoiding these points.

    Both factors have cos⁡2x\cos 2x in a denominator. Knowing the domain also guarantees that the identity in Step 2 is valid at every point we use.
  2. Split off sec⁡2xtan⁡2x\sec 2x\tan 2x and use tan⁡2=sec⁡2−1\tan^2 = \sec^2 - 1

    tan⁡32x sec⁡2x=tan⁡22x (sec⁡2xtan⁡2x)=(sec⁡22x−1)(sec⁡2xtan⁡2x).\begin{aligned} \tan^3 2x\,\sec 2x &= \tan^2 2x\,(\sec 2x\tan 2x) \\ &= (\sec^2 2x - 1)(\sec 2x\tan 2x). \end{aligned}
    We want the integrand to read "a function of sec⁡2x\sec 2x" times "the derivative of sec⁡2x\sec 2x". The derivative of sec⁡2x\sec 2x contains sec⁡2xtan⁡2x\sec 2x\tan 2x⁠, so we set that product aside. What remains, tan⁡22x\tan^2 2x⁠, is an even power of tangent, and the identity tan⁡2θ=sec⁡2θ−1\tan^2\theta = \sec^2\theta - 1 (with θ=2x\theta = 2x⁠) rewrites it in secants.
    1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta⁠. Basics: trigonometric identities for integrals
  3. Substitute t=sec⁡2xt = \sec 2x

    Let t=sec⁡2xt = \sec 2x⁠. By the chain rule,

    dt=2sec⁡2xtan⁡2x dx,sosec⁡2xtan⁡2x dx=12 dt.\begin{aligned} dt &= 2\sec 2x\tan 2x\,dx, \\ \text{so}\quad \sec 2x\tan 2x\,dx &= \frac12\,dt. \end{aligned}

    Therefore

    ∫tan⁡32x sec⁡2x dx=12∫(t2−1) dt.\int \tan^3 2x\,\sec 2x\,dx = \frac12\int (t^2 - 1)\,dt.
    The bracket sec⁡22x−1\sec^2 2x - 1 becomes t2−1t^2 - 1⁠, and the set-aside factor with dxdx becomes 12 dt\frac12\,dt⁠. The 12\frac12 comes from the inner function 2x2x⁠: forgetting it is the most common error here.
    Change of variable, Section 7.3.1; ddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x = \sec x\tan x (list in Section 7.2, (vi)). Lesson: integration by substitution
  4. Integrate the polynomial in tt

    12∫(t2−1) dt=12(t33−t)+C=t36−t2+C.\begin{aligned} \frac12\int (t^2 - 1)\,dt &= \frac12\left(\frac{t^3}{3} - t\right) + C \\ &= \frac{t^3}{6} - \frac{t}{2} + C. \end{aligned}
    Each term uses the power rule (formula (i)): ∫t2 dt=t33\int t^2\,dt = \frac{t^3}{3} and ∫1 dt=t\int 1\,dt = t⁠. Property (V) lets us integrate term by term and keep the constant 12\frac12 outside.
    Standard formula (i), Section 7.2; Property (V), Section 7.2.1. Basics: powers and the power rule
  5. Return to xx

    ∫tan⁡32x sec⁡2x dx=16sec⁡32x−12sec⁡2x+C.\int \tan^3 2x\,\sec 2x\,dx = \frac16\sec^3 2x - \frac12\sec 2x + C.
    Replace tt by sec⁡2x\sec 2x⁠. This is exactly the textbook's form.
  6. Check: differentiate the answer back

    By the chain rule (outer function u3u^3⁠, inner function u=sec⁡2xu = \sec 2x⁠):

    ddxsec⁡32x=3sec⁡22x⋅2sec⁡2xtan⁡2x=6sec⁡32xtan⁡2x.\begin{aligned} \frac{d}{dx}\sec^3 2x &= 3\sec^2 2x\cdot 2\sec 2x\tan 2x \\ &= 6\sec^3 2x\tan 2x. \end{aligned}

    So, with F(x)=16sec⁡32x−12sec⁡2xF(x) = \frac16\sec^3 2x - \frac12\sec 2x⁠,

    F′(x)=sec⁡32xtan⁡2x−sec⁡2xtan⁡2x=sec⁡2xtan⁡2x (sec⁡22x−1)=sec⁡2xtan⁡2x⋅tan⁡22x=tan⁡32x sec⁡2x.\begin{aligned} F'(x) &= \sec^3 2x\tan 2x - \sec 2x\tan 2x \\ &= \sec 2x\tan 2x\,(\sec^2 2x - 1) \\ &= \sec 2x\tan 2x\cdot\tan^2 2x \\ &= \tan^3 2x\,\sec 2x. \end{aligned}

    This is the integrand, so the answer is correct on every interval where cos⁡2x≠0\cos 2x \ne 0⁠.

    Chain rule (Theorem 4, Section 5.3.1); Property (I), Section 7.2.1. Basics: integration undoes differentiation
Result ∫tan⁡32x sec⁡2x dx=16sec⁡32x−12sec⁡2x+C,\int \tan^3 2x\,\sec 2x\,dx = \frac16\sec^3 2x - \frac12\sec 2x + C,

valid on any interval on which cos⁡2x≠0\cos 2x \ne 0⁠. (Textbook answer: 16sec⁡32x−12sec⁡2x+C\frac16\sec^3 2x - \frac12\sec 2x + C⁠.)

Check it with numbers

Let F(x)=16sec⁡32x−12sec⁡2xF(x) = \frac16\sec^3 2x - \frac12\sec 2x and look near x=0.3x = 0.3 with h=0.0001h = 0.0001⁠:

  • F(0.3001)≈−0.309321553475F(0.3001) \approx -0.309321553475 and F(0.2999)≈−0.309399147524F(0.2999) \approx -0.309399147524⁠.
  • Slope estimate: F(0.3001)−F(0.2999)0.0002≈0.387970\dfrac{F(0.3001) - F(0.2999)}{0.0002} \approx 0.387970⁠.
  • Integrand at x=0.3x = 0.3⁠: tan⁡30.6 sec⁡0.6≈0.387970\tan^3 0.6\,\sec 0.6 \approx 0.387970⁠.

They agree.

Common mistakes
  1. Forgetting the factor 12\frac12⁠. ddxsec⁡2x=2sec⁡2xtan⁡2x\frac{d}{dx}\sec 2x = 2\sec 2x\tan 2x⁠, so sec⁡2xtan⁡2x dx=12 dt\sec 2x\tan 2x\,dx = \frac12\,dt⁠.
  2. Substituting t=tan⁡2xt = \tan 2x⁠. Then dtdt needs sec⁡22x\sec^2 2x⁠, but only one sec⁡2x\sec 2x is available. With an odd power of tan⁡\tan and a factor of sec⁡\sec⁠, substitute t=sec⁡t = \sec⁠.
  3. Using tan⁡2θ=1−sec⁡2θ\tan^2\theta = 1 - \sec^2\theta⁠. The sign is the other way round: tan⁡2θ=sec⁡2θ−1\tan^2\theta = \sec^2\theta - 1⁠.
What to take away
  1. For ∫tan⁡mθsec⁡nθ dθ\int\tan^m\theta\sec^n\theta\,d\theta with mm odd: keep one sec⁡θtan⁡θ\sec\theta\tan\theta⁠, convert the rest of the tangents with tan⁡2=sec⁡2−1\tan^2 = \sec^2 - 1⁠, and put t=sec⁡θt = \sec\theta⁠.
  2. A linear inner function such as 2x2x only adds a constant factor (12\frac12 here) to the substitution.

Every fact used, and where it comes from

FactUsed inSource
1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\thetaSteps 2, 6Class XI trigonometry (Basics: trigonometric identities)
ddxsec⁡x=sec⁡xtan⁡x\frac{d}{dx}\sec x = \sec x\tan xSteps 3, 6List in Section 7.2, (vi)
Chain ruleSteps 3, 6Theorem 4, Section 5.3.1
Change of variable (substitution)Step 3Section 7.3.1 (Lesson: integration by substitution)
∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C⁠, n≠−1n \ne -1Step 4Standard formula (i), Section 7.2
∫\int of a linear combinationStep 4Property (V), Section 7.2.1
Differentiation undoes integrationStep 6Property (I), Section 7.2.1
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →