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

Exercise 7.3 · Q3: ∫cos⁡2xcos⁡4xcos⁡6x dx\int\cos 2x\cos 4x\cos 6x\,dx

Exercise 7.3Integration using trigonometric identities · Section 7.3.2
The question

Find the integral of the function

cos⁡2xcos⁡4xcos⁡6x.\cos 2x\cos 4x\cos 6x.
Exam answer

Let I=∫cos⁡2xcos⁡4xcos⁡6x dxI = \displaystyle\int \cos 2x\cos 4x\cos 6x\,dx⁠.

Using 2cos⁡Acos⁡B2\cos A\cos B =cos⁡(A+B)+cos⁡(A−B)= \cos(A + B) + \cos(A - B)⁠,

cos⁡2xcos⁡4xcos⁡6x=12(cos⁡6x+cos⁡2x)cos⁡6x=12cos⁡26x+12cos⁡2xcos⁡6x\begin{aligned} &\cos 2x\cos 4x\cos 6x \\ &= \frac12(\cos 6x + \cos 2x)\cos 6x \\ &= \frac12\cos^2 6x + \frac12\cos 2x\cos 6x \end{aligned}

Using cos⁡2θ=1+cos⁡2θ2\cos^2\theta = \frac{1 + \cos 2\theta}{2} and the same identity again,

cos⁡2xcos⁡4xcos⁡6x=14(1+cos⁡12x)+14(cos⁡8x+cos⁡4x)\begin{aligned} &\cos 2x\cos 4x\cos 6x \\ &= \frac14(1 + \cos 12x) \\ &\quad + \frac14(\cos 8x + \cos 4x) \end{aligned} ∴ I=14∫(1+cos⁡4x+cos⁡8x+cos⁡12x)dx=14(x+sin⁡4x4+sin⁡8x8+sin⁡12x12)+C\begin{aligned} \therefore\ I &= \frac14\int\bigg(1 + \cos 4x + \cos 8x \\ &\qquad + \cos 12x\bigg)dx \\ &= \frac14\bigg(x + \frac{\sin 4x}{4} + \frac{\sin 8x}{8} \\ &\qquad + \frac{\sin 12x}{12}\bigg) + C \end{aligned}

∴ I=14[x+14sin⁡4x+18sin⁡8x\therefore\ I = \dfrac14\Big[x + \dfrac14\sin 4x + \dfrac18\sin 8x +112sin⁡12x]+C+ \dfrac{1}{12}\sin 12x\Big] + C⁠.

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

The one idea this problem is built on

A product of three cosines is handled two at a time. The identity 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A\cos B = \cos(A+B) + \cos(A-B) turns one pair into a sum; multiplying that sum by the third cosine gives new products of two cosines, and the identity (or cos⁡2θ=1+cos⁡2θ2\cos^2\theta = \frac{1+\cos 2\theta}{2}⁠) is used again. In the end the integrand is a constant plus single cosines, each of which integrates directly.

Given, to find, and the plan
Given
cos⁡2xcos⁡4xcos⁡6x\cos 2x\cos 4x\cos 6x⁠, defined for every real xx⁠.
To find
∫cos⁡2xcos⁡4xcos⁡6x dx\displaystyle\int \cos 2x\cos 4x\cos 6x\,dx⁠.
Plan
(1) Turn cos⁡2xcos⁡4x\cos 2x\cos 4x into a sum. (2) Multiply by cos⁡6x\cos 6x and reduce the two new products. (3) Collect the integrand as 14[1+cos⁡4x+cos⁡8x+cos⁡12x]\frac14[1 + \cos 4x + \cos 8x + \cos 12x]⁠. (4) Integrate term by term. (5) Differentiate back to check.

Basics you need

1Product of two cosines

Adding cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B\cos(A+B) = \cos A\cos B - \sin A\sin B and cos⁡(A−B)=cos⁡Acos⁡B+sin⁡Asin⁡B\cos(A-B) = \cos A\cos B + \sin A\sin B gives 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A\cos B = \cos(A+B) + \cos(A-B)⁠. Basics: trigonometric identities for integrals

2Square of a cosine

cos⁡2θ=1+cos⁡2θ2\cos^2\theta = \frac{1+\cos 2\theta}{2} (Example 7(i), Section 7.3.2). It is the special case A=B=θA = B = \theta of Basic 1.

3Cosine of a multiple of xx

∫cos⁡mx dx=1msin⁡mx+C\int\cos mx\,dx = \frac1m\sin mx + C for m≠0m \ne 0 (substitution t=mxt = mx⁠, Section 7.3.1). Basics: substitution

4Checking an integral

F(x)+CF(x) + C is right exactly when F′(x)F'(x) is the integrand (Property (I), Section 7.2.1). Basics: integration undoes differentiation

Solution

  1. Turn the first pair into a sum

    Use 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A\cos B = \cos(A+B) + \cos(A-B) with A=4xA = 4x⁠, B=2xB = 2x⁠:

    cos⁡2xcos⁡4x=12[cos⁡6x+cos⁡2x].\cos 2x\cos 4x = \tfrac12\big[\cos 6x + \cos 2x\big].
    We pick a pair and remove the product. Any pair would do (see Common mistakes); the pair 2x,4x2x, 4x is convenient because the sum 6x6x matches the third factor, which will give a square that the power-lowering identity handles.
    Product-to-sum identity for two cosines. Basics: trigonometric identities
  2. Multiply by the third cosine

    cos⁡2xcos⁡4xcos⁡6x=12[cos⁡26x+cos⁡2xcos⁡6x].\cos 2x\cos 4x\cos 6x = \tfrac12\big[\cos^2 6x + \cos 2x\cos 6x\big].

    Reduce each new product:

    • cos⁡26x=12[1+cos⁡12x]\cos^2 6x = \frac12\big[1 + \cos 12x\big] (power lowering with θ=6x\theta = 6x⁠).
    • cos⁡2xcos⁡6x=12[cos⁡8x+cos⁡4x]\cos 2x\cos 6x = \frac12\big[\cos 8x + \cos 4x\big] (Basic 1 with A=6xA = 6x⁠, B=2xB = 2x⁠).
    Multiplying out creates two products of two cosines. Each is the same kind of problem as Step 1, so the same identity finishes them. Taking AA as the larger angle keeps A−BA - B positive; with the other order you would get cos⁡(−4x)\cos(-4x)⁠, which is the same thing because cosine is even.
  3. Collect the integrand

    cos⁡2xcos⁡4xcos⁡6x=12[12(1+cos⁡12x)+12(cos⁡8x+cos⁡4x)]=14[1+cos⁡4x+cos⁡8x+cos⁡12x].\begin{aligned} &\cos 2x\cos 4x\cos 6x \\ &= \tfrac12\Big[\tfrac12(1 + \cos 12x) \\ &\qquad + \tfrac12(\cos 8x + \cos 4x)\Big] \\ &= \tfrac14\big[1 + \cos 4x + \cos 8x + \cos 12x\big]. \end{aligned}
    The triple product is now a constant plus three single cosines. No products and no powers are left, so every term has a standard integral.
  4. Integrate term by term

    ∫cos⁡2xcos⁡4xcos⁡6x dx=14[x+14sin⁡4x+18sin⁡8x+112sin⁡12x]+C.\begin{aligned} &\int \cos 2x\cos 4x\cos 6x\,dx \\ &= \tfrac14\Big[x + \tfrac14\sin 4x + \tfrac18\sin 8x \\ &\qquad + \tfrac{1}{12}\sin 12x\Big] + C. \end{aligned}
    ∫1 dx=x\int 1\,dx = x⁠, and each ∫cos⁡mx dx=1msin⁡mx\int\cos mx\,dx = \frac1m\sin mx by the substitution t=mxt = mx⁠. The factor 14\frac14 in front applies to every term.
    Properties (III), (IV), Section 7.2.1; ∫cos⁡x dx=sin⁡x+C\int\cos x\,dx = \sin x + C (Section 7.2) with t=mxt = mx (Section 7.3.1). Lesson: integration by substitution
  5. Check: differentiate the answer back

    Let

    F(x)=14[x+14sin⁡4x+18sin⁡8x+112sin⁡12x].F(x) = \frac14\Big[x + \frac14\sin 4x + \frac18\sin 8x + \frac{1}{12}\sin 12x\Big].

    Since ddx(1msin⁡mx)=cos⁡mx\frac{d}{dx}\big(\frac1m\sin mx\big) = \cos mx⁠,

    F′(x)=14[1+cos⁡4x+cos⁡8x+cos⁡12x],F'(x) = \tfrac14\big[1 + \cos 4x + \cos 8x + \cos 12x\big],

    which is cos⁡2xcos⁡4xcos⁡6x\cos 2x\cos 4x\cos 6x by Step 3. The answer is correct for every real xx⁠.

    The derivative lands on the "collected" form, and Steps 1 to 3 show that form equals the original product. So the check is complete once those steps are right; the numerical check below tests them independently.
    Chain rule, Theorem 4, Section 5.3.1. Basics: integration undoes differentiation
Result ∫cos⁡2xcos⁡4xcos⁡6x dx=14[x+14sin⁡4x+18sin⁡8x+112sin⁡12x]+C,\begin{aligned} &\int \cos 2x\cos 4x\cos 6x\,dx \\ &= \frac14\Big[x + \frac14\sin 4x + \frac18\sin 8x \\ &\qquad + \frac{1}{12}\sin 12x\Big] + C, \end{aligned}

valid for all real xx⁠. Textbook answer:

14[112sin⁡12x+x+18sin⁡8x+14sin⁡4x]+C,\begin{aligned} &\frac14\Big[\frac{1}{12}\sin 12x + x \\ &\qquad + \frac18\sin 8x + \frac14\sin 4x\Big] + C, \end{aligned}

the same four terms in a different order.

Check it with numbers

The collected form at x=1x = 1⁠: cos⁡2cos⁡4cos⁡6\cos 2\cos 4\cos 6 ≈(−0.41614684)(−0.65364362)\approx (-0.41614684)(-0.65364362) × 0.96017029\times\, 0.96017029 ≈0.2611776\approx 0.2611776⁠, and 14[1+cos⁡4+cos⁡8+cos⁡12]\frac14[1 + \cos 4 + \cos 8 + \cos 12] ≈14[1−0.6536436−0.1455000+0.8438540]\approx \frac14[1 - 0.6536436 - 0.1455000 + 0.8438540] ≈0.2611776\approx 0.2611776⁠.

The derivative at x=1x = 1 with h=0.001h = 0.001⁠: F(1.001)≈0.2227000540F(1.001) \approx 0.2227000540⁠, F(0.999)≈0.2221777074F(0.999) \approx 0.2221777074⁠, slope ≈0.261173\approx 0.261173⁠, against the integrand 0.2611780.261178⁠: agreement to four significant figures (the gap is the error of the difference quotient, which is larger here because cos⁡12x\cos 12x changes quickly).

Common mistakes
  1. Applying the identity to all three factors at once. 2cos⁡Acos⁡B2\cos A\cos B handles exactly two factors; multiply out before using it again.
  2. Dropping a factor 12\frac12⁠. Two identities each bring a 12\frac12⁠, so the collected form has 14\frac14 in front.
  3. Worrying about the pairing. Pairing cos⁡4xcos⁡6x\cos 4x\cos 6x first gives 12[cos⁡10x+cos⁡2x]\frac12[\cos 10x + \cos 2x]⁠, then 14[cos⁡12x+cos⁡8x]+14[1+cos⁡4x]\frac14[\cos 12x + \cos 8x] + \frac14[1 + \cos 4x]⁠: exactly the same collected form.
  4. Forgetting to divide by mm in ∫cos⁡mx dx=1msin⁡mx\int\cos mx\,dx = \frac1m\sin mx⁠.
What to take away
  1. Longer products: apply the product-to-sum identity to two factors, multiply out, repeat.
  2. A product cos⁡θcos⁡θ\cos\theta\cos\theta that appears along the way is just cos⁡2θ=1+cos⁡2θ2\cos^2\theta = \frac{1+\cos 2\theta}{2}⁠.
  3. Answers to these questions can look different (order, pairing) and still be equal; check by differentiating.

Every fact used, and where it comes from

FactUsed inSource
2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A\cos B = \cos(A+B) + \cos(A-B)Steps 1, 2From the compound-angle formulas for cos⁡(A±B)\cos(A\pm B) (Class XI trigonometry)
cos⁡2θ=1+cos⁡2θ2\cos^2\theta = \frac{1+\cos 2\theta}{2}Step 2Example 7(i), Section 7.3.2
Sum and constant-multiple rulesStep 4Properties (III), (IV), Section 7.2.1
∫cos⁡mx dx=1msin⁡mx+C\int\cos mx\,dx = \frac1m\sin mx + CStep 4Standard formula for cos⁡x\cos x (Section 7.2) with substitution t=mxt = mx (Section 7.3.1)
Chain rule; differentiation undoes integrationStep 5Theorem 4, Section 5.3.1; Property (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 →