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

Exercise 7.1 · Q19: ∫sec⁡2xcosec⁡2x dx\int \frac{\sec^2 x}{\operatorname{cosec}^2 x}\,dx

Exercise 7.1Integration as anti-differentiation · Section 7.2
The question

Find the following integral:

∫sec⁡2xcosec⁡2x dx\int \frac{\sec^2 x}{\operatorname{cosec}^2 x}\,dx
Exam answer

Let I=∫sec⁡2xcosec⁡2x dxI = \displaystyle\int\frac{\sec^2 x}{\operatorname{cosec}^2 x}\,dx⁠.

sec⁡2xcosec⁡2x=sin⁡2xcos⁡2x=tan⁡2x=sec⁡2x−1\begin{aligned} \frac{\sec^2 x}{\operatorname{cosec}^2 x} &= \frac{\sin^2 x}{\cos^2 x} = \tan^2 x \\ &= \sec^2 x - 1 \end{aligned} ∴ I=∫(sec⁡2x−1)dx\therefore\ I = \int\left(\sec^2 x - 1\right)dx

∴ I=tan⁡x−x+C\therefore\ I = \tan x - x + C⁠.

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

The one idea this problem is built on

Rewrite in sines and cosines: sec⁡2xcosec⁡2x=sin⁡2xcos⁡2x=tan⁡2x\frac{\sec^2 x}{\operatorname{cosec}^2 x} = \frac{\sin^2 x}{\cos^2 x} = \tan^2 x⁠. There is no standard formula for ∫tan⁡2x dx\int \tan^2 x\,dx⁠, but the identity tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1 turns it into two integrals that are standard: ∫sec⁡2x dx=tan⁡x\int\sec^2 x\,dx = \tan x and ∫1 dx=x\int 1\,dx = x⁠.

Given, to find, and the plan
Given
The integrand f(x)=sec⁡2xcosec⁡2xf(x) = \dfrac{\sec^2 x}{\operatorname{cosec}^2 x}⁠.
To find
∫f(x) dx\int f(x)\,dx⁠.
Plan
(1) Find where ff is defined. (2) Simplify ff to tan⁡2x\tan^2 x⁠. (3) Use tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1⁠. (4) Integrate with formulae (iv) and (i). (5) Differentiate the answer to check it.

Basics you need

1Integration undoes differentiation

∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C means F′(x)=f(x)F'(x) = f(x)⁠. Basics: integration undoes differentiation

2Reciprocal functions

sec⁡x=1cos⁡x\sec x = \frac{1}{\cos x} (needs cos⁡x≠0\cos x \ne 0⁠) and cosec⁡x=1sin⁡x\operatorname{cosec} x = \frac{1}{\sin x} (needs sin⁡x≠0\sin x \ne 0⁠). Basics: trigonometric facts for integrals

3The Pythagorean identity in tangent form

1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 x⁠, so tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1⁠. (Divide sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 by cos⁡2x\cos^2 x⁠.) Basics: trigonometric identities for integrals

4Two standard integrals

(iv) ∫sec⁡2x dx=tan⁡x+C\int \sec^2 x\,dx = \tan x + C and ∫dx=x+C\int dx = x + C (list in Section 7.2). Lesson: integration as anti-differentiation

Solution

  1. Where is the integrand defined?

    sec⁡x\sec x needs cos⁡x≠0\cos x \ne 0⁠, and cosec⁡x\operatorname{cosec} x needs sin⁡x≠0\sin x \ne 0 (it is also never 0, so dividing by cosec⁡2x\operatorname{cosec}^2 x is safe). So the integrand is defined when

    sin⁡x≠0 and cos⁡x≠0,i.e. x≠nπ2, n∈Z.\begin{aligned} &\sin x \ne 0 \text{ and } \cos x \ne 0, \\ &\text{i.e. } x \ne \tfrac{n\pi}{2},\ n \in \mathbb{Z}. \end{aligned}
    sin⁡x=0\sin x = 0 at multiples of π\pi and cos⁡x=0\cos x = 0 at odd multiples of π2\frac{\pi}{2}⁠; together these are all multiples of π2\frac{\pi}{2}⁠. The answer will be an antiderivative on each interval between consecutive multiples of π2\frac{\pi}{2}⁠. (The simplified form tan⁡2x\tan^2 x also makes sense at x=nπx = n\pi⁠, but the function as given does not.)
    The Note in Section 7.2: always keep the interval of definition in mind.
  2. Simplify the integrand to tan⁡2x\tan^2 x

    sec⁡2xcosec⁡2x=1/cos⁡2x1/sin⁡2x=1cos⁡2x⋅sin⁡2x1=sin⁡2xcos⁡2x=tan⁡2x.\begin{aligned} \frac{\sec^2 x}{\operatorname{cosec}^2 x} &= \frac{1/\cos^2 x}{1/\sin^2 x} \\ &= \frac{1}{\cos^2 x}\cdot\frac{\sin^2 x}{1} \\ &= \frac{\sin^2 x}{\cos^2 x} = \tan^2 x. \end{aligned}
    Writing everything in terms of sin⁡x\sin x and cos⁡x\cos x is the safe first move with any trigonometric quotient. Dividing by a fraction means multiplying by its reciprocal, and sin⁡xcos⁡x=tan⁡x\frac{\sin x}{\cos x} = \tan x⁠.
    sec⁡x=1cos⁡x\sec x = \frac{1}{\cos x}⁠, cosec⁡x=1sin⁡x\operatorname{cosec} x = \frac{1}{\sin x}⁠, tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}⁠. Basics: trigonometric facts
  3. Turn tan⁡2x\tan^2 x into something we can integrate

    tan⁡2x=sec⁡2x−1.\tan^2 x = \sec^2 x - 1.
    The list of Section 7.2 contains ∫sec⁡2x dx\int\sec^2 x\,dx but not ∫tan⁡2x dx\int\tan^2 x\,dx⁠. The identity 1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 x (true wherever cos⁡x≠0\cos x \ne 0⁠) swaps the unknown integral for a known one plus a constant.
    sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1⁠; dividing by cos⁡2x\cos^2 x gives tan⁡2x+1=sec⁡2x\tan^2 x + 1 = \sec^2 x⁠. Basics: trigonometric identities for integrals
  4. Integrate

    ∫sec⁡2xcosec⁡2x dx=∫(sec⁡2x−1) dx=∫sec⁡2x dx−∫dx=tan⁡x−x+C.\begin{aligned} \int \frac{\sec^2 x}{\operatorname{cosec}^2 x}\,dx &= \int (\sec^2 x - 1)\,dx \\ &= \int \sec^2 x\,dx - \int dx \\ &= \tan x - x + C. \end{aligned}
    Property V splits the difference. Formula (iv) gives tan⁡x\tan x because ddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x = \sec^2 x⁠; ∫dx=x\int dx = x because ddxx=1\frac{d}{dx}x = 1⁠. One constant CC collects both.
    Formula (iv) and formula (i) with n=0n = 0⁠, Section 7.2; Property V, Section 7.2.1. Lesson: integration as anti-differentiation
  5. Check: differentiate the answer back

    ddx(tan⁡x−x+C)=sec⁡2x−1=tan⁡2x=sec⁡2xcosec⁡2x.\begin{aligned} \frac{d}{dx}(\tan x - x + C) &= \sec^2 x - 1 \\ &= \tan^2 x = \frac{\sec^2 x}{\operatorname{cosec}^2 x}. \end{aligned}

    This is the integrand at every xx with x≠nπ2x \ne \frac{n\pi}{2}⁠, so the answer is correct.

    The last line is Steps 3 and 2 read backwards. The equalities hold wherever the integrand is defined, which is all that is required.
Result

For x≠nπ2x \ne \frac{n\pi}{2} (nn an integer),

∫sec⁡2xcosec⁡2x dx=tan⁡x−x+C.\int \frac{\sec^2 x}{\operatorname{cosec}^2 x}\,dx = \tan x - x + C.

(Textbook answer: tan⁡x−x+C\tan x - x + C⁠.)

Check it with numbers

At x=π3x = \frac{\pi}{3}⁠: sec⁡2π3=4\sec^2\frac{\pi}{3} = 4 and cosec⁡2π3=43\operatorname{cosec}^2\frac{\pi}{3} = \frac43⁠, so the integrand is 4÷43=34 \div \frac43 = 3⁠, which equals tan⁡2π3=(3)2=3\tan^2\frac{\pi}{3} = (\sqrt3)^2 = 3⁠. With F(x)=tan⁡x−xF(x) = \tan x - x⁠: F ⁣(π3+0.001)≈0.68786020F\!\left(\frac{\pi}{3} + 0.001\right) \approx 0.68786020 and F ⁣(π3−0.001)≈0.68186017F\!\left(\frac{\pi}{3} - 0.001\right) \approx 0.68186017⁠, so the slope of FF there is about

0.68786020−0.681860170.002≈3.0000.\frac{0.68786020 - 0.68186017}{0.002} \approx 3.0000.

It matches the integrand value 3.

(Each value of FF is rounded to 8 decimal places, so the slope is reliable to about 4 decimal places.)

Common mistakes
  1. ∫tan⁡2x dx=tan⁡3x3\int \tan^2 x\,dx = \frac{\tan^3 x}{3}⁠. The power formula is for powers of xx⁠, not powers of tan⁡x\tan x⁠. (Differentiating tan⁡3x3\frac{\tan^3 x}{3} gives tan⁡2xsec⁡2x\tan^2 x\sec^2 x⁠, not tan⁡2x\tan^2 x⁠.)
  2. Wrong identity. tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1⁠, not 1−sec⁡2x1 - \sec^2 x and not sec⁡2x+1\sec^2 x + 1⁠.
  3. Dropping the −x-x⁠. The constant −1-1 in the integrand integrates to −x-x⁠, not to 0.
What to take away
  1. Rewrite trigonometric quotients in sin⁡\sin and cos⁡\cos first.
  2. ∫tan⁡2x dx=tan⁡x−x+C\int \tan^2 x\,dx = \tan x - x + C and, the same way, ∫cot⁡2x dx=−cot⁡x−x+C\int\cot^2 x\,dx = -\cot x - x + C (from cot⁡2x=cosec⁡2x−1\cot^2 x = \operatorname{cosec}^2 x - 1⁠).
  3. When a function is not on the list, look for an identity that turns it into functions that are.

Every fact used, and where it comes from

FactUsed inSource
sec⁡x=1cos⁡x\sec x = \frac{1}{\cos x}⁠, cosec⁡x=1sin⁡x\operatorname{cosec} x = \frac{1}{\sin x}⁠, tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}Steps 1, 2Trigonometric functions (Class XI)
1+tan⁡2x=sec⁡2x1 + \tan^2 x = \sec^2 xSteps 3, 5Trigonometric identities (Class XI)
∫sec⁡2x dx=tan⁡x+C\int \sec^2 x\,dx = \tan x + CStep 4Formula (iv), Section 7.2
∫dx=x+C\int dx = x + CStep 4Formula (i) with n=0n = 0⁠, Section 7.2
∫(f−g) dx=∫f dx−∫g dx\int (f - g)\,dx = \int f\,dx - \int g\,dxStep 4Property V, Section 7.2.1 (Lesson: integration as anti-differentiation)
ddx∫f dx=f\frac{d}{dx}\int f\,dx = fStep 5Property 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 →