Steply

Evaluate ∫ from 0 to π/2 of cos^3 x dx

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

Step by step

The question

Question: find the integral from 0 to π/2 of cos³ x.

∫ from 0 to π/2 of cos3 x dx =

1 Save one

The power of cos is 3: odd.

Keep one cos x aside.

It will be part of du.

= ∫ from 0 to π/2 of cos2 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.

= ∫ from 0 to π/2 of (1 − sin2 x) 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) du

Multiply out the bracket.

= ∫ (1 − u2) 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 ∫ cos3 x dx = cos4 x4 ✗

5 Integrate

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

= u − u33

6 Put x back

Put sin x back.

No + C: top minus bottom.

= [ sin x − sin3 x3 ] from 0 to π/2

7 Top minus bottom

The values of sin at the limits.

sin π/2 = 1, sin 0 = 0

Put them in: top minus bottom.

= (23) − (0)

So the integral is 2/3.

= 23

8 Check

Let's check with a calculator: it adds up 1000 thin strips.

That gives about 0.667, the same as our answer.

Right!

1000 thin strips: ≈ 0.667

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.

Then: top minus bottom.

Last: check.

Answer
= 23

Your turn

Try this one yourself, then check:

∫ from 0 to π/2 of sin3 x dx
Show the answer
23

More from Trig integrals

The whole lesson: Trig integrals →