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

Exercise 7.10 · Q4: ∫0π/2cos⁡5xsin⁡5x+cos⁡5x dx\int_0^{\pi/2}\frac{\cos^5x}{\sin^5x+\cos^5x}\,dx

Exercise 7.10Properties of definite integrals (P4) · Section 7.10
The question

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.

4. ∫0π2cos⁡5x dxsin⁡5x+cos⁡5x\displaystyle\int_0^{\frac{\pi}{2}}\frac{\cos^5 x\,dx}{\sin^5 x + \cos^5 x}

Exam answer

Let

I=∫0π2cos⁡5xsin⁡5x+cos⁡5x dx…(i)I = \int_0^{\frac{\pi}{2}}\frac{\cos^5 x}{\sin^5 x + \cos^5 x}\,dx\quad\ldots(\text{i})

Using ∫0af(x) dx=∫0af(a−x) dx\displaystyle\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx with sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x and cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2} - x\right) = \sin x⁠,

I=∫0π2sin⁡5xcos⁡5x+sin⁡5x dx…(ii)I = \int_0^{\frac{\pi}{2}}\frac{\sin^5 x}{\cos^5 x + \sin^5 x}\,dx\quad\ldots(\text{ii})

Adding (i) and (ii),

2I=∫0π2cos⁡5x+sin⁡5xsin⁡5x+cos⁡5x dx=∫0π21 dx=[x]0π2=π2\begin{aligned} 2I &= \int_0^{\frac{\pi}{2}}\frac{\cos^5 x + \sin^5 x}{\sin^5 x + \cos^5 x}\,dx \\ &= \int_0^{\frac{\pi}{2}}1\,dx = \Big[x\Big]_0^{\frac{\pi}{2}} = \frac{\pi}{2} \end{aligned}

∴ I=π4\therefore\ I = \dfrac{\pi}{4}⁠.

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

The one idea this problem is built on

Property P4 with a=π2a = \frac{\pi}{2} replaces xx by π2−x\frac{\pi}{2} - x⁠, which swaps sin⁡\sin and cos⁡\cos⁠. So the same number II is also the integral of sin⁡5xcos⁡5x+sin⁡5x\frac{\sin^5 x}{\cos^5 x + \sin^5 x}⁠. The two fractions add up to 1, so 2I2I is the length of the interval.

Given, to find, and the plan
Given
I=∫0π/2cos⁡5xsin⁡5x+cos⁡5x dxI = \displaystyle\int_0^{\pi/2}\frac{\cos^5 x}{\sin^5 x + \cos^5 x}\,dx⁠.
To find
The exact value of II⁠, and its decimal value.
Plan
Check the denominator is never 0 on [0,π2]\left[0, \frac{\pi}{2}\right]⁠; apply P4; add the two forms; solve for II⁠.

Basics you need

1Property P4 (Section 7.10)

∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx⁠. Lesson: properties of definite integrals

2Complementary angles

sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x and cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2} - x\right) = \sin x⁠; so cos⁡5(π2−x)=sin⁡5x\cos^5\left(\frac{\pi}{2} - x\right) = \sin^5 x⁠. Basics: trigonometric identities

3Adding integrals over the same interval

∫abf dx+∫abg dx=∫ab(f+g) dx\int_a^b f\,dx + \int_a^b g\,dx = \int_a^b (f + g)\,dx⁠. Basics: symmetry and mirror images

Solution

  1. The denominator is positive on [0,π2]\left[0, \frac{\pi}{2}\right]

    For 0≤x≤π20 \le x \le \frac{\pi}{2}⁠, sin⁡x≥0\sin x \ge 0 and cos⁡x≥0\cos x \ge 0⁠, and they are never both 0 (because sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1⁠). So sin⁡5x+cos⁡5x\sin^5 x + \cos^5 x is a sum of two non-negative numbers, at least one of them positive:

    sin⁡5x+cos⁡5x>0on [0,π2].\sin^5 x + \cos^5 x > 0 \quad \text{on } \left[0, \tfrac{\pi}{2}\right].

    (Its smallest value there is 122≈0.3535534\frac{1}{2\sqrt2} \approx 0.3535534⁠, at x=π4x = \frac{\pi}{4}⁠: its derivative, 5sin⁡xcos⁡x5\sin x\cos x times sin⁡3x−cos⁡3x\sin^3 x - \cos^3 x⁠, is negative before π4\frac{\pi}{4} and positive after it, and the end values are 1.) So the integrand is continuous on the closed interval. Label

    I=∫0π2cos⁡5xsin⁡5x+cos⁡5x dx(1)I = \int_0^{\frac{\pi}{2}}\frac{\cos^5 x}{\sin^5 x + \cos^5 x}\,dx \qquad (1)
    This check is not a formality. On the whole real line the denominator can be 0: at x=3π4x = \frac{3\pi}{4}⁠, sin⁡x=12\sin x = \frac{1}{\sqrt2} and cos⁡x=−12\cos x = -\frac{1}{\sqrt2}⁠, and the fifth powers cancel. That point lies outside our interval, so on [0,π2]\left[0, \frac{\pi}{2}\right] all is well, and II is a finite number.
    At x=π4x = \frac{\pi}{4}⁠: sin⁡5x+cos⁡5x=2(12)5\sin^5 x + \cos^5 x = 2\left(\frac{1}{\sqrt2}\right)^5⁠, which is 242=122\frac{2}{4\sqrt2} = \frac{1}{2\sqrt2}⁠.
  2. Apply P4 with a=π2a = \frac{\pi}{2}

    Replace xx by π2−x\frac{\pi}{2} - x everywhere. Since cos⁡5(π2−x)=sin⁡5x\cos^5\left(\frac{\pi}{2} - x\right) = \sin^5 x and sin⁡5(π2−x)=cos⁡5x\sin^5\left(\frac{\pi}{2} - x\right) = \cos^5 x⁠,

    f(π2−x)=sin⁡5xcos⁡5x+sin⁡5x.f\left(\tfrac{\pi}{2} - x\right) = \frac{\sin^5 x}{\cos^5 x + \sin^5 x} .

    So, by P4,

    I=∫0π2sin⁡5xcos⁡5x+sin⁡5x dx(2)I = \int_0^{\frac{\pi}{2}}\frac{\sin^5 x}{\cos^5 x + \sin^5 x}\,dx \qquad (2)
    P4 is valid for every function continuous on [0,a][0, a]⁠, which Step 1 established. The new form has the same denominator (in the other order) and the "other" term on top, which is exactly what we need to add.
    P4, Section 7.10. Raising both sides of cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2} - x\right) = \sin x to the fifth power. Lesson: properties of definite integrals
  3. Add (1) and (2)

    2I=∫0π2cos⁡5x+sin⁡5xsin⁡5x+cos⁡5x dx=∫0π21 dx=[x]0π2=π2.\begin{aligned}2I &= \int_0^{\frac{\pi}{2}}\frac{\cos^5 x + \sin^5 x}{\sin^5 x + \cos^5 x}\,dx \\ &= \int_0^{\frac{\pi}{2}}1\,dx = \big[x\big]_0^{\frac{\pi}{2}} = \frac{\pi}{2}.\end{aligned}
    Same interval and same non-zero denominator, so the two integrands add to 1 at every point. The integral of 1 is the interval length.
    ∫dx=x+C\int dx = x + C (Section 7.2); Theorem 2, Section 7.8.3. Lesson: the fundamental theorem
  4. Solve for II

    I=π4≈0.7853982.I = \frac{\pi}{4} \approx 0.7853982 .
    Divide 2I=π22I = \frac{\pi}{2} by 2. Here cos⁡5x\cos^5 x is on top rather than sin⁡5x\sin^5 x⁠, but by Step 2 the two versions have the same integral, so it makes no difference.
    At x=π4x = \frac{\pi}{4} the integrand equals 12\frac12⁠: numerator and the two denominator terms are all equal.
  5. The picture

    x y π/4 π/2 1/2 1 (π/4, 1/2) y = cos⁵x / (sin⁵x + cos⁵x) dashed: mirror area I
    The blue curve y=cos⁡5xsin⁡5x+cos⁡5xy = \frac{\cos^5 x}{\sin^5 x + \cos^5 x} falls from 1 to 0, staying close to 1 at first and close to 0 at the end; the region under it (area II⁠) is shaded. The dashed gold curve, with sin⁡5x\sin^5 x on top, is its mirror image in x=π4x = \frac{\pi}{4}⁠. The heights add to 1, so the two equal areas fill the rectangle of area π2\frac{\pi}{2}⁠.
    The high power 5 makes the switch from 1 to 0 sharper than in Questions 2 and 3, but the half-turn symmetry about (π4,12)\left(\frac{\pi}{4}, \frac12\right) is the same, so the area is still half the rectangle.
    Mirror images have equal areas. Basics: symmetry and mirror images
Result

∫0π2cos⁡5xsin⁡5x+cos⁡5x dx=π4≈0.7853982\int_0^{\frac{\pi}{2}}\frac{\cos^5 x}{\sin^5 x + \cos^5 x}\,dx = \frac{\pi}{4} \approx 0.7853982 (Textbook answer: π4\frac{\pi}{4}⁠. Ours is the same.)

Check it with numbers

A numerical integration over [0,π2]\left[0, \frac{\pi}{2}\right] gives 0.7853982, which is π4\frac{\pi}{4}⁠. At x=0.3x = 0.3 the integrand is about 0.9971756 and its P4 partner is about 0.0028244; they add to 1.

Common mistakes
  1. Skipping the denominator check. sin⁡5x+cos⁡5x\sin^5 x + \cos^5 x is 0 at x=3π4x = \frac{3\pi}{4}⁠; it is safe only because that point is outside [0,π2]\left[0, \frac{\pi}{2}\right]⁠.
  2. Writing cos⁡5(π2−x)=−sin⁡5x\cos^5\left(\frac{\pi}{2} - x\right) = -\sin^5 x⁠. There is no sign change: cos⁡(π2−x)=+sin⁡x\cos\left(\frac{\pi}{2} - x\right) = +\sin x⁠.
  3. Expanding fifth powers. No expansion is needed; P4 and one addition do all the work.
What to take away
  1. For any power p>0p > 0⁠, whether sin⁡px\sin^p x or cos⁡px\cos^p x is on top, ∫0π/2\int_0^{\pi/2} of such a fraction is π4\frac{\pi}{4}⁠.
  2. P4 with a=π2a = \frac{\pi}{2} swaps sin⁡\sin and cos⁡\cos⁠; then add the two forms.
  3. Check that a denominator has no zeros on the interval; zeros elsewhere do not matter.

Every fact used, and where it comes from

FactUsed inSource
sin⁡x,cos⁡x≥0\sin x, \cos x \ge 0 on [0,π2]\left[0, \frac{\pi}{2}\right]⁠, never both 0Step 1Trigonometry (Basics)
P4: ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dxStep 2Section 7.10 (Lesson)
sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x⁠, cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2} - x\right) = \sin xStep 2Trigonometry (Basics)
∫dx=x+C\int dx = x + C⁠; ∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a)Step 3Section 7.2; Theorem 2, Section 7.8.3 (Lesson)
Same methodSteps 2 to 4Example 32, Exercise 7.10 Q3
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 →