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

Exercise 7.3 · Q17: ∫sin⁡3x+cos⁡3xsin⁡2xcos⁡2x dx\int\frac{\sin^3x+\cos^3x}{\sin^2x\cos^2x}\,dx

Exercise 7.3Integration using trigonometric identities · Section 7.3.2
The question

Find the integral of the function

sin⁡3x+cos⁡3xsin⁡2xcos⁡2x.\frac{\sin^3 x + \cos^3 x}{\sin^2 x\cos^2 x}.
Exam answer

Let I=∫sin⁡3x+cos⁡3xsin⁡2xcos⁡2x dxI = \displaystyle\int\frac{\sin^3 x + \cos^3 x}{\sin^2 x\cos^2 x}\,dx⁠.

I=∫(sin⁡xcos⁡2x+cos⁡xsin⁡2x)dx=∫(sec⁡xtan⁡x+cosec⁡xcot⁡x)dx=sec⁡x+(−cosec⁡x)+C\begin{aligned} I &= \int\left(\frac{\sin x}{\cos^2 x} + \frac{\cos x}{\sin^2 x}\right)dx \\ &= \int\bigg(\sec x\tan x \\ &\qquad + \operatorname{cosec} x\cot x\bigg)dx \\ &= \sec x + (-\operatorname{cosec} x) + C \end{aligned}

∴ I=sec⁡x−cosec⁡x+C\therefore\ I = \sec x - \operatorname{cosec} x + C⁠.

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

The one idea this problem is built on

The numerator is a sum, so split the fraction into two. Each part cancels down: the first to sin⁡xcos⁡2x=sec⁡xtan⁡x\frac{\sin x}{\cos^2 x} = \sec x\tan x⁠, the second to cos⁡xsin⁡2x=cosec⁡xcot⁡x\frac{\cos x}{\sin^2 x} = \operatorname{cosec} x\cot x⁠. Both are derivatives in the standard list, so the integral is sec⁡x−cosec⁡x+C\sec x - \operatorname{cosec} x + C⁠.

Given, to find, and the plan
Given
f(x)=sin⁡3x+cos⁡3xsin⁡2xcos⁡2xf(x) = \dfrac{\sin^3 x + \cos^3 x}{\sin^2 x\cos^2 x}⁠, defined wherever sin⁡x≠0\sin x \ne 0 and cos⁡x≠0\cos x \ne 0⁠.
To find
∫sin⁡3x+cos⁡3xsin⁡2xcos⁡2x dx\displaystyle\int \frac{\sin^3 x + \cos^3 x}{\sin^2 x\cos^2 x}\,dx⁠.
Plan
(1) Find the domain. (2) Split the fraction and cancel. (3) Recognise sec⁡xtan⁡x\sec x\tan x and cosec⁡xcot⁡x\operatorname{cosec} x\cot x⁠. (4) Integrate with standard formulae (vi) and (vii). (5) Differentiate back.

Basics you need

1Splitting a fraction

A+BD=AD+BD\dfrac{A + B}{D} = \dfrac{A}{D} + \dfrac{B}{D} when D≠0D \ne 0⁠. Basics: splitting fractions

2Reciprocal and quotient functions

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}⁠, cot⁡x=cos⁡xsin⁡x\cot x = \frac{\cos x}{\sin x}⁠. Basics: trigonometric identities for integrals

3Two standard integrals

∫sec⁡xtan⁡x dx=sec⁡x+C\int\sec x\tan x\,dx = \sec x + C (formula (vi)) and ∫cosec⁡xcot⁡x dx=−cosec⁡x+C\int\operatorname{cosec} x\cot x\,dx = -\operatorname{cosec} x + C (formula (vii)), Section 7.2. Basics: integration undoes differentiation

Solution

  1. Where is the integrand defined?

    The denominator sin⁡2xcos⁡2x\sin^2 x\cos^2 x must be non-zero, so sin⁡x≠0\sin x \ne 0 and cos⁡x≠0\cos x \ne 0⁠, that is,

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

    We work on any interval between consecutive multiples of π2\frac{\pi}{2}⁠, such as (0,π2)\left(0, \frac{\pi}{2}\right)⁠.

    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}⁠. On the remaining intervals every cancellation below is legitimate.
  2. Split the fraction and cancel

    f(x)=sin⁡3xsin⁡2xcos⁡2x+cos⁡3xsin⁡2xcos⁡2x=sin⁡xcos⁡2x+cos⁡xsin⁡2x.\begin{aligned} f(x) &= \frac{\sin^3 x}{\sin^2 x\cos^2 x} + \frac{\cos^3 x}{\sin^2 x\cos^2 x} \\ &= \frac{\sin x}{\cos^2 x} + \frac{\cos x}{\sin^2 x}. \end{aligned}
    In the first fraction sin⁡2x\sin^2 x cancels from sin⁡3x\sin^3 x⁠, leaving sin⁡x\sin x over cos⁡2x\cos^2 x⁠; in the second, cos⁡2x\cos^2 x cancels from cos⁡3x\cos^3 x⁠. We may cancel because sin⁡x\sin x and cos⁡x\cos x are non-zero on our domain (Step 1).
    A+BD=AD+BD\frac{A + B}{D} = \frac AD + \frac BD⁠. Basics: splitting fractions
  3. Recognise the two standard integrands

    sin⁡xcos⁡2x=1cos⁡x⋅sin⁡xcos⁡x=sec⁡xtan⁡x,cos⁡xsin⁡2x=1sin⁡x⋅cos⁡xsin⁡x=cosec⁡xcot⁡x.\begin{aligned} \frac{\sin x}{\cos^2 x} &= \frac{1}{\cos x}\cdot\frac{\sin x}{\cos x} = \sec x\tan x, \\ \frac{\cos x}{\sin^2 x} &= \frac{1}{\sin x}\cdot\frac{\cos x}{\sin x} = \operatorname{cosec} x\cot x. \end{aligned}
    Writing cos⁡2x\cos^2 x as cos⁡x⋅cos⁡x\cos x\cdot\cos x and giving one factor to sin⁡x\sin x produces tan⁡x\tan x⁠; the other factor gives sec⁡x\sec x⁠. The same trick with sin⁡2x\sin^2 x gives cot⁡x\cot x and cosec⁡x\operatorname{cosec} x⁠. These products are exactly the derivatives of sec⁡x\sec x and of −cosec⁡x-\operatorname{cosec} x⁠.
    Definitions of sec⁡\sec⁠, cosec⁡\operatorname{cosec}⁠, tan⁡\tan⁠, cot⁡\cot⁠. Basics: trigonometric identities for integrals
  4. Integrate

    ∫f(x) dx=∫sec⁡xtan⁡x dx+∫cosec⁡xcot⁡x dx=sec⁡x+(−cosec⁡x)+C=sec⁡x−cosec⁡x+C.\begin{aligned} \int f(x)\,dx &= \int\sec x\tan x\,dx \\ &\quad + \int\operatorname{cosec} x\cot x\,dx \\ &= \sec x + (-\operatorname{cosec} x) + C \\ &= \sec x - \operatorname{cosec} x + C. \end{aligned}
    Property (III): the integral of a sum is the sum of the integrals. Formula (vi) gives sec⁡x\sec x⁠; formula (vii) gives −cosec⁡x-\operatorname{cosec} x⁠, because ddxcosec⁡x=−cosec⁡xcot⁡x\frac{d}{dx}\operatorname{cosec} x = -\operatorname{cosec} x\cot x⁠.
    Standard formulae (vi) and (vii), Section 7.2; Property (III), Section 7.2.1. Lesson: integration as anti-differentiation
  5. Check: differentiate the answer back

    Let F(x)=sec⁡x−cosec⁡xF(x) = \sec x - \operatorname{cosec} x⁠. Then

    F′(x)=sec⁡xtan⁡x+cosec⁡xcot⁡x=sin⁡xcos⁡2x+cos⁡xsin⁡2x=sin⁡3x+cos⁡3xsin⁡2xcos⁡2x.\begin{aligned} F'(x) &= \sec x\tan x + \operatorname{cosec} x\cot x \\ &= \frac{\sin x}{\cos^2 x} + \frac{\cos x}{\sin^2 x} \\ &= \frac{\sin^3 x + \cos^3 x}{\sin^2 x\cos^2 x}. \end{aligned}

    The last line puts the two fractions over the common denominator sin⁡2xcos⁡2x\sin^2 x\cos^2 x (multiply the first by sin⁡2xsin⁡2x\frac{\sin^2 x}{\sin^2 x} and the second by cos⁡2xcos⁡2x\frac{\cos^2 x}{\cos^2 x}⁠). This is the integrand, so the answer is correct on every interval avoiding the multiples of π2\frac{\pi}{2}⁠.

    List in Section 7.2, (vi) and (vii); Property (I), Section 7.2.1. Basics: integration undoes differentiation
Result ∫sin⁡3x+cos⁡3xsin⁡2xcos⁡2x dx=sec⁡x−cosec⁡x+C,\int\frac{\sin^3 x + \cos^3 x}{\sin^2 x\cos^2 x}\,dx = \sec x - \operatorname{cosec} x + C,

valid on any interval containing no multiple of π2\frac{\pi}{2}⁠. (Textbook answer: sec⁡x−cosec⁡x+C\sec x - \operatorname{cosec} x + C⁠.)

Check it with numbers

Let F(x)=sec⁡x−cosec⁡xF(x) = \sec x - \operatorname{cosec} x and look near x=0.7x = 0.7 with h=0.0001h = 0.0001⁠:

  • F(0.7001)≈−0.244516663245F(0.7001) \approx -0.244516663245 and F(0.6999)≈−0.245105498858F(0.6999) \approx -0.245105498858⁠.
  • Slope estimate: F(0.7001)−F(0.6999)0.0002≈2.944178\dfrac{F(0.7001) - F(0.6999)}{0.0002} \approx 2.944178⁠.
  • Integrand at x=0.7x = 0.7⁠: sin⁡30.7+cos⁡30.7sin⁡20.7 cos⁡20.7≈2.944178\dfrac{\sin^3 0.7 + \cos^3 0.7}{\sin^2 0.7\,\cos^2 0.7} \approx 2.944178⁠.

They agree.

Common mistakes
  1. Factorising the numerator first. Writing sin⁡3x+cos⁡3x\sin^3 x + \cos^3 x as (sin⁡x+cos⁡x)(1−sin⁡xcos⁡x)(\sin x + \cos x)(1 - \sin x\cos x) is true but leads nowhere here. Splitting the fraction is the direct route.
  2. The sign of the cosecant term. ∫cosec⁡xcot⁡x dx=−cosec⁡x+C\int\operatorname{cosec} x\cot x\,dx = -\operatorname{cosec} x + C⁠, not +cosec⁡x+\operatorname{cosec} x⁠.
  3. Cancelling wrongly. sin⁡3xsin⁡2xcos⁡2x=sin⁡xcos⁡2x\frac{\sin^3 x}{\sin^2 x\cos^2 x} = \frac{\sin x}{\cos^2 x}⁠, not sin⁡xcos⁡x\frac{\sin x}{\cos x}⁠; the whole cos⁡2x\cos^2 x stays in the denominator.
What to take away
  1. A sum over a product: split the fraction, cancel, and look for derivatives from the standard list.
  2. sin⁡xcos⁡2x=sec⁡xtan⁡x\frac{\sin x}{\cos^2 x} = \sec x\tan x and cos⁡xsin⁡2x=cosec⁡xcot⁡x\frac{\cos x}{\sin^2 x} = \operatorname{cosec} x\cot x are worth recognising on sight.

Every fact used, and where it comes from

FactUsed inSource
A+BD=AD+BD\frac{A + B}{D} = \frac AD + \frac BD⁠, D≠0D \ne 0Step 2Algebra (Basics: splitting fractions)
sec⁡x=1cos⁡x\sec x = \frac{1}{\cos x}⁠, tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}⁠, and so onStep 3Class XI trigonometry
∫\int of a sumStep 4Property (III), Section 7.2.1
∫sec⁡xtan⁡x dx=sec⁡x+C\int\sec x\tan x\,dx = \sec x + CSteps 4, 5Standard formula (vi), Section 7.2
∫cosec⁡xcot⁡x dx=−cosec⁡x+C\int\operatorname{cosec} x\cot x\,dx = -\operatorname{cosec} x + CSteps 4, 5Standard formula (vii), Section 7.2
Differentiation undoes integrationStep 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 →