Euler's formula states that2
Substituting − x {\displaystyle -x} for x {\displaystyle x} gives the equation
because cosine is an even function and sine is odd. These two equations can be solved for the sine and cosine to give
Consider the integral
The standard approach to this integral is to use a half-angle formula to simplify the integrand. We can use Euler's identity instead:
At this point, it would be possible to change back to real numbers using the formula e2ix + e−2ix = 2 cos 2x. Alternatively, we can integrate the complex exponentials and not change back to trigonometric functions until the end:
This integral would be extremely tedious to solve using trigonometric identities, but using Euler's identity makes it relatively painless:
At this point we can either integrate directly, or we can first change the integrand to 2 cos 6x − 4 cos 4x + 2 cos 2x and continue from there. Either method gives
In addition to Euler's identity, it can be helpful to make judicious use of the real parts of complex expressions. For example, consider the integral
Since cos x is the real part of eix, we know that
The integral on the right is easy to evaluate:
Thus:
In general, this technique may be used to evaluate any fractions involving trigonometric functions. For example, consider the integral
Using Euler's identity, this integral becomes
If we now make the substitution u = e i x {\displaystyle u=e^{ix}} , the result is the integral of a rational function:
One may proceed using partial fraction decomposition.
Kilburn, Korey (2019). "Applying Euler's Formula to Integrate". American Review of Mathematics and Statistics. 7. American Research Institute for Policy Development: 1–2. doi:10.15640/arms.v7n2a1 (inactive 1 November 2024). eISSN 2374-2356. hdl:2158/1183208. ISSN 2374-2348.{{cite journal}}: CS1 maint: DOI inactive as of November 2024 (link) https://arms.thebrpi.org/vol-7-no-2-december-2019-abstract-1-arms ↩
Weisstein, Eric W. "Euler Formula". mathworld.wolfram.com. Retrieved 2021-03-17. https://mathworld.wolfram.com/EulerFormula.html ↩