Euler Hall — free maths guides

Powers of sine and cosine

Decide the method from the parity of the exponents. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus II guides.

Odd powers substitute; even powers reduce the degree

Integratingsin⁡mxcos⁡nx\sin^m x\cos^n x splits into two cases by parity, and the parity of either exponent decides.

If one exponent is ODD, peel one factor off it and substitute. The remaining power is even, so it converts entirely into the other function:

∫sin⁡3x dx=∫(1−cos⁡2x)sin⁡x dx,u=cos⁡x.\int\sin^3x\,dx = \int(1-\cos^2x)\sin x\,dx, \quad u = \cos x.

If BOTH exponents are EVEN, no substitution works — there is no spare factor to supplydudu. The half-angle identities reduce the degree:

sin⁡2x=1−cos⁡2x2,cos⁡2x=1+cos⁡2x2.\sin^2x = \frac{1-\cos2x}{2}, \qquad \cos^2x = \frac{1+\cos2x}{2}.

Each application halves the power, so repeated use eventually reaches something elementary.

The mixed case.sin⁡mcos⁡n\sin^m\cos^n withmm odd: peel acos⁡\cos... no — peel a factor from the ODD one. Withmm odd andnn even, takeu=cos⁡xu = \cos x and usesin⁡2=1−cos⁡2\sin^2 = 1-\cos^2. Withnn odd, takeu=sin⁡xu = \sin x.

A useful special case:∫sin⁡xcos⁡x dx\int\sin x\cos x\,dx has both exponents odd (both 1), so the odd rule applies andu=sin⁡xu = \sin x works — givingsin⁡2x2+C\frac{\sin^2x}{2} + C. The double-angle route gives an equivalent answer.

Why the odd case needs a spare factor

Substitution needsf(g(x))g′(x)f(g(x))g'(x) — the inner derivative present as a factor. Forsin⁡3x\sin^3x withu=cos⁡xu = \cos x, the inner derivative is−sin⁡x-\sin x, and one factor ofsin⁡x\sin x is exactly what the odd power supplies.

With an even power there is no spare factor:sin⁡2x\sin^2x has no unpaired sine to givedudu. So the substitution cannot be set up, and a different idea is needed.

The half-angle identity works because it is not a substitution at all — it rewrites the integrand as something whose antiderivative is known. That is why the even case produces a different KIND of answer: the degree has been reduced rather than converted.

The parity test is therefore not a trick but a consequence of what substitution requires.

Worked example: three exponents

Odd, power 5.∫sin⁡5x dx\int\sin^5x\,dx: peel one sine, convertsin⁡4=(1−cos⁡2)2\sin^4 = (1-\cos^2)^2, and substituteu=cos⁡xu = \cos x. The result is a polynomial incos⁡x\cos x.

Even, power 4.∫sin⁡4x dx\int\sin^4x\,dx: apply the half-angle twice,sin⁡4=(1−cos⁡2x2)2=1−2cos⁡2x+cos⁡22x4\sin^4 = \left(\frac{1-\cos2x}{2}\right)^2 = \frac{1 - 2\cos2x + \cos^22x}{4}, then reducecos⁡22x\cos^22x again. Longer, but every step is elementary.

Mixed.∫sin⁡3xcos⁡2x dx\int\sin^3x\cos^2x\,dx: the sine is odd, sou=cos⁡xu = \cos x andsin⁡3=(1−cos⁡2)sin⁡\sin^3 = (1-\cos^2)\sin. That gives−∫(1−u2)u2 du-\int(1-u^2)u^2\,du, a polynomial.

The mixed case shows the rule's value most clearly: check which exponent is odd, peel from THAT one, and the rest follows.

By the end you can
  • Decide the method from the parity of the exponents
  • Substitute by peeling a factor from an odd power
  • Reduce an even power with the half-angle identity
Check yourself
  1. 1.∫sin⁡3x dx\int\sin^3x\,dx
  2. 2.∫cos⁡2x dx\int\cos^2x\,dx
  3. 3. Which exponent do you peel from in∫sin⁡4xcos⁡3x dx\int\sin^4x\cos^3x\,dx?
Answers
  1. 1.−cos⁡x+cos⁡3x3+C-\cos x + \frac{\cos^3x}{3} + C.
  2. 2.x2+sin⁡2x4+C\frac x2 + \frac{\sin2x}{4} + C.
  3. 3. The cosine's (it is 3, odd):u=sin⁡xu = \sin x.
Work out where to start — free, no accountAnswer six real questions — free, no account