Integrate the functions in Exercises 1 to 37:
\(\dfrac{\sin x}{(1+\cos x)^2}\)Show solutionHide solution
We want to evaluate \[ I=\int \frac{\sin x}{(1+\cos x)^2}\,dx. \]
Use the substitution \(u=1+\cos x\). Then \[ du=-\sin x\,dx, \] so \(\sin x\,dx=-du\). Hence \[ I=\int \frac{-du}{u^2}=-\int u^{-2}\,du=\frac{1}{u}+C. \]
Returning to \(x\), \[ \boxed{\int \frac{\sin x}{(1+\cos x)^2}\,dx=\frac{1}{1+\cos x}+C}. \]
Check by differentiating: \[ \frac{d}{dx}\left(\frac{1}{1+\cos x}\right) = -(1+\cos x)^{-2}(-\sin x)=\frac{\sin x}{(1+\cos x)^2}. \]
The integrand is undefined when \(1+\cos x=0\), i.e. \(\cos x=-1\), which occurs at \(x=(2k+1)\pi\), \(k\in\mathbb Z\). Thus the antiderivative is valid on any interval that does not contain such a point.