# Reduction formula integral of $\cos^n(x)$ [duplicate]

I need to find the reduction formula for the integral of $\cos^n(x)$.

Ive split it into $\cos(x)\cos^{(n-1)}x$ in the hope of integrating by parts, but I'm unsure how to differentiate $\cos^{(n-1)}$, how should I proceed?

## marked as duplicate by Hans Lundmark, Hakim, J. W. Perry, Yiorgos S. Smyrlis, user147263 Oct 17 '14 at 19:28

• Split into $\cos(x)^2\cos(x)^{n-2}$, then, using $\cos(x)^2=1-\sin(x)^2$, integrate by parts $\sin(x)\sin(x)\cos(x)^{n-2}$, it gives a recurrence relation. – Papagon May 12 '14 at 19:08
You use the chain rule. The function $f \,:\, x \to (\cos(x))^n$ is the concatenation $g \circ h$ of $g \,:\, x \to x^n$ and $h \,:\, x \to \cos x$, so by the chain rule $$f' = (g \circ h)' = (g'\circ h)\cdot h'$$
Since $g'(x) = nx^{n-1}$ and $h'(x) = -\sin x$, it follows that $$\left((\cos x)^n\right)' = -n(\cos x)^{n-1}\sin x \text{.}$$