Integration using Euler's formula: Difference between revisions

Content deleted Content added
Added Missing term when squaring an expression
Line 31:
:<math>\begin{align}
\int \sin^2 x \cos 4x \, dx
&= \int \left(\frac{e^{ix}-e^{-ix}}{2i}\right)^2\left(\frac{e^{4ix}+e^{-4ix}}{2}\right) dx \\[6pt]
&= -\frac18\int \left(e^{2ix} - 2 + e^{-2ix}\right)\left(e^{4ix}+e^{-4ix}\right) dx \\[6pt]
&= -\frac18\int \left(e^{6ix} - 2e^{4ix} + e^{2ix} + e^{-2ix} - 2e^{-4ix} + e^{-6ix}\right) dx.