Steply

Integrate ∫ cos^5 x dx

Step by step, with the reason for every step · Trig integrals · Calculus 2

Step by step

The question

Question: find the integral of cos⁵ x.

∫ cos5 x dx =

1 Save one

The power of cos is 5: odd.

Keep one cos x aside.

It will be part of du.

= ∫ cos4 x cos x dx

2 Change the rest

The rule: sin squared plus cos squared is 1.

sin2 x + cos2 x = 1

So cos² x = 1 − sin² x.

Now everything else is sin x.

= ∫ (1 − sin2 x)2 cos x dx

3 Choose u

Let u = sin x.

Its derivative is cos x: du = cos x dx.

That is the cos x dx we kept.

u = sin x, du = cos x dx

4 Write it with u

sin x becomes u, and cos x dx becomes du.

= ∫ (1 − u2)2 du

Multiply out: (1 − u²)² is 1 − 2u² + u⁴.

Then times the rest.

= ∫ (u4 − 2u2 + 1) du

Careful!

The power rule does not work here: the derivative of cos x would have to be there too.

Save one and swap the rest.

Careful: not ∫ cos5 x dx = cos6 x6 ✗

5 Integrate

The power rule: add 1 to each power, divide by the new power.

= u55 − 2u33 + u + C

6 Put x back

Put sin x back in place of u.

So the answer is sin⁵ x/5 − 2sin³ x/3 + sin x + C.

= sin5 x5 − 2sin3 x3 + sin x + C

7 Check

Let's check: the slope of our answer F near x = 1, with a calculator in radians: about 0.046.

F(1.001) − F(0.999)0.002 ≈ 0.046

The question at x = 1 gives 0.046.

The same: the slope of the answer is the question.

Right!

cos⁵ 1 ≈ 0.046

Let's look back.

First: save one.

Then: change the rest.

Then: choose u.

Then: write it with u.

Then: integrate.

Then: put x back.

Last: check.

Answer
= sin5 x5 − 2sin3 x3 + sin x + C

Your turn

Try this one yourself, then check:

Find the integral of ∫ 2cos5 x dx
Show the answer
2sin5 x5 − 4sin3 x3 + 2sin x + C

More from Trig integrals

The whole lesson: Trig integrals →