05
Deriving the $\sin^n x$ reduction formula
core concept
Let $\displaystyle I_n = \int \sin^n x\,dx$ for $n \geq 2$. Write $\sin^n x = \sin^{n-1}x \cdot \sin x$ and integrate by parts with
$u = \sin^{n-1}x \Rightarrow du = (n-1)\sin^{n-2}x \cos x\,dx$, $dv = \sin x\,dx \Rightarrow v = -\cos x$.
Then $\displaystyle I_n = -\sin^{n-1}x \cos x + \int (n-1)\sin^{n-2}x \cos^2 x\,dx$.
Use $\cos^2 x = 1 - \sin^2 x$ to split the integral:
$\displaystyle I_n = -\sin^{n-1}x \cos x + (n-1)\int \sin^{n-2}x\,dx - (n-1)\int \sin^n x\,dx$.
The last integral is $I_n$ again, so $I_n + (n-1)I_n = -\sin^{n-1}x \cos x + (n-1)I_{n-2}$, giving
The folding trick. The key move is using $\cos^2 x = 1 - \sin^2 x$ to expose a copy of $I_n$, then solving for $I_n$ algebraically. Without this identity the integration by parts produces a different (uncloseable) integral.
$I_n = \int \sin^n x\,dx$. Split $\sin^n = \sin^{n-1} \cdot \sin x$ · Parts: $u = \sin^{n-1}x$, $dv = \sin x\,dx \Rightarrow v = -\cos x$ · Use $\cos^2 = 1 - \sin^2$ to expose $I_n$ on the RHS · Final: $I_n = -\dfrac{\sin^{n-1}x\,\cos x}{n} + \dfrac{n-1}{n}\,I_{n-2}$
Pause, copy the $\sin^n x$ reduction formula $I_n = -\frac{\sin^{n-1}x\cos x}{n}+\frac{n-1}{n}I_{n-2}$, the derivation steps (split, IBP, $\cos^2=1-\sin^2$, expose $I_n$) into your book.